php artisan migrate:refresh --seed
public function run()
{
$this->call(RegiserUserSeeder::class);
}
php artisan migrate:refresh --seed
//Or to run specific seeder
php artisan seeder RegiserUserSeeder
php artisan migrate:refresh --seed
php artisan seeder UserTableSeeder
php artisan make:model MODEL_PATHMODEL_NAME -ms
-m, --migration Create a new migration file for the model.
-s, --seeder Create a new seeder file for the model.