php artisan migrate:fresh --seeds code example
Example 1: laravel migration seed fresh
php artisan migrate:fresh --seed
Example 2: Laravel migrate fresh and seed
php artisan migrate:refresh --seed
php artisan migrate:fresh --seed
php artisan migrate:refresh --seed