I always keep things simple to start with, so I wouldn't bother with separate tables - it's more to keep track of, and if you're then required to do joins, it's more expensive, and you have the added complexity of harder to read ORM queries, and it's more difficult to read the database raw.
Some other options:
Save the complex stuff for when you need it. I don't think a user profile warrants it!
Hi Dave, The user/profile is currently separate which links 1:1, however the are quite a lot of attributes for the profile, think dating website amount of attributes, with things for all kinds of stuff like hair color and such, what would be the best method with that amount of attributes
I'm no database expert it has to be said, so I Googled "best database design for dating profile" and got these results.
This was the first result, Database Design for Dating Site, which looks promising.
However, the second result is entitled Five Simple Database Design Errors You Should Avoid so read that too!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community