I use Laravel 5.0.
I have user table in my DB.
I changed table variables in User and Config/Auth to user but when I try to register Laravel gives me an error (changed real data to xxx):
Table 'xxx.crmx_users' doesn't exist (SQL: select count(*) as aggregate from xxxx
where email
= xxx
What I do wrong? Why Laravel is still looking for userS table?
rerun migration script, do composer update & artisan cache clear... to see if that helps..
also look in the User model for the table syntax..
Did you specify "protected $table = 'xxx'" in your Eloquent model? (I'm not sure if that's what you meant when you say you changed the table variables in User.)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community