Skip to content

Commit

Permalink
increase attachment remote_url limit
Browse files Browse the repository at this point in the history
  • Loading branch information
alphatownsman committed Jan 6, 2024
1 parent 2f4daa0 commit 1bc961e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions activities/migrations/0020_alter_postattachment_remote_url.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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),
),
]
2 changes: 1 addition & 1 deletion activities/models/post_attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1bc961e

Please sign in to comment.