Skip to content


DBAL-485: [GH-299] Fix list SQL Server composite foreign keys #1686

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user @beberlei:

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

Url: #299


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


Comment created by @beberlei:

A related Github Pull-Request [GH-299] was closed


Issue was closed with resolution "Fixed"


Comment created by @doctrinebot:

A related Github Pull-Request [GH-299] was closed:

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.4 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.