зеркало из https://github.com/mozilla/treeherder.git
Remove FailureLine.best_classification and FailureLine.best_is_verified
This commit is contained in:
Родитель
064a79b350
Коммит
c32e9e4f2c
|
@ -0,0 +1,23 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.13 on 2018-06-06 10:49
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('model', '0008_remove_failure_match'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='failureline',
|
||||
name='best_classification',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='failureline',
|
||||
name='best_is_verified',
|
||||
),
|
||||
]
|
|
@ -889,17 +889,6 @@ class FailureLine(models.Model):
|
|||
stackwalk_stdout = models.TextField(blank=True, null=True)
|
||||
stackwalk_stderr = models.TextField(blank=True, null=True)
|
||||
|
||||
# Note that the case of best_classification = None and best_is_verified = True
|
||||
# has the special semantic that the line is ignored and should not be considered
|
||||
# for future autoclassifications.
|
||||
best_classification = models.ForeignKey("ClassifiedFailure",
|
||||
related_name="best_for_lines",
|
||||
null=True,
|
||||
db_index=True,
|
||||
on_delete=models.SET_NULL)
|
||||
|
||||
best_is_verified = models.BooleanField(default=False)
|
||||
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
modified = models.DateTimeField(auto_now=True)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче