Semilla de Run Laravel
#All of them
php artisan db:seed
#One class
php artisan db:seed --class=UserSeeder
Eranot
#All of them
php artisan db:seed
#One class
php artisan db:seed --class=UserSeeder
//All Seeders
php artisan db:seed
//One Seeder
php artisan db:seed --class=NameSeeder
php artisan migrate:fresh --seed
php artisan make:seeder NameOfTheSeeder
CREATE SEEDER -> run php artisan command:
php artisan make:seeder UsersTableSeeder
// in DatabaseSeeder.php file
$this->call([
UserSeeder::class,
]);