some progress
This commit is contained in:
@@ -56,7 +56,7 @@ class Movie extends Model
|
||||
|
||||
public function crewList()
|
||||
{
|
||||
return $this->belongsToMany(Person::class, 'movie_crew', 'movie_id', 'person_id');
|
||||
return $this->belongsToMany(Person::class, 'movie_crew', 'movie_id', 'person_id')->withPivot('department', 'job');
|
||||
}
|
||||
|
||||
public function images()
|
||||
|
||||
Reference in New Issue
Block a user