Remove domain columns from branding table

This relationship is via the `Organisation` now; we don’t use this
column to fudge a relationship based on the user’s email address and the
matching something in these columns.
This commit is contained in:
Chris Hill-Scott
2019-04-05 16:26:52 +01:00
parent a39ed098b8
commit ee966668bd
14 changed files with 23 additions and 195 deletions

View File

@@ -774,10 +774,9 @@ def create_template_folder(service, name='foo', parent=None):
return tf
def create_letter_branding(name='HM Government', filename='hm-government', domain=None):
def create_letter_branding(name='HM Government', filename='hm-government'):
test_domain_branding = LetterBranding(name=name,
filename=filename,
domain=domain,
)
db.session.add(test_domain_branding)
db.session.commit()