mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[PR #54] Foreign key change tries to drop empty named constraint #114
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Original Pull Request: https://github.com/DBDiff/DBDiff/pull/54
State: closed
Merged: No
When DBDiff finds it needs to change a foreign key, it will create two statements, a drop and a add. The add is fine, but the drop is created without a name.
It will show up as
ALTER TABLE `sometable` DROP CONSTRAINT ``;. This patch should fix the problem;[PR #54] [CLOSED] Foreign key change tries to drop empty named constraintto [PR #54] Foreign key change tries to drop empty named constraint