How to connect multiple models of the same type?
Hi,
I'm trying to implement a family structure in my application. I have n Customers who are related to each other (Siblings, Parents, all that stuff). I'm thinking about adding a
family_id
to customers
table and creating an own families
table.
What would the best approach in Filament be?3 Replies
Create a pivot table?
so you mean
families
which contains 2 customer FKs?yeah that's one way to do it