0005_auto_20151213_0132.py
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dictionary', '0009_auto_20151213_0132'),
('patterns', '0004_pattern'),
]
state_operations = [
migrations.CreateModel(
name='Ending',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('index', models.IntegerField(db_column=b'zind')),
('string', models.CharField(max_length=16, db_column=b'zak', blank=True)),
('base_form_label', models.ForeignKey(to='patterns.BaseFormLabel', db_column=b'efobaz')),
('pattern', models.ForeignKey(related_name='endings', db_column=b'w_id', to='patterns.Pattern')),
('qualifiers', models.ManyToManyField(to='dictionary.Qualifier', db_table=b'kwalifikatory_zakonczen', blank=True)),
],
options={
'ordering': ['base_form_label__index', 'index'],
'db_table': 'zakonczenia',
},
),
migrations.AlterUniqueTogether(
name='ending',
unique_together=set([('pattern', 'base_form_label', 'index')]),
),
]
operations = [
migrations.SeparateDatabaseAndState(state_operations=state_operations),
]