diff --git a/upgrade.md b/upgrade.md index 8f7547d5009..d3ab145cc53 100644 --- a/upgrade.md +++ b/upgrade.md @@ -21,6 +21,7 @@ - [Maintenance Mode Updates](#maintenance-mode-updates) - [The `php artisan down --message` Option](#artisan-down-message) - [The `assertExactJson` Method](#assert-exact-json-method) +- [Seeder & Factory Namespaces](#seeder-factory-namespaces) @@ -78,6 +79,45 @@ To be consistent with typical PHP behavior, the `offsetExists` method of `Illumi // Laravel 8.x - false isset($collection[0]); + +### Database + + +#### Seeder & Factory 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: + +