fix(规则引擎): 修复mysql下索引长度错误问题
This commit is contained in:
parent
83a6f39ea0
commit
ab7e603706
|
|
@ -26,12 +26,12 @@ public class AlarmRuleBindEntity extends GenericEntity<String> {
|
|||
|
||||
public static final int ANY_BRANCH_INDEX = -1;
|
||||
|
||||
@Column(nullable = false, updatable = false)
|
||||
@Column(nullable = false, updatable = false, length = 64)
|
||||
@NotBlank
|
||||
@Schema(description = "告警ID")
|
||||
private String alarmId;
|
||||
|
||||
@Column(nullable = false, updatable = false)
|
||||
@Column(nullable = false, updatable = false, length = 64)
|
||||
@NotBlank
|
||||
@Schema(description = "场景规则ID")
|
||||
private String ruleId;
|
||||
|
|
|
|||
Loading…
Reference in New Issue