fd
This commit is contained in:
parent
57432859d4
commit
697f87ce47
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue