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
Create a new company and make changes to current users company
(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