Use meta field for booking reference

This commit is contained in:
nicolas 2021-09-21 22:49:14 +02:00
parent 7ec36bde63
commit 174c252f67
3 changed files with 3 additions and 7 deletions

View File

@ -1,4 +0,0 @@
-- AlterTable
ALTER TABLE "BookingReference" ADD COLUMN "meetingId" TEXT,
ADD COLUMN "meetingPassword" TEXT,
ADD COLUMN "meetingUrl" TEXT;

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "BookingReference" ADD COLUMN "meta" TEXT;

View File

@ -133,9 +133,7 @@ model BookingReference {
id Int @id @default(autoincrement())
type String
uid String
meetingId String?
meetingPassword String?
meetingUrl String?
meta String?
booking Booking? @relation(fields: [bookingId], references: [id])
bookingId Int?
}