Skip to content

Commit a6da8ba

Browse files
authored
Bug 1970261 - adjust group name to be up to 255 characters long. (#8743)
1 parent 035d6dc commit a6da8ba

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

schemas/pulse-job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ properties:
122122
title: 'Group Name'
123123
type: 'string'
124124
minLength: 1
125-
maxLength: 100
125+
maxLength: 255
126126
required:
127127
- jobName
128128
- jobSymbol
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 5.1.8 on 2025-06-05 13:17
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("model", "0041_update_search_vector"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="jobgroup",
15+
name="name",
16+
field=models.CharField(max_length=255),
17+
),
18+
]

treeherder/model/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class Meta:
347347
class JobGroup(models.Model):
348348
id = models.AutoField(primary_key=True)
349349
symbol = models.CharField(max_length=25, default="?", db_index=True)
350-
name = models.CharField(max_length=100)
350+
name = models.CharField(max_length=255)
351351
description = models.TextField(blank=True)
352352

353353
class Meta:

0 commit comments

Comments
 (0)