Skip to content

Loading…

DDC-2165: [GH-521] DDC-2161 Added failing test that moves a foreign key #2856

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of alex88:

Url: #521

Message:

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.

@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-521] was closed
#521

@doctrinebot

Issue was closed with resolution "Invalid"

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-521] was closed:
doctrine/dbal#521

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.