method

remove_index

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - 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]

Show source
Register or log in to add new notes.