зеркало из https://github.com/mozilla/treeherder.git
Bug 1182464 - Make the failure_line signature a TextField.
I also removed a limit on the length of `message` because it didn't make sense.
This commit is contained in:
Родитель
b8872e5742
Коммит
b78d6bbf0b
|
@ -104,8 +104,8 @@ class Migration(migrations.Migration):
|
|||
('subtest', models.TextField(null=True, blank=True)),
|
||||
('status', models.CharField(max_length=7, choices=[('PASS', 'PASS'), ('FAIL', 'FAIL'), ('OK', 'OK'), ('ERROR', 'ERROR'), ('TIMEOUT', 'TIMEOUT'), ('CRASH', 'CRASH'), ('ASSERT', 'ASSERT'), ('SKIP', 'SKIP'), ('NOTRUN', 'NOTRUN')])),
|
||||
('expected', models.CharField(blank=True, max_length=7, null=True, choices=[('PASS', 'PASS'), ('FAIL', 'FAIL'), ('OK', 'OK'), ('ERROR', 'ERROR'), ('TIMEOUT', 'TIMEOUT'), ('CRASH', 'CRASH'), ('ASSERT', 'ASSERT'), ('SKIP', 'SKIP'), ('NOTRUN', 'NOTRUN')])),
|
||||
('message', models.TextField(max_length=255, null=True, blank=True)),
|
||||
('signature', models.CharField(max_length=255, null=True, blank=True)),
|
||||
('message', models.TextField(null=True, blank=True)),
|
||||
('signature', models.TextField(null=True, blank=True)),
|
||||
('level', models.CharField(blank=True, max_length=8, null=True, choices=[('PASS', 'PASS'), ('FAIL', 'FAIL'), ('OK', 'OK'), ('ERROR', 'ERROR'), ('TIMEOUT', 'TIMEOUT'), ('CRASH', 'CRASH'), ('ASSERT', 'ASSERT'), ('SKIP', 'SKIP'), ('NOTRUN', 'NOTRUN')])),
|
||||
('stack', models.TextField(null=True, blank=True)),
|
||||
('stackwalk_stdout', models.TextField(null=True, blank=True)),
|
||||
|
|
|
@ -549,8 +549,8 @@ class FailureLine(models.Model):
|
|||
subtest = models.TextField(blank=True, null=True)
|
||||
status = models.CharField(max_length=7, choices=STATUS_CHOICES)
|
||||
expected = models.CharField(max_length=7, choices=STATUS_CHOICES, blank=True, null=True)
|
||||
message = models.TextField(max_length=255, blank=True, null=True)
|
||||
signature = models.CharField(max_length=255, blank=True, null=True)
|
||||
message = models.TextField(blank=True, null=True)
|
||||
signature = models.TextField(blank=True, null=True)
|
||||
level = models.CharField(max_length=8, choices=STATUS_CHOICES, blank=True, null=True)
|
||||
stack = models.TextField(blank=True, null=True)
|
||||
stackwalk_stdout = models.TextField(blank=True, null=True)
|
||||
|
|
|
@ -688,7 +688,7 @@ DROP TABLE IF EXISTS `failure_line`;
|
|||
`status` varchar(7) NOT NULL,
|
||||
`expected` varchar(7) NULL,
|
||||
`message` longtext NULL,
|
||||
`signature` varchar(255) NULL,
|
||||
`signature` longtext NULL,
|
||||
`level` varchar(8) NULL,
|
||||
`stack` longtext NULL,
|
||||
`stackwalk_stdout` longtext NULL,
|
||||
|
|
Загрузка…
Ссылка в новой задаче