|
@@ -35,7 +35,7 @@ export const AppDataSource = new DataSource({
|
|
|
removeNodeErrorCount: 10,
|
|
|
},
|
|
|
entities: [Job, Predicate],
|
|
|
- migrations: [env.get('DB_MIGRATIONS_PATH')],
|
|
|
+ migrations: [env.get('DB_MIGRATIONS_PATH', true) ?? 'dist/migrations/*.js'],
|
|
|
migrationsRun: true,
|
|
|
logging: <LoggerOptions>env.get('DB_DEBUG_LEVEL'),
|
|
|
})
|