diff --git a/.gitignore b/.gitignore index 8e1866224..0bc4be4a5 100644 --- a/.gitignore +++ b/.gitignore @@ -32,7 +32,7 @@ yarn-error.log* .vercel # database -config/db/*.sqlite3 +config/db/*.sqlite3* config/settings.json # logs diff --git a/ormconfig.js b/ormconfig.js index 070e0598c..4122f079e 100644 --- a/ormconfig.js +++ b/ormconfig.js @@ -6,6 +6,7 @@ const devConfig = { synchronize: true, migrationsRun: false, logging: false, + enableWAL: true, entities: ['server/entity/**/*.ts'], migrations: ['server/migration/**/*.ts'], subscribers: ['server/subscriber/**/*.ts'], @@ -22,6 +23,7 @@ const prodConfig = { : 'config/db/db.sqlite3', synchronize: false, logging: false, + enableWAL: true, entities: ['dist/entity/**/*.js'], migrations: ['dist/migration/**/*.js'], migrationsRun: false,