From 50d325d20af757b50cb921b9d18936558d400c71 Mon Sep 17 00:00:00 2001 From: Malte Delfs Date: Sat, 19 Jun 2021 20:55:40 +0200 Subject: [PATCH] added schema for EventTypeCustomInput --- prisma/schema.prisma | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 6fb9e1d9a7..6b33ce753c 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -22,6 +22,7 @@ model EventType { userId Int? bookings Booking[] eventName String? + customInputs EventTypeCustomInput[] } model Credential { @@ -131,3 +132,13 @@ model SelectedCalendar { externalId String @@id([userId,integration,externalId]) } + +model EventTypeCustomInput { + id Int @id @default(autoincrement()) + eventTypeId Int + eventType EventType @relation(fields: [eventTypeId], references: [id]) + label String + type String + required Boolean +} +