Admin User - Company - Employee Users (Database Structure)

I would really appreciate some help. I can’t seem to wrap my mind around my data structure. I am creating an app for Admin users to manage a company that has employee users.
Only admin users can sign up, create a company , and add employee users
Employees users can login and be redirected to their landing page.
A typical example:

Admin User > Username
> photo
>company
company> company name
> company logo
> company address
> employee user(s)
employee user > name
>age
>department
>skills

How do i structure my database AND workflow to achieve the tasks

SO FAR:
My Database

My workflows
Sign the user up and login
1 2
Create a new company and make changes to current users company
3 4
(The user gets signed up and the company is created, but the company is not added to the current user)
I’m wobbled up and don’t know how to fix this . Kindly help. Thanks

1 Like

I’m struggling with something similar. Have you found a solution?

Yes i did

Make changes to the current user then add or Link the previously made company to a field in the user database

User

  • Name
  • Ager
  • Linked Company → List of Companies (Add here)