analysators added

This commit is contained in:
Anatoliy Poloz
2023-12-18 14:36:32 +03:00
parent e9c4647f26
commit 92a54106ef
166 changed files with 32767 additions and 1222 deletions

View File

@@ -12,7 +12,7 @@ class BlogPostCommentUpvote extends Model
protected $fillable = [
'user_id',
'blog_post_comment_id',
'type'
'type',
];
public function author()
@@ -34,5 +34,4 @@ class BlogPostCommentUpvote extends Model
{
return $query->where('blog_post_comment_id', $comment->id)->where('type', 'downvote');
}
}