fix: add default value for db migrations path
This commit is contained in:
parent
17a0c9fd24
commit
1c4c609865
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue