â»è§£æ±ºãã¾ããããã©ãã¼ã¨ã³ã㪠â ç¶ã»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
{{#tags}}- {{label}}
{{/tags}}