Blame view

dictionary/migrations/0001_initial.py 59.5 KB
janek37 authored
1
2
3
4
5
6
7
8
9
10
11
# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):
    def forwards(self, orm):
        # Adding model 'QualifierExclusionClass'
        db.create_table('klasy_wykluczania', (
janek37 authored
12
13
14
15
16
17
18
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True,
                max_length=64, db_column='nazwa')),
            ('vocabulary',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Vocabulary'], db_column='slownik')),
janek37 authored
19
20
21
22
23
        ))
        db.send_create_signal('dictionary', ['QualifierExclusionClass'])

        # Adding model 'Qualifier'
        db.create_table('kwalifikatory', (
janek37 authored
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('label',
            self.gf('django.db.models.fields.CharField')(max_length=64,
                db_column='kwal')),
            ('vocabulary',
            self.gf('django.db.models.fields.related.ForeignKey')(
                related_name='qualifiers', db_column='slownik',
                to=orm['dictionary.Vocabulary'])),
            ('exclusion_class',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.QualifierExclusionClass'], null=True,
                db_column='klasa', blank=True)),
            ('deleted',
            self.gf('django.db.models.fields.BooleanField')(default=False,
                db_column='usuniety')),
janek37 authored
40
41
42
43
44
45
46
47
        ))
        db.send_create_signal('dictionary', ['Qualifier'])

        # Adding unique constraint on 'Qualifier', fields ['label', 'vocabulary']
        db.create_unique('kwalifikatory', ['kwal', 'slownik'])

        # Adding model 'Classification'
        db.create_table('klasyfikacje', (
janek37 authored
48
49
50
51
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True,
                max_length=64, db_column='nazwa')),
janek37 authored
52
53
54
55
56
        ))
        db.send_create_signal('dictionary', ['Classification'])

        # Adding model 'ClassificationValue'
        db.create_table('wartosci_klasyfikacji', (
janek37 authored
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('label', self.gf('django.db.models.fields.CharField')(unique=True,
                max_length=64, db_column='nazwa')),
            ('classification',
            self.gf('django.db.models.fields.related.ForeignKey')(
                related_name='values', db_column='klas_id',
                to=orm['dictionary.Classification'])),
            ('parent_node',
            self.gf('django.db.models.fields.related.ForeignKey')(blank=True,
                related_name='child_nodes', null=True, db_column='rodzic',
                to=orm['dictionary.ClassificationValue'])),
            ('deleted',
            self.gf('django.db.models.fields.BooleanField')(default=False,
                db_column='usunieta')),
janek37 authored
72
73
74
75
76
        ))
        db.send_create_signal('dictionary', ['ClassificationValue'])

        # Adding M2M table for field lexemes on 'ClassificationValue'
        db.create_table('wartosci_klasyfikacji_lexemes', (
janek37 authored
77
78
79
80
81
            ('id', models.AutoField(verbose_name='ID', primary_key=True,
                auto_created=True)),
            ('classificationvalue',
            models.ForeignKey(orm['dictionary.classificationvalue'],
                null=False)),
janek37 authored
82
83
            ('lexeme', models.ForeignKey(orm['dictionary.lexeme'], null=False))
        ))
janek37 authored
84
85
        db.create_unique('wartosci_klasyfikacji_lexemes',
            ['classificationvalue_id', 'lexeme_id'])
janek37 authored
86
87
88

        # Adding model 'LexicalClass'
        db.create_table('czescimowy', (
janek37 authored
89
90
91
            ('symbol',
            self.gf('django.db.models.fields.CharField')(max_length=16,
                primary_key=True, db_column='czm')),
janek37 authored
92
93
94
95
96
        ))
        db.send_create_signal('dictionary', ['LexicalClass'])

        # Adding model 'PartOfSpeech'
        db.create_table('klasygramatyczne', (
janek37 authored
97
98
99
100
101
102
            ('symbol',
            self.gf('django.db.models.fields.CharField')(max_length=16,
                primary_key=True, db_column='pos')),
            ('lexical_class',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.LexicalClass'], db_column='czm')),
janek37 authored
103
104
105
106
107
        ))
        db.send_create_signal('dictionary', ['PartOfSpeech'])

        # Adding model 'BaseFormLabel'
        db.create_table('efobazy', (
janek37 authored
108
109
110
111
112
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('entry',
            self.gf('django.db.models.fields.CharField')(max_length=32,
                db_column='efobaz', blank=True)),
janek37 authored
113
114
115
116
117
        ))
        db.send_create_signal('dictionary', ['BaseFormLabel'])

        # Adding model 'InflectionCharacteristic'
        db.create_table('charfle', (
janek37 authored
118
119
120
121
122
123
124
125
126
127
128
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('entry',
            self.gf('django.db.models.fields.CharField')(max_length=16,
                db_column='charfl', blank=True)),
            ('part_of_speech',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.PartOfSpeech'], db_column='pos')),
            ('basic_form_label',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.BaseFormLabel'], db_column='efobaz')),
janek37 authored
129
130
131
132
133
134
135
136
        ))
        db.send_create_signal('dictionary', ['InflectionCharacteristic'])

        # Adding unique constraint on 'InflectionCharacteristic', fields ['entry', 'part_of_speech']
        db.create_unique('charfle', ['charfl', 'pos'])

        # Adding model 'PatternType'
        db.create_table('typywzorow', (
janek37 authored
137
138
139
140
141
142
143
144
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('lexical_class',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.LexicalClass'], db_column='czm')),
            ('entry',
            self.gf('django.db.models.fields.CharField')(max_length=32,
                db_column='wtyp', blank=True)),
janek37 authored
145
146
147
148
149
        ))
        db.send_create_signal('dictionary', ['PatternType'])

        # Adding model 'Pattern'
        db.create_table('wzory', (
janek37 authored
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('name', self.gf('django.db.models.fields.CharField')(unique=True,
                max_length=32, db_column='w_id')),
            ('type', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.PatternType'], db_column='typ')),
            ('example',
            self.gf('django.db.models.fields.CharField')(max_length=64,
                db_column='przyklad')),
            ('basic_form_ending',
            self.gf('django.db.models.fields.CharField')(max_length=32,
                db_column='zakp', blank=True)),
            ('status',
            self.gf('django.db.models.fields.CharField')(max_length=8)),
            ('comment',
            self.gf('django.db.models.fields.TextField')(db_column='komentarz',
                blank=True)),
janek37 authored
167
168
169
170
171
        ))
        db.send_create_signal('dictionary', ['Pattern'])

        # Adding model 'Ending'
        db.create_table('zakonczenia', (
janek37 authored
172
173
174
175
176
177
178
179
180
181
182
183
184
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('pattern', self.gf('django.db.models.fields.related.ForeignKey')(
                related_name='endings', db_column='w_id',
                to=orm['dictionary.Pattern'])),
            ('base_form_label',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.BaseFormLabel'], db_column='efobaz')),
            ('index',
            self.gf('django.db.models.fields.IntegerField')(db_column='zind')),
            ('string',
            self.gf('django.db.models.fields.CharField')(max_length=16,
                db_column='zak', blank=True)),
janek37 authored
185
186
187
188
189
190
191
192
        ))
        db.send_create_signal('dictionary', ['Ending'])

        # Adding unique constraint on 'Ending', fields ['pattern', 'base_form_label', 'index']
        db.create_unique('zakonczenia', ['w_id', 'efobaz', 'zind'])

        # Adding M2M table for field qualifiers on 'Ending'
        db.create_table('kwalifikatory_zakonczen', (
janek37 authored
193
194
            ('id', models.AutoField(verbose_name='ID', primary_key=True,
                auto_created=True)),
janek37 authored
195
            ('ending', models.ForeignKey(orm['dictionary.ending'], null=False)),
janek37 authored
196
197
            ('qualifier',
            models.ForeignKey(orm['dictionary.qualifier'], null=False))
janek37 authored
198
        ))
janek37 authored
199
200
        db.create_unique('kwalifikatory_zakonczen',
            ['ending_id', 'qualifier_id'])
janek37 authored
201
202
203

        # Adding model 'Lexeme'
        db.create_table('leksemy', (
janek37 authored
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('entry',
            self.gf('django.db.models.fields.CharField')(db_index=True,
                max_length=64, db_column='haslo', blank=True)),
            ('entry_suffix',
            self.gf('django.db.models.fields.CharField')(max_length=16,
                db_column='haslosuf', blank=True)),
            ('gloss',
            self.gf('django.db.models.fields.TextField')(db_column='glosa',
                blank=True)),
            ('homonym_number',
            self.gf('django.db.models.fields.IntegerField')(db_column='hom')),
            ('part_of_speech',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.PartOfSpeech'], db_column='pos')),
            ('owner_vocabulary',
            self.gf('django.db.models.fields.related.ForeignKey')(
                related_name='owned_lexemes', db_column='slownik',
                to=orm['dictionary.Vocabulary'])),
            ('source',
            self.gf('django.db.models.fields.CharField')(max_length=32,
                db_column='zrodlo', blank=True)),
            ('status',
            self.gf('django.db.models.fields.CharField')(max_length=8,
                db_column='status')),
            ('comment',
            self.gf('django.db.models.fields.TextField')(db_column='komentarz',
                blank=True)),
            ('last_modified',
            self.gf('django.db.models.fields.DateTimeField')(auto_now=True,
                db_column='data_modyfikacji', blank=True)),
            ('responsible',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['auth.User'], null=True, db_column='odpowiedzialny',
                blank=True)),
            ('deleted',
            self.gf('django.db.models.fields.BooleanField')(default=False,
                db_column='usuniety')),
janek37 authored
243
244
245
246
247
        ))
        db.send_create_signal('dictionary', ['Lexeme'])

        # Adding M2M table for field qualifiers on 'Lexeme'
        db.create_table('kwalifikatory_leksemow', (
janek37 authored
248
249
            ('id', models.AutoField(verbose_name='ID', primary_key=True,
                auto_created=True)),
janek37 authored
250
            ('lexeme', models.ForeignKey(orm['dictionary.lexeme'], null=False)),
janek37 authored
251
252
            ('qualifier',
            models.ForeignKey(orm['dictionary.qualifier'], null=False))
janek37 authored
253
        ))
janek37 authored
254
255
        db.create_unique('kwalifikatory_leksemow',
            ['lexeme_id', 'qualifier_id'])
janek37 authored
256
257
258

        # Adding model 'LexemeInflectionPattern'
        db.create_table('odmieniasie', (
janek37 authored
259
260
261
262
263
264
265
266
267
268
269
270
271
272
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Lexeme'], db_column='l_id')),
            ('index',
            self.gf('django.db.models.fields.IntegerField')(db_column='oind')),
            ('pattern', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Pattern'], db_column='w_id')),
            ('inflection_characteristic',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.InflectionCharacteristic'],
                db_column='charfl')),
            ('root', self.gf('django.db.models.fields.CharField')(max_length=64,
                db_column='rdzen')),
janek37 authored
273
274
275
276
277
278
279
280
        ))
        db.send_create_signal('dictionary', ['LexemeInflectionPattern'])

        # Adding unique constraint on 'LexemeInflectionPattern', fields ['lexeme', 'index']
        db.create_unique('odmieniasie', ['l_id', 'oind'])

        # Adding M2M table for field qualifiers on 'LexemeInflectionPattern'
        db.create_table('kwalifikatory_odmieniasiow', (
janek37 authored
281
282
283
284
285
286
287
            ('id', models.AutoField(verbose_name='ID', primary_key=True,
                auto_created=True)),
            ('lexemeinflectionpattern',
            models.ForeignKey(orm['dictionary.lexemeinflectionpattern'],
                null=False)),
            ('qualifier',
            models.ForeignKey(orm['dictionary.qualifier'], null=False))
janek37 authored
288
        ))
janek37 authored
289
290
        db.create_unique('kwalifikatory_odmieniasiow',
            ['lexemeinflectionpattern_id', 'qualifier_id'])
janek37 authored
291
292
293

        # Adding model 'Vocabulary'
        db.create_table('slowniki', (
janek37 authored
294
295
            ('id', self.gf('django.db.models.fields.CharField')(max_length=64,
                primary_key=True, db_column='slownik')),
janek37 authored
296
297
298
299
300
        ))
        db.send_create_signal('dictionary', ['Vocabulary'])

        # Adding M2M table for field managers on 'Vocabulary'
        db.create_table('slowniki_managers', (
janek37 authored
301
302
303
304
            ('id', models.AutoField(verbose_name='ID', primary_key=True,
                auto_created=True)),
            ('vocabulary',
            models.ForeignKey(orm['dictionary.vocabulary'], null=False)),
janek37 authored
305
306
307
308
309
310
            ('user', models.ForeignKey(orm['auth.user'], null=False))
        ))
        db.create_unique('slowniki_managers', ['vocabulary_id', 'user_id'])

        # Adding M2M table for field viewers on 'Vocabulary'
        db.create_table('slowniki_viewers', (
janek37 authored
311
312
313
314
            ('id', models.AutoField(verbose_name='ID', primary_key=True,
                auto_created=True)),
            ('vocabulary',
            models.ForeignKey(orm['dictionary.vocabulary'], null=False)),
janek37 authored
315
316
317
318
319
320
            ('user', models.ForeignKey(orm['auth.user'], null=False))
        ))
        db.create_unique('slowniki_viewers', ['vocabulary_id', 'user_id'])

        # Adding M2M table for field editors on 'Vocabulary'
        db.create_table('slowniki_editors', (
janek37 authored
321
322
323
324
            ('id', models.AutoField(verbose_name='ID', primary_key=True,
                auto_created=True)),
            ('vocabulary',
            models.ForeignKey(orm['dictionary.vocabulary'], null=False)),
janek37 authored
325
326
327
328
329
330
            ('user', models.ForeignKey(orm['auth.user'], null=False))
        ))
        db.create_unique('slowniki_editors', ['vocabulary_id', 'user_id'])

        # Adding M2M table for field classifications on 'Vocabulary'
        db.create_table('slowniki_classifications', (
janek37 authored
331
332
333
334
335
336
            ('id', models.AutoField(verbose_name='ID', primary_key=True,
                auto_created=True)),
            ('vocabulary',
            models.ForeignKey(orm['dictionary.vocabulary'], null=False)),
            ('classification',
            models.ForeignKey(orm['dictionary.classification'], null=False))
janek37 authored
337
        ))
janek37 authored
338
339
        db.create_unique('slowniki_classifications',
            ['vocabulary_id', 'classification_id'])
janek37 authored
340
341
342

        # Adding model 'LexemeAssociation'
        db.create_table('leksemy_w_slownikach', (
janek37 authored
343
344
345
346
347
348
349
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Lexeme'], db_column='l_id')),
            ('vocabulary',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Vocabulary'], db_column='slownik')),
janek37 authored
350
351
352
353
354
        ))
        db.send_create_signal('dictionary', ['LexemeAssociation'])

        # Adding model 'CrossReferenceType'
        db.create_table('typyodsylaczy', (
janek37 authored
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('symbol',
            self.gf('django.db.models.fields.CharField')(max_length=10,
                db_column='typods')),
            ('desc', self.gf('django.db.models.fields.CharField')(max_length=40,
                db_column='naglowek')),
            ('index', self.gf('django.db.models.fields.IntegerField')(
                db_column='kolejnosc')),
            ('from_pos', self.gf('django.db.models.fields.related.ForeignKey')(
                related_name='crtype_to', db_column='pos1',
                to=orm['dictionary.PartOfSpeech'])),
            ('to_pos', self.gf('django.db.models.fields.related.ForeignKey')(
                related_name='crtype_from', db_column='pos2',
                to=orm['dictionary.PartOfSpeech'])),
janek37 authored
370
371
372
373
374
        ))
        db.send_create_signal('dictionary', ['CrossReferenceType'])

        # Adding model 'CrossReference'
        db.create_table('odsylacze', (
janek37 authored
375
376
377
378
379
380
381
382
383
384
385
386
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('from_lexeme',
            self.gf('django.db.models.fields.related.ForeignKey')(
                related_name='refs_to', db_column='l_id_od',
                to=orm['dictionary.Lexeme'])),
            ('to_lexeme', self.gf('django.db.models.fields.related.ForeignKey')(
                related_name='refs_from', db_column='l_id_do',
                to=orm['dictionary.Lexeme'])),
            ('type', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.CrossReferenceType'],
                db_column='typods_id')),
janek37 authored
387
388
389
390
391
        ))
        db.send_create_signal('dictionary', ['CrossReference'])

        # Adding model 'Variant'
        db.create_table('warianty', (
janek37 authored
392
393
            ('id', self.gf('django.db.models.fields.CharField')(max_length=32,
                primary_key=True, db_column='wariant')),
janek37 authored
394
395
396
397
398
        ))
        db.send_create_signal('dictionary', ['Variant'])

        # Adding model 'TableTemplate'
        db.create_table('szablony_tabel', (
janek37 authored
399
400
401
402
403
404
405
406
407
408
409
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('variant', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Variant'], db_column='wariant')),
            ('pattern_type',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.PatternType'], db_column='wtyp')),
            ('inflection_characteristic',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.InflectionCharacteristic'],
                db_column='charfl')),
janek37 authored
410
411
412
413
414
        ))
        db.send_create_signal('dictionary', ['TableTemplate'])

        # Adding model 'Cell'
        db.create_table('klatki', (
janek37 authored
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('table_template',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.TableTemplate'], db_column='st_id')),
            ('base_form_label',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.BaseFormLabel'], db_column='efobaz')),
            ('tag',
            self.gf('django.db.models.fields.TextField')(db_column='tag',
                blank=True)),
            ('prefix',
            self.gf('django.db.models.fields.CharField')(max_length=20,
                db_column='prefiks', blank=True)),
            ('suffix',
            self.gf('django.db.models.fields.CharField')(max_length=20,
                db_column='sufiks', blank=True)),
            ('index',
            self.gf('django.db.models.fields.IntegerField')(db_column='kind')),
janek37 authored
434
435
436
437
438
        ))
        db.send_create_signal('dictionary', ['Cell'])

        # Adding model 'TableCell'
        db.create_table('komorki_tabel', (
janek37 authored
439
440
441
442
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('cell', self.gf('django.db.models.fields.related.OneToOneField')(
                to=orm['dictionary.Cell'], unique=True, db_column='k_id')),
janek37 authored
443
444
445
446
447
448
449
450
451
            ('row', self.gf('django.db.models.fields.IntegerField')()),
            ('col', self.gf('django.db.models.fields.IntegerField')()),
            ('rowspan', self.gf('django.db.models.fields.IntegerField')()),
            ('colspan', self.gf('django.db.models.fields.IntegerField')()),
        ))
        db.send_create_signal('dictionary', ['TableCell'])

        # Adding model 'TableHeader'
        db.create_table('naglowki_tabel', (
janek37 authored
452
453
454
455
456
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('table_template',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.TableTemplate'], db_column='st_id')),
janek37 authored
457
458
459
460
            ('row', self.gf('django.db.models.fields.IntegerField')()),
            ('col', self.gf('django.db.models.fields.IntegerField')()),
            ('rowspan', self.gf('django.db.models.fields.IntegerField')()),
            ('colspan', self.gf('django.db.models.fields.IntegerField')()),
janek37 authored
461
462
463
464
465
466
            ('label',
            self.gf('django.db.models.fields.CharField')(max_length=64,
                db_column='nagl', blank=True)),
            ('row_header',
            self.gf('django.db.models.fields.BooleanField')(default=False,
                db_column='wierszowy')),
janek37 authored
467
468
469
470
471
        ))
        db.send_create_signal('dictionary', ['TableHeader'])

        # Adding model 'ParadygmatyWSJP'
        db.create_table('paradygmatywsjp', (
janek37 authored
472
473
474
475
476
477
478
479
480
481
482
483
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('wariant',
            self.gf('django.db.models.fields.CharField')(max_length=4)),
            ('typr', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.PatternType'], db_column='typr')),
            ('charfl', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.InflectionCharacteristic'],
                db_column='charfl')),
            ('podparad',
            self.gf('django.db.models.fields.CharField')(max_length=4,
                blank=True)),
janek37 authored
484
485
486
487
            ('row', self.gf('django.db.models.fields.IntegerField')()),
            ('col', self.gf('django.db.models.fields.IntegerField')()),
            ('rowspan', self.gf('django.db.models.fields.IntegerField')()),
            ('colspan', self.gf('django.db.models.fields.IntegerField')()),
janek37 authored
488
489
            ('efobaz', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.BaseFormLabel'], db_column='efobaz')),
janek37 authored
490
            ('morf', self.gf('django.db.models.fields.TextField')()),
janek37 authored
491
492
493
494
            ('pref', self.gf('django.db.models.fields.CharField')(max_length=20,
                blank=True)),
            ('suf', self.gf('django.db.models.fields.CharField')(max_length=20,
                blank=True)),
janek37 authored
495
496
497
498
499
500
            ('kskl', self.gf('django.db.models.fields.IntegerField')()),
        ))
        db.send_create_signal('dictionary', ['ParadygmatyWSJP'])

        # Adding model 'LexemeForm'
        db.create_table('dictionary_lexemeform', (
janek37 authored
501
502
503
504
505
506
507
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Lexeme'])),
            ('form',
            self.gf('django.db.models.fields.CharField')(max_length=128,
                db_index=True)),
janek37 authored
508
509
510
511
512
        ))
        db.send_create_signal('dictionary', ['LexemeForm'])

        # Adding model 'SavedFilter'
        db.create_table('dictionary_savedfilter', (
janek37 authored
513
514
515
516
517
518
519
520
521
522
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('serialized_filter',
            self.gf('django.db.models.fields.TextField')()),
            ('name',
            self.gf('django.db.models.fields.CharField')(max_length=64)),
            ('user', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['auth.User'])),
            ('super',
            self.gf('django.db.models.fields.BooleanField')(default=False)),
janek37 authored
523
524
525
526
527
528
529
530
        ))
        db.send_create_signal('dictionary', ['SavedFilter'])

        # Adding unique constraint on 'SavedFilter', fields ['name', 'user']
        db.create_unique('dictionary_savedfilter', ['name', 'user_id'])

        # Adding model 'SavedExportData'
        db.create_table('dictionary_savedexportdata', (
janek37 authored
531
532
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
janek37 authored
533
            ('serialized_data', self.gf('django.db.models.fields.TextField')()),
janek37 authored
534
535
            ('name', self.gf('django.db.models.fields.CharField')(unique=True,
                max_length=64)),
janek37 authored
536
537
538
539
540
        ))
        db.send_create_signal('dictionary', ['SavedExportData'])

        # Adding model 'History'
        db.create_table('history', (
janek37 authored
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('table_name',
            self.gf('django.db.models.fields.CharField')(max_length=120,
                db_column='table_name_')),
            ('column_name',
            self.gf('django.db.models.fields.CharField')(max_length=120,
                db_column='column_name_', blank=True)),
            ('timestamp', self.gf('django.db.models.fields.DateTimeField')(
                db_column='timestamp_')),
            ('user', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['auth.User'], db_column='user_id_')),
            ('old_value',
            self.gf('django.db.models.fields.TextField')(db_column='old_value_',
                blank=True)),
            ('new_value',
            self.gf('django.db.models.fields.TextField')(db_column='new_value_',
                blank=True)),
            ('lexeme', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Lexeme'], null=True, db_column='lexeme_id_',
                blank=True)),
            ('pattern', self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.Pattern'], null=True,
                db_column='pattern_id_', blank=True)),
            ('row_id',
            self.gf('django.db.models.fields.IntegerField')(db_column='id_')),
            ('operation',
            self.gf('django.db.models.fields.CharField')(max_length=120,
                db_column='operation_')),
            ('table_oid', self.gf('django.db.models.fields.IntegerField')(
                db_column='table_oid_')),
            ('column_ord', self.gf('django.db.models.fields.IntegerField')(
                db_column='ordinal_position_of_column_')),
            ('transaction_began',
            self.gf('django.db.models.fields.DateTimeField')(
                db_column='transaction_began_')),
janek37 authored
577
578
579
580
581
        ))
        db.send_create_signal('dictionary', ['History'])

        # Adding model 'InputLexeme'
        db.create_table('dictionary_inputlexeme', (
janek37 authored
582
583
584
585
586
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('entry',
            self.gf('django.db.models.fields.CharField')(max_length=64,
                db_index=True)),
janek37 authored
587
588
589
590
591
        ))
        db.send_create_signal('dictionary', ['InputLexeme'])

        # Adding model 'InputForm'
        db.create_table('dictionary_inputform', (
janek37 authored
592
593
594
595
596
597
598
            ('id',
            self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('input_lexeme',
            self.gf('django.db.models.fields.related.ForeignKey')(
                to=orm['dictionary.InputLexeme'])),
            ('form', self.gf('django.db.models.fields.CharField')(max_length=64,
                db_index=True)),
janek37 authored
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
        ))
        db.send_create_signal('dictionary', ['InputForm'])


    def backwards(self, orm):
        # Removing unique constraint on 'SavedFilter', fields ['name', 'user']
        db.delete_unique('dictionary_savedfilter', ['name', 'user_id'])

        # Removing unique constraint on 'LexemeInflectionPattern', fields ['lexeme', 'index']
        db.delete_unique('odmieniasie', ['l_id', 'oind'])

        # Removing unique constraint on 'Ending', fields ['pattern', 'base_form_label', 'index']
        db.delete_unique('zakonczenia', ['w_id', 'efobaz', 'zind'])

        # Removing unique constraint on 'InflectionCharacteristic', fields ['entry', 'part_of_speech']
        db.delete_unique('charfle', ['charfl', 'pos'])

        # Removing unique constraint on 'Qualifier', fields ['label', 'vocabulary']
        db.delete_unique('kwalifikatory', ['kwal', 'slownik'])

        # Deleting model 'QualifierExclusionClass'
        db.delete_table('klasy_wykluczania')

        # Deleting model 'Qualifier'
        db.delete_table('kwalifikatory')

        # Deleting model 'Classification'
        db.delete_table('klasyfikacje')

        # Deleting model 'ClassificationValue'
        db.delete_table('wartosci_klasyfikacji')

        # Removing M2M table for field lexemes on 'ClassificationValue'
        db.delete_table('wartosci_klasyfikacji_lexemes')

        # Deleting model 'LexicalClass'
        db.delete_table('czescimowy')

        # Deleting model 'PartOfSpeech'
        db.delete_table('klasygramatyczne')

        # Deleting model 'BaseFormLabel'
        db.delete_table('efobazy')

        # Deleting model 'InflectionCharacteristic'
        db.delete_table('charfle')

        # Deleting model 'PatternType'
        db.delete_table('typywzorow')

        # Deleting model 'Pattern'
        db.delete_table('wzory')

        # Deleting model 'Ending'
        db.delete_table('zakonczenia')

        # Removing M2M table for field qualifiers on 'Ending'
        db.delete_table('kwalifikatory_zakonczen')

        # Deleting model 'Lexeme'
        db.delete_table('leksemy')

        # Removing M2M table for field qualifiers on 'Lexeme'
        db.delete_table('kwalifikatory_leksemow')

        # Deleting model 'LexemeInflectionPattern'
        db.delete_table('odmieniasie')

        # Removing M2M table for field qualifiers on 'LexemeInflectionPattern'
        db.delete_table('kwalifikatory_odmieniasiow')

        # Deleting model 'Vocabulary'
        db.delete_table('slowniki')

        # Removing M2M table for field managers on 'Vocabulary'
        db.delete_table('slowniki_managers')

        # Removing M2M table for field viewers on 'Vocabulary'
        db.delete_table('slowniki_viewers')

        # Removing M2M table for field editors on 'Vocabulary'
        db.delete_table('slowniki_editors')

        # Removing M2M table for field classifications on 'Vocabulary'
        db.delete_table('slowniki_classifications')

        # Deleting model 'LexemeAssociation'
        db.delete_table('leksemy_w_slownikach')

        # Deleting model 'CrossReferenceType'
        db.delete_table('typyodsylaczy')

        # Deleting model 'CrossReference'
        db.delete_table('odsylacze')

        # Deleting model 'Variant'
        db.delete_table('warianty')

        # Deleting model 'TableTemplate'
        db.delete_table('szablony_tabel')

        # Deleting model 'Cell'
        db.delete_table('klatki')

        # Deleting model 'TableCell'
        db.delete_table('komorki_tabel')

        # Deleting model 'TableHeader'
        db.delete_table('naglowki_tabel')

        # Deleting model 'ParadygmatyWSJP'
        db.delete_table('paradygmatywsjp')

        # Deleting model 'LexemeForm'
        db.delete_table('dictionary_lexemeform')

        # Deleting model 'SavedFilter'
        db.delete_table('dictionary_savedfilter')

        # Deleting model 'SavedExportData'
        db.delete_table('dictionary_savedexportdata')

        # Deleting model 'History'
        db.delete_table('history')

        # Deleting model 'InputLexeme'
        db.delete_table('dictionary_inputlexeme')

        # Deleting model 'InputForm'
        db.delete_table('dictionary_inputform')


    models = {
        'auth.group': {
            'Meta': {'object_name': 'Group'},
janek37 authored
734
735
736
737
738
739
740
741
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [],
            {'unique': 'True', 'max_length': '80'}),
            'permissions': (
            'django.db.models.fields.related.ManyToManyField', [],
            {'to': "orm['auth.Permission']", 'symmetrical': 'False',
            'blank': 'True'})
janek37 authored
742
743
        },
        'auth.permission': {
janek37 authored
744
745
746
747
748
749
750
751
752
753
754
755
            'Meta': {
            'ordering': "('content_type__app_label', 'content_type__model', 'codename')",
            'unique_together': "(('content_type', 'codename'),)",
            'object_name': 'Permission'},
            'codename': (
            'django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['contenttypes.ContentType']"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': (
            'django.db.models.fields.CharField', [], {'max_length': '50'})
janek37 authored
756
757
758
        },
        'auth.user': {
            'Meta': {'object_name': 'User'},
janek37 authored
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
            'date_joined': ('django.db.models.fields.DateTimeField', [],
            {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [],
            {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [],
            {'max_length': '30', 'blank': 'True'}),
            'groups': ('django.db.models.fields.related.ManyToManyField', [],
            {'to': "orm['auth.Group']", 'symmetrical': 'False',
            'blank': 'True'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': (
            'django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': (
            'django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': (
            'django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [],
            {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [],
            {'max_length': '30', 'blank': 'True'}),
            'password': (
            'django.db.models.fields.CharField', [], {'max_length': '128'}),
            'user_permissions': (
            'django.db.models.fields.related.ManyToManyField', [],
            {'to': "orm['auth.Permission']", 'symmetrical': 'False',
            'blank': 'True'}),
            'username': ('django.db.models.fields.CharField', [],
            {'unique': 'True', 'max_length': '30'})
janek37 authored
788
789
        },
        'contenttypes.contenttype': {
janek37 authored
790
791
792
793
794
795
796
797
798
799
800
            'Meta': {'ordering': "('name',)",
            'unique_together': "(('app_label', 'model'),)",
            'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': (
            'django.db.models.fields.CharField', [], {'max_length': '100'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': (
            'django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': (
            'django.db.models.fields.CharField', [], {'max_length': '100'})
janek37 authored
801
802
803
        },
        'dictionary.baseformlabel': {
            'Meta': {'object_name': 'BaseFormLabel', 'db_table': "'efobazy'"},
janek37 authored
804
805
806
807
            'entry': ('django.db.models.fields.CharField', [],
            {'max_length': '32', 'db_column': "'efobaz'", 'blank': 'True'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'})
janek37 authored
808
809
        },
        'dictionary.cell': {
janek37 authored
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
            'Meta': {'ordering': "['index']", 'object_name': 'Cell',
            'db_table': "'klatki'"},
            'base_form_label': (
            'django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'index': ('django.db.models.fields.IntegerField', [],
            {'db_column': "'kind'"}),
            'prefix': ('django.db.models.fields.CharField', [],
            {'max_length': '20', 'db_column': "'prefiks'", 'blank': 'True'}),
            'suffix': ('django.db.models.fields.CharField', [],
            {'max_length': '20', 'db_column': "'sufiks'", 'blank': 'True'}),
            'table_template': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"}),
            'tag': ('django.db.models.fields.TextField', [],
            {'db_column': "'tag'", 'blank': 'True'})
janek37 authored
827
828
        },
        'dictionary.classification': {
janek37 authored
829
830
831
832
833
834
            'Meta': {'object_name': 'Classification',
            'db_table': "'klasyfikacje'"},
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [],
            {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"})
janek37 authored
835
836
        },
        'dictionary.classificationvalue': {
janek37 authored
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
            'Meta': {'object_name': 'ClassificationValue',
            'db_table': "'wartosci_klasyfikacji'"},
            'classification': ('django.db.models.fields.related.ForeignKey', [],
            {'related_name': "'values'", 'db_column': "'klas_id'",
            'to': "orm['dictionary.Classification']"}),
            'deleted': ('django.db.models.fields.BooleanField', [],
            {'default': 'False', 'db_column': "'usunieta'"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [],
            {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}),
            'lexemes': ('django.db.models.fields.related.ManyToManyField', [],
            {'to': "orm['dictionary.Lexeme']", 'symmetrical': 'False',
            'blank': 'True'}),
            'parent_node': ('django.db.models.fields.related.ForeignKey', [],
            {'blank': 'True', 'related_name': "'child_nodes'", 'null': 'True',
            'db_column': "'rodzic'",
            'to': "orm['dictionary.ClassificationValue']"})
janek37 authored
855
856
        },
        'dictionary.crossreference': {
janek37 authored
857
858
859
860
861
862
863
864
865
866
867
868
869
            'Meta': {'object_name': 'CrossReference',
            'db_table': "'odsylacze'"},
            'from_lexeme': ('django.db.models.fields.related.ForeignKey', [],
            {'related_name': "'refs_to'", 'db_column': "'l_id_od'",
            'to': "orm['dictionary.Lexeme']"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'to_lexeme': ('django.db.models.fields.related.ForeignKey', [],
            {'related_name': "'refs_from'", 'db_column': "'l_id_do'",
            'to': "orm['dictionary.Lexeme']"}),
            'type': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.CrossReferenceType']",
            'db_column': "'typods_id'"})
janek37 authored
870
871
        },
        'dictionary.crossreferencetype': {
janek37 authored
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
            'Meta': {'object_name': 'CrossReferenceType',
            'db_table': "'typyodsylaczy'"},
            'desc': ('django.db.models.fields.CharField', [],
            {'max_length': '40', 'db_column': "'naglowek'"}),
            'from_pos': ('django.db.models.fields.related.ForeignKey', [],
            {'related_name': "'crtype_to'", 'db_column': "'pos1'",
            'to': "orm['dictionary.PartOfSpeech']"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'index': ('django.db.models.fields.IntegerField', [],
            {'db_column': "'kolejnosc'"}),
            'symbol': ('django.db.models.fields.CharField', [],
            {'max_length': '10', 'db_column': "'typods'"}),
            'to_pos': ('django.db.models.fields.related.ForeignKey', [],
            {'related_name': "'crtype_from'", 'db_column': "'pos2'",
            'to': "orm['dictionary.PartOfSpeech']"})
janek37 authored
888
889
        },
        'dictionary.ending': {
janek37 authored
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
            'Meta': {'ordering': "['index']",
            'unique_together': "(('pattern', 'base_form_label', 'index'),)",
            'object_name': 'Ending', 'db_table': "'zakonczenia'"},
            'base_form_label': (
            'django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'index': ('django.db.models.fields.IntegerField', [],
            {'db_column': "'zind'"}),
            'pattern': ('django.db.models.fields.related.ForeignKey', [],
            {'related_name': "'endings'", 'db_column': "'w_id'",
            'to': "orm['dictionary.Pattern']"}),
            'qualifiers': (
            'django.db.models.fields.related.ManyToManyField', [],
            {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False',
            'db_table': "'kwalifikatory_zakonczen'", 'blank': 'True'}),
            'string': ('django.db.models.fields.CharField', [],
            {'max_length': '16', 'db_column': "'zak'", 'blank': 'True'})
janek37 authored
909
910
911
        },
        'dictionary.history': {
            'Meta': {'object_name': 'History', 'db_table': "'history'"},
janek37 authored
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
            'column_name': ('django.db.models.fields.CharField', [],
            {'max_length': '120', 'db_column': "'column_name_'",
            'blank': 'True'}),
            'column_ord': ('django.db.models.fields.IntegerField', [],
            {'db_column': "'ordinal_position_of_column_'"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'lexeme': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Lexeme']", 'null': 'True',
            'db_column': "'lexeme_id_'", 'blank': 'True'}),
            'new_value': ('django.db.models.fields.TextField', [],
            {'db_column': "'new_value_'", 'blank': 'True'}),
            'old_value': ('django.db.models.fields.TextField', [],
            {'db_column': "'old_value_'", 'blank': 'True'}),
            'operation': ('django.db.models.fields.CharField', [],
            {'max_length': '120', 'db_column': "'operation_'"}),
            'pattern': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Pattern']", 'null': 'True',
            'db_column': "'pattern_id_'", 'blank': 'True'}),
            'row_id': (
            'django.db.models.fields.IntegerField', [], {'db_column': "'id_'"}),
            'table_name': ('django.db.models.fields.CharField', [],
            {'max_length': '120', 'db_column': "'table_name_'"}),
            'table_oid': ('django.db.models.fields.IntegerField', [],
            {'db_column': "'table_oid_'"}),
            'timestamp': ('django.db.models.fields.DateTimeField', [],
            {'db_column': "'timestamp_'"}),
            'transaction_began': ('django.db.models.fields.DateTimeField', [],
            {'db_column': "'transaction_began_'"}),
            'user': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['auth.User']", 'db_column': "'user_id_'"})
janek37 authored
943
944
        },
        'dictionary.inflectioncharacteristic': {
janek37 authored
945
946
947
948
949
950
951
952
953
954
955
            'Meta': {'unique_together': "(['entry', 'part_of_speech'],)",
            'object_name': 'InflectionCharacteristic', 'db_table': "'charfle'"},
            'basic_form_label': (
            'django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}),
            'entry': ('django.db.models.fields.CharField', [],
            {'max_length': '16', 'db_column': "'charfl'", 'blank': 'True'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'part_of_speech': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"})
janek37 authored
956
957
958
        },
        'dictionary.inputform': {
            'Meta': {'object_name': 'InputForm'},
janek37 authored
959
960
961
962
963
964
            'form': ('django.db.models.fields.CharField', [],
            {'max_length': '64', 'db_index': 'True'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'input_lexeme': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.InputLexeme']"})
janek37 authored
965
966
967
        },
        'dictionary.inputlexeme': {
            'Meta': {'object_name': 'InputLexeme'},
janek37 authored
968
969
970
971
            'entry': ('django.db.models.fields.CharField', [],
            {'max_length': '64', 'db_index': 'True'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'})
janek37 authored
972
973
974
        },
        'dictionary.lexeme': {
            'Meta': {'object_name': 'Lexeme', 'db_table': "'leksemy'"},
janek37 authored
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
            'comment': ('django.db.models.fields.TextField', [],
            {'db_column': "'komentarz'", 'blank': 'True'}),
            'deleted': ('django.db.models.fields.BooleanField', [],
            {'default': 'False', 'db_column': "'usuniety'"}),
            'entry': ('django.db.models.fields.CharField', [],
            {'db_index': 'True', 'max_length': '64', 'db_column': "'haslo'",
            'blank': 'True'}),
            'entry_suffix': ('django.db.models.fields.CharField', [],
            {'max_length': '16', 'db_column': "'haslosuf'", 'blank': 'True'}),
            'gloss': ('django.db.models.fields.TextField', [],
            {'db_column': "'glosa'", 'blank': 'True'}),
            'homonym_number': (
            'django.db.models.fields.IntegerField', [], {'db_column': "'hom'"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'last_modified': ('django.db.models.fields.DateTimeField', [],
            {'auto_now': 'True', 'db_column': "'data_modyfikacji'",
            'blank': 'True'}),
            'owner_vocabulary': (
            'django.db.models.fields.related.ForeignKey', [],
            {'related_name': "'owned_lexemes'", 'db_column': "'slownik'",
            'to': "orm['dictionary.Vocabulary']"}),
            'part_of_speech': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.PartOfSpeech']", 'db_column': "'pos'"}),
            'patterns': ('django.db.models.fields.related.ManyToManyField', [],
            {'to': "orm['dictionary.Pattern']",
            'through': "orm['dictionary.LexemeInflectionPattern']",
            'symmetrical': 'False'}),
            'qualifiers': (
            'django.db.models.fields.related.ManyToManyField', [],
            {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False',
            'db_table': "'kwalifikatory_leksemow'", 'blank': 'True'}),
            'responsible': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['auth.User']", 'null': 'True',
            'db_column': "'odpowiedzialny'", 'blank': 'True'}),
            'source': ('django.db.models.fields.CharField', [],
            {'max_length': '32', 'db_column': "'zrodlo'", 'blank': 'True'}),
            'status': ('django.db.models.fields.CharField', [],
            {'max_length': '8', 'db_column': "'status'"})
janek37 authored
1014
1015
        },
        'dictionary.lexemeassociation': {
janek37 authored
1016
1017
1018
1019
1020
1021
1022
1023
            'Meta': {'object_name': 'LexemeAssociation',
            'db_table': "'leksemy_w_slownikach'"},
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'lexeme': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}),
            'vocabulary': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"})
janek37 authored
1024
1025
1026
        },
        'dictionary.lexemeform': {
            'Meta': {'object_name': 'LexemeForm'},
janek37 authored
1027
1028
1029
1030
1031
1032
            'form': ('django.db.models.fields.CharField', [],
            {'max_length': '128', 'db_index': 'True'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'lexeme': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Lexeme']"})
janek37 authored
1033
1034
        },
        'dictionary.lexemeinflectionpattern': {
janek37 authored
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
            'Meta': {'ordering': "['index']",
            'unique_together': "(('lexeme', 'index'),)",
            'object_name': 'LexemeInflectionPattern',
            'db_table': "'odmieniasie'"},
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'index': ('django.db.models.fields.IntegerField', [],
            {'db_column': "'oind'"}),
            'inflection_characteristic': (
            'django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.InflectionCharacteristic']",
            'db_column': "'charfl'"}),
            'lexeme': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Lexeme']", 'db_column': "'l_id'"}),
            'pattern': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Pattern']", 'db_column': "'w_id'"}),
            'qualifiers': (
            'django.db.models.fields.related.ManyToManyField', [],
            {'to': "orm['dictionary.Qualifier']", 'symmetrical': 'False',
            'db_table': "'kwalifikatory_odmieniasiow'", 'blank': 'True'}),
            'root': ('django.db.models.fields.CharField', [],
            {'max_length': '64', 'db_column': "'rdzen'"})
janek37 authored
1057
1058
1059
        },
        'dictionary.lexicalclass': {
            'Meta': {'object_name': 'LexicalClass', 'db_table': "'czescimowy'"},
janek37 authored
1060
1061
            'symbol': ('django.db.models.fields.CharField', [],
            {'max_length': '16', 'primary_key': 'True', 'db_column': "'czm'"})
janek37 authored
1062
1063
        },
        'dictionary.paradygmatywsjp': {
janek37 authored
1064
1065
1066
1067
1068
            'Meta': {'object_name': 'ParadygmatyWSJP',
            'db_table': "'paradygmatywsjp'"},
            'charfl': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.InflectionCharacteristic']",
            'db_column': "'charfl'"}),
janek37 authored
1069
1070
            'col': ('django.db.models.fields.IntegerField', [], {}),
            'colspan': ('django.db.models.fields.IntegerField', [], {}),
janek37 authored
1071
1072
1073
1074
            'efobaz': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.BaseFormLabel']", 'db_column': "'efobaz'"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
janek37 authored
1075
1076
            'kskl': ('django.db.models.fields.IntegerField', [], {}),
            'morf': ('django.db.models.fields.TextField', [], {}),
janek37 authored
1077
1078
1079
1080
            'podparad': ('django.db.models.fields.CharField', [],
            {'max_length': '4', 'blank': 'True'}),
            'pref': ('django.db.models.fields.CharField', [],
            {'max_length': '20', 'blank': 'True'}),
janek37 authored
1081
1082
            'row': ('django.db.models.fields.IntegerField', [], {}),
            'rowspan': ('django.db.models.fields.IntegerField', [], {}),
janek37 authored
1083
1084
1085
1086
1087
1088
            'suf': ('django.db.models.fields.CharField', [],
            {'max_length': '20', 'blank': 'True'}),
            'typr': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.PatternType']", 'db_column': "'typr'"}),
            'wariant': (
            'django.db.models.fields.CharField', [], {'max_length': '4'})
janek37 authored
1089
1090
        },
        'dictionary.partofspeech': {
janek37 authored
1091
1092
1093
1094
1095
1096
            'Meta': {'ordering': "['symbol']", 'object_name': 'PartOfSpeech',
            'db_table': "'klasygramatyczne'"},
            'lexical_class': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"}),
            'symbol': ('django.db.models.fields.CharField', [],
            {'max_length': '16', 'primary_key': 'True', 'db_column': "'pos'"})
janek37 authored
1097
1098
        },
        'dictionary.pattern': {
janek37 authored
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
            'Meta': {'ordering': "['name']", 'object_name': 'Pattern',
            'db_table': "'wzory'"},
            'basic_form_ending': ('django.db.models.fields.CharField', [],
            {'max_length': '32', 'db_column': "'zakp'", 'blank': 'True'}),
            'comment': ('django.db.models.fields.TextField', [],
            {'db_column': "'komentarz'", 'blank': 'True'}),
            'example': ('django.db.models.fields.CharField', [],
            {'max_length': '64', 'db_column': "'przyklad'"}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [],
            {'unique': 'True', 'max_length': '32', 'db_column': "'w_id'"}),
            'status': (
            'django.db.models.fields.CharField', [], {'max_length': '8'}),
            'type': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.PatternType']", 'db_column': "'typ'"})
janek37 authored
1115
1116
1117
        },
        'dictionary.patterntype': {
            'Meta': {'object_name': 'PatternType', 'db_table': "'typywzorow'"},
janek37 authored
1118
1119
1120
1121
1122
1123
            'entry': ('django.db.models.fields.CharField', [],
            {'max_length': '32', 'db_column': "'wtyp'", 'blank': 'True'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'lexical_class': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.LexicalClass']", 'db_column': "'czm'"})
janek37 authored
1124
1125
        },
        'dictionary.qualifier': {
janek37 authored
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
            'Meta': {'ordering': "['label']",
            'unique_together': "(['label', 'vocabulary'],)",
            'object_name': 'Qualifier', 'db_table': "'kwalifikatory'"},
            'deleted': ('django.db.models.fields.BooleanField', [],
            {'default': 'False', 'db_column': "'usuniety'"}),
            'exclusion_class': (
            'django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.QualifierExclusionClass']", 'null': 'True',
            'db_column': "'klasa'", 'blank': 'True'}),
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [],
            {'max_length': '64', 'db_column': "'kwal'"}),
            'vocabulary': ('django.db.models.fields.related.ForeignKey', [],
            {'related_name': "'qualifiers'", 'db_column': "'slownik'",
            'to': "orm['dictionary.Vocabulary']"})
janek37 authored
1142
1143
        },
        'dictionary.qualifierexclusionclass': {
janek37 authored
1144
1145
1146
1147
1148
1149
1150
1151
            'Meta': {'object_name': 'QualifierExclusionClass',
            'db_table': "'klasy_wykluczania'"},
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [],
            {'unique': 'True', 'max_length': '64', 'db_column': "'nazwa'"}),
            'vocabulary': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Vocabulary']", 'db_column': "'slownik'"})
janek37 authored
1152
1153
1154
        },
        'dictionary.savedexportdata': {
            'Meta': {'object_name': 'SavedExportData'},
janek37 authored
1155
1156
1157
1158
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [],
            {'unique': 'True', 'max_length': '64'}),
janek37 authored
1159
1160
1161
            'serialized_data': ('django.db.models.fields.TextField', [], {})
        },
        'dictionary.savedfilter': {
janek37 authored
1162
1163
1164
1165
1166
1167
            'Meta': {'unique_together': "(('name', 'user'),)",
            'object_name': 'SavedFilter'},
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': (
            'django.db.models.fields.CharField', [], {'max_length': '64'}),
janek37 authored
1168
            'serialized_filter': ('django.db.models.fields.TextField', [], {}),
janek37 authored
1169
1170
1171
1172
            'super': (
            'django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'user': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['auth.User']"})
janek37 authored
1173
1174
1175
        },
        'dictionary.tablecell': {
            'Meta': {'object_name': 'TableCell', 'db_table': "'komorki_tabel'"},
janek37 authored
1176
1177
1178
            'cell': ('django.db.models.fields.related.OneToOneField', [],
            {'to': "orm['dictionary.Cell']", 'unique': 'True',
            'db_column': "'k_id'"}),
janek37 authored
1179
1180
            'col': ('django.db.models.fields.IntegerField', [], {}),
            'colspan': ('django.db.models.fields.IntegerField', [], {}),
janek37 authored
1181
1182
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
janek37 authored
1183
1184
1185
1186
            'row': ('django.db.models.fields.IntegerField', [], {}),
            'rowspan': ('django.db.models.fields.IntegerField', [], {})
        },
        'dictionary.tableheader': {
janek37 authored
1187
1188
            'Meta': {'object_name': 'TableHeader',
            'db_table': "'naglowki_tabel'"},
janek37 authored
1189
1190
            'col': ('django.db.models.fields.IntegerField', [], {}),
            'colspan': ('django.db.models.fields.IntegerField', [], {}),
janek37 authored
1191
1192
1193
1194
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'label': ('django.db.models.fields.CharField', [],
            {'max_length': '64', 'db_column': "'nagl'", 'blank': 'True'}),
janek37 authored
1195
            'row': ('django.db.models.fields.IntegerField', [], {}),
janek37 authored
1196
1197
            'row_header': ('django.db.models.fields.BooleanField', [],
            {'default': 'False', 'db_column': "'wierszowy'"}),
janek37 authored
1198
            'rowspan': ('django.db.models.fields.IntegerField', [], {}),
janek37 authored
1199
1200
            'table_template': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.TableTemplate']", 'db_column': "'st_id'"})
janek37 authored
1201
1202
        },
        'dictionary.tabletemplate': {
janek37 authored
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
            'Meta': {'object_name': 'TableTemplate',
            'db_table': "'szablony_tabel'"},
            'id': (
            'django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'inflection_characteristic': (
            'django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.InflectionCharacteristic']",
            'db_column': "'charfl'"}),
            'pattern_type': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.PatternType']", 'db_column': "'wtyp'"}),
            'variant': ('django.db.models.fields.related.ForeignKey', [],
            {'to': "orm['dictionary.Variant']", 'db_column': "'wariant'"})
janek37 authored
1215
1216
1217
        },
        'dictionary.variant': {
            'Meta': {'object_name': 'Variant', 'db_table': "'warianty'"},
janek37 authored
1218
1219
1220
            'id': ('django.db.models.fields.CharField', [],
            {'max_length': '32', 'primary_key': 'True',
            'db_column': "'wariant'"})
janek37 authored
1221
1222
1223
        },
        'dictionary.vocabulary': {
            'Meta': {'object_name': 'Vocabulary', 'db_table': "'slowniki'"},
janek37 authored
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
            'classifications': (
            'django.db.models.fields.related.ManyToManyField', [],
            {'symmetrical': 'False', 'related_name': "'vocabularies'",
            'blank': 'True', 'to': "orm['dictionary.Classification']"}),
            'editors': ('django.db.models.fields.related.ManyToManyField', [],
            {'symmetrical': 'False', 'related_name': "'editable_vocabularies'",
            'blank': 'True', 'to': "orm['auth.User']"}),
            'id': ('django.db.models.fields.CharField', [],
            {'max_length': '64', 'primary_key': 'True',
            'db_column': "'slownik'"}),
            'lexemes': ('django.db.models.fields.related.ManyToManyField', [],
            {'symmetrical': 'False', 'related_name': "'vocabularies'",
            'blank': 'True', 'through': "orm['dictionary.LexemeAssociation']",
            'to': "orm['dictionary.Lexeme']"}),
            'managers': ('django.db.models.fields.related.ManyToManyField', [],
            {'symmetrical': 'False', 'related_name': "'managed_vocabularies'",
            'blank': 'True', 'to': "orm['auth.User']"}),
            'viewers': ('django.db.models.fields.related.ManyToManyField', [],
            {'symmetrical': 'False', 'related_name': "'visible_vocabularies'",
            'blank': 'True', 'to': "orm['auth.User']"})
janek37 authored
1244
1245
1246
1247
        }
    }

    complete_apps = ['dictionary']