mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:46:41 +00:00
UI: DB: Move persistent pragma to migration.
This commit is contained in:
parent
2d027e8e1a
commit
dacf6a967a
@ -2,7 +2,6 @@
|
||||
|
||||
const char * const DatabaseSql::sqlPragmas =
|
||||
"PRAGMA locking_mode=EXCLUSIVE;"
|
||||
"PRAGMA journal_mode=WAL;"
|
||||
"PRAGMA synchronous=NORMAL;"
|
||||
;
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
PRAGMA user_version = 1;
|
||||
|
||||
PRAGMA journal_mode=WAL;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS app(
|
||||
app_id INTEGER PRIMARY KEY,
|
||||
path TEXT UNIQUE NOT NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user