instance method remove_check_constraint

Ruby on Rails 8.1.2

Since v6.1.7.10

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

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

args rest
options keyrest
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 930
      def remove_check_constraint(*args, **options)
        @base.remove_check_constraint(name, *args, **options)
      end

Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb line 930 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::Table

Type at least 2 characters to search.

↑↓ navigate · open · esc close