Bug Report: schemadiff: will not drop a duplicate FK/CHECK constraint in ConstraintNamesIgnoreAll|ConstraintNamesIgnoreVitess
#14386
Labels
ConstraintNamesIgnoreAll|ConstraintNamesIgnoreVitess
#14386
Overview of the Issue
Given these two tables:
Diffing the two, we expect to see a diff of
However, with
DiffHints.ConstraintNamesStrategy
beingConstraintNamesIgnoreAll
orConstraintNamesIgnoreVitess
, it's possible to get an empty diff. Specifically, usingConstraintNamesIgnoreAll
on the above leads to an empty diff.schemadiff
should identify the scenario where there's two different constraints, even if it ignores their names.Reproduction Steps
Binary Version
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: