Laravel pivot from pivot tables

255 Views Asked by At

I have this database schema:

enter image description here

is there anyway I can get to the school_class_arms table from School using a pivot or something? Or would I have to add school_id to the school_class_arms table?

Thank you!

0

There are 0 best solutions below