some progress
This commit is contained in:
@@ -22,6 +22,12 @@ class Comment extends Model
|
||||
'tmdb_url',
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
'published_at',
|
||||
'created_at',
|
||||
'updated_at'
|
||||
];
|
||||
|
||||
public function author()
|
||||
{
|
||||
return $this->hasOne(User::class, 'id', 'user_id');
|
||||
|
||||
Reference in New Issue
Block a user