laravel migrations drop foreignid code example
Example 1: laravel drop table migration
Schema::drop('users');
Schema::dropIfExists('users');
Example 2: laravel migration drop foreign keys
$table->dropPrimary('users_id_primary');
Schema::drop('users');
Schema::dropIfExists('users');
$table->dropPrimary('users_id_primary');