Skip to content

Commit

Permalink
bugfix Value too long for history column INSTANCE
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 committed Apr 15, 2023
1 parent 9d2b2f3 commit bb7b481
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@ public class History {
private String metric;

@Schema(title = "实例")
@Column(length = 2048)
private String instance;

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

@Schema(title = "字符值")
@Column(length = 1024)
@Column(length = 2048)
private String str;

@Schema(title = "数值")
Expand Down

0 comments on commit bb7b481

Please sign in to comment.