Target class [db.schema] does not exist After upgrading to Laravel 9

285 Views Asked by At

After upgrading from Laravel 8 to 9, I get stuck on this error

Illuminate\Contracts\Container\BindingResolutionException

Target class [db.schema] does not exist.

at vendor/laravel/framework/src/Illuminate/Container/Container.php:895

any idea the cause and how to fix ? thanks !

Going through the upgrade guide nothing is said about any changes to the DatabaseServiceProvider or ServiceProviders in general

0

There are 0 best solutions below