composer 升级 2.x 以后,laravel 使用数据库迁移会出现如下错误
php artisan migrate
In ProviderRepository.php line 208:
Class 'Facade\Ignition\IgnitionServiceProvider' not found
处理方法:
-
先回滚 composer 版本
composer self-update -rollback -
然后回滚对应的 composer 文件
-
重新添加数据库迁移文件:php artisan make:migration add_deleted_at_to_test_table
-
重新执行数据库迁移:php artisan migrate