DBAL-617: [GH-380] Fix schema comparison with FK that contain quoted column names. #1832

doctrinebot opened this Issue Sep 26, 2013 · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

In case QuoteStrategy decides to quote column names for FK, schema comparator (and in effect - schema tool), will be stuck in an ALTER TABLE * DROP FOREIGN KEY loop, because it doesn't recognise old indexes with matching column names.

The problem lies inside Comparator, which relied on column names that might or might not be quoted (depending on platform, schema and dbal settings). The comparison must be performed on unquoted column names both ways, as it is already performed for normal indexes, table names and columns names.


Comment created by @doctrinebot:

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


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 7, 2015
@beberlei beberlei was assigned by doctrinebot Dec 7, 2015
@doctrinebot doctrinebot added this to the 2.4.2 milestone Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment