-- 2023.11.1 begin 已经执行 alter table alert_record add index alert_time_index(alert_time); -- 2023.11.1 end -- 2023.11.03 begin update alert_record set alarm_status = -1 where alarm_status is null; alter table alert_record add index alarm_status_index(alarm_status); -- 2023.11.03 end