|
|
@ -18,11 +18,6 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; |
|
|
entities: [__dirname + '/**/*.entity{.ts,.js}'], |
|
|
entities: [__dirname + '/**/*.entity{.ts,.js}'], |
|
|
synchronize: true, |
|
|
synchronize: true, |
|
|
logging: configService.isLoggingDb ? 'all' : false, |
|
|
logging: configService.isLoggingDb ? 'all' : false, |
|
|
extra: { |
|
|
|
|
|
ssl: { |
|
|
|
|
|
rejectUnauthorized: false |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
}), |
|
|
}), |
|
|
inject: [ConfigService], |
|
|
inject: [ConfigService], |
|
|
}), |
|
|
}), |
|
|
|