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

This commit is contained in:
tomsun28
2022-02-16 17:04:10 +08:00
parent 3651c44ac3
commit 1b12cfec28
2 changed files with 0 additions and 4 deletions

View File

@@ -48,9 +48,6 @@ public class AlertDefineMonitorBind {
@Column(name = "monitor_id") @Column(name = "monitor_id")
private Long monitorId; 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) @ApiModelProperty(value = "记录创建时间(毫秒时间戳)", example = "1612198922000", accessMode = READ_ONLY, position = 4)
@Column(insertable = false, updatable = false) @Column(insertable = false, updatable = false)
private LocalDateTime gmtCreate; private LocalDateTime gmtCreate;

View File

@@ -96,7 +96,6 @@ CREATE TABLE alert_define_monitor_bind
id bigint not null auto_increment comment '告警定义与监控关联ID', id bigint not null auto_increment comment '告警定义与监控关联ID',
alert_define_id bigint not null comment '告警定义ID', alert_define_id bigint not null comment '告警定义ID',
monitor_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_create timestamp default current_timestamp comment 'create time',
gmt_update datetime default current_timestamp on update current_timestamp comment 'update time', gmt_update datetime default current_timestamp on update current_timestamp comment 'update time',
primary key (id), primary key (id),