[DMIG-20] migrations try to create an index with name "primary" for ManyToMany associations Created: 06/Mar/11 Updated: 26/Jun/11 Resolved: 26/Jun/11
|Reporter:||arnaud-lb||Assignee:||Jonathan H. Wage|
For ManyToMany associations, migrations try to create a unique index on (joinColumn, inverseJoinColumn) having name "primary":
CREATE UNIQUE INDEX primary ON join_table (joinColumn, inverseJoinColumn);
Which results in a syntax error on MySQL (primary is also an invalid key name).
|Comment by Karsten Dambekalns [ 25/Jun/11 ]|
Caused by / related to
|Comment by arnaud-lb [ 26/Jun/11 ]|