Answers for "laravel migratiom foreign"

PHP
1

laravel make migrattion

php artisan make:migration create_flights_table
Posted by: Guest on February-16-2021
5

foreign key laravel migration

$table->foreign('column_name')->references('id')->on('table_name')->onDelete('cascade');
Posted by: Guest on February-05-2021

Browse Popular Code Answers by Language