Skip to content

Commit bfe4c77

Browse files
authored
Increase version length (#1202)
Reference: aboutcode-org/purldb#412 Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 6aa0afc commit bfe4c77

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 5.0.3 on 2024-05-06 08:03
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("scanpipe", "0055_discoveredpackage_datafile_paths"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="run",
15+
name="scancodeio_version",
16+
field=models.CharField(blank=True, max_length=100),
17+
),
18+
]

scanpipe/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ class Run(UUIDPKModel, ProjectRelatedModel, AbstractTaskFieldsModel):
16481648
help_text=_("Identify a registered Pipeline class."),
16491649
)
16501650
created_date = models.DateTimeField(auto_now_add=True, db_index=True)
1651-
scancodeio_version = models.CharField(max_length=30, blank=True)
1651+
scancodeio_version = models.CharField(max_length=100, blank=True)
16521652
description = models.TextField(blank=True)
16531653
current_step = models.CharField(max_length=256, blank=True)
16541654
selected_groups = models.JSONField(

0 commit comments

Comments
 (0)