No. Kidding check has many through in the docs. http://laravel.com/docs/5.1/eloquent-relationships#has-many-through
How should I structure this?
Hey,
I was wondering how I could structure this. I'm working on a sort of online gradebook/portal, and I can't figure out how I should structure the relations.
Basically:
- School administrator signs up, and creates a new team account for their school.
The administrator can invite teachers to the school team.
Teachers sign up, create their classes, and invite students.
Now, there are two different portals: teacher, and student. In the teacher portal, teachers can give students individual grades on assignments. Then, in the student portal, the students can see their own grades.
The problem is, I'm not sure how I can keep the grades individual, while avoiding creating "StudentAssignment" and "StudentAssignmentGrade" models.
Is there any way to do this?
Please or to participate in this conversation.