Skip to content

Commit

Permalink
Increase Issue::url length
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r committed Sep 5, 2024
1 parent a20c3f9 commit 0512240
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions backend/apps/github/migrations/0040_alter_issue_url.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 5.1.1 on 2024-09-05 05:19

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("github", "0039_alter_issue_title"),
]

operations = [
migrations.AlterField(
model_name="issue",
name="url",
field=models.URLField(default="", max_length=500, verbose_name="URL"),
),
]
2 changes: 1 addition & 1 deletion backend/apps/github/models/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class State(models.TextChoices):
verbose_name="State", max_length=20, choices=State, default=State.OPEN
)
state_reason = models.CharField(verbose_name="State reason", max_length=200, default="")
url = models.URLField(verbose_name="URL", max_length=200, default="")
url = models.URLField(verbose_name="URL", max_length=500, default="")
number = models.PositiveBigIntegerField(verbose_name="Number", default=0)
sequence_id = models.PositiveBigIntegerField(verbose_name="Issue ID", default=0)

Expand Down

0 comments on commit 0512240

Please sign in to comment.