add db migrations and restore config on unlock

This commit is contained in:
jfmonty2 committed 2026-11-18 05:48:49 -05:00
1 parent a10510ed6e
commit 59828c0a1e
11 files changed
+191 -41

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
-- config will only ever hold a single row with a single value
CREATE TABLE config (value JSON);
-- seed it with an empty object, which will be populated with default values on deserialization
INSERT INTO config VALUES ('{}');