fix(db): enable WAL journal mode

pull/1252/head
sct 4 years ago
parent 6210f12e8e
commit aa205ffa97
No known key found for this signature in database
GPG Key ID: 06A50468C67E272F

2
.gitignore vendored

@ -32,7 +32,7 @@ yarn-error.log*
.vercel
# database
config/db/*.sqlite3
config/db/*.sqlite3*
config/settings.json
# logs

@ -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,

Loading…
Cancel
Save