added nullable false to prevent unexpected migration of this table
This commit is contained in:
parent
383ef8b512
commit
92f5393a4c
@ -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