remotes/1693045480750635534/spooky-22
parent
72e5bcaa3b
commit
991a72ab42
|
@ -59,16 +59,16 @@ class User(Base, Stndrd, Age_times):
|
|||
"Submission",
|
||||
lazy="dynamic",
|
||||
primaryjoin="Submission.author_id==User.id",
|
||||
backref="author_rel")
|
||||
)
|
||||
comments = relationship(
|
||||
"Comment",
|
||||
lazy="dynamic",
|
||||
primaryjoin="Comment.author_id==User.id")
|
||||
votes = relationship("Vote", lazy="dynamic", backref="users")
|
||||
commentvotes = relationship("CommentVote", lazy="dynamic", backref="users")
|
||||
votes = relationship("Vote", lazy="dynamic")
|
||||
commentvotes = relationship("CommentVote", lazy="dynamic")
|
||||
bio = Column(String, default="")
|
||||
bio_html = Column(String, default="")
|
||||
badges = relationship("Badge", lazy="dynamic", backref="user")
|
||||
badges = relationship("Badge", lazy="dynamic")
|
||||
notifications = relationship(
|
||||
"Notification",
|
||||
lazy="dynamic")
|
||||
|
|
Loading…
Reference in New Issue