diff --git a/script/3.5/schema/1.add_alarm_code.sql b/script/3.5/schema/1.add_alarm_code.sql index 52388a1..7a13015 100644 --- a/script/3.5/schema/1.add_alarm_code.sql +++ b/script/3.5/schema/1.add_alarm_code.sql @@ -2,6 +2,10 @@ DO $$ 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,'数据中断', 3); --group=1数据中断 INSERT INTO t_alarm_group_unit("id","name", "group_id") VALUES (48,'数据异常趋势', 3); --group=3策略命中