Constraint remove dependency check #27
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-dbi#27
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?
When removing a constraint we need to check to see if was referencing a table column that we have also just removed. When we remove a column, DBMSes will remove any constraints/foreign keys linked to that column, so there is no need to remove the constraint explicitly.
This may already be handled by #11. The fix for #11 was to define the entire "changes" array structure up front in the correct order of playback, then we filter the array at the end to remove empty elements and tidy it up. This is much easier than a custom multi-dimensional array sorting method.
closed