added nullable false to prevent unexpected migration of this table
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
2b0cb0d49c
commit
542e3f0de2
@ -27,5 +27,5 @@ repos:
|
||||
name: reuse
|
||||
entry: reuse lint
|
||||
language: system
|
||||
exclude: .*
|
||||
exclude: ^(venv).*$
|
||||
always_run: true
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user