added packaging / bundling
This commit is contained in:
1 parent
2890921f3a
commit
897e116db7
11 files changed
+141
-3
No files matched your search
@@ -67,7 +67,7 @@ impl Database {
|
||||
let mut conn = SqliteConnection::establish(database_url)?;
|
||||
// SQLite connection configuration is backend-specific and not expressible in Diesel's DSL.
|
||||
conn.batch_execute(if wal {
|
||||
"PRAGMA journal_mode=WAL; PRAGMA synchronous=NORMAL; PRAGMA foreign_keys=ON;"
|
||||
"PRAGMA busy_timeout=5000; PRAGMA journal_mode=WAL; PRAGMA synchronous=NORMAL; PRAGMA foreign_keys=ON;"
|
||||
} else {
|
||||
"PRAGMA foreign_keys=ON;"
|
||||
})?;
|
||||
|
||||
Reference in new issue
Block a user