Añadir soporte experimental para SQLite#1908
Open
erseco wants to merge 1 commit intoNeoRazorX:masterfrom
Open
Conversation
Add initial SQLite support to FacturaScripts. This change consolidates the work from the previous development branch into a single clean commit for review. Included changes: - Add SQLite compatibility changes - Adjust database-related logic where needed - Prepare the codebase for running with SQLite This commit is intended to be submitted as a clean pull request branch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Este PR añade soporte experimental para SQLite en FacturaScripts.
Este trabajo no se ha hecho como un cambio de conveniencia. Ha surgido por la necesidad de construir un FacturaScripts Playground similar en espíritu a WordPress Playground: una versión de FacturaScripts que puede ejecutarse completamente en el navegador mediante WebAssembly, sin necesidad de una instalación tradicional en servidor.
Ese playground ya puede verse aquí:
¿Por qué es útil?
Este soporte para SQLite es la base que permite ese tipo de ejecución en un entorno browser/WASM, donde MySQL no encaja bien como opción práctica.
El objetivo de este PR es experimental. No pretende sustituir MySQL o MariaDB en despliegues habituales de producción, sino habilitar nuevos entornos de uso para pruebas rápidas, onboarding, demos y experimentación en navegador.
Cambios incluidos
¿Cómo has probado los cambios?
Detalles de las pruebas
Se han realizado pruebas sobre el flujo de instalación y sobre la ejecución básica con SQLite como motor de base de datos, pensando especialmente en su uso dentro del playground en WebAssembly.