method

remove_unique_constraint

rails 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]