switch install state to db

This commit is contained in:
2026-01-23 12:20:13 +01:00
parent 965e8cdffe
commit dea0ef508a
6 changed files with 32 additions and 12 deletions
+2
View File
@@ -88,7 +88,9 @@ BEGIN
INSERT INTO entries_fts(entries_fts, rowid, fi, en, sv, no, ru, de, notes)
VALUES('delete', old.id, old.fi, old.en, old.sv, old.no, old.ru, old.de, old.notes);
END;
CREATE TABLE IF NOT EXISTS "setup_states" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "installed" boolean DEFAULT FALSE NOT NULL, "installed_at" datetime(6), "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL);
INSERT INTO "schema_migrations" (version) VALUES
('20260122131000'),
('20260122130000'),
('20260122124151'),
('20260122123837'),