mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 07:54:22 +00:00
Add user settings validation
This commit is contained in:
@@ -15,10 +15,9 @@ var migrations = []Migration{
|
||||
Version: 1,
|
||||
SQL: `CREATE TABLE IF NOT EXISTS settings (
|
||||
user_id INTEGER PRIMARY KEY,
|
||||
settings TEXT
|
||||
settings JSON NOT NULL
|
||||
)`,
|
||||
},
|
||||
// Add new migrations here as your schema evolves
|
||||
}
|
||||
|
||||
func (db *DB) Migrate() error {
|
||||
|
||||
Reference in New Issue
Block a user