method
remove_check_constraint
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ColumnMethods::Table
remove_check_constraint(*args)public
Removes the given check constraint from the table.
t.remove_check_constraint(name: "price_check")
See {connection.remove_check_constraint}[rdoc-ref:SchemaStatements#remove_check_constraint]