added schema for EventTypeCustomInput

pull/290/head
Malte Delfs 2021-06-19 20:55:40 +02:00
parent 543482ca52
commit 50d325d20a
1 changed files with 11 additions and 0 deletions

View File

@ -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
}