Details
Description
Example :
<unique-constraints>
<unique-constraint columns="permalink" />
<unique-constraint columns="code" />
</unique-constraints>
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.
Activity
Guilherme Blanco
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Benjamin Eberlei [ beberlei ] | Guilherme Blanco [ guilhermeblanco ] |
| Fix Version/s | 2.3 [ 10185 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Fix Version/s | 2.1.6 [ 10182 ] | |
| Fix Version/s | 2.2 [ 10157 ] | |
| Affects Version/s | 2.2-BETA2 [ 10188 ] |
Benjamin Eberlei
made changes -
| Fix Version/s | 2.2.0-RC1 [ 10191 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 13364 ] | jira-feedback [ 15197 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 15197 ] | jira-feedback2 [ 17061 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17061 ] | jira-feedback3 [ 19314 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1603, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
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