Ver código fonte

[script,common]fix多余租户ID依赖

tomsun28 4 anos atrás
pai
commit
1b12cfec28

+ 0 - 3
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;

+ 0 - 1
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),