Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-126

schema-tool creates primary keys as unique constraints

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5
    • Fix Version/s: 2.0.7, 2.1
    • Component/s: None
    • Labels:
      None

      Description

      The schema tool calls AbstractPlatform::getCreateIndexSQL() to create new indexes. When the index is primary, this creates a unique key instead.

        Activity

        arnaud-lb created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.7 [ 10151 ]
        Fix Version/s 2.1 [ 10068 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12704 ] jira-feedback2 [ 17723 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17723 ] jira-feedback3 [ 20078 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            arnaud-lb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: