diff options
Diffstat (limited to 'crates/rocie-server/src/storage/migrate/sql')
| -rw-r--r-- | crates/rocie-server/src/storage/migrate/sql/0->1.sql | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/rocie-server/src/storage/migrate/sql/0->1.sql b/crates/rocie-server/src/storage/migrate/sql/0->1.sql index 8f99322..dd7ce5f 100644 --- a/crates/rocie-server/src/storage/migrate/sql/0->1.sql +++ b/crates/rocie-server/src/storage/migrate/sql/0->1.sql @@ -179,9 +179,11 @@ CREATE TABLE txn_log ( operation TEXT NOT NULL ) STRICT; -CREATE TABLE config ( +CREATE TABLE rocie_config ( -- Make it impossible to insert more than one value here. id INTEGER PRIMARY KEY NOT NULL CHECK (id = 0), use_defaults INTEGER NOT NULL CHECK (use_defaults = 1 OR use_defaults = 0) ) STRICT; -INSERT INTO config (id, use_defaults) VALUES (0, 0); + +INSERT INTO rocie_config (id, use_defaults) +VALUES (0, 0); |
