xian-ncc-da-server/sql/update.sql

10 lines
297 B
MySQL
Raw Normal View History

2023-11-03 10:24:02 +08:00
-- 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