Allow longer campaign URLs
All checks were successful
Deploy to Server / deploy (push) Successful in 28s

This commit is contained in:
Joakim Hellsén 2026-05-09 22:14:26 +02:00
commit 08a7fa2693
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
3 changed files with 106 additions and 3 deletions

View file

@ -0,0 +1,45 @@
# Generated by Django 6.0.4 on 2026-05-09
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
"""Allow longer campaign URLs returned by Twitch imports."""
dependencies = [
("twitch", "0022_dropcampaign_tw_drop_game_end_desc_idx"),
]
operations = [
migrations.AlterField(
model_name="dropcampaign",
name="account_link_url",
field=models.URLField(
blank=True,
default="",
help_text="URL to link a Twitch account for the campaign.",
max_length=2000,
),
),
migrations.AlterField(
model_name="dropcampaign",
name="details_url",
field=models.URLField(
blank=True,
default="",
help_text="URL with campaign details.",
max_length=2000,
),
),
migrations.AlterField(
model_name="dropcampaign",
name="image_url",
field=models.URLField(
blank=True,
default="",
help_text="URL to an image representing the campaign.",
max_length=2000,
),
),
]