added packaging / bundling

This commit is contained in:
hugo committed 2026-07-18 18:12:41 +02:00
1 parent 2890921f3a
commit 897e116db7
11 files changed
+141 -3

No files matched your search

+1 -1
View File
@@ -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;"
})?;