Deprecate service branding column

We want to drop this column. First we have to stop using it anywhere.

Needs to be made nullable so we can stop writing to it.
This commit is contained in:
Chris Hill-Scott
2018-08-30 15:51:39 +01:00
parent 6a57411fa0
commit 337496c5bc
7 changed files with 35 additions and 22 deletions

View File

@@ -78,7 +78,6 @@ def create_service(
prefix_sms=True,
message_limit=1000,
organisation_type='central',
branding=None
):
service = Service(
name=service_name,
@@ -88,7 +87,6 @@ def create_service(
created_by=user or create_user(email='{}@digital.cabinet-office.gov.uk'.format(uuid.uuid4())),
prefix_sms=prefix_sms,
organisation_type=organisation_type,
branding=branding
)
dao_create_service(service, service.created_by, service_id, service_permissions=service_permissions)