forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-07 17:24:24 +02:00
parent fd96ace591
commit 877c8f7ec8
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ class User(Base, Stndrd, Age_times):
newtabexternal = Column(Boolean, default=True)
zzz = Column(Boolean, default=False)
oldreddit = Column(Boolean, default=False)
comments = relationship(
"Comment",
lazy="dynamic",
primaryjoin="Comment.author_id==User.id")
bio = Column(String, default="")
bio_html = Column(String, default="")
badges = relationship("Badge", lazy="dynamic")