This commit is contained in:
Aevann1 2021-10-29 18:22:51 +02:00
parent 5e8a522310
commit 310c40e524
3 changed files with 6 additions and 2 deletions

View file

@ -40,7 +40,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=0)
upvotes = Column(Integer, default=1)
downvotes = Column(Integer, default=0)
body = deferred(Column(String))
body_html = deferred(Column(String))