laravel migration reset code example

Example 1: laravel rollback last migration

php artisan migrate:rollback --step=1

Example 2: re migrate laravel

Try:
composer dump-autoload
php artisan config:cache

If not working also try:
php artisan migrate:refresh.

Example 3: artisan migration rollback

php artisan migrate:rollback

Example 4: create laravel migration

php artisan make:migration create_users_table

Example 5: laravel migration

php artisan migrate

Tags: