fix(security): revert synchronize:true → prod-safe + .env.example placeholders

This commit is contained in:
2026-03-17 07:26:53 +01:00
parent 921873befd
commit 824ed41a14
2 changed files with 3 additions and 3 deletions

View File

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