Reputation: 1775
I am fighting with myself trying to model a DB to fulfill certain requirements.
Here are four possibilities that I have come up with. As I said I don't really know in what direction I should go. It might be that none of my options are ideal. I would appreciate any feedback that can help sort this out.
Thanks
Upvotes: 0
Views: 714
Reputation: 95751
At a glance, it looks like Ex1 is the only diagram that expresses these two requirements.
Ex2 doesn't refer to members at all.
Ex3 would seem to allow any party (including teams) as a team contact.
Ex4 explicitly allows any party (including teams) to be a team contact.
You might consider another unexpressed but common requirement--that a person can be a contact of only one team at a time. (That might not apply in your particular case. I can't tell.)
Upvotes: 2