Shell/Bash: migration rollback Example

By

Shell/Bash Example: This is the "migration rollback" Example. compiled from many sources on the internet by SimpleTutorials.org

laravel rollback last migration

php artisan migrate:rollback --step=1

migration rollback

php artisan migrate:rollback

laravel migration rollback

To rollback one step:

php artisan migrate:rollback

To rollback multiple steps:

php artisan migrate:rollback --step=[x]
  
To drop all tables and reload all migrations:

php artisan migrate:fresh


* Summary: This "migration rollback" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others