Fix migration paths for production
This commit is contained in:
@@ -18,7 +18,7 @@ export const AppDataSource = new DataSource({
|
|||||||
database: process.env.DB_NAME,
|
database: process.env.DB_NAME,
|
||||||
synchronize: false,
|
synchronize: false,
|
||||||
logging: true,
|
logging: true,
|
||||||
entities: ['src/**/entities/*.entity.ts'],
|
entities: [__dirname + '/**/*.entity{.ts,.js}'],
|
||||||
migrations: ['src/migrations/*.ts'],
|
migrations: [__dirname + '/migrations/*{.ts,.js}'],
|
||||||
subscribers: [],
|
subscribers: [],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user