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