Set up database changes for comment filtering

This commit is contained in:
Julian Rota 2022-06-06 23:44:39 -04:00 committed by Ben Rog-Wilhelm
parent b9ab682d18
commit d530cc6a7c
3 changed files with 34 additions and 2 deletions

View file

@ -48,6 +48,7 @@ class Comment(Base):
blackjack_result = Column(String)
wordle_result = Column(String)
treasure_amount = Column(String)
filter_state = Column(String, nullable=False)
Index('comment_parent_index', parent_comment_id)
Index('comment_post_id_index', parent_submission)