Skip to content

Commit bb7b481

Browse files
committed
bugfix Value too long for history column INSTANCE
1 parent 9d2b2f3 commit bb7b481

File tree

1 file changed

+2
-1
lines changed
  • common/src/main/java/com/zmops/open/common/entity/warehouse

1 file changed

+2
-1
lines changed

common/src/main/java/com/zmops/open/common/entity/warehouse/History.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,14 @@ public class History {
4444
private String metric;
4545

4646
@Schema(title = "实例")
47+
@Column(length = 2048)
4748
private String instance;
4849

4950
@Schema(title = "字段类型 0: 数值 1:字符串")
5051
private Byte metricType;
5152

5253
@Schema(title = "字符值")
53-
@Column(length = 1024)
54+
@Column(length = 2048)
5455
private String str;
5556

5657
@Schema(title = "数值")

0 commit comments

Comments
 (0)