fix: change the role refrence in database

This commit is contained in:
mahyargdz
2025-01-19 11:55:52 +03:30
parent 58c9bfa912
commit f88ccec546
10 changed files with 119 additions and 14 deletions
+1 -1
View File
@@ -12,11 +12,11 @@ export function DatabaseConfigs(): TypeOrmModuleAsyncOptions {
database: configService.getOrThrow<string>("DB_NAME"),
username: configService.getOrThrow<string>("DB_USER"),
password: configService.getOrThrow<string>("DB_PASS"),
autoLoadEntities: true,
synchronize: true,
logging: configService.getOrThrow<string>("NODE_ENV") == "production" ? false : true,
migrationsTableName: "typeorm_migrations",
migrationsRun: false,
autoLoadEntities: true,
};
},
};