[#2] tv series progress

This commit is contained in:
2025-01-08 01:25:21 +02:00
parent da6d92ec65
commit 929954ebd9
11 changed files with 512 additions and 2 deletions
+10
View File
@@ -55,4 +55,14 @@ class Show extends Model
{
return $this->belongsToMany(Video::class, 'show_videos', 'show_id', 'video_id');
}
public function keywords()
{
return $this->belongsToMany(Keyword::class, 'show_keywords', 'show_id', 'keyword_id');
}
public function watchProviders()
{
return $this->belongsToMany(WatchProvider::class, 'show_watch_providers', 'show_id', 'watch_provider_id');
}
}