forked from GithubBackups/healthchecks
Allow body to be null for easier db migration.
This commit is contained in:
parent
02f6853d4c
commit
282412f4ba
@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Generated by Django 1.11.6 on 2018-03-18 12:16
|
# Generated by Django 1.11.6 on 2018-03-18 13:06
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
@ -20,6 +20,6 @@ class Migration(migrations.Migration):
|
|||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='ping',
|
model_name='ping',
|
||||||
name='body',
|
name='body',
|
||||||
field=models.CharField(blank=True, max_length=10000),
|
field=models.CharField(blank=True, max_length=10000, null=True),
|
||||||
),
|
),
|
||||||
]
|
]
|
@ -214,7 +214,7 @@ class Ping(models.Model):
|
|||||||
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)
|
||||||
ua = models.CharField(max_length=200, blank=True)
|
ua = models.CharField(max_length=200, blank=True)
|
||||||
body = models.CharField(max_length=10000, blank=True)
|
body = models.CharField(max_length=10000, blank=True, null=True)
|
||||||
|
|
||||||
|
|
||||||
class Channel(models.Model):
|
class Channel(models.Model):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user