vendredi 2 novembre 2018

Which relation to use in Laravel?

Which relation to use in Laravel to bind two table through third?

When Doctors can be assigned to some "Centers". It mean intermediate table will be as:

doctor_id | center_id

How to create model in Laravel for this case?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire