Disable synchronize and fix DB manually
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user