Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2-BETA2
    • Fix Version/s: 2.1.6, 2.2.0-RC1, 2.2, 2.3
    • Component/s: Tools
    • Labels:
      None

      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

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Thomas Tourlourat - Armetiz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: