File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/prisma/migrations/20240320000001_add_booking_time_status_denormalized Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ CREATE INDEX "idx_booking_id" ON "BookingTimeStatusDenormalized" (id);
30
30
CREATE INDEX "idx_booking_user_id " ON " BookingTimeStatusDenormalized" (" userId" );
31
31
CREATE INDEX "idx_booking_created_at " ON " BookingTimeStatusDenormalized" (" createdAt" );
32
32
CREATE INDEX "idx_event_type_hierarchy " ON " BookingTimeStatusDenormalized" (" eventTypeId" , " eventParentId" );
33
+ CREATE INDEX "idx_time_status " ON " BookingTimeStatusDenormalized" (" timeStatus" );
34
+ CREATE INDEX "idx_team_id " ON " BookingTimeStatusDenormalized" (" teamId" );
35
+ CREATE INDEX "idx_start_time " ON " BookingTimeStatusDenormalized" (" startTime" );
36
+ CREATE INDEX "idx_end_time " ON " BookingTimeStatusDenormalized" (" endTime" );
33
37
34
38
-- Function to calculate timeStatus
35
39
CREATE OR REPLACE FUNCTION calculate_time_status (
You can’t perform that action at this time.
0 commit comments