Fix migrations to support 3.1.2 -> 3.2.1+ upgrade path

This commit is contained in:
Wayne Witzel III
2017-10-06 09:25:43 -04:00
parent 2818bb5833
commit 8f883d8d43
3 changed files with 25 additions and 9 deletions
@@ -13,7 +13,6 @@ class Migration(migrations.Migration):
replaces = [
(b'main', '0035_v310_remove_tower_settings'),
(b'main', '0036_v311_insights'),
(b'main', '0037_v313_instance_version'),
]
operations = [
@@ -36,11 +35,4 @@ class Migration(migrations.Migration):
name='scm_type',
field=models.CharField(default=b'', choices=[(b'', 'Manual'), (b'git', 'Git'), (b'hg', 'Mercurial'), (b'svn', 'Subversion'), (b'insights', 'Red Hat Insights')], max_length=8, blank=True, help_text='Specifies the source control system used to store the project.', verbose_name='SCM Type'),
),
migrations.AddField(
model_name='instance',
name='version',
field=models.CharField(max_length=24, blank=True),
),
]