Commit 030ed34a authored by fred's avatar fred
Browse files

webstats: allow longer data

parent 639f71fa
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-12-14 06:36
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('webstats', '0002_podcastlogline_referrer'),
]
operations = [
migrations.AlterField(
model_name='podcastlogline',
name='path',
field=models.CharField(max_length=1000),
),
migrations.AlterField(
model_name='podcastlogline',
name='referrer',
field=models.CharField(max_length=1000, null=True),
),
migrations.AlterField(
model_name='podcastlogline',
name='user_agent',
field=models.CharField(max_length=1000),
),
]
......@@ -4,8 +4,8 @@ from django.db import models
class PodcastLogLine(models.Model):
timestamp = models.DateTimeField()
ip = models.GenericIPAddressField()
path = models.CharField(max_length=255)
path = models.CharField(max_length=1000)
soundfile = models.ForeignKey('emissions.SoundFile', null=True, on_delete=models.SET_NULL)
user_agent = models.CharField(max_length=255)
referrer = models.CharField(max_length=255, null=True)
user_agent = models.CharField(max_length=1000)
referrer = models.CharField(max_length=1000, null=True)
is_bot = models.NullBooleanField()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment