Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-485

[GH-299] Fix list SQL Server composite foreign keys

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of deeky666:

      Url: https://github.com/doctrine/dbal/pull/299

      Message:

      This PR fixes listing composite foreign keys in <code>SQLServerSchemaManager</code>. Currently the schema manager creates a foreign key object for each column in a foreign key constraint returned by the platform's <code>listTableForeignKeysSQL</code>, This is ok for foreign keys consisting of only one column but fails for composite foreign key constraints. The test <code>testListForeignKeysComposite</code> in <code>SQLServerSchemaManagerTest</code> currently fails but is fixed with this PR.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-299] was closed:
        https://github.com/doctrine/common/pull/299

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-299] was closed: https://github.com/doctrine/common/pull/299
        Hide
        Benjamin Eberlei added a comment -

        A related Github Pull-Request [GH-299] was closed
        https://github.com/doctrine/dbal/pull/299

        Show
        Benjamin Eberlei added a comment - A related Github Pull-Request [GH-299] was closed https://github.com/doctrine/dbal/pull/299

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: