method
remove_unique_constraint
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::Table
remove_unique_constraint(...)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]