From 5bd6653199ca79e23504aca8adfd2d7e7914885c Mon Sep 17 00:00:00 2001 From: Atif Ali <56743004+aali309@users.noreply.github.com> Date: Thu, 25 Jan 2024 10:47:58 -0500 Subject: [PATCH] fix(targets): accept non-unique aliases (#271) --- src/main/java/io/cryostat/targets/Target.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/io/cryostat/targets/Target.java b/src/main/java/io/cryostat/targets/Target.java index 1dd7b1e6b..6906ad945 100644 --- a/src/main/java/io/cryostat/targets/Target.java +++ b/src/main/java/io/cryostat/targets/Target.java @@ -72,9 +72,7 @@ public class Target extends PanacheEntity { @NotNull public URI connectUrl; - @Column(unique = true) - @NotBlank - public String alias; + @NotBlank public String alias; public String jvmId;