Add PostgreSQL 15 to the feature matrix

This commit is contained in:
Jonathan S. Katz
2022-05-14 14:58:13 -04:00
parent abdeda2764
commit b6f8b0c4b3
2 changed files with 20 additions and 0 deletions

View File

@ -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"),
]

View 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/.*', )