From 2e2b633b2f7bb54b3ebc2c16426fdb9f0789b4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Wed, 19 Jun 2013 14:37:48 +0200 Subject: [PATCH] Remove unique constraint on Role name since it is sometimes not needed and can't be overriden --- .../src/main/java/org/resthub/identity/model/Role.java | 1 - 1 file changed, 1 deletion(-) diff --git a/resthub-identity-contract/src/main/java/org/resthub/identity/model/Role.java b/resthub-identity-contract/src/main/java/org/resthub/identity/model/Role.java index 2e1f414..044485d 100644 --- a/resthub-identity-contract/src/main/java/org/resthub/identity/model/Role.java +++ b/resthub-identity-contract/src/main/java/org/resthub/identity/model/Role.java @@ -57,7 +57,6 @@ public void setId(Long id) { * * @return the name of the role. */ - @Column(unique = true) @NotNull @JsonView({SummarizeView.class}) public String getName() {