start working on generalizing credential logic
This commit is contained in:
11
src-tauri/migrations/20240612192956_kv.sql
Normal file
11
src-tauri/migrations/20240612192956_kv.sql
Normal 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;
|
Reference in New Issue
Block a user