feat: media play
This commit is contained in:
@@ -56,6 +56,11 @@ public function tags()
|
||||
{
|
||||
return $this->belongsToMany(Tag::class, 'media_tag');
|
||||
}
|
||||
|
||||
public function plays()
|
||||
{
|
||||
return $this->hasMany(MediaPlay::class);
|
||||
}
|
||||
public function notes()
|
||||
{
|
||||
return $this->morphMany(Note::class, 'noteable');
|
||||
|
||||
Reference in New Issue
Block a user