0003_patterntype.py
1.08 KB
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('patterns', '0002_auto_20151212_2134'),
('dictionary', '0006_auto_20151212_2134'),
]
state_operations = [
migrations.CreateModel(
name='PatternType',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('symbol', models.CharField(max_length=32, verbose_name='pattern type', db_column=b'wtyp', blank=True)),
('base_form_labels', models.ManyToManyField(to='patterns.BaseFormLabel')),
('lexical_class', models.ForeignKey(db_column=b'czm', verbose_name='inflection type', to='patterns.InflectionType')),
],
options={
'ordering': ['symbol'],
'db_table': 'typywzorow',
},
),
]
operations = [
migrations.SeparateDatabaseAndState(state_operations=state_operations),
]