Add PostgreSQL 16 to the feature matrix
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 24 May 2023 16:52:47 +0000 (12:52 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 24 May 2023 16:52:47 +0000 (12:52 -0400)
pgweb/featurematrix/migrations/0009_feature_v16.py [new file with mode: 0644]
pgweb/featurematrix/models.py

diff --git a/pgweb/featurematrix/migrations/0009_feature_v16.py b/pgweb/featurematrix/migrations/0009_feature_v16.py
new file mode 100644 (file)
index 0000000..6a03842
--- /dev/null
@@ -0,0 +1,19 @@
+# Generated by Django 3.2.10 on 2023-05-24 16:51
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('featurematrix', '0008_feature_v15'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='feature',
+            name='v16',
+            field=models.IntegerField(choices=[(0, 'No'), (1, 'Yes'), (2, 'Obsolete'), (3, '?')], default=0, verbose_name='16'),
+        ),
+        migrations.RunSQL("UPDATE featurematrix_feature SET v16=v15"),
+    ]
index 300168830376780a6e089a588b1ce1e423afd68f..5d1a4f272feca06c633558158f6bf9d08023cf26 100644 (file)
@@ -50,6 +50,7 @@ class Feature(models.Model):
     v13 = 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)
     v15 = models.IntegerField(verbose_name="15", null=False, blank=False, default=0, choices=choices)
+    v16 = models.IntegerField(verbose_name="16", null=False, blank=False, default=0, choices=choices)
 
     purge_urls = ('/about/featurematrix/.*', )