mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 08:21:13 -05:00
Make consent_to_research nullable
It should be nullable so we can tell whether someone has answered the question already or not. No real users have entered data into this column yet, so it’s fine to wipe it.
This commit is contained in:
@@ -374,7 +374,7 @@ class Service(db.Model, Versioned):
|
||||
volume_sms = db.Column(db.Integer(), nullable=True, unique=False)
|
||||
volume_email = db.Column(db.Integer(), nullable=True, unique=False)
|
||||
volume_letter = db.Column(db.Integer(), nullable=True, unique=False)
|
||||
consent_to_research = db.Column(db.Boolean, nullable=False, default=False)
|
||||
consent_to_research = db.Column(db.Boolean, nullable=True)
|
||||
|
||||
organisation = db.relationship(
|
||||
'Organisation',
|
||||
|
||||
Reference in New Issue
Block a user