Add iCalUID to booking

write-icaluid-to-booking
Joe Au-Yeung 2023-10-26 16:48:15 -04:00
parent c2a57fd72b
commit b045e996b4
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `iCalUID` to the `Booking` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "Booking" ADD COLUMN "iCalUID" TEXT NOT NULL;

View File

@ -417,6 +417,7 @@ model Booking {
/// @zod.custom(imports.bookingMetadataSchema)
metadata Json?
isRecorded Boolean @default(false)
iCalUID String
@@index([eventTypeId])
@@index([userId])