laravel 6 eloquent drop column with foreign key code example Example: laravel remove foreign key $table->dropForeign('posts_user_id_foreign');