Rollback a specific migration in Laravel

In Laravel their is no command for removing a migration but their is rollback command. Sometimes we want to rollback a particular migration unfortunately, Laravel doesn't have a single artisan command for it. We need to add some lines then execute the tinker comand to rollback a specific migration.

Inside your application, type

$migration = new ClassNameOfTheMigrationYouWantToRollback();

$migration->down();

exit;

Then execute the below commands

 php artisan tinker(new ClassNameOfTheMigrationYouWantToRollback)->down();