Answer the question
In order to leave comments, you need to log in
What's wrong with artisan in Laravel?
Hello.
There was a problem with laravel. I clone the project from github, in the console I type composer install , after installing all the packages in the .env file I write the host, database, username and password, then in the console I type php artisan key:generate , to generate APP_KEY, it gives the following error:
[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lara_test.pages'
doesn't exist (SQL: select * from `pages`)
[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lara_test.pages'
doesn't exist
Answer the question
In order to leave comments, you need to log in
Obviously somewhere someone is breaking into the database at the initialization stage.
Most likely some service provider or in the routes.php file
Maybe you need to do a migration?
or before thatphp artisan vendor:publish
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question