instance method remove_exclusion_constraint

Ruby on Rails 8.0.4

Since v7.1.6

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

Signature

remove_exclusion_constraint(...)

Removes the given exclusion constraint from the table.

t.remove_exclusion_constraint(name: "price_check")

See connection.remove_exclusion_constraint

Parameters

... req
Source
# File activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 320
        def remove_exclusion_constraint(...)
          @base.remove_exclusion_constraint(name, ...)
        end

Defined in activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb line 320 · 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