method

remove_index

Importance_1
v7.1.3.2 - Show latest stable - 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.