Commit a544e814 authored by nanahira's avatar nanahira

fix

parent 269ee81b
Pipeline #4739 passed with stages
in 1 minute and 4 seconds
......@@ -11,11 +11,11 @@ const configModule = ConfigModule.forRoot();
imports: [
configModule,
TypeOrmModule.forRootAsync({
name: 'app',
imports: [configModule],
inject: [ConfigService],
useFactory: async (config: ConfigService) => {
return {
name: 'app',
type: 'postgres',
entities: [User], // entities here
synchronize: !config.get('DB_NO_INIT'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment