perf: database index on booking_status_starttime_endtime (#12066)

This commit is contained in:
Morgan authored and GitHub committed 2023-10-24 14:34:27 -07:00
1 parent a9535d3fd4
commit 79c1aa60a2
2 files changed
+3

No files matched your search

@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "Booking_startTime_endTime_status_idx" ON "Booking"("startTime", "endTime", "status");
+1
View File
@@ -423,6 +423,7 @@ model Booking {
@@index([recurringEventId])
@@index([uid])
@@index([status])
@@index([startTime, endTime, status])
}
model Schedule {