[DDC-2165] [GH-521] DDC-2161 Added failing test that moves a foreign key Created: 23/Nov/12 Updated: 29/Jan/14 Resolved: 23/Dec/12
|Project:||Doctrine 2 - ORM|
|Reporter:||Benjamin Eberlei||Assignee:||Benjamin Eberlei|
This issue is created automatically through a Github pull request on behalf of alex88:
I'm including a test that should pass once the DCC-2161 is fixed.
As I'm stating in the bug, when you create an entity with a self-referencing bidirectional oneToMany, then you create another entity and move the oneToMany to that entity, changing the targetEntity in the ManyToOne, doing a schema:update doesn't move the foreign key reference inside the Mysql table.
|Comment by Benjamin Eberlei [ 24/Nov/12 ]|
A related Github Pull-Request [GH-521] was closed
|Comment by Doctrine Bot [ 29/Jan/14 ]|
A related Github Pull-Request [GH-521] was closed: