fix db url

This commit is contained in:
yaschalew
2026-06-20 14:43:55 +03:00
parent b47fb2c475
commit 22abe79b05

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: process.env.NODE_ENV === "development",
synchronize: false,
logging: process.env.NODE_ENV === "development",
};
});