method

validate_check_constraint

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: SchemaStatements
validate_check_constraint(table_name, **options) public

Validates the given check constraint.

validate_check_constraint :products, name: "price_check"

The options hash accepts the same keys as add_check_constraint[rdoc-ref:ConnectionAdapters::SchemaStatements#add_check_constraint].

Show source
Register or log in to add new notes.