Update migration to include iCalSequence

write-icaluid-to-booking
Joe Au-Yeung 2023-10-27 12:58:13 -04:00
parent f050f0c869
commit 25b83c3978
2 changed files with 3 additions and 1 deletions

View File

@ -5,4 +5,5 @@
*/
-- AlterTable
ALTER TABLE "Booking" ADD COLUMN "iCalUID" TEXT NOT NULL;
ALTER TABLE "Booking" ADD COLUMN "iCalSequence" INTEGER NOT NULL DEFAULT 0,
ADD COLUMN "iCalUID" TEXT NOT NULL;

View File

@ -418,6 +418,7 @@ model Booking {
metadata Json?
isRecorded Boolean @default(false)
iCalUID String
iCalSequence Int @default(0)
@@index([eventTypeId])
@@index([userId])