Skip to content

Commit

Permalink
missing index name for unique constraint backing index
Browse files Browse the repository at this point in the history
  • Loading branch information
fortunato committed Jan 11, 2022
1 parent 61415ae commit b578663
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ protected Index getBackingIndex(UniqueConstraint uniqueConstraint, org.hibernate
index.setRelation(uniqueConstraint.getRelation());
index.setColumns(uniqueConstraint.getColumns());
index.setUnique(true);
index.setName(hibernateTable.getName() + "_IX");

return index;
}
Expand Down

0 comments on commit b578663

Please sign in to comment.