Merge pull request #3096 from alphagov/add-notes-to-service

Add notes column to services table
This commit is contained in:
Pea Tyczynska
2021-01-19 14:45:42 +00:00
committed by GitHub
3 changed files with 30 additions and 0 deletions

View File

@@ -487,6 +487,8 @@ class Service(db.Model, Versioned):
organisation_id = db.Column(UUID(as_uuid=True), db.ForeignKey('organisation.id'), index=True, nullable=True)
organisation = db.relationship('Organisation', backref='services')
notes = db.Column(db.Text, nullable=True)
email_branding = db.relationship(
'EmailBranding',
secondary=service_email_branding,