Skip to content

Scheduling infrastructure for absolutely everyone.

added schema for EventTypeCustomInput

Malte Delfs50d325d20af7
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 6fb9e1d9a74..6b33ce753cd 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
+}
+