increase attachment remote_url limit

This commit is contained in:
Henri Dickson 2024-01-06 00:19:45 -05:00
parent 2f4daa02bd
commit 29926f2207
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,17 @@
# Generated by Django 4.2.8 on 2024-01-06 05:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("activities", "0019_alter_postattachment_focal_x_and_more"),
]
operations = [
migrations.AlterField(
model_name="postattachment",
name="remote_url",
field=models.CharField(blank=True, max_length=2500, null=True),
),
]

View file

@ -50,7 +50,7 @@ class PostAttachment(StatorModel):
blank=True,
)
remote_url = models.CharField(max_length=500, null=True, blank=True)
remote_url = models.CharField(max_length=2500, null=True, blank=True)
# This is the description for images, at least
name = models.TextField(null=True, blank=True)