I'm probably doing this wrong, but here it goes.
I'm trying to build something like very basic CRM. I know there are plenty of them, but I want something to learn actually. I have tried to find ready made examples for this particular scenario, but all I have found are theoretical and simplistic examples which i cannot use.
I can made this diagram more simplistic but in that case I will have empty cells, so basically I'm in loop with this :)
Requirements:
Some companies are never contacted before. That's why I created two additional tables
contact_emails
,company_emails
,contact_phones
,company_phones
.Contacted company may have assigned contact (person).
Person can have phones and emails.
One person can be assigned to multiple companies
One company can have multiple persons
Diagram:
]
Questions:
- Am I on the right track?
- What can be improved and how?