Include tableName in MySQL fk contraint names (#6008)
When creating a foreign key constraint in MySQL, use the template
{referring_table}_{attribute}_foreign_idx, rather than just
{attribute}_foreign_idx, to avoid duplicate constraint names.
Related tests are updated.
See GitHub #5826
Showing
with
5 additions
and
4 deletions
-
Please register or sign in to post a comment