Bump prisma to v4.1

This commit is contained in:
zomars committed 2022-07-20 13:17:23 -06:00
1 parent 4874a6e34c
commit 3ff43520eb
5 files changed
+38 -40

No files matched your search

+2 -2
View File
@@ -21,14 +21,14 @@
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"prisma": "^4.0.0",
"prisma": "^4.1.0",
"ts-node": "^10.6.0",
"zod": "^3.16.0",
"zod-prisma": "^0.5.4"
},
"dependencies": {
"@calcom/lib": "*",
"@prisma/client": "^4.0.0"
"@prisma/client": "^4.1.0"
},
"main": "index.ts",
"types": "index.d.ts",
+16 -18
View File
@@ -19,14 +19,14 @@ generator zod {
}
enum SchedulingType {
ROUND_ROBIN @map("roundRobin")
COLLECTIVE @map("collective")
ROUND_ROBIN @map("roundRobin")
COLLECTIVE @map("collective")
}
enum PeriodType {
UNLIMITED @map("unlimited")
ROLLING @map("rolling")
RANGE @map("range")
UNLIMITED @map("unlimited")
ROLLING @map("rolling")
RANGE @map("range")
}
model EventType {
@@ -185,7 +185,6 @@ model User {
workflows Workflow[]
routingForms App_RoutingForms_Form[] @relation("routing-form")
@@map(name: "users")
}
@@ -253,10 +252,10 @@ model Attendee {
}
enum BookingStatus {
CANCELLED @map("cancelled")
ACCEPTED @map("accepted")
REJECTED @map("rejected")
PENDING @map("pending")
CANCELLED @map("cancelled")
ACCEPTED @map("accepted")
REJECTED @map("rejected")
PENDING @map("pending")
}
model DailyEventReference {
@@ -335,10 +334,10 @@ model SelectedCalendar {
}
enum EventTypeCustomInputType {
TEXT @map("text")
TEXTLONG @map("textLong")
NUMBER @map("number")
BOOL @map("bool")
TEXT @map("text")
TEXTLONG @map("textLong")
NUMBER @map("number")
BOOL @map("bool")
}
model EventTypeCustomInput {
@@ -552,7 +551,6 @@ model WorkflowStep {
emailSubject String?
template WorkflowTemplates @default(REMINDER)
workflowReminders WorkflowReminder[]
}
model Workflow {
@@ -576,9 +574,9 @@ model WorkflowsOnEventTypes {
}
enum TimeUnit {
DAY @map("day")
HOUR @map("hour")
MINUTE @map("minute")
DAY @map("day")
HOUR @map("hour")
MINUTE @map("minute")
}
model WorkflowReminder {