Remove FailureLine.best_classification and FailureLine.best_is_verified

This commit is contained in:
George Hickman 2018-06-06 16:55:19 +01:00 коммит произвёл George Hickman
Родитель 064a79b350
Коммит c32e9e4f2c
2 изменённых файлов: 23 добавлений и 11 удалений

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

@ -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)