Answers for "laravel delete with out check foreign key"

PHP
3

laravel remove foreign key

$table->dropForeign('posts_user_id_foreign');
Posted by: Guest on April-22-2020
0

drop foreign key laravel

Schema::table('admins', function (Blueprint $table) {    $table->dropForeign('admins_post_id_foreign');    $table->dropColumn('post_id');});
Posted by: Guest on September-26-2021

Code answers related to "laravel delete with out check foreign key"

Browse Popular Code Answers by Language