public 기능 완료

This commit is contained in:
2025-05-07 21:02:50 +09:00
parent 283c8a7f4a
commit 1684fbf5d1
28 changed files with 2522 additions and 194 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ const syncModels = async () => {
// await sequelize.query('SET FOREIGN_KEY_CHECKS = 1');
// 운영 alter: true - 구조변경만 alter처리
// await sequelize.sync({ alter: true });
await sequelize.sync();
await sequelize.sync({ alter: true });
// await sequelize.sync();
} catch (error) {
console.error('모델 동기화 중 오류 발생:', error);
}