method
remove_index
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::Table
remove_index(options = {})public
Removes the given index from the table.
t.remove_index(:branch_id) t.remove_index(column: [:branch_id, :party_id]) t.remove_index(name: :by_branch_party)
See {connection.remove_index}[rdoc-ref:SchemaStatements#remove_index]