0006_auto_20151213_1153.py
1.05 KB
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dictionary', '0010_auto_20151213_1155'),
('patterns', '0005_auto_20151213_0132'),
]
state_operations = [
migrations.CreateModel(
name='PatternExample',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('gender', models.ForeignKey(to='dictionary.Gender')),
('lexeme', models.ForeignKey(to='dictionary.Lexeme')),
('pattern', models.ForeignKey(to='patterns.Pattern')),
],
options={
'ordering': ['gender'],
},
),
migrations.AlterUniqueTogether(
name='patternexample',
unique_together=set([('pattern', 'gender')]),
),
]
operations = [
migrations.SeparateDatabaseAndState(state_operations=state_operations)
]