Temporarily disabled unique constraint on Realm names as it breakes tests
This commit is contained in:
parent
dabf101d96
commit
573c88564b
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ public class RealmEntity {
|
|||
@Id
|
||||
protected String id;
|
||||
|
||||
@Column(unique = true)
|
||||
//@Column(unique = true)
|
||||
protected String name;
|
||||
|
||||
protected boolean enabled;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue