Padrino

Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INDEX `xxx` TO `yyy`' at line 1: ALTER TABLE `zzz` RENAME INDEX `xxx` TO `yyy`

とあるRuby製Webアプリの移管作業で発生したトラブルです。 データベースを作成するため、マイグレーションを実行したら、以下のようなエラーが発生しました。 Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to …