remotes/1693045480750635534/spooky-22
Aevann1 2021-10-06 06:57:45 +02:00
parent 0c247b1add
commit 2b0ff26677
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class Comment(Base):
post = relationship("Submission", viewonly=True)
flags = relationship("CommentFlag", lazy="dynamic", viewonly=True)
author = relationship("User", primaryjoin="User.id==Comment.author_id")
sendtouser = relationship("User", primaryjoin="User.id==Comment.sentto")
senttouser = relationship("User", primaryjoin="User.id==Comment.sentto", viewonly=True)
parent_comment = relationship("Comment", remote_side=[id], viewonly=True)
child_comments = relationship("Comment", remote_side=[parent_comment_id], viewonly=True)
awards = relationship("AwardRelationship", viewonly=True)