Use meta field for booking reference

pull/715/head
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()) id Int @id @default(autoincrement())
type String type String
uid String uid String
meetingId String? meta String?
meetingPassword String?
meetingUrl String?
booking Booking? @relation(fields: [bookingId], references: [id]) booking Booking? @relation(fields: [bookingId], references: [id])
bookingId Int? bookingId Int?
} }