From 7b5c2a95e6477f40ede49640172f37150e1127b8 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 12 Mar 2016 13:48:20 +0100 Subject: [PATCH] No need to declare the index again --- .../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 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 { /** -- 2.39.5