i am trying to migrate some LARAVEL migration by php artisan migrate command and if there will be a problem in migration it shows error/exception or any other thing.
the migration successfully runs I need them to roll back automatically is there any possible solution for this particular problem. I need to run migration only once if it successful otherwise roll back all previous migrated