From 1b12cfec2802ee87563914295e08fdb8579c9ded Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Wed, 16 Feb 2022 17:04:10 +0800 Subject: [PATCH] =?UTF-8?q?[script,common]fix=E5=A4=9A=E4=BD=99=E7=A7=9F?= =?UTF-8?q?=E6=88=B7ID=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../usthe/common/entity/alerter/AlertDefineMonitorBind.java | 3 --- script/sql/schema.sql | 1 - 2 files changed, 4 deletions(-) diff --git a/common/src/main/java/com/usthe/common/entity/alerter/AlertDefineMonitorBind.java b/common/src/main/java/com/usthe/common/entity/alerter/AlertDefineMonitorBind.java index 5ce8bd9..49d9a52 100644 --- a/common/src/main/java/com/usthe/common/entity/alerter/AlertDefineMonitorBind.java +++ b/common/src/main/java/com/usthe/common/entity/alerter/AlertDefineMonitorBind.java @@ -48,9 +48,6 @@ public class AlertDefineMonitorBind { @Column(name = "monitor_id") private Long monitorId; - @ApiModelProperty(value = "租户ID", example = "42343", accessMode = READ_WRITE, position = 3) - private Long tenantId; - @ApiModelProperty(value = "记录创建时间(毫秒时间戳)", example = "1612198922000", accessMode = READ_ONLY, position = 4) @Column(insertable = false, updatable = false) private LocalDateTime gmtCreate; diff --git a/script/sql/schema.sql b/script/sql/schema.sql index 1eae7e5..ccf5e4a 100644 --- a/script/sql/schema.sql +++ b/script/sql/schema.sql @@ -96,7 +96,6 @@ CREATE TABLE alert_define_monitor_bind id bigint not null auto_increment comment '告警定义与监控关联ID', alert_define_id bigint not null comment '告警定义ID', monitor_id bigint not null comment '监控ID', - monitor_name varchar(100) not null comment '监控的名称(拢余字段方便展示)', gmt_create timestamp default current_timestamp comment 'create time', gmt_update datetime default current_timestamp on update current_timestamp comment 'update time', primary key (id),