rails/rails — pull request #13209 by laurocaetano (2013-12-06 01:47:48+00:00)
Title: Fix rename column with long name.

It was raising an error when renaming columns with long names. In order to prevent that, we check if the `new_index_name` length is greater than the `allowed_index_name_length`. If exceeds, we decrease it.

Closes #12585

cc @rafaelfranca