mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 08:16:19 -04:00
Merge pull request #1431 from alphagov/add-reply-to-model
Add reply_to_text to Notification model.
This commit is contained in:
@@ -978,6 +978,8 @@ class Notification(db.Model):
|
|||||||
created_by = db.relationship('User')
|
created_by = db.relationship('User')
|
||||||
created_by_id = db.Column(UUID(as_uuid=True), db.ForeignKey('users.id'), nullable=True)
|
created_by_id = db.Column(UUID(as_uuid=True), db.ForeignKey('users.id'), nullable=True)
|
||||||
|
|
||||||
|
reply_to_text = db.Column(db.String, nullable=True)
|
||||||
|
|
||||||
__table_args__ = (
|
__table_args__ = (
|
||||||
db.ForeignKeyConstraint(
|
db.ForeignKeyConstraint(
|
||||||
['template_id', 'template_version'],
|
['template_id', 'template_version'],
|
||||||
|
|||||||
Reference in New Issue
Block a user