rename_index(table_name, old_name, new_name)
Instance Public methods
Renames 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'
Please login to continue.