aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/migrations
diff options
context:
space:
mode:
authorGravatar vivekashok1221 <[email protected]>2023-03-10 23:11:35 +0530
committerGravatar vivekashok1221 <[email protected]>2023-03-10 23:24:43 +0530
commited3577652d620057cc87bbc74775548066cfdc8f (patch)
tree8d1dea591cff7c97e2cde03338e3a81a7ba184ae /pydis_site/apps/api/migrations
parentMerge branch 'main' into vivek/add-jump-url-field (diff)
Replace CharField with URLField and set default to None
Diffstat (limited to 'pydis_site/apps/api/migrations')
-rw-r--r--pydis_site/apps/api/migrations/0086_infraction_jump_url.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/api/migrations/0086_infraction_jump_url.py b/pydis_site/apps/api/migrations/0086_infraction_jump_url.py
index e32219c8..7ae65751 100644
--- a/pydis_site/apps/api/migrations/0086_infraction_jump_url.py
+++ b/pydis_site/apps/api/migrations/0086_infraction_jump_url.py
@@ -1,4 +1,4 @@
-# Generated by Django 4.1.6 on 2023-02-13 22:23
+# Generated by Django 4.1.7 on 2023-03-10 17:25
from django.db import migrations, models
@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='infraction',
name='jump_url',
- field=models.CharField(default='', help_text='The jump url to message invoking the infraction.', max_length=88),
+ field=models.URLField(default=None, help_text='The jump url to message invoking the infraction.', max_length=88, null=True),
),
]