add DVLA organisations to API

when services are created, they'll have a dvla_org_id of 001, or
HM Government. That can be changed later using a regular update call
This commit is contained in:
Leo Hemsted
2017-04-19 16:31:18 +01:00
parent 45a689f98e
commit d514d99a67
6 changed files with 114 additions and 30 deletions

View File

@@ -75,7 +75,8 @@ def notify_db_session(notify_db):
"branding_type",
"job_status",
"provider_details_history",
"template_process_type"]:
"template_process_type",
"dvla_organisation"]:
notify_db.engine.execute(tbl.delete())
notify_db.session.commit()