instance method
remove_check_constraint
Ruby on Rails edge
Since v6.1.7.10Signature
remove_check_constraint(*args, **options)
Removes the given check constraint from the table.
t.remove_check_constraint(name: "price_check")
See connection.remove_check_constraint
Parameters
-
argsrest -
optionskeyrest
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 991
def remove_check_constraint(*args, **options)
raise_on_if_exist_options(options)
@base.remove_check_constraint(name, *args, **options)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb line 991
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::Table