Bug 1625451 - Provide default for application field

This commit is contained in:
octavian-negru 2020-04-03 09:15:25 +03:00 коммит произвёл GitHub
Родитель bb75c0d22f
Коммит c4f48d86e7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 19 добавлений и 1 удалений

Просмотреть файл

@ -0,0 +1,18 @@
# Generated by Django 3.0.3 on 2020-04-01 11:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('perf', '0027_support_perfherder_settings'),
]
operations = [
migrations.AlterField(
model_name='performancesignature',
name='application',
field=models.CharField(default='', help_text="Application that runs the signature's tests. Generally used to record browser's name, but not necessarily.", max_length=10),
),
]

Просмотреть файл

@ -40,7 +40,7 @@ class PerformanceSignature(models.Model):
option_collection = models.ForeignKey(OptionCollection, on_delete=models.CASCADE) option_collection = models.ForeignKey(OptionCollection, on_delete=models.CASCADE)
suite = models.CharField(max_length=80) suite = models.CharField(max_length=80)
test = models.CharField(max_length=80, blank=True) test = models.CharField(max_length=80, blank=True)
application = models.CharField(max_length=10, null=True, application = models.CharField(max_length=10, default='',
help_text="Application that runs the signature's tests. " help_text="Application that runs the signature's tests. "
"Generally used to record browser's name, but not necessarily.") "Generally used to record browser's name, but not necessarily.")
lower_is_better = models.BooleanField(default=True) lower_is_better = models.BooleanField(default=True)