added nullable false to prevent unexpected migration of this table
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Gulliver 2024-08-30 19:02:45 +02:00
parent 2b0cb0d49c
commit 542e3f0de2
2 changed files with 2 additions and 2 deletions

View File

@ -27,5 +27,5 @@ repos:
name: reuse
entry: reuse lint
language: system
exclude: .*
exclude: ^(venv).*$
always_run: true

View File

@ -33,7 +33,7 @@ class Profile(db.Model):
volunteerwork = Column(String(4000), default="")
freetext = Column(String(4000), default="")
availability_status = Column(Boolean, default=False)
availability_status = Column(Boolean, default=False, nullable=False)
availability_text = Column(String(4000), default="")
availability_hours_per_week = Column(Integer, default=0)