Can't start Laravel, I get “Base table or view not found” error

后端 未结 5 1375
无人共我
无人共我 2021-02-20 16:52

First I rolled back 2 migrations by mistake, then I ran php artisan migrate command and I got the following error:

[Illuminate\\Database\\QueryExcepti

5条回答
  •  无人共我
    2021-02-20 17:22

    For me, this error was occurring because of a scheduled task in laravel that involved a database lookup. By commenting out that lookup in laravel/app/Console/Kernel.php from my scheduled task, I was able to migrate my database again.

提交回复
热议问题