Disable synchronize and fix DB manually
This commit is contained in:
@@ -24,8 +24,8 @@ export const databaseConfig: TypeOrmModuleAsyncOptions = {
|
|||||||
// Entity auto-discovery
|
// Entity auto-discovery
|
||||||
autoLoadEntities: true,
|
autoLoadEntities: true,
|
||||||
|
|
||||||
// Temporarily set to true to ensure tables are created (will switch back to migrations later)
|
// NEVER synchronize — use migrations or manual SQL only
|
||||||
synchronize: true,
|
synchronize: false,
|
||||||
|
|
||||||
// SSL is not required for internal Docker network
|
// SSL is not required for internal Docker network
|
||||||
ssl: false,
|
ssl: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user