This commit is contained in:
Aevann1 2021-09-24 21:41:08 +02:00
parent d4224042f6
commit 21f4f6f8e7
3 changed files with 6 additions and 4 deletions

View file

@ -38,8 +38,8 @@ class Comment(Base):
oauth_app = relationship("OauthApp", viewonly=True)
upvotes = Column(Integer, default=1)
downvotes = Column(Integer, default=0)
body = deferred(Column(String(20000)))
body_html = deferred(Column(String(40000)))
body = deferred(Column(String(10000)))
body_html = deferred(Column(String(20000)))
ban_reason = Column(String(256))
post = relationship("Submission", viewonly=True)