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

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

    I also had the same problem. I fixed it, by deleting the database first, then I imported the previous database manually.

    And fortunately at that time I still had the previous database backup.

    Maybe if you don't have a previous database backup, You can copy all database migrations to a new laravel project, then run 'php artisan migrate' to get the same database as the previous database,

提交回复
热议问题