From 03eb95cf3eacc48238c8fd1315b06bae2e63b5e0 Mon Sep 17 00:00:00 2001 From: "Jonathan S. Katz" Date: Sun, 19 Sep 2021 21:51:40 -0400 Subject: [PATCH] Fix copy and pasto with v14 feature matrix addition --- pgweb/featurematrix/migrations/0007_feature_v14.py | 2 +- pgweb/featurematrix/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pgweb/featurematrix/migrations/0007_feature_v14.py b/pgweb/featurematrix/migrations/0007_feature_v14.py index c85e4c0b..fe0f3510 100644 --- a/pgweb/featurematrix/migrations/0007_feature_v14.py +++ b/pgweb/featurematrix/migrations/0007_feature_v14.py @@ -13,7 +13,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='feature', name='v14', - field=models.IntegerField(choices=[(0, 'No'), (1, 'Yes'), (2, 'Obsolete'), (3, '?')], default=0, verbose_name='13'), + field=models.IntegerField(choices=[(0, 'No'), (1, 'Yes'), (2, 'Obsolete'), (3, '?')], default=0, verbose_name='14'), ), migrations.RunSQL("UPDATE featurematrix_feature SET v14=v13"), ] diff --git a/pgweb/featurematrix/models.py b/pgweb/featurematrix/models.py index 0b526cc0..c2c585e5 100644 --- a/pgweb/featurematrix/models.py +++ b/pgweb/featurematrix/models.py @@ -48,7 +48,7 @@ class Feature(models.Model): v11 = models.IntegerField(verbose_name="11", null=False, blank=False, default=0, choices=choices) v12 = models.IntegerField(verbose_name="12", null=False, blank=False, default=0, choices=choices) v13 = models.IntegerField(verbose_name="13", null=False, blank=False, default=0, choices=choices) - v14 = models.IntegerField(verbose_name="13", null=False, blank=False, default=0, choices=choices) + v14 = models.IntegerField(verbose_name="14", null=False, blank=False, default=0, choices=choices) purge_urls = ('/about/featurematrix/.*', ) -- 2.39.5