[script,common]fix多余租户ID依赖
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user