laravel migration foreight key code example
Example: foreign key laravel migration
$table->foreign('column_name')->references('id')->on('table_name')->onDelete('cascade');
$table->foreign('column_name')->references('id')->on('table_name')->onDelete('cascade');