Homestead is changing my table names when querying

Posted 4 years ago by malesandro

Hi everyone. Today I decided to give Homestead + Vagrant a try. So far so good, until I run into a problem when testing an application login form. I am getting an SQL error:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'homestead.users' doesn't exist (SQL: select * from `users` where `email` = limit 1)

I cannot figure out where "homestead" is being added. Since it has begun happening since moving to Homestead, I guess it is something related to an ENV variable somewhere. Can somebody please shed some light on the matter? Thanks a lot, Mariano

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

Reply to

Use Markdown with GitHub-flavored code blocks.