Fixes on messaging and calendar (#7485)
Fix syncedAt no longer been set on message sync. Fix calendar data model: - Add `syncedAt` to `CalendarChannelWorkspaceEntity` - Move `recurringEventExternalId` from `CalendarEventWorkspaceEntity` to `CalendarChannelEventAssociationWorkspaceEntity` since the id is relative to one channel Fix save queries on calendar sync after regression.
This commit is contained in:
@ -14,6 +14,7 @@ export const seedCalendarChannelEventAssociations = async (
|
||||
'calendarChannelId',
|
||||
'calendarEventId',
|
||||
'eventExternalId',
|
||||
'recurringEventExternalId',
|
||||
])
|
||||
.orIgnore()
|
||||
.values([
|
||||
@ -22,6 +23,7 @@ export const seedCalendarChannelEventAssociations = async (
|
||||
calendarChannelId: '59efdefe-a40f-4faf-bb9f-c6f9945b8203',
|
||||
calendarEventId: '86083141-1c0e-494c-a1b6-85b1c6fefaa5',
|
||||
eventExternalId: 'exampleExternalId',
|
||||
recurringEventExternalId: 'exampleRecurringExternalId',
|
||||
},
|
||||
])
|
||||
.execute();
|
||||
|
||||
@ -24,7 +24,6 @@ export const seedCalendarEvents = async (
|
||||
'conferenceSolution',
|
||||
'conferenceLinkPrimaryLinkLabel',
|
||||
'conferenceLinkPrimaryLinkUrl',
|
||||
'recurringEventExternalId',
|
||||
])
|
||||
.orIgnore()
|
||||
.values([
|
||||
@ -43,7 +42,6 @@ export const seedCalendarEvents = async (
|
||||
conferenceSolution: 'Zoom',
|
||||
conferenceLinkPrimaryLinkLabel: 'https://zoom.us/j/1234567890',
|
||||
conferenceLinkPrimaryLinkUrl: 'https://zoom.us/j/1234567890',
|
||||
recurringEventExternalId: 'recurring1',
|
||||
},
|
||||
])
|
||||
.execute();
|
||||
|
||||
Reference in New Issue
Block a user