feat: media play

This commit is contained in:
2026-06-01 14:31:14 +03:30
parent 3d0904f630
commit b575b449cb
5 changed files with 141 additions and 1 deletions
+5
View File
@@ -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');