[Illuminate\Database\QueryException] SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL: alter table `children_table` add constraint `children_parent_id_foreign` foreign key (`parent_id`) references `parent_table` (`id`) on delete cascade) 概要: エラー内容でいろいろと調べたがどうにもよくわからない。 タイプミスをしているわけではないし、外部キー制約は順番が重要だということだったのできちんと親テーブル(parent_table)が生成されたあとで実行しているのに何故だろうか?と考えて煮詰まってしまいお手上