Skip to content

Dropping tables with foreign key constraints fails #21

@angusvb

Description

@angusvb

When trying to restore a database that has foreign key constraints - with dropExisting enabled - the MysqlImportService returns e.g.:
Cannot drop table 'address' referenced by a foreign key constraint 'FKditu6lr4ek16tkxtdsne0gxib' on table 'users'.

Probably needed to disable foreign key checks before executing the drop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions