diff --git a/backend/models/index.js b/backend/models/index.js index 60dfe82..0c6588a 100644 --- a/backend/models/index.js +++ b/backend/models/index.js @@ -23,13 +23,13 @@ const syncModels = async () => { try { // 외래 키 제약 조건을 비활성화하고 테이블 재생성 // 개발 - // await sequelize.query('SET FOREIGN_KEY_CHECKS = 0'); - // await sequelize.sync({ force: true }); - // await sequelize.query('SET FOREIGN_KEY_CHECKS = 1'); + await sequelize.query('SET FOREIGN_KEY_CHECKS = 0'); + await sequelize.sync({ force: true }); + await sequelize.query('SET FOREIGN_KEY_CHECKS = 1'); // 운영 alter: true - 구조변경만 alter처리 // await sequelize.sync({ alter: true }); - await sequelize.sync(); + // await sequelize.sync(); } catch (error) { console.error('모델 동기화 중 오류 발생:', error); } diff --git a/frontend/src/views/club/ClubSettings.vue b/frontend/src/views/club/ClubSettings.vue index 320c436..3f9ab21 100644 --- a/frontend/src/views/club/ClubSettings.vue +++ b/frontend/src/views/club/ClubSettings.vue @@ -64,15 +64,15 @@ 회원 수: {{ clubInfo.memberCount }}/{{ subscriptionInfo.maxMembers }}명 -
현재 활성화된 구독이 없습니다.
@@ -111,9 +111,9 @@가격이 있는 추가 기능이 없습니다.