Hi all. Please tell me how to implement multiple profiles with a single table of user
? For example, the trainer profile, the user profile and so on. Login information will be taken from the table user
, and other data (surname, name, patronymic) will be taken depending on the user role. They have different data, so it will need different data.
How to make relationships and dependencies so that you can use in other relationships?