更新时间:2023-11-16 20:12:52
我通过
composer dump-autoload
php artisan migrate
composer dump-autoload
php artisan migrate
我不确定为什么能奏效,但我想过去我可能已经修改了这些有问题的迁移的类名.
I'm not sure why that worked but my guess is that I might have modified the class name of these problematic migrations in the past.
我还发现,使用迁移的初始名称(致命错误引发的迁移)重命名迁移同样适用于其中一些.
I also found that renaming the migration with its initial name (The one throwed with the fatal error) also works for some of them.