0002_auto_20151212_2134.py 1.09 KB
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('patterns', '0001_initial'),
        ('dictionary', '0005_auto_20151212_1206'),
    ]

    state_operations = [
        migrations.CreateModel(
            name='BaseFormLabel',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('symbol', models.CharField(max_length=32, db_column=b'efobaz', blank=True)),
                ('index', models.IntegerField()),
                ('lexical_class', models.ForeignKey(to='patterns.InflectionType')),
            ],
            options={
                'ordering': ['index'],
                'db_table': 'efobazy',
            },
        ),
        migrations.AlterUniqueTogether(
            name='baseformlabel',
            unique_together=set([('symbol', 'lexical_class')]),
        ),
    ]

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