perf: database index on booking_status_starttime_endtime (#12066)
parent
a9535d3fd4
commit
79c1aa60a2
|
@ -0,0 +1,2 @@
|
||||||
|
-- CreateIndex
|
||||||
|
CREATE INDEX "Booking_startTime_endTime_status_idx" ON "Booking"("startTime", "endTime", "status");
|
|
@ -423,6 +423,7 @@ model Booking {
|
||||||
@@index([recurringEventId])
|
@@index([recurringEventId])
|
||||||
@@index([uid])
|
@@index([uid])
|
||||||
@@index([status])
|
@@index([status])
|
||||||
|
@@index([startTime, endTime, status])
|
||||||
}
|
}
|
||||||
|
|
||||||
model Schedule {
|
model Schedule {
|
||||||
|
|
Loading…
Reference in New Issue