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`
|
||||
CHANGE COLUMN `user` `user` VARCHAR(100) NOT NULL ;
|
||||
|
||||
CREATE INDEX idx_covering ON calcms_events (start, end, id);
|
||||
@@ -361,4 +361,6 @@ ADD COLUMN `week_of_month` INT UNSIGNED NULL AFTER `weekday`,
|
||||
ADD COLUMN `month` INT UNSIGNED NULL AFTER `week_of_month`,
|
||||
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