feat: add index [startTime, endTime] for BookingDenormalized (#23944)
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
a1922efab5
commit
6ee752aed8
2 files changed
+3
No files matched your search
+2
@@ -0,0 +1,2 @@
|
||||
-- CreateIndex
|
||||
CREATE INDEX "BookingDenormalized_startTime_endTime_idx" ON "BookingDenormalized"("startTime", "endTime");
|
||||
@@ -1743,6 +1743,7 @@ model BookingDenormalized {
|
||||
@@index([status])
|
||||
@@index([teamId, isTeamBooking])
|
||||
@@index([userId, isTeamBooking])
|
||||
@@index([startTime, endTime])
|
||||
}
|
||||
|
||||
view BookingTimeStatusDenormalized {
|
||||
|
||||
Reference in new issue
Block a user