From bb7b481b52f3276a01dd07c9c4df9e6c21a7eab6 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Sat, 15 Apr 2023 22:47:23 +0800 Subject: [PATCH] bugfix Value too long for history column INSTANCE --- .../java/com/zmops/open/common/entity/warehouse/History.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/zmops/open/common/entity/warehouse/History.java b/common/src/main/java/com/zmops/open/common/entity/warehouse/History.java index e2eeff5..8579f27 100644 --- a/common/src/main/java/com/zmops/open/common/entity/warehouse/History.java +++ b/common/src/main/java/com/zmops/open/common/entity/warehouse/History.java @@ -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 = "数值")