migration refresh command in laravel code example
Example 1: re migrate laravel
Try:
composer dump-autoload
php artisan config:cache
If not working also try:
php artisan migrate:refresh.
Example 2: create laravel migration
php artisan make:migration create_users_table
Example 3: laravel migration
php artisan make:migration create_users_table --create=users
php artisan make:migration add_votes_to_users_table --table=users
Example 4: php artisan migration refresh
php artisan migrate:refresh --step=1