mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-212: Disable mysql foreign key check for dropping database #266
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 15, 2009).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user bmills:
When creating schema via the CLI, it automatically adds foreign keys for associated rows:
When I also use the CLI to drop the entire database schema, it fails the foreign key check:
$ ./doctrine schema-tool --drop=databaseIf the SchemaTool is responsible for creating foreign keys, should it not also be responsible for removing them when dropping the entire database?
@doctrinebot commented on GitHub (Dec 19, 2009):
Comment created by @beberlei:
Is this on the ALPHA 3 release and not trunk? If yes this is fixed already.
@doctrinebot commented on GitHub (Dec 19, 2009):
Comment created by bmills:
This was in ALPHA-3. Thanks for the fix!
@doctrinebot commented on GitHub (Dec 20, 2009):
Issue was closed with resolution "Duplicate"