Jul 2nd - Optimized code 6
This commit is contained in:
@@ -113,6 +113,12 @@ class Ticket(db.Model):
|
||||
closed_at = db.Column(db.DateTime)
|
||||
due_date = db.Column(db.DateTime)
|
||||
|
||||
# Set once an SLA breach notification has been sent for this ticket, so
|
||||
# the 30-minute scheduler job doesn't re-notify every run. Cleared when
|
||||
# the ticket resolves/closes/re-opens (see sla_service.clear_sla_notification)
|
||||
# so a re-opened ticket gets a fresh alert if it breaches again.
|
||||
sla_breach_notified = db.Column(db.Boolean, nullable=False, default=False, server_default='0')
|
||||
|
||||
ai_generated = db.Column(db.Boolean, default=False)
|
||||
internal_notes = db.Column(db.Text)
|
||||
resolution_notes = db.Column(db.Text)
|
||||
|
||||
Reference in New Issue
Block a user