laravel migration down drop foreign key code example
Example 1: laravel drop foreign column
// Searched, laravel drop foreign column
Schema::table('users', function (Blueprint $table) {
$table->dropColumn(['votes', 'avatar', 'location']);
});
Example 2: laravel migration drop foreign keys
$table->dropPrimary('users_id_primary');