0001_initial.py 779 Bytes
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('dictionary', '0012_auto_20151213_1217'),
    ]

    state_operations = [
        migrations.CreateModel(
            name='Variant',
            fields=[
                ('id', models.CharField(max_length=32, serialize=False, primary_key=True, db_column=b'wariant')),
                ('type', models.CharField(max_length=10, choices=[(b'table', b'tabelka'), (b'export', b'eksport')])),
            ],
            options={
                'db_table': 'warianty',
            },
        ),
    ]

    operations = [
        migrations.SeparateDatabaseAndState(state_operations=state_operations)
    ]