fix(deploy): synchronize:true pour premier deploy MySQL — à revert après

This commit is contained in:
2026-03-17 07:21:06 +01:00
parent b506adf034
commit 921873befd

View File

@@ -25,7 +25,7 @@ import { HealthController } from './common/health.controller';
type: 'mysql',
url: config.get<string>('DATABASE_URL'),
autoLoadEntities: true,
synchronize: config.get('NODE_ENV') !== 'production',
synchronize: true, // first deploy only — revert after tables created
logging: config.get('NODE_ENV') === 'development',
}),
}),