ostap liked this thread
I think you are referring to this: http://laravel.com/docs/eloquent#working-with-pivot-tables
EDIT:
Related data on pivot tables can be added like this according to the documentation.
$user->roles()->sync(array(1 => array('expires' => true)));
ostap liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community