I am building a fairly complex application that will store many different user factors. In theory, each User should belong to a department. Each department will have a set of ranks that the user may belong to.
What I have:
I am not sure which relationships to use, or if I am even doing this the correct way.
Does anyone have any ideas?
By what I've understood your relationship should look this:
Sorry if I misunderstood your project.
Clarification:
Users Table:
Departments Table:
example_department Table:
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community