diff --git a/src/main/resources/neatlogic/resources/inspect/changelog/2025-04-27/version.json b/src/main/resources/neatlogic/resources/inspect/changelog/2025-04-27/version.json index 5a6027697b0c9e299fe7502852d7d499caf28c5a..26963a030ca200e76b7c5547bd1e11a20d3bc0a4 100644 --- a/src/main/resources/neatlogic/resources/inspect/changelog/2025-04-27/version.json +++ b/src/main/resources/neatlogic/resources/inspect/changelog/2025-04-27/version.json @@ -3,7 +3,7 @@ { "type":"新增功能", "detail":[ - {"msg":"inspect_alert_everyday表的alert_object字段改成text类型"} + {"msg":"inspect_alert_everyday表的alert_object字段改成varchar(750)类型"} ] } ] diff --git a/src/main/resources/neatlogic/resources/inspect/sqlscript/ddl.sql b/src/main/resources/neatlogic/resources/inspect/sqlscript/ddl.sql index 79cc0afc50742ea98f2f570ac59f2f0c1ad4ef9c..48c236327ad26174723a13431ed00fd4bc60f513 100644 --- a/src/main/resources/neatlogic/resources/inspect/sqlscript/ddl.sql +++ b/src/main/resources/neatlogic/resources/inspect/sqlscript/ddl.sql @@ -15,7 +15,7 @@ CREATE TABLE IF NOT EXISTS `inspect_alert_everyday` ( `report_time` date NOT NULL COMMENT '巡检时间', `resource_id` bigint NOT NULL COMMENT '资产ID', `alert_level` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '告警等级', - `alert_object` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '告警对象', + `alert_object` varchar(750) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '告警对象', `alert_rule` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '告警规则', `alert_tips` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '告警提示', `alert_value` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '告警值',