add support for SQLite as an alternative database backend
Some checks failed
Build & Publish Docker Image / build-and-push (push) Failing after 33s
Some checks failed
Build & Publish Docker Image / build-and-push (push) Failing after 33s
Implement SQLite support using the pure Go `modernc.org/sqlite` driver and update the migration system to handle driver-specific schemas. Users can now choose between MySQL and SQLite by setting the `DB_DRIVER` environment variable.
This commit is contained in:
1
internal/database/schema/mysql/migrations/2_users.sql
Normal file
1
internal/database/schema/mysql/migrations/2_users.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE user ADD COLUMN enabled BOOLEAN NOT NULL DEFAULT TRUE AFTER role;
|
||||
Reference in New Issue
Block a user