remotes/1693045480750635534/spooky-22
Aevann1 2021-08-06 14:44:22 +02:00
parent 72e5bcaa3b
commit 991a72ab42
1 changed files with 4 additions and 4 deletions

View File

@ -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")