This commit is contained in:
romantarkin 2025-08-17 18:34:30 +05:00
parent 2f9cdadf01
commit cd21b345e4

View File

@ -24,7 +24,7 @@ const PORT = process.env.PORT || 3000;
try { try {
await sequelize.authenticate(); await sequelize.authenticate();
// Отключаем автоматическую синхронизацию, так как есть проблемы с ключами // Отключаем автоматическую синхронизацию, так как есть проблемы с ключами
// await sequelize.sync({ alter: true }); await sequelize.sync({ alter: true });
console.log('Database connected'); console.log('Database connected');
} catch (err) { } catch (err) {
console.error('Unable to connect to the database:', err); console.error('Unable to connect to the database:', err);