How can I get to Person models into a monogamous marriage relationship in my database? But without to have the marriage saved on both models.
Easy peasy solution would be to have a partner_id column in the persons table. With a One To One relationship "partner" between the model. But I would alway have to save the Partner on both model entities. That's what I would like to avoid. But I have no idea how to do that.
I'm open for ideas 🙂