mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 15:56:45 -04:00
Also store consent to research against a service
It makes most sense to collect this at the same time as the estimated volumes. Which means we need to store it somewhere; we can’t put it straight into the ticket.
This commit is contained in:
@@ -364,6 +364,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)
|
||||
|
||||
organisation = db.relationship(
|
||||
'Organisation',
|
||||
|
||||
Reference in New Issue
Block a user