Skip to content
Snippets Groups Projects
Commit cfd77e6f authored by Wo-ogie's avatar Wo-ogie
Browse files

refactor: 약속(`meeting`) model에서 현재 참가자 수 필드 제거

parent 8a458b1c
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment