Merge pull request #1748 from alphagov/quis-patch-1

Add warning to Performance Platform command
This commit is contained in:
Chris Hill-Scott
2018-03-07 17:13:46 +00:00
committed by GitHub

View File

@@ -216,6 +216,9 @@ def populate_monthly_billing(year):
def backfill_performance_platform_totals(start_date, end_date):
"""
Send historical total messages sent to Performance Platform.
WARNING: This does not overwrite existing data. You need to delete
the existing data or Performance Platform will double-count.
"""
delta = end_date - start_date