The driver is set to eloquent and not database right?
robclancy said:
The driver is set to eloquent and not database right?
Confirmed:
'driver' => 'eloquent',
When I set prefix to tbl_
in the config it does work because my table name is tbl_users
.
It just ignores models/User.php
it seems. Because when I put in some stuff like echo 1
does never get called.
edit:
I had an extra laravel folder in vendor. Since User existed there, it choose that one. No idea what that was doing there.
I know this is an old thead, but, for the record and posterity ... an extra laravel folder in vendor
? As in, there are two? Or just one?
Because there should be a vendor/laravel
folder ...
I'm wondering if this instead was a case of the order that things were defined in the 'providers' array in config/app.php
, because I ran into that as well.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community