Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Laravel 8 #33

Open
igibek opened this issue Sep 10, 2020 · 1 comment
Open

Support for Laravel 8 #33

igibek opened this issue Sep 10, 2020 · 1 comment

Comments

@igibek
Copy link

igibek commented Sep 10, 2020

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

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.

@gaetandezeiraud
Copy link

Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants