add db migrations and restore config on unlock

This commit is contained in:
jfmonty2 committed 2026-11-18 05:49:45 -05:00
1 parent a10510ed6e
commit 0798124811
12 files changed
+365 -41

No files matched your search

View File
Whitespace-only changes.
+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 ('{}');