Update queries for data model change (removal of organisation_to_service)

New query to get letter breakdown.
This commit is contained in:
Rebecca Law
2019-08-06 13:29:59 +01:00
committed by Leo Hemsted
parent d3449c37da
commit 236d111c22
4 changed files with 358 additions and 5 deletions

View File

@@ -108,7 +108,8 @@ def create_service(
check_if_service_exists=False,
go_live_user=None,
go_live_at=None,
crown=True
crown=True,
organisation=None
):
if check_if_service_exists:
service = Service.query.filter_by(name=service_name).first()