PostgreSQL 17 feature matrix
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 22 May 2024 22:56:54 +0000 (18:56 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 22 May 2024 22:56:54 +0000 (18:56 -0400)
pgweb/featurematrix/migrations/0010_feature_v17.py [new file with mode: 0644]
pgweb/featurematrix/models.py

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