Adding usernotes.

This commit is contained in:
Michael House 2022-05-16 11:53:24 -05:00 committed by GitHub
parent 957edab4dc
commit 19903cccb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 484 additions and 10 deletions

View file

@ -57,6 +57,7 @@ class Comment(Base):
child_comments = relationship("Comment", lazy="dynamic", remote_side=[parent_comment_id], viewonly=True)
awards = relationship("AwardRelationship", viewonly=True)
reports = relationship("CommentFlag", viewonly=True)
notes = relationship("UserNote", back_populates="comment")
def __init__(self, *args, **kwargs):
if "created_utc" not in kwargs: