Try setting nullable in SqlAlchemy models

This commit is contained in:
Julian Rota 2022-05-22 21:33:44 -04:00
parent 9ec4a4f9c9
commit 286cc4e2fb
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ class Submission(Base):
flair = Column(String)
ban_reason = Column(String)
embed_url = Column(String)
filter_state = Column(String)
filter_state = Column(String, nullable=False)
Index('fki_submissions_approver_fkey', is_approved)
Index('post_app_id_idx', app_id)