php artisan migrate --seed --force code example
Example 1: laravel migration seed fresh
php artisan migrate:fresh --seed
Example 2: laravel seed migrate
php artisan migrate:refresh --seed
php artisan migrate:fresh --seed
php artisan migrate:refresh --seed