rails/rails — pull request #8522 by senny (2012-12-15 21:54:46+00:00)
Title: Kepp index names when using  with sqlite3

The code in `SQLite3Adapter#copy_table_indexes` wrongly renamed indexes when using `alter_table`. This only happened for indexes, which begin with the table name. As soon as they had a prefix it worked.

This patch makes `#copy_table_indexes` aware that no prefix is required. It is a fix for #3489