You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeders and factories now use namespaced classes. To accommodate for these changes, add a namespace Database/Factories to your factory classes and Database/Seeders to your seeder classes:
Also, the path to store the seeder files should be changed from database/seeds/breads to database/seeders/breads.
The previous database/seeds directory should be renamed to database/seeders.
The text was updated successfully, but these errors were encountered:
Link to upgrade guide: https://laravel.com/docs/8.x/upgrade#seeder-factory-namespaces
During the generation of the seeder files, we need to add the namespaces
Also, the path to store the seeder files should be changed from
database/seeds/breads
todatabase/seeders/breads
.The text was updated successfully, but these errors were encountered: