instance method remove_exclusion_constraint

Ruby on Rails 7.1.6

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

remove_exclusion_constraint(*args)

Removes the given exclusion constraint from the table.

t.remove_exclusion_constraint(name: "price_check")

See connection.remove_exclusion_constraint

Parameters

args rest
Source
# File activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 314
        def remove_exclusion_constraint(*args)
          @base.remove_exclusion_constraint(name, *args)
        end

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

Defined in ActiveRecord::ConnectionAdapters::PostgreSQL::Table

Type at least 2 characters to search.

↑↓ navigate · open · esc close