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', 'preference',
'start_time', 'start_time',
'end_time', 'end_time',
'timezone',
]); ]);
} }

View File

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

View File

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