mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 09:42:53 +00:00
Update logging configuration to use TYPEORM_LOGGING environment variable
This commit is contained in:
@@ -118,6 +118,6 @@ export default registerAs("database", (): TypeOrmModuleOptions => {
|
||||
migrationsRun: true,
|
||||
// Schema changes via migrations only (synchronize breaks ITMLS backfill on existing rows).
|
||||
synchronize: false,
|
||||
logging: process.env.NODE_ENV === "development",
|
||||
logging: process.env.TYPEORM_LOGGING === "true",
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user