]> git.localhorst.tv Git - alttp.git/blobdiff - app/Models/Episode.php
crew management
[alttp.git] / app / Models / Episode.php
index 15af89cf76f715135d299f00ec902ec27cd9f5f2..2084a32b53f67c53ba0df0720c0f3d0c597973c8 100644 (file)
@@ -11,7 +11,9 @@ class Episode extends Model
        use HasFactory;
 
        public function channels() {
-               return $this->belongsToMany(Channel::class);
+               return $this->belongsToMany(Channel::class)
+                       ->using(Restream::class)
+                       ->withPivot('accept_comms', 'accept_tracker');
        }
 
        public function crew() {