class PGTrunk::Operations::CheckConstraints::ValidateCheckConstraint
@private
Public Instance Methods
invert()
click to toggle source
The operation is invertible but the inversion does nothing
# File lib/pg_trunk/operations/check_constraints/validate_check_constraint.rb, line 44 def invert; end
to_sql(_version)
click to toggle source
# File lib/pg_trunk/operations/check_constraints/validate_check_constraint.rb, line 37 def to_sql(_version) <<~SQL.squish ALTER TABLE #{table.to_sql} VALIDATE CONSTRAINT #{name.name.inspect}; SQL end