diff --git a/activities/migrations/0020_alter_postattachment_remote_url.py b/activities/migrations/0020_alter_postattachment_remote_url.py new file mode 100644 index 0000000..4a71adb --- /dev/null +++ b/activities/migrations/0020_alter_postattachment_remote_url.py @@ -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), + ), + ] diff --git a/activities/models/post_attachment.py b/activities/models/post_attachment.py index ed17558..e6d4424 100644 --- a/activities/models/post_attachment.py +++ b/activities/models/post_attachment.py @@ -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)