mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-01-25 05:19:36 -06:00
(Update) Comment Model 🚀
This commit is contained in:
@@ -76,6 +76,16 @@ class Comment extends Model
|
||||
return $this->belongsTo(TorrentRequest::class, 'requests_id', 'id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Belongs To A Playlist.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function playlist()
|
||||
{
|
||||
return $this->belongsTo(Playlist::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Belongs To A User.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user