perf(X-Pack): 阈值告警flyway

This commit is contained in:
fit2cloud-chenyw 2024-08-13 18:29:06 +08:00
parent 4196eff0db
commit 31f7f0bdd9
2 changed files with 5 additions and 6 deletions

View File

@ -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 '创建时间',

@ -1 +1 @@
Subproject commit c396d21e32416f6e16f5670d0773c2c60287dfa3
Subproject commit 4eab3cae08ea0bee9a8b687e21d41d817cf79881