Custom AttachAction
Can someone can help?
I have peoples connected thru polymorphic relation MorphToMany.
When I attach person to person, in db I get
The questions is:
Ho to customize AttachAction to get records in db in both directions, so on both persons I get relation with each other?
I have peoples connected thru polymorphic relation MorphToMany.
When I attach person to person, in db I get
The questions is:
Ho to customize AttachAction to get records in db in both directions, so on both persons I get relation with each other?