Flowdock
method

remove_index

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Table
remove_index(column_name = nil, **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)
t.remove_index(:branch_id, name: :by_branch_party)

See {connection.remove_index}[rdoc-ref:SchemaStatements#remove_index]

Show source
Register or log in to add new notes.