diff --git a/server/common/common-dao/src/main/java/io/holoinsight/server/common/dao/entity/MonitorInstance.java b/server/common/common-dao/src/main/java/io/holoinsight/server/common/dao/entity/MonitorInstance.java index 2401baee3..c59442ead 100644 --- a/server/common/common-dao/src/main/java/io/holoinsight/server/common/dao/entity/MonitorInstance.java +++ b/server/common/common-dao/src/main/java/io/holoinsight/server/common/dao/entity/MonitorInstance.java @@ -35,6 +35,8 @@ public class MonitorInstance { private String instance; private String instanceName; + private String instanceType; + private String instanceInfo; /** * 实例类型 diff --git a/server/extension/extension-common-flyway/src/main/resources/db/migration/V33__240226_ADD_monitor_instance_COLUMN.sql b/server/extension/extension-common-flyway/src/main/resources/db/migration/V33__240226_ADD_monitor_instance_COLUMN.sql new file mode 100644 index 000000000..57ad38a59 --- /dev/null +++ b/server/extension/extension-common-flyway/src/main/resources/db/migration/V33__240226_ADD_monitor_instance_COLUMN.sql @@ -0,0 +1,11 @@ +/* + * Copyright 2022 Holoinsight Project Authors. Licensed under Apache-2.0. + */ + +-- ---------------------------- +-- Table structure for monitor_instance +-- ---------------------------- +ALTER TABLE `monitor_instance` + ADD COLUMN `instance_type` varchar(255) NULL DEFAULT NULL comment '实例类型'; +ALTER TABLE `monitor_instance` + ADD COLUMN `instance_info` mediumtext NULL comment '实例配置详情';