zhaobing’ 1 year ago
parent
commit
9a27d1625d
  1. 6
      script/3.5/schema/1.add_alarm_code.sql

6
script/3.5/schema/1.add_alarm_code.sql

@ -2,8 +2,12 @@ DO
$$ $$
BEGIN BEGIN
--
update "t_alarm_type" set upgrade_strategy='{"independent": true}' where code='3020';
update "t_alarm_type" set upgrade_strategy='{"independent": true}' where code='3021';
update "t_alarm_type" set upgrade_strategy='{"independent": true}' where code='3022';
INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (47,'数据中断', 1); --group=1 INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (47,'数据中断', 3); --group=1
INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (48,'数据异常趋势', 3); --group=3 INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (48,'数据异常趋势', 3); --group=3
INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (49,'数据毛刺', 3); --group=3 INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (49,'数据毛刺', 3); --group=3

Loading…
Cancel
Save