mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 09:23:20 +02:00
DDC-4001: [GH-1558] [RFC] remove indexes overruled by primary key #4885
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 (Nov 15, 2015).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of guilhermeblanco:
Url: https://github.com/doctrine/doctrine2/pull/1558
Message:
There can be unique indexes automatically created for join column.
If join column is also primary key we should keep only primary key on this column.
Oracle does not allow having both unique index and primary key on the same column, it is useless for mysql too.
(Previously it was done by DBAL, but now it allows duplicate indexes)
@doctrinebot commented on GitHub (Nov 15, 2015):
Issue was closed with resolution "Duplicate"
@doctrinebot commented on GitHub (Nov 15, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1558] was merged:
https://github.com/doctrine/doctrine2/pull/1558