[Feature] Call seeder in DatabaseSeeder.php
Mosaab-Emam opened this issue · 0 comments
Mosaab-Emam commented
When database_seeder
option is set to true in config/laravel_generator.php
, the seeder for model gets generated, but not called in database/seeders/DatabaseSeeder.php
, which is expected.
Suggestion
After generating seeder, add a call to the seeder inside this->call([])'
in DatabaseSeeder.php file. Create the call function if it does not exist already.