※解決しました。フォローエントリ → 続・DBICが発行するSQLのテーブル名をクォートさせたい hoges, conditionsというテーブルがあって、hoges_conditionsを中間テーブルとしてmany_to_manyの関係を持たせた時にハマった。 create table `hoges_conditions` ( `hoge` int not null, `condition` int not null, `created_at` datetime not null, `updated_at` timestamp not null, foreign key(`hoge`) references hoges(id) on delete cascade, foreign key(`condition`) references conditions(id) on delete c