Skip to content

Doctrine migrations generates DROP CONSTRAINT twice #504

@josh76260

Description

@josh76260

When I generate a migration which is supposed to change SQL constraint, the generated SQL doesn't work. It generate a first SQL instruction to delete the constraint from the table in lower case, but it generates a second SQL instruction in upper case.

The result when I execute the migration, it crashed because it didn't find one of the two constraint, because it was already dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions