diff --git a/core/core-backend/src/main/resources/db/migration/V2.10__ddl.sql b/core/core-backend/src/main/resources/db/migration/V2.10__ddl.sql index 82933dd105..b2b08e0c12 100644 --- a/core/core-backend/src/main/resources/db/migration/V2.10__ddl.sql +++ b/core/core-backend/src/main/resources/db/migration/V2.10__ddl.sql @@ -20,13 +20,12 @@ CREATE TABLE `xpack_threshold_info` `name` varchar(255) NOT NULL COMMENT '告警名称', `enable` tinyint(1) NOT NULL COMMENT '是否启用', `rate_type` int NOT NULL COMMENT '频率类型', - `rate_value` int NOT NULL COMMENT '频率值', - `rate_time` bigint NOT NULL COMMENT '发送时间', + `rate_value` varchar(255) NOT NULL COMMENT '频率值', `resource_type` varchar(50) NOT NULL COMMENT '资源类型', `resource_id` bigint NOT NULL COMMENT '资源ID', `chart_type` varchar(255) NOT NULL COMMENT '图表类型', `chart_id` bigint NOT NULL COMMENT '图表ID', - `threshold_rules` longtext NOT NULL COMMENT '告警规则', + `threshold_rules` longtext COMMENT '告警规则', `recisetting` varchar(50) NOT NULL DEFAULT '0' COMMENT '消息渠道', `reci_users` longtext COMMENT '接收人', `reci_roles` longtext COMMENT '接收角色', @@ -35,8 +34,8 @@ CREATE TABLE `xpack_threshold_info` `reci_webhooks` longtext COMMENT 'Web hooks', `msg_title` varchar(255) NOT NULL COMMENT '消息标题', `msg_type` int NOT NULL DEFAULT '0' COMMENT '消息类型', - `msg_content` longtext NOT NULL COMMENT '消息内容', - `repeat` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否重复发送', + `msg_content` longtext COMMENT '消息内容', + `repeat_send` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否重复发送', `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '数据状态', `creator` bigint NOT NULL COMMENT '创建者ID', `create_time` bigint NOT NULL COMMENT '创建时间', diff --git a/de-xpack b/de-xpack index c396d21e32..4eab3cae08 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit c396d21e32416f6e16f5670d0773c2c60287dfa3 +Subproject commit 4eab3cae08ea0bee9a8b687e21d41d817cf79881