About users and profiles #1651
-
|
What is the difference and relation between a user and profile? How should they be connected in the database model? And why isn't there any documentation on the data model itself? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
There is no documentation about the data model itself because any implementation is free to define its own. |
Beta Was this translation helpful? Give feedback.
There is no documentation about the data model itself because any implementation is free to define its own.
The distinction between the user and profile routes is just the way the api has been defined years ago (whether or not this is the best choice, it will stay the same, which is quite coherent with what happens with the vast majority of “real world” apps).
So if you want to make your own implementation to provide an example app for a framework, you are totally free to chose whether or not to separate users and profiles in your data model.