Switch PRAGMA synchronous back to FULL
I had some data loss when restarting a container shortly after a database change, let's see if this prevents it.
This commit is contained in:
@ -115,7 +115,7 @@ DATABASES = {
|
||||
"NAME": BASE_DIR / "db.sqlite3",
|
||||
"OPTIONS": {
|
||||
"timeout": 20,
|
||||
"init_command": "PRAGMA synchronous=NORMAL; PRAGMA journal_mode=WAL;",
|
||||
"init_command": "PRAGMA synchronous=FULL; PRAGMA journal_mode=WAL;",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user