mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00

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.
21 lines
569 B
Python
21 lines
569 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('featurematrix', '0002_featurematrix_96'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='feature',
|
|
name='v10',
|
|
field=models.IntegerField(default=0, verbose_name='10', choices=[(0, 'No'), (1, 'Yes'), (2, 'Obsolete'), (3, '?')]),
|
|
),
|
|
migrations.RunSQL("UPDATE featurematrix_feature SET v10=v96 WHERE NOT v10=v96"),
|
|
]
|