Create new column in notifications and notification_history to store the client_reference because I remembered that reference is used for email providers.

This commit is contained in:
Rebecca Law
2016-11-17 13:42:34 +00:00
parent dc5e21a78e
commit bc434f1736
6 changed files with 38 additions and 10 deletions

View File

@@ -60,7 +60,7 @@ def persist_notification(template_id,
created_at=created_at or datetime.utcnow().strftime(DATETIME_FORMAT),
job_id=job_id,
job_row_number=job_row_number,
reference=reference
client_reference=reference
)
dao_create_notification(notification)
return notification