mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Add jobs.notifications_delivered and jobs.notifications_failed counts to the jobs table.
This commit is contained in:
@@ -258,6 +258,9 @@ class Job(db.Model):
|
||||
status = db.Column(db.Enum(*JOB_STATUS_TYPES, name='job_status_types'), nullable=False, default='pending')
|
||||
notification_count = db.Column(db.Integer, nullable=False)
|
||||
notifications_sent = db.Column(db.Integer, nullable=False, default=0)
|
||||
notifications_delivered = db.Column(db.Integer, nullable=False, default=0)
|
||||
notifications_failed = db.Column(db.Integer, nullable=False, default=0)
|
||||
|
||||
processing_started = db.Column(
|
||||
db.DateTime,
|
||||
index=False,
|
||||
|
||||
Reference in New Issue
Block a user