Browse Source

Allow body to be null for easier db migration.

pull/163/head
Pēteris Caune 7 years ago
parent
commit
282412f4ba
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      hc/api/migrations/0038_auto_20180318_1306.py
  2. +1
    -1
      hc/api/models.py

hc/api/migrations/0038_auto_20180318_1216.py → hc/api/migrations/0038_auto_20180318_1306.py View File


+ 1
- 1
hc/api/models.py View File

@ -214,7 +214,7 @@ class Ping(models.Model):
remote_addr = models.GenericIPAddressField(blank=True, null=True)
method = models.CharField(max_length=10, 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):


Loading…
Cancel
Save