fix: syntax

This commit is contained in:
jubnl
2026-04-16 14:55:35 +02:00
parent 92a1f9c448
commit 5caaeff67c
+1
View File
@@ -1614,6 +1614,7 @@ function runMigrations(db: Database.Database): void {
// Migration 102: Add check_in_end column for check-in time ranges
() => {
try { db.exec('ALTER TABLE day_accommodations ADD COLUMN check_in_end TEXT'); } catch (err: any) { if (!err.message?.includes('duplicate column name')) throw err; }
},
// Migration 103: System notices — user tracking columns + dismissals table
() => {
db.exec(`ALTER TABLE users ADD COLUMN first_seen_version TEXT NOT NULL DEFAULT '0.0.0'`);