Temporarily disabled unique constraint on Realm names as it breakes tests
This commit is contained in:
1 parent
dabf101d96
commit
573c88564b
2 files changed
+2
-2
No files matched your search
@@ -35,7 +35,7 @@ public class RealmEntity {
|
||||
@Id
|
||||
protected String id;
|
||||
|
||||
@Column(unique = true)
|
||||
//@Column(unique = true)
|
||||
protected String name;
|
||||
|
||||
protected boolean enabled;
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import java.util.Set;
|
||||
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
|
||||
*/
|
||||
@MongoCollection(collectionName = "realms")
|
||||
@MongoIndex(fields = { "name" }, unique = true)
|
||||
//@MongoIndex(fields = { "name" }, unique = true)
|
||||
public class RealmEntity extends AbstractMongoIdentifiableEntity implements MongoEntity {
|
||||
|
||||
private String name;
|
||||
|
||||
Reference in new issue
Block a user