Disable synchronize and fix DB manually

This commit is contained in:
Hamza-Ayed
2026-04-18 01:45:21 +03:00
parent 26c79037c2
commit 458af20235

View File

@@ -24,8 +24,8 @@ export const databaseConfig: TypeOrmModuleAsyncOptions = {
// Entity auto-discovery
autoLoadEntities: true,
// Temporarily set to true to ensure tables are created (will switch back to migrations later)
synchronize: true,
// NEVER synchronize — use migrations or manual SQL only
synchronize: false,
// SSL is not required for internal Docker network
ssl: false,