Constraint remove dependency check #27

Closed
opened 2019-01-28 23:29:18 +00:00 by jamie · 2 comments
jamie commented 2019-01-28 23:29:18 +00:00 (Migrated from git.hazaar.io)

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.

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.
jamie commented 2019-01-30 01:05:40 +00:00 (Migrated from git.hazaar.io)

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.

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.
jamie commented 2019-01-30 01:05:41 +00:00 (Migrated from git.hazaar.io)

closed

closed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-dbi#27
No description provided.