(Update) Comment Model 🚀

This commit is contained in:
HDVinnie
2019-09-25 11:01:04 -04:00
parent 1b67c4ad5b
commit b4ee75da14

View File

@@ -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.
*