Skip to content

Commit

Permalink
perf: Add index to EventType for parentId (#17049)
Browse files Browse the repository at this point in the history
  • Loading branch information
keithwillcode authored Oct 10, 2024
1 parent 673a2be commit ef88eff
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_parentId_idx" ON "EventType"("parentId");
1 change: 1 addition & 0 deletions packages/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ model EventType {
@@index([teamId])
@@index([scheduleId])
@@index([secondaryEmailId])
@@index([parentId])
}

model Credential {
Expand Down

0 comments on commit ef88eff

Please sign in to comment.