[themotte/rDrama#451] DDL: add comments.descendant_count column

This commit is contained in:
faul_sname 2023-01-02 23:58:25 -08:00
parent d7589716f6
commit 9525396131
2 changed files with 34 additions and 0 deletions

View file

@ -41,6 +41,7 @@ class Comment(Base):
upvotes = Column(Integer, default=1, nullable=False)
downvotes = Column(Integer, default=0, nullable=False)
realupvotes = Column(Integer, default=1, nullable=False)
descendant_count = Column(Integer, default=0, nullable=False)
body = Column(String)
body_html = Column(String)
ban_reason = Column(String)