diff --git a/backend/src/config/database.config.ts b/backend/src/config/database.config.ts index 1be528c..deeb9e0 100644 --- a/backend/src/config/database.config.ts +++ b/backend/src/config/database.config.ts @@ -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,