#1506 - @ElementCollection DDL generates 2 indexes on the same column

This commit is contained in:
rob bygrave
2018-10-13 00:23:44 +13:00
parent de9823b69b
commit 2839434773
@@ -24,9 +24,6 @@ public class ModelBuildElementTable {
VisitAllUsing.visitOne(targetDescriptor, new ModelBuildPropertyVisitor(ctx, table, targetDescriptor));
ctx.fkeyBuilder(table)
.addForeignKey(manyProp.getBeanDescriptor(), manyProp.getTableJoin(), true);
ctx.addTable(table);
}