This commit is contained in:
mertalev
2024-12-18 15:27:31 -05:00
parent 007caa26bd
commit 38a82d39d3
48 changed files with 2702 additions and 3164 deletions

View File

@@ -8,4 +8,4 @@ const { database } = new ConfigRepository().getEnv();
*
* this export is ONLY to be used for TypeORM commands in package.json#scripts
*/
export const dataSource = new DataSource({ ...database.config, host: 'localhost' });
export const dataSource = new DataSource({ ...database.config.typeorm, host: 'localhost' });