mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-214: schema-tool --complete-update throw PDOException on DROP INDEX #265
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Dec 16, 2009).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user rickdt:
Here is the stack trace
I think the problem is in the Schema Comparator. It generate a DROP for a foreign key index.
If you compare the index definition from database and from metadata you will see that the foreign key index is present only in the definition obtained from database.
Database :
From metadata :