DB best practice? User type different than User profile type?

Hi there,
I’m starting to build my app and I saw that some templates had used a different data type for user and user profile. In the user type they typically just leave the email information but for the name, last name, phone and even profile picture they created a different data type “user_profile”.

What are the best practices here? Is it advisable to use different data types for this information or just rather having all the information in one data type?

Thanks in advance!!

Hi there, @luisivanortega… there is certainly nothing wrong with keeping the User data type “light” when it comes to the number of fields on that data type. Along those lines, check out this article on satellite data types… it should help with understanding the higher-level concept related to your question.


1 Like

Thank you very much @mikeloc ! I understand it better know!

1 Like