fix(规则引擎): 修复mysql下索引长度错误问题

This commit is contained in:
zhouhao 2023-08-03 14:17:06 +08:00
parent 83a6f39ea0
commit ab7e603706
1 changed files with 2 additions and 2 deletions

View File

@ -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;