Flowdock
method

rename_index

Importance_1
rename_index(table_name, old_name, new_name) public

Rename an index.

Rename the index_people_on_last_name index to index_users_on_last_name

rename_index :people, 'index_people_on_last_name', 'index_users_on_last_name'
Show source
Register or log in to add new notes.