Add PostgreSQL 15 to the feature matrix
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Sat, 14 May 2022 18:58:13 +0000 (14:58 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Sat, 14 May 2022 18:58:13 +0000 (14:58 -0400)
pgweb/featurematrix/migrations/0008_feature_v15.py [new file with mode: 0644]
pgweb/featurematrix/models.py

diff --git a/pgweb/featurematrix/migrations/0008_feature_v15.py b/pgweb/featurematrix/migrations/0008_feature_v15.py
new file mode 100644 (file)
index 0000000..9e571b7
--- /dev/null
@@ -0,0 +1,19 @@
+# Generated by Django 3.2.10 on 2022-05-14 18:57
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('featurematrix', '0007_feature_v14'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='feature',
+            name='v15',
+            field=models.IntegerField(choices=[(0, 'No'), (1, 'Yes'), (2, 'Obsolete'), (3, '?')], default=0, verbose_name='15'),
+        ),
+        migrations.RunSQL("UPDATE featurematrix_feature SET v15=v14"),
+    ]
index c2c585e55b4ce407ae6e40a88539f2fc68a44711..300168830376780a6e089a588b1ce1e423afd68f 100644 (file)
@@ -49,6 +49,7 @@ class Feature(models.Model):
     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="14", null=False, blank=False, default=0, choices=choices)
+    v15 = models.IntegerField(verbose_name="15", null=False, blank=False, default=0, choices=choices)
 
     purge_urls = ('/about/featurematrix/.*', )