迁移错误:找不到类“CreateTasksTable”

时间:2016-08-07 04:09:29

标签: php laravel migration

我有课,但我收到错误,为什么?

first img

正如你所看到的那样:

you can see it

1 个答案:

答案 0 :(得分:0)

因为您在运行composer dumpauto命令后没有运行migrate命令。

  

如果您收到未找到的课程"运行迁移时出错,请尝试运行composer dump-autoload命令并重新发出migrate命令。

https://laravel.com/docs/5.2/migrations#running-migrations

相关问题