method

check_constraint_exists?

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")