2
I have the relationship manyToMany amid Grupos and Usuarios and a pivot table grupo_usuario which stores the keys and an extra field aprovador, boolean, which serves to indicate whether the user in the relationship can vote or not.
I don’t know how to insert the attribute aprovador for the user only in this relationship to be able to do something like:
$grupo->usuarios[0]->aprovador
You’re right Lucius. Thank you for your help.
– juniorgarcia