- Strapi Version: 4.3.6
- Operating System: Windows
- Database: sqlite
- Node Version: 16.16.0
- NPM Version: 8.11.0
- Yarn Version: 1.22.19
I am building an application that will have 2 types of users. A student and a teacher.
Both of them is a separate collection type.
Example of how they look like.
I have thought to create 2 roles. One for each. So when a user registers he will either have a student or a teacher role.
I want to know what is the correct approach to create a relationship between the User Collection Type and the Student/Teacher Collection type. I need a “User is a Teacher” kind of relationship.
Would it be correct to add 2 relationships, one for each? I don’t think that is correct.