Files
notifications-api/app
Alexey Bezhan 52e0367a13 Replace Notifications.template_history with Notifications.template
Each notification instance is connected to a specific version of the
template that was used to generate notification content. Template
versions are stored in TemplateHistory, so that's the table we need
to use for Notifications.template relationship.

Currently, using Notifications.template returns the latest template
version, which leads to incorrect content being returned by the API
if the template has been updated.

This change removes Notifications.template_history attribute and
replaces template relationship to refer to TemplateHistory instance
based on the notification's template ID and version.
2017-11-10 15:12:07 +00:00
..
2017-11-06 13:40:20 +00:00
2017-11-09 14:27:24 +00:00
2017-11-10 12:05:06 +00:00
2017-11-09 14:13:42 +00:00
2017-11-07 16:45:49 +00:00
2017-11-09 14:55:45 +00:00