Repository navigation
Conversation
…OP CONSTRAINT for removed or recreated constraints. pgadmin-org#10940 - Emit DROP CONSTRAINT statements before column changes in BaseTableView.get_sql(). - Record the target constraint definition in deleted when SchemaDiffTableCompare.table_constraint_comp() recreates a constraint. - Add unit tests covering constraint drop ordering and recreated constraint deleted entries.
|
No actionable comments were generated in the recent review. WalkthroughSchema Diff now generates constraint-drop SQL before column changes. Constraint comparisons record target definitions as deleted when constraints are recreated. Tests cover drop ordering, recreated constraints, and SQL formatting. ChangesSchema Diff constraint updates
Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix Possibly related issues
Possibly related PRs
Suggested reviewers: Merge Risk:
|
…OP CONSTRAINT for removed or recreated constraints. #10940
Emit DROP CONSTRAINT statements before column changes in BaseTableView.get_sql().
Record the target constraint definition in deleted when SchemaDiffTableCompare.table_constraint_comp() recreates a constraint.
Add unit tests covering constraint drop ordering and recreated constraint deleted entries.
Summary by CodeRabbit