Skip to content

Commit

Permalink
sql/schemachanger/scop: ValidateCheckConstraint now uses ConstraitID
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiang-Gu committed Oct 10, 2022
1 parent ffab421 commit eb84eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sql/schemachanger/scop/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ type ValidateIndex struct {
// ValidateCheckConstraint validates a check constraint on a table's columns.
type ValidateCheckConstraint struct {
validationOp
TableID descpb.ID
Name string
TableID descpb.ID
ConstraintID descpb.ConstraintID
}

// Make sure baseOp is used for linter.
Expand Down

0 comments on commit eb84eba

Please sign in to comment.