method
remove_unique_constraint
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnMethods::Table
remove_unique_constraint(*args)public
Removes the given unique constraint from the table.
t.remove_unique_constraint(name: "unique_position")
See {connection.remove_unique_constraint}[rdoc-ref:SchemaStatements#remove_unique_constraint]