fix issue

This commit is contained in:
yaschalew
2026-06-19 15:26:01 +03:00
parent c31724a2f8
commit 227b030a1c

View File

@@ -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",
};
});