USERS
 1. GFER: SUPERADMIN
Foundation(VAG):
  2. John: Incharge
  3. Jessi: IT Head
University(MIT):
 4: Bill: Adminstrator
 5: Gates: Prinicipal investigator
 6: Donald: Researcher
Organizations(YE):
 6. Jason: Head of R&D
 7. Johnny: Researcher
University, organization or company can't exist without a user. There would always exist a user who'll create it or own it. And every user would have a personal profile as well.
Schema looks like this:
User
- email
- name
Roles:
 - id
 - name
University(Profile):
 - name
 - short history
Organizatons(Profile):
  - name
  - logo of the brand
Foundation(Profile):
  - name
  - Adminstrative contacts
How can i know a user is bind to which table(foundation, organization or university) and what role does it have in that group(foundation, organization or university)? I thought to create a bridge table like this:
  Group:
    - id
    - name
    - type(University, Foundation, Organization)
  
 Group_members:
   - id
   - roleId
   - groupId
   - userId
But the problem is that i can't create a groups table as data for university, foundation and organization is totally different for each other. So i'll have to create a separate table for each. How can i solve this problem?