forked from rDrama/rDrama
fddf
parent
3f37c7dae6
commit
013f00c4d3
|
@ -54,7 +54,10 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
|
|||
|
||||
post = relationship("Submission")
|
||||
flags = relationship("CommentFlag", backref="comment")
|
||||
votes = relationship("CommentVote")
|
||||
Votes = relationship(
|
||||
"CommentVote",
|
||||
lazy="dynamic",
|
||||
primaryjoin="CommentVote.comment_id==Comment.id")
|
||||
|
||||
author = relationship(
|
||||
"User",
|
||||
|
|
Loading…
Reference in New Issue