From cd21b345e44fe89e701886bb55c527763f231868 Mon Sep 17 00:00:00 2001 From: romantarkin Date: Sun, 17 Aug 2025 18:34:30 +0500 Subject: [PATCH] fix sync --- mail-service/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-service/src/index.js b/mail-service/src/index.js index 4e81376..ca78913 100644 --- a/mail-service/src/index.js +++ b/mail-service/src/index.js @@ -24,7 +24,7 @@ const PORT = process.env.PORT || 3000; try { await sequelize.authenticate(); // Отключаем автоматическую синхронизацию, так как есть проблемы с ключами - // await sequelize.sync({ alter: true }); + await sequelize.sync({ alter: true }); console.log('Database connected'); } catch (err) { console.error('Unable to connect to the database:', err);