forked from rDrama/rDrama
fds
parent
0b9c0ae3b4
commit
e87a764d98
|
@ -38,7 +38,7 @@ class Comment(Base):
|
||||||
notifiedto=Column(Integer)
|
notifiedto=Column(Integer)
|
||||||
app_id = Column(Integer, ForeignKey("oauth_apps.id"))
|
app_id = Column(Integer, ForeignKey("oauth_apps.id"))
|
||||||
oauth_app = relationship("OauthApp", viewonly=True)
|
oauth_app = relationship("OauthApp", viewonly=True)
|
||||||
upvotes = Column(Integer, default=1)
|
upvotes = Column(Integer, default=0)
|
||||||
downvotes = Column(Integer, default=0)
|
downvotes = Column(Integer, default=0)
|
||||||
body = deferred(Column(String(10000)))
|
body = deferred(Column(String(10000)))
|
||||||
body_html = deferred(Column(String(20000)))
|
body_html = deferred(Column(String(20000)))
|
||||||
|
|
Loading…
Reference in New Issue