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
561 B
Python
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"),
|
|
]
|