how to use laravel 8 factory and seeders code example
Example 1: laravel migrate seed
php artisan migrate:fresh --seed
Example 2: laravel 8 seeding
php artisan db:seed --force
php artisan migrate:fresh --seed
php artisan db:seed --force