From 8eda335ade1b6d767b3030d6a62cc0e44e21cec8 Mon Sep 17 00:00:00 2001 From: Noel Cortes <136741673+cortesnoel-lm@users.noreply.github.com> Date: Sun, 25 Aug 2024 15:53:25 -0400 Subject: [PATCH] fix: increase name column length to 255 --- alpine-model/src/main/java/alpine/model/Team.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine-model/src/main/java/alpine/model/Team.java b/alpine-model/src/main/java/alpine/model/Team.java index df2cfe8d..9ba7cc22 100644 --- a/alpine-model/src/main/java/alpine/model/Team.java +++ b/alpine-model/src/main/java/alpine/model/Team.java @@ -85,7 +85,7 @@ public enum FetchGroup { private UUID uuid; @Persistent - @Column(name = "NAME", jdbcType = "VARCHAR", length = 50, allowsNull = "false") + @Column(name = "NAME", jdbcType = "VARCHAR", length = 255, allowsNull = "false") @NotBlank @Size(min = 1, max = 255) @Pattern(regexp = "[\\P{Cc}]+", message = "The team name must not contain control characters")