forked from GithubBackups/healthchecks
Remove Ping.start and Ping.fail fields
This commit is contained in:
parent
20df5843e3
commit
4f2930bb05
@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Database schema: set Check.user to not null
|
- Database schema: set Check.user to not null
|
||||||
- Database schema: add uniqueness constraint to Check.code
|
- Database schema: add uniqueness constraint to Check.code
|
||||||
- Database schema: add Ping.kind field
|
- Database schema: add Ping.kind field
|
||||||
|
- Database schema: remove Ping.start and Ping.fail fields
|
||||||
|
|
||||||
|
|
||||||
## 1.4.0 - 2018-12-25
|
## 1.4.0 - 2018-12-25
|
||||||
|
21
hc/api/migrations/0052_auto_20190104_1122.py
Normal file
21
hc/api/migrations/0052_auto_20190104_1122.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Generated by Django 2.1.4 on 2019-01-04 11:22
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('api', '0051_auto_20190104_0908'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='ping',
|
||||||
|
name='fail',
|
||||||
|
),
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='ping',
|
||||||
|
name='start',
|
||||||
|
),
|
||||||
|
]
|
@ -248,8 +248,6 @@ class Ping(models.Model):
|
|||||||
owner = models.ForeignKey(Check, models.CASCADE)
|
owner = models.ForeignKey(Check, models.CASCADE)
|
||||||
created = models.DateTimeField(auto_now_add=True)
|
created = models.DateTimeField(auto_now_add=True)
|
||||||
kind = models.CharField(max_length=6, blank=True, null=True)
|
kind = models.CharField(max_length=6, blank=True, null=True)
|
||||||
start = models.NullBooleanField(default=False)
|
|
||||||
fail = models.NullBooleanField(default=False)
|
|
||||||
scheme = models.CharField(max_length=10, default="http")
|
scheme = models.CharField(max_length=10, default="http")
|
||||||
remote_addr = models.GenericIPAddressField(blank=True, null=True)
|
remote_addr = models.GenericIPAddressField(blank=True, null=True)
|
||||||
method = models.CharField(max_length=10, blank=True)
|
method = models.CharField(max_length=10, blank=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user