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.
ALTER TABLE * DROP FOREIGN KEY
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"