Jira issue originally created by user @beberlei:
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 created by @beberlei:
A related Github Pull-Request [GH-521] was closed
Issue was closed with resolution "Invalid"
Comment created by @doctrinebot:
A related Github Pull-Request [GH-521] was closed: