mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1603: Unique key name isn't correctly set #2011
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 16, 2012).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user armetiz:
Example :
This will create :
CREATE UNIQUE INDEX UNIQ_6C3BF144F286BC32 ON shows (permalink);
CREATE UNIQUE INDEX 1 ON shows (code);
instead of :
CREATE UNIQUE INDEX UNIQ_6C3BF144F286BC32 ON shows (permalink);
CREATE UNIQUE INDEX UNIQ_6C3BF14477153098 ON shows (code);
The problem comme from SchemaTool, and the first key is a valid result because of "==" instead of "===" inside Table.php.
I have create a PR on Github.
@doctrinebot commented on GitHub (Jan 16, 2012):
Comment created by armetiz:
Here the PR for the ORM SchemaTool : https://github.com/doctrine/doctrine2/pull/261
Here the PR for the DBAL Table : https://github.com/doctrine/dbal/pull/94
@doctrinebot commented on GitHub (Jan 17, 2012):
Comment created by @guilhermeblanco:
Merged
2bb511584e@doctrinebot commented on GitHub (Jan 17, 2012):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Jan 21, 2012):
Comment created by @beberlei:
DBAL merged back into 2.2 and 2.1.x
@doctrinebot commented on GitHub (Jan 21, 2012):
Comment created by @beberlei:
and Merged into 2.2 and 2.1.x ORM