diff --git a/packages/prisma/migrations/20231027144522_add_ical_columns_to_booking/migration.sql b/packages/prisma/migrations/20231027144522_add_ical_columns_to_booking/migration.sql index c8f8dd6e56..7a38b52306 100644 --- a/packages/prisma/migrations/20231027144522_add_ical_columns_to_booking/migration.sql +++ b/packages/prisma/migrations/20231027144522_add_ical_columns_to_booking/migration.sql @@ -5,5 +5,6 @@ */ -- AlterTable -ALTER TABLE "Booking" ADD COLUMN "iCalSequence" INTEGER NOT NULL DEFAULT 0, -ADD COLUMN "iCalUID" TEXT NOT NULL; +ALTER TABLE "Booking" +ADD COLUMN "iCalUID" VARCHAR NOT NULL , +ADD COLUMN "iCalSequence" INTEGER NOT NULL DEFAULT 0; diff --git a/packages/prisma/schema.prisma b/packages/prisma/schema.prisma index 03bb50b10a..abf09f248b 100644 --- a/packages/prisma/schema.prisma +++ b/packages/prisma/schema.prisma @@ -417,7 +417,7 @@ model Booking { /// @zod.custom(imports.bookingMetadataSchema) metadata Json? isRecorded Boolean @default(false) - iCalUID String + iCalUID String @db.VarChar() iCalSequence Int @default(0) @@index([eventTypeId])