mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-01 16:00:53 -05:00
fix: wrong director
This commit is contained in:
@@ -56,6 +56,6 @@ class Season extends Model
|
||||
|
||||
public function crew(): \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Crew::class);
|
||||
return $this->belongsToMany(Crew::class, 'crew_season', 'person_id', 'season_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user