I'm having difficulty designing an appropriate data model for my application.
In my application I have pairs of participants who will complete several activities together. Each pairing will have 2-3 conversations in the course of its existence. Each conversation may have many messages that are authored by either of the participants in the pairing.
The best model I have is this:
PAIRINGS
/ \
/ \
V V
PARTICIPANTS CONVERSATIONS
-pairing_id -pairing_id
\ /
\ /
V V
MESSAGES
-participant_id
-conversation_id
However this model allows for the author of a message to be outside of the pairing that is associated with the conversation and that seems wrong. Anybody have better suggestions for how I could structure my data model?