From: Roland Haeder Date: Sat, 12 Mar 2016 12:48:20 +0000 (+0100) Subject: No need to declare the index again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7b5c2a95e6477f40ede49640172f37150e1127b8;p=juser-login-core.git No need to declare the index again --- diff --git a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java index ad516c2..6f4d9d5 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.OneToOne; import javax.persistence.Table; import javax.persistence.Temporal; @@ -42,12 +41,7 @@ import org.mxchange.jusercore.model.user.User; * @author Roland Haeder */ @Entity (name = "email_changes") -@Table ( - name = "email_changes", - indexes = { - @Index (name = "email_change_user", columnList = "email_change_user") - } -) +@Table (name = "email_changes") public class EmailAddressChange implements ChangeableEmailAddress { /**