diff --git a/treeherder/model/migrations/0039_remove_legacy_artifact_pointers.py b/treeherder/model/migrations/0039_remove_legacy_artifact_pointers.py new file mode 100644 index 000000000..d3dc1222a --- /dev/null +++ b/treeherder/model/migrations/0039_remove_legacy_artifact_pointers.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('model', '0038_text_log_db'), + ] + + operations = [ + migrations.RemoveField( + model_name='textlogsummary', + name='bug_suggestions_artifact_id', + ), + migrations.RemoveField( + model_name='textlogsummary', + name='text_log_summary_artifact_id', + ), + ] diff --git a/treeherder/model/models.py b/treeherder/model/models.py index f5d403f55..3863e0c38 100644 --- a/treeherder/model/models.py +++ b/treeherder/model/models.py @@ -1392,8 +1392,6 @@ class TextLogSummary(models.Model): id = BigAutoField(primary_key=True) job_guid = models.CharField(max_length=50) repository = models.ForeignKey(Repository) - text_log_summary_artifact_id = models.PositiveIntegerField(blank=True, null=True) - bug_suggestions_artifact_id = models.PositiveIntegerField(blank=True, null=True) class Meta: db_table = 'text_log_summary'