Files
postgres-web/pgweb/featurematrix/migrations/0002_featurematrix_96.py
Magnus Hagander e151c08218 Update migrations for py3
A lot of strings in the migrations needed a change from b' to ' to work
after the migration to py3, but this was forgotten in the big patch.

No actual changes included in this patch.
A lot of strings in the migrations needed a change from b' to ' to work
after the migration to py3, but this was forgotten in the big patch.
2019-02-10 14:48:34 +01:00

21 lines
561 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('featurematrix', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='feature',
name='v96',
field=models.IntegerField(default=0, verbose_name='9.6', choices=[(0, 'No'), (1, 'Yes'), (2, 'Obsolete'), (3, '?')]),
),
migrations.RunSQL("UPDATE featurematrix_feature SET v96=v95 WHERE NOT v96=v95"),
]