method

check_constraint_exists?

Importance_1
v7.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::SchemaStatements
check_constraint_exists?(table_name, **options) public

Checks to see if a check constraint exists on a table for a given check constraint definition.

check_constraint_exists?(:products, name: "price_check")
Show source
Register or log in to add new notes.