Closed benja2111 closed 2 years ago
I think this might be a naming issues with your clients table/model.
Your model is called Clients
(plural).
What is your table called?
What do you get when you run dd(CLients::all());
? A result or an error?
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Laravel version
8.75
PHP version
8.1
Voyager version
1.5
Database
MySQL
Description
I'm trying to create a relationship via Voyager but it returns no results. It doesn't matter what relationship I choose or what table I'm trying to put it on.
Steps to reproduce
Here are the steps I did :
Now when I go to Voyager, I create a BREAD to my works and clients table. Then I want to add a belongs to link to my post table but no it finds no result.
Expected behavior
I would like to be able to display the name of the client thanks to his id.
Screenshots
Additional context
No response