Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
fix: add idx scheduleId on eventType (calcom#12400)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyMinimalDev authored Nov 17, 2023
1 parent 57a6540 commit 27d59b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "EventType_scheduleId_idx" ON "EventType"("scheduleId");
1 change: 1 addition & 0 deletions packages/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ model EventType {
@@unique([userId, parentId])
@@index([userId])
@@index([teamId])
@@index([scheduleId])
}

model Credential {
Expand Down

0 comments on commit 27d59b6

Please sign in to comment.