구독 임시 주석처리
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -64,15 +64,15 @@
|
||||
<span class="detail-label">회원 수:</span>
|
||||
<span class="detail-value">{{ clubInfo.memberCount }}/{{ subscriptionInfo.maxMembers }}명</span>
|
||||
</div>
|
||||
<div v-if="subscriptionInfo.planPrice" class="detail-item">
|
||||
<!-- <div v-if="subscriptionInfo.planPrice" class="detail-item">
|
||||
<span class="detail-label">월 구독료:</span>
|
||||
<span class="detail-value">{{ subscriptionInfo.planPrice }}원</span>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="subscription-actions">
|
||||
<!-- <div class="subscription-actions">
|
||||
<router-link :to="{ name: 'ClubSubscription' }" class="btn btn-primary">구독 관리</router-link>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<div v-else class="no-subscription">
|
||||
<p>현재 활성화된 구독이 없습니다.</p>
|
||||
@@ -111,9 +111,9 @@
|
||||
<p>가격이 있는 추가 기능이 없습니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="subscription-actions">
|
||||
<!-- <div class="subscription-actions">
|
||||
<router-link :to="{ name: 'ClubSubscription' }" class="btn btn-primary">기능 추가 구매</router-link>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -516,7 +516,7 @@ textarea.form-control {
|
||||
|
||||
.subscription-details {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
|
||||
grid-template-columns: repeat(auto-fill, minmax(32%, 1fr));
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user