From 227b030a1c040d85041795abb5c2fb88277667c8 Mon Sep 17 00:00:00 2001 From: yaschalew Date: Fri, 19 Jun 2026 15:26:01 +0300 Subject: [PATCH] fix issue --- apps/edr-freight-api/src/config/database.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/edr-freight-api/src/config/database.config.ts b/apps/edr-freight-api/src/config/database.config.ts index 0e7375b19..e4bcaa3e4 100644 --- a/apps/edr-freight-api/src/config/database.config.ts +++ b/apps/edr-freight-api/src/config/database.config.ts @@ -117,7 +117,7 @@ export default registerAs("database", (): TypeOrmModuleOptions => { ], migrationsRun: true, // Schema changes via migrations only (synchronize breaks ITMLS backfill on existing rows). - synchronize: false, + synchronize: process.env.NODE_ENV === "development", logging: process.env.NODE_ENV === "development", }; });