Add filename to dvla_organisation table

Added a filename column to the dvla_organisation table and populated it
with the filenames that are currently hard-coded in template-preview.
The filenames for letter logos are going to be stored in the database,
instead of in template-preview.
This commit is contained in:
Katie Smith
2018-10-11 13:40:28 +01:00
parent 617cec8a79
commit 52095c9c8c
2 changed files with 57 additions and 0 deletions

View File

@@ -247,6 +247,7 @@ class DVLAOrganisation(db.Model):
__tablename__ = 'dvla_organisation'
id = db.Column(db.String, primary_key=True)
name = db.Column(db.String(255), nullable=True)
filename = db.Column(db.String(255), nullable=True)
INTERNATIONAL_SMS_TYPE = 'international_sms'