X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FEpisode.php;h=15af89cf76f715135d299f00ec902ec27cd9f5f2;hb=9f54b6e8fde827556cf858818090a1dfc829624c;hp=ddd92a6dd111e18715ca938101c79271720e59f6;hpb=15132749249f6418fd5695547b5c323a0ad10939;p=alttp.git diff --git a/app/Models/Episode.php b/app/Models/Episode.php index ddd92a6..15af89c 100644 --- a/app/Models/Episode.php +++ b/app/Models/Episode.php @@ -14,6 +14,10 @@ class Episode extends Model return $this->belongsToMany(Channel::class); } + public function crew() { + return $this->hasMany(EpisodeCrew::class); + } + public function event() { return $this->belongsTo(Event::class); }