start working on generalizing credential logic

This commit is contained in:
2024-06-16 07:08:10 -04:00
parent 0491cb5790
commit d0a2532c27
16 changed files with 1192 additions and 54 deletions

View File

@ -0,0 +1,11 @@
-- key-value store, will be used for various one-off values, serialized to bytes
CREATE TABLE kv (
name TEXT PRIMARY KEY,
value BLOB
);
-- config is currently stored in its own table, as text
INSERT INTO kv (name, value)
SELECT 'config', CAST(data AS BLOB) FROM config;
DROP TABLE config;