mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3478: [GH-1239] Fix index duplication for unique association join columns #4285
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 8, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of deeky666:
Url: https://github.com/doctrine/doctrine2/pull/1239
Message:
Complementary fix for recent DBAL change:
fc8beca086 (commitcomment-9201441)Avoids index duplication for association mappings using unique join columns. Unique constraints to be created for the join columns are now added before adding the foreign key constraint, so that adding the fk doesn't trigger an implicit index creation.
I did not add any further tests as the current failure already reveals the issue.
@doctrinebot commented on GitHub (Jan 8, 2015):
@doctrinebot commented on GitHub (Jan 8, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1239] was assigned:
https://github.com/doctrine/doctrine2/pull/1239
@doctrinebot commented on GitHub (Jan 9, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1239] was merged:
https://github.com/doctrine/doctrine2/pull/1239
@doctrinebot commented on GitHub (Jan 9, 2015):
Issue was closed with resolution "Fixed"