I want to create a relationship between parents (which can be Mother or Father models) and their children (Son and Daughter models). For exemple purposes, they are defined like this:
father:
id
name
mother:
id
name
son:
id
name
daughter:
id
name
I created a pivot table parent_child:
parent_child:
parent_id
child_id
parent_type
child_type
How can I create the laravel relations? Most polymorphic relations I can find in the doc only work when one of the two sides of the relation is polymorphic, not both.