mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update Video and VideoAlias models, update Videos class
This commit is contained in:
@@ -20,4 +20,9 @@ class Video extends Model
|
||||
* @var bool
|
||||
*/
|
||||
public $timestamps = false;
|
||||
|
||||
public function alias()
|
||||
{
|
||||
return $this->hasMany(VideoAlias::class, 'videos_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user