Add request_to_go_live_notes column to Organisation table

This column will be used to stores extra notes that should go in the
Zendesk ticket when a service belonging to that organisation requests to
go live.
This commit is contained in:
Katie Smith
2019-05-10 11:47:42 +01:00
parent a5ae77f5e0
commit 84c35cbf67
3 changed files with 25 additions and 0 deletions

View File

@@ -341,6 +341,7 @@ class Organisation(db.Model):
agreement_signed_version = db.Column(db.Float, nullable=True)
crown = db.Column(db.Boolean, nullable=True)
organisation_type = db.Column(db.String(255), nullable=True)
request_to_go_live_notes = db.Column(db.Text)
domains = db.relationship(
'Domain',
@@ -376,6 +377,7 @@ class Organisation(db.Model):
"domains": [
domain.domain for domain in self.domains
],
"request_to_go_live_notes": self.request_to_go_live_notes,
}