diff --git a/treeherder/model/migrations/0009_remove_best_classification_and_is_verified_from_failure_line.py b/treeherder/model/migrations/0009_remove_best_classification_and_is_verified_from_failure_line.py new file mode 100644 index 000000000..81dfaaa82 --- /dev/null +++ b/treeherder/model/migrations/0009_remove_best_classification_and_is_verified_from_failure_line.py @@ -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', + ), + ] diff --git a/treeherder/model/models.py b/treeherder/model/models.py index 0926d9450..7b23f7a87 100644 --- a/treeherder/model/models.py +++ b/treeherder/model/models.py @@ -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)