Answers for "laravel drop foreign key uuid"

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 drop foreign key uuid"

Browse Popular Code Answers by Language