progress
This commit is contained in:
@@ -21,4 +21,9 @@ class Comment extends Model
|
||||
'tmdb_id',
|
||||
'tmdb_url',
|
||||
];
|
||||
|
||||
public function author()
|
||||
{
|
||||
return $this->hasOne(User::class, 'id', 'user_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user