mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-05 00:30:04 -04:00
rename actual_template to template_history
it's slightly less emotionally charged
This commit is contained in:
@@ -448,7 +448,7 @@ class Notification(db.Model):
|
||||
reference = db.Column(db.String, nullable=True, index=True)
|
||||
_personalisation = db.Column(db.String, nullable=True)
|
||||
|
||||
actual_template = db.relationship('TemplateHistory', primaryjoin=and_(
|
||||
template_history = db.relationship('TemplateHistory', primaryjoin=and_(
|
||||
foreign(template_id) == remote(TemplateHistory.id),
|
||||
foreign(template_version) == remote(TemplateHistory.version)
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user