]> git.mxchange.org Git - juser-login-core.git/commitdiff
No need to declare the index again
authorRoland Haeder <roland@mxchange.org>
Sat, 12 Mar 2016 12:48:20 +0000 (13:48 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 12 Mar 2016 12:48:20 +0000 (13:48 +0100)
src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java

index ad516c23436876f6e0f95a028fca8643fa4d197a..6f4d9d517d9197b06c68a1e3236ef60713f00111 100644 (file)
@@ -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<roland@mxchange.org>
  */
 @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 {
 
        /**