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