From: Jonathan S. Katz Date: Mon, 20 Sep 2021 01:49:23 +0000 (-0400) Subject: Add v14 to the feature matrix X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cc6e892e78cb1605abf8449f0a2f6503277ad833;p=pgweb.git Add v14 to the feature matrix --- diff --git a/pgweb/featurematrix/migrations/0007_feature_v14.py b/pgweb/featurematrix/migrations/0007_feature_v14.py new file mode 100644 index 00000000..c85e4c0b --- /dev/null +++ b/pgweb/featurematrix/migrations/0007_feature_v14.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.24 on 2021-09-20 01:48 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('featurematrix', '0006_feature_v13'), + ] + + operations = [ + migrations.AddField( + model_name='feature', + name='v14', + field=models.IntegerField(choices=[(0, 'No'), (1, 'Yes'), (2, 'Obsolete'), (3, '?')], default=0, verbose_name='13'), + ), + migrations.RunSQL("UPDATE featurematrix_feature SET v14=v13"), + ] diff --git a/pgweb/featurematrix/models.py b/pgweb/featurematrix/models.py index fb6580ad..0b526cc0 100644 --- a/pgweb/featurematrix/models.py +++ b/pgweb/featurematrix/models.py @@ -48,6 +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) purge_urls = ('/about/featurematrix/.*', )