🏦 Database Change: convert commentflag's created_utc to created_timestampz (#615)

This commit is contained in:
Viet Than 2023-07-20 23:48:19 -05:00 committed by GitHub
parent c519a1a292
commit 2edaec6933
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 140 additions and 4 deletions

View file

@ -71,7 +71,7 @@ class Comment(CreatedBase):
viewonly=True)
reports = relationship("CommentFlag",
primaryjoin="CommentFlag.comment_id == Comment.id",
order_by="CommentFlag.created_utc",
order_by="CommentFlag.created_datetimez",
viewonly=True)
notes = relationship("UserNote", back_populates="comment")