added schema for EventTypeCustomInput
parent
543482ca52
commit
50d325d20a
|
@ -22,6 +22,7 @@ model EventType {
|
||||||
userId Int?
|
userId Int?
|
||||||
bookings Booking[]
|
bookings Booking[]
|
||||||
eventName String?
|
eventName String?
|
||||||
|
customInputs EventTypeCustomInput[]
|
||||||
}
|
}
|
||||||
|
|
||||||
model Credential {
|
model Credential {
|
||||||
|
@ -131,3 +132,13 @@ model SelectedCalendar {
|
||||||
externalId String
|
externalId String
|
||||||
@@id([userId,integration,externalId])
|
@@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
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue