toneee
113
10
Laravel

Finding the issue

Posted 2 years ago by toneee

Hi All,

I have just come back to working on one of my projects and have started up vagrant and about to run a migrate command to fill up the DB but have hit an issues:

[email protected]:/projects/project.dev$ php artisan migrate                                                                     
[Illuminate\Database\QueryException]                                                                                          
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'homestead.users' doesn't exist (SQL: select * from `users` where  `users`.`id` = 1 limit 1)                                                                                                     
[PDOException]                                                                             
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'homestead.users' doesn't exist 

none of the php artisan commands work and always display this error. I know that this will be something in my code, but for the life of me I cant figure out where it is or how to give a more informative error message.

Any help would be appreciated! Thanks.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.