Support the ongoing development of Laravel.io →
Input Database Eloquent
Last updated 2 weeks ago.
0

After some further inspection, I had two models: App\Profile.php and App\Models\Profile.php. Though I was explicitly referencing App\Profile. Why would it not go to App\Profile.php and instead go to App\Models\Profile.php? And I never created App\Models\Profile.php, so I don't know how it got there in the first place.

0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.