From cfd77e6fc058f49ff36d805d9988fd8778fc1f1d Mon Sep 17 00:00:00 2001
From: Wo-ogie <siwall0105@gmail.com>
Date: Mon, 27 Nov 2023 18:48:04 +0900
Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=95=BD=EC=86=8D(`meeting`)=20mod?=
 =?UTF-8?q?el=EC=97=90=EC=84=9C=20=ED=98=84=EC=9E=AC=20=EC=B0=B8=EA=B0=80?=
 =?UTF-8?q?=EC=9E=90=20=EC=88=98=20=ED=95=84=EB=93=9C=20=EC=A0=9C=EA=B1=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 dto/response/meetingResponse.js                 | 3 ---
 dto/response/meetingWithParticipantsResponse.js | 3 ---
 models/meeting.js                               | 5 -----
 3 files changed, 11 deletions(-)

diff --git a/dto/response/meetingResponse.js b/dto/response/meetingResponse.js
index e4eb9a5..ad7505a 100644
--- a/dto/response/meetingResponse.js
+++ b/dto/response/meetingResponse.js
@@ -5,7 +5,6 @@ class MeetingResponse {
     purpose,
     startDate,
     endDate,
-    currentParticipants,
     maxParticipants,
     voteExpiresAt,
     isClosed,
@@ -16,7 +15,6 @@ class MeetingResponse {
     this.purpose = purpose;
     this.startDate = startDate;
     this.endDate = endDate;
-    this.currentParticipants = currentParticipants;
     this.maxParticipants = maxParticipants;
     this.voteExpiresAt = voteExpiresAt;
     this.isClosed = isClosed;
@@ -30,7 +28,6 @@ class MeetingResponse {
       meeting.purpose,
       meeting.startDate,
       meeting.endDate,
-      meeting.currentParticipants,
       meeting.maxParticipants,
       meeting.voteExpiresAt,
       meeting.isClosed,
diff --git a/dto/response/meetingWithParticipantsResponse.js b/dto/response/meetingWithParticipantsResponse.js
index b733aaa..905a42a 100644
--- a/dto/response/meetingWithParticipantsResponse.js
+++ b/dto/response/meetingWithParticipantsResponse.js
@@ -7,7 +7,6 @@ class MeetingWithParticipantsResponse {
     purpose,
     startDate,
     endDate,
-    currentParticipants,
     maxParticipants,
     voteExpiresAt,
     isClosed,
@@ -19,7 +18,6 @@ class MeetingWithParticipantsResponse {
     this.purpose = purpose;
     this.startDate = startDate;
     this.endDate = endDate;
-    this.currentParticipants = currentParticipants;
     this.maxParticipants = maxParticipants;
     this.voteExpiresAt = voteExpiresAt;
     this.isClosed = isClosed;
@@ -34,7 +32,6 @@ class MeetingWithParticipantsResponse {
       meeting.purpose,
       meeting.startDate,
       meeting.endDate,
-      meeting.currentParticipants,
       meeting.maxParticipants,
       meeting.voteExpiresAt,
       meeting.isClosed,
diff --git a/models/meeting.js b/models/meeting.js
index b1e6323..d22491c 100644
--- a/models/meeting.js
+++ b/models/meeting.js
@@ -30,11 +30,6 @@ class Meeting extends Sequelize.Model {
           type: Sequelize.DATEONLY,
           allowNull: false,
         },
-        currentParticipants: {
-          type: Sequelize.INTEGER.UNSIGNED,
-          allowNull: false,
-          defaultValue: 0,
-        },
         maxParticipants: {
           type: Sequelize.INTEGER.UNSIGNED,
           allowNull: true,
-- 
GitLab