From ef1fe403bab1eb2887fbe104b244f52cc75ec730 Mon Sep 17 00:00:00 2001 From: Ulric Qin Date: Thu, 9 Mar 2023 19:04:50 +0800 Subject: [PATCH] fix table schema --- n9e.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/n9e.sql b/n9e.sql index 68847cbf..08aed00d 100644 --- a/n9e.sql +++ b/n9e.sql @@ -262,7 +262,7 @@ CREATE TABLE `alert_rule` ( `severity` tinyint(1) not null comment '1:Emergency 2:Warning 3:Notice', `disabled` tinyint(1) not null comment '0:enabled 1:disabled', `prom_for_duration` int not null comment 'prometheus for, unit:s', - `rule_config` text not null comment 'rule_config'; + `rule_config` text not null comment 'rule_config', `prom_ql` text not null comment 'promql', `prom_eval_interval` int not null comment 'evaluate interval', `enable_stime` varchar(255) not null default '00:00',