fix
This commit is contained in:
1 parent
96d6086488
commit
2ca39b3777
1 file changed
+1
-1
@@ -31,7 +31,7 @@ import { JWT_EXPIRATION, JWT_SECRET } from './constants/jwt';
|
|||||||
database: configService.get<string>('DB_NAME'),
|
database: configService.get<string>('DB_NAME'),
|
||||||
autoLoadEntities: true,
|
autoLoadEntities: true,
|
||||||
entities: [__dirname + '/**/*.entity{.ts,.js}'],
|
entities: [__dirname + '/**/*.entity{.ts,.js}'],
|
||||||
synchronize: process.env.NODE_ENV === 'development',
|
synchronize: ['development', 'test'].includes(process.env.NODE_ENV),
|
||||||
logging: true,
|
logging: true,
|
||||||
}),
|
}),
|
||||||
inject: [ConfigService],
|
inject: [ConfigService],
|
||||||
|
|||||||
Reference in new issue
Block a user