[#2] tv series progress
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user