Alter URL fields in ChzzkCampaign and ChzzkReward models to allow blank values and increase max_length
All checks were successful
Deploy to Server / deploy (push) Successful in 20s
All checks were successful
Deploy to Server / deploy (push) Successful in 20s
This commit is contained in:
parent
4c3b8510ab
commit
280d8390ce
1 changed files with 40 additions and 0 deletions
|
|
@ -0,0 +1,40 @@
|
||||||
|
# Generated by Django 6.0.3 on 2026-04-01 02:21
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
from django.db import models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
"""Alter URL fields to allow blank and increase max_length."""
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("chzzk", "0002_alter_chzzkcampaign_campaign_reward_type_and_more"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="chzzkcampaign",
|
||||||
|
name="account_link_url",
|
||||||
|
field=models.URLField(blank=True, max_length=2000),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="chzzkcampaign",
|
||||||
|
name="image_url",
|
||||||
|
field=models.URLField(blank=True, max_length=2000),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="chzzkcampaign",
|
||||||
|
name="mobile_link_url",
|
||||||
|
field=models.URLField(blank=True, max_length=2000),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="chzzkcampaign",
|
||||||
|
name="pc_link_url",
|
||||||
|
field=models.URLField(blank=True, max_length=2000),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="chzzkreward",
|
||||||
|
name="image_url",
|
||||||
|
field=models.URLField(blank=True, max_length=2000),
|
||||||
|
),
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue