Method: ActiveRecord::ConnectionAdapters::PostgreSQL::Table#remove_exclusion_constraint
- Defined in:
- activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb
#remove_exclusion_constraint ⇒ Object
Removes the given exclusion constraint from the table.
t.remove_exclusion_constraint(name: "price_check")
320 321 322 |
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 320 def remove_exclusion_constraint(...) @base.remove_exclusion_constraint(name, ...) end |