Closed ghost closed 9 years ago
Did you try this ?
@Table (name="mytable", indexes = { @Index(name="entity_email_idx", columnList="email" ), @Index(name="entity_name_idx", columnList="myname" ) })
Thanks! That did the trick. I thought that it would not work with custom indexes.
It's just that I have a custom index on one of my tables, and because I can't put it on the annotation the SchemaSync deletes it.