96398ba30f
There can be unique indexes automatically created for join column. If join column is also primary key we should keep only primary key on this column. Oracle does not allow having both unique index and primary key on the same column, it is useless for mysql too. (Previously it was done by DBAL, but now it allows duplicate indexes)