Update models to latest changes

This commit is contained in:
rui hildt 2020-08-27 15:21:00 +02:00
parent ad27d42144
commit 38f3c06d51
3 changed files with 0 additions and 15 deletions

View File

@ -16,7 +16,6 @@ function addAvailability(data) {
'preference',
'start_time',
'end_time',
'timezone',
]);
}

View File

@ -18,7 +18,6 @@ function addMeeting(data) {
'title',
'description',
'start_time',
'timezone',
'duration',
'status',
]);
@ -33,7 +32,6 @@ function updateMeeting(data, id) {
'title',
'description',
'start_time',
'timezone',
'duration',
'status',
]);
@ -52,7 +50,6 @@ function getMeetingById(id) {
'title',
'description',
'start_time',
'timezone',
'duration',
'status',
);
@ -69,7 +66,6 @@ function getParticipantsByMeetingId(meeting_id) {
'p.mandatory',
'p.host',
'p.answered',
'p.timezone',
)
.join('meeting as m', { 'm.id': 'p.meeting_id' })
.where({ meeting_id });
@ -92,7 +88,6 @@ function getAvailabilityByMeetingId(meeting_id) {
'a.preference',
'a.start_time',
'a.end_time',
'a.timezone',
)
.join('meeting as m', { 'm.id': 'a.meeting_id' })
.where({ meeting_id });

View File

@ -14,13 +14,10 @@ function addParticipant(data) {
.returning([
'account_id',
'meeting_id',
'earliest_time',
'latest_time',
'quorum',
'mandatory',
'host',
'answered',
'timezone',
]);
}
@ -31,13 +28,10 @@ function updateParticipant(data, account_id, meeting_id) {
.returning([
'account_id',
'meeting_id',
'earliest_time',
'latest_time',
'quorum',
'mandatory',
'host',
'answered',
'timezone',
]);
}
@ -52,12 +46,9 @@ function getParticipantById(account_id, meeting_id) {
.select(
'account_id',
'meeting_id',
'earliest_time',
'latest_time',
'quorum',
'mandatory',
'host',
'answered',
'timezone',
);
}