install/create.sql: new index for events
This commit is contained in:
@@ -1816,3 +1816,5 @@ CHANGE COLUMN `email` `email` VARCHAR(100) NULL DEFAULT NULL ;
|
|||||||
|
|
||||||
ALTER TABLE `calcms`.`calcms_user_selected_events`
|
ALTER TABLE `calcms`.`calcms_user_selected_events`
|
||||||
CHANGE COLUMN `user` `user` VARCHAR(100) NOT NULL ;
|
CHANGE COLUMN `user` `user` VARCHAR(100) NOT NULL ;
|
||||||
|
|
||||||
|
CREATE INDEX idx_covering ON calcms_events (start, end, id);
|
||||||
@@ -362,3 +362,5 @@ ADD COLUMN `month` INT UNSIGNED NULL AFTER `week_of_month`,
|
|||||||
CHANGE COLUMN `frequency` `frequency` INT UNSIGNED NULL ;
|
CHANGE COLUMN `frequency` `frequency` INT UNSIGNED NULL ;
|
||||||
|
|
||||||
update `calcms_studio_timeslot_schedule` set period_type = 'days' where period_type = '';
|
update `calcms_studio_timeslot_schedule` set period_type = 'days' where period_type = '';
|
||||||
|
|
||||||
|
CREATE INDEX idx_covering ON calcms_events (start, end, id);
|
||||||
Reference in New Issue
Block a user