method

rename_index

Importance_1
v4.1.8 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::Table
rename_index(index_name, new_index_name) public

Renames the given index on the table.

t.rename_index(:user_id, :account_id)
Show source
Register or log in to add new notes.