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

后端 未结 5 1372
无人共我
无人共我 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:28

    When you've rolled back these migrations, you've deleted categories and articles tables. So just run migrate command again:

    php artisan migrate
    

提交回复
热议问题