mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Add "v11" to the PostgreSQL Feature Matrix.
This will allow us to populate new features added to PostgreSQL 11 earlier in the release lifecycle to help drive more awareness to what has changed.
This commit is contained in:
21
pgweb/featurematrix/migrations/0004_feature_v11.py
Normal file
21
pgweb/featurematrix/migrations/0004_feature_v11.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.11.13 on 2018-06-06 14:31
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('featurematrix', '0003_feature_v10'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='feature',
|
||||||
|
name='v11',
|
||||||
|
field=models.IntegerField(choices=[(0, b'No'), (1, b'Yes'), (2, b'Obsolete'), (3, b'?')], default=0, verbose_name=b'11'),
|
||||||
|
),
|
||||||
|
migrations.RunSQL("UPDATE featurematrix_feature SET v11=v10 WHERE NOT v11=v10"),
|
||||||
|
]
|
@ -43,6 +43,7 @@ class Feature(models.Model):
|
|||||||
v95 = models.IntegerField(verbose_name="9.5", null=False, blank=False, default=0, choices=choices)
|
v95 = models.IntegerField(verbose_name="9.5", null=False, blank=False, default=0, choices=choices)
|
||||||
v96 = models.IntegerField(verbose_name="9.6", null=False, blank=False, default=0, choices=choices)
|
v96 = models.IntegerField(verbose_name="9.6", null=False, blank=False, default=0, choices=choices)
|
||||||
v10 = models.IntegerField(verbose_name="10", null=False, blank=False, default=0, choices=choices)
|
v10 = models.IntegerField(verbose_name="10", null=False, blank=False, default=0, choices=choices)
|
||||||
|
v11 = models.IntegerField(verbose_name="11", null=False, blank=False, default=0, choices=choices)
|
||||||
|
|
||||||
purge_urls = ('/about/featurematrix/.*', )
|
purge_urls = ('/about/featurematrix/.*', )
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user