Answers for "drop foreign key in migration laravel"

PHP
1

larael drop foreign key

Schema::table('posts', function (Blueprint $table) {
	$table->dropForeign(['category_id']);
});
Posted by: Guest on May-07-2021

Code answers related to "drop foreign key in migration laravel"

Browse Popular Code Answers by Language