diff --git a/website/migrations/0178_alter_ip_agent.py b/website/migrations/0178_alter_ip_agent.py new file mode 100644 index 000000000..b01cb53c1 --- /dev/null +++ b/website/migrations/0178_alter_ip_agent.py @@ -0,0 +1,17 @@ +# Generated by Django 5.1.4 on 2025-01-01 22:50 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("website", "0177_project_project_visit_count"), + ] + + operations = [ + migrations.AlterField( + model_name="ip", + name="agent", + field=models.TextField(blank=True, null=True), + ), + ] diff --git a/website/models.py b/website/models.py index afc7f8dbb..a9029ae03 100644 --- a/website/models.py +++ b/website/models.py @@ -739,7 +739,7 @@ class IP(models.Model): user = models.CharField(max_length=150, null=True, blank=True) issuenumber = models.IntegerField(null=True, blank=True) created = models.DateTimeField(auto_now_add=True) - agent = models.CharField(max_length=255, null=True, blank=True) + agent = models.TextField(null=True, blank=True) count = models.BigIntegerField(default=1) path = models.CharField(max_length=255, null=True, blank=True) method = models.CharField(max_length=10, null=True, blank=True)