Move 'deleted_utc' into 'state_user_deleted_utc' and change types.
This commit is contained in:
parent
e03eef1a12
commit
5271e7c943
24 changed files with 141 additions and 83 deletions
|
@ -66,7 +66,7 @@ def update_author_comment_count(comment, delta):
|
|||
Comment.author_id == comment.author_id,
|
||||
Comment.parent_submission != None,
|
||||
Comment.is_banned == False,
|
||||
Comment.deleted_utc == 0,
|
||||
Comment.state_user_deleted_utc == None,
|
||||
).count()
|
||||
g.db.add(comment.author)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue