fix: wrong director

This commit is contained in:
Roardom
2022-08-31 09:50:11 -05:00
parent 57c80d8642
commit b2dc736ca2
7 changed files with 128 additions and 5 deletions
+1 -1
View File
@@ -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');
}
}