|
@ -78,13 +78,13 @@ class Check(models.Model): |
|
|
subject = models.CharField(max_length=100, blank=True) |
|
|
subject = models.CharField(max_length=100, blank=True) |
|
|
subject_fail = models.CharField(max_length=100, blank=True) |
|
|
subject_fail = models.CharField(max_length=100, blank=True) |
|
|
methods = models.CharField(max_length=30, blank=True) |
|
|
methods = models.CharField(max_length=30, blank=True) |
|
|
manual_resume = models.NullBooleanField(default=False) |
|
|
|
|
|
|
|
|
manual_resume = models.BooleanField(default=False) |
|
|
|
|
|
|
|
|
n_pings = models.IntegerField(default=0) |
|
|
n_pings = models.IntegerField(default=0) |
|
|
last_ping = models.DateTimeField(null=True, blank=True) |
|
|
last_ping = models.DateTimeField(null=True, blank=True) |
|
|
last_start = models.DateTimeField(null=True, blank=True) |
|
|
last_start = models.DateTimeField(null=True, blank=True) |
|
|
last_duration = models.DurationField(null=True, blank=True) |
|
|
last_duration = models.DurationField(null=True, blank=True) |
|
|
last_ping_was_fail = models.NullBooleanField(default=False) |
|
|
|
|
|
|
|
|
last_ping_was_fail = models.BooleanField(default=False) |
|
|
has_confirmation_link = models.BooleanField(default=False) |
|
|
has_confirmation_link = models.BooleanField(default=False) |
|
|
alert_after = models.DateTimeField(null=True, blank=True, editable=False) |
|
|
alert_after = models.DateTimeField(null=True, blank=True, editable=False) |
|
|
status = models.CharField(max_length=6, choices=STATUSES, default="new") |
|
|
status = models.CharField(max_length=6, choices=STATUSES, default="new") |
|
|