0007_auto_20151212_2218.py 1.81 KB
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('dictionary', '0006_auto_20151212_2134'),
        ('patterns', '0003_patterntype'),
    ]

    state_operations = [
        migrations.RemoveField(
            model_name='patterntype',
            name='base_form_labels',
        ),
        migrations.DeleteModel(
            name='PatternType',
        ),
    ]

    operations = [
        # migrations.RemoveField(
        #     model_name='patterntype',
        #     name='lexical_class',
        # ),
        migrations.AlterField(
            model_name='exportcell',
            name='pattern_types',
            field=models.ManyToManyField(to='patterns.PatternType'),
        ),
        migrations.AlterField(
            model_name='paradygmatywsjp',
            name='typr',
            field=models.ForeignKey(to='patterns.PatternType', db_column=b'typr'),
        ),
        migrations.AlterField(
            model_name='pattern',
            name='type',
            field=models.ForeignKey(db_column=b'typ', verbose_name='type', to='patterns.PatternType'),
        ),
        migrations.AlterField(
            model_name='tablecell',
            name='pattern_types',
            field=models.ManyToManyField(to='patterns.PatternType'),
        ),
        migrations.AlterField(
            model_name='tableheader',
            name='pattern_types',
            field=models.ManyToManyField(to='patterns.PatternType'),
        ),
        migrations.AlterField(
            model_name='tabletemplate',
            name='pattern_types',
            field=models.ManyToManyField(to='patterns.PatternType'),
        ),
        migrations.SeparateDatabaseAndState(state_operations=state_operations),
    ]