summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--database/db.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/db.js b/database/db.js
index 0fdbcfe..4855233 100644
--- a/database/db.js
+++ b/database/db.js
@@ -13,6 +13,7 @@ const db = new Database(
process.env.NODE_ENV === 'development' ? { verbose: console.log } : null
);
db.pragma('foreign_keys = ON');
+db.pragma('journal_mode = WAL');
db.transaction(function migrate() {
let version;