From 45448de53c2f6f417e17d2ad63363a9573871184 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 12 Mar 2016 19:08:46 +0100 Subject: [PATCH] No index-reclaration need as this causes double indexes --- .../jusercore/model/email_address/EmailAddressChange.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java index 1531630..28e11bc 100644 --- a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java +++ b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java @@ -27,7 +27,6 @@ import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; -import javax.persistence.Index; import javax.persistence.JoinColumn; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; @@ -45,12 +44,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Haeder */ @Entity (name = "email_changes") -@Table ( - name = "email_changes", - indexes = { - @Index (name = "hash", columnList = "email_change_hash", unique = true) - } -) +@Table (name = "email_changes") @NamedQueries ( @NamedQuery (name = "SearchEmailChangeByEmail", query = "SELECT e FROM email_changes AS e WHERE LOWER(e.emailAddress) LIKE LOWER(:email)") ) -- 2.39.5