Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doctrine migrations generates DROP CONSTRAINT twice #504

Open
josh76260 opened this issue Jul 27, 2023 · 0 comments
Open

Doctrine migrations generates DROP CONSTRAINT twice #504

josh76260 opened this issue Jul 27, 2023 · 0 comments

Comments

@josh76260
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant