some progress

This commit is contained in:
2025-01-28 02:10:44 +02:00
parent b4df3c216e
commit 8de53f3ec2
5 changed files with 57 additions and 4 deletions
+1 -1
View File
@@ -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()