Laravel migrations: Class “not found”

前端 未结 16 1479
自闭症患者
自闭症患者 2020-12-12 14:38

I am deploying a Laravel barebone project to Microsoft Azure, but whenever I try to execute php artisan migrate I get the error:

[2015-06-13

16条回答
  •  隐瞒了意图╮
    2020-12-12 15:28

    For me, the problem was that I had named my migration 2017_12_15_012645_create_modules_problems.php, with the class name of CreateModulesProblemsTable. As soon as I added _table to the filename, everything worked fine.

提交回复
热议问题