This commit is contained in:
Aevann1 2021-10-06 01:17:57 +02:00
parent ec80b4a2e5
commit b58fdf3328

View file

@ -38,7 +38,7 @@ class Comment(Base):
notifiedto=Column(Integer)
app_id = Column(Integer, ForeignKey("oauth_apps.id"))
oauth_app = relationship("OauthApp", viewonly=True)
upvotes = Column(Integer, default=1)
upvotes = Column(Integer, default=0)
downvotes = Column(Integer, default=0)
body = deferred(Column(String(10000)))
body_html = deferred(Column(String(20000)))