mirror of
https://github.com/google/nomulus.git
synced 2025-07-08 12:13:19 +02:00
Make index on contactId not unique (#751)
* Make index on contactId not unique This column cannot be unique due to the fundamantal design of the domain model.
This commit is contained in:
parent
f7d03de745
commit
05ddabd003
4 changed files with 27 additions and 12 deletions
|
@ -40,7 +40,7 @@ import org.joda.time.DateTime;
|
|||
@javax.persistence.Index(columnList = "creationTime"),
|
||||
@javax.persistence.Index(columnList = "currentSponsorRegistrarId"),
|
||||
@javax.persistence.Index(columnList = "deletionTime"),
|
||||
@javax.persistence.Index(columnList = "contactId", unique = true),
|
||||
@javax.persistence.Index(columnList = "contactId"),
|
||||
@javax.persistence.Index(columnList = "searchName")
|
||||
})
|
||||
@ExternalMessagingName("contact")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue