This error occurs because when you rename a table, the indexes are also renamed, and most likely one of your indexes auto-generated name is too long.
Developer from somewhere
This error occurs because when you rename a table, the indexes are also renamed, and most likely one of your indexes auto-generated name is too long.