put the foreign_key in the table that is "owned" by the other table.
                  
                  
                  In this relationship I would consider the User "owns" the Address, and not vise versa.
                  
                  
                  
                  
                  
                  Which makes me gravitate towards the pivot table. But am I overthinking the English part?
                  
                  
                
ownership is a bad way to look at relations
Also a good advice for personal relationships 🤣
Обсуждают сегодня