Try setting nullable in SqlAlchemy models
This commit is contained in:
parent
9ec4a4f9c9
commit
286cc4e2fb
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue