I need to store multiple email addresses for each user in MySQL and normalize it. Letters can be for work, personal, etc. Even several work letters or any other can be associated with one contact.
My idea is to have 3 tables, one for storing types of emails, another for storing contact information addresses, etc., and a third for storing email associations and contacts called contact addresses that have pk from the table email_types and contacts
A simple diagram can be seen here https://bubbl.us/?h=a7f3b/13e72f/68J/1dgjeYVbs Is this generally effective? Thus, a single contact can have any number of email addresses stored and stored outside the contact table.
thanks
source share