Skip to content

Commit 391559c

Browse files
Bug 1970261 - increase maximum length of job group name in ReferenceDataSignature model (#8821)
1 parent 6395eef commit 391559c

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.1.11 on 2025-07-01 22:59
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("model", "0042_alter_jobgroup_name"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="referencedatasignatures",
15+
name="job_group_name",
16+
field=models.CharField(blank=True, db_index=True, max_length=255),
17+
),
18+
]

treeherder/model/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ class ReferenceDataSignatures(models.Model):
444444
machine_os_name = models.CharField(max_length=25, db_index=True)
445445
machine_platform = models.CharField(max_length=100, db_index=True)
446446
machine_architecture = models.CharField(max_length=25, db_index=True)
447-
job_group_name = models.CharField(max_length=100, blank=True, db_index=True)
447+
job_group_name = models.CharField(max_length=255, blank=True, db_index=True)
448448
job_group_symbol = models.CharField(max_length=25, blank=True, db_index=True)
449449
job_type_name = models.CharField(max_length=140, db_index=True)
450450
job_type_symbol = models.CharField(max_length=25, blank=True, db_index=True)

0 commit comments

Comments
 (0)