Browse Source
Migrations for 'seminar': 0030_auto_20150912_1236.py: - Create model VysledkyCelkemKCislu - Create model VysledkyKCisluOdjakziva - Create model VysledkyKCisluZaRocnik - Alter field foto on organizatorremotes/origin/cislopdf
Matěj Kocián
9 years ago
1 changed files with 60 additions and 0 deletions
@ -0,0 +1,60 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
|
||||
|
from django.db import models, migrations |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('seminar', '0029_fix_body_celkem_views'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.CreateModel( |
||||
|
name='VysledkyCelkemKCislu', |
||||
|
fields=[ |
||||
|
('dummy_id', models.CharField(max_length=32, serialize=False, verbose_name='dummy ID pro view', primary_key=True, db_column=b'id')), |
||||
|
('body', models.DecimalField(decimal_places=1, verbose_name='body za \u010d\xedslo', max_digits=8, db_column=b'body')), |
||||
|
('body_celkem', models.DecimalField(decimal_places=1, verbose_name='body celkem do \u010d\xedsla v\u010detn\u011b minul\xfdch ro\u010dn\xedk\u016f', max_digits=8, db_column=b'body_celkem')), |
||||
|
], |
||||
|
options={ |
||||
|
'abstract': False, |
||||
|
'db_table': 'seminar_body_celkem_k_cislu', |
||||
|
'managed': False, |
||||
|
}, |
||||
|
bases=(models.Model,), |
||||
|
), |
||||
|
migrations.CreateModel( |
||||
|
name='VysledkyKCisluOdjakziva', |
||||
|
fields=[ |
||||
|
('dummy_id', models.CharField(max_length=32, serialize=False, verbose_name='dummy ID pro view', primary_key=True, db_column=b'id')), |
||||
|
('body', models.DecimalField(decimal_places=1, verbose_name='body za \u010d\xedslo', max_digits=8, db_column=b'body')), |
||||
|
], |
||||
|
options={ |
||||
|
'abstract': False, |
||||
|
'db_table': 'seminar_body_k_cislu_odjakziva', |
||||
|
'managed': False, |
||||
|
}, |
||||
|
bases=(models.Model,), |
||||
|
), |
||||
|
migrations.CreateModel( |
||||
|
name='VysledkyKCisluZaRocnik', |
||||
|
fields=[ |
||||
|
('dummy_id', models.CharField(max_length=32, serialize=False, verbose_name='dummy ID pro view', primary_key=True, db_column=b'id')), |
||||
|
('body', models.DecimalField(decimal_places=1, verbose_name='body za \u010d\xedslo', max_digits=8, db_column=b'body')), |
||||
|
], |
||||
|
options={ |
||||
|
'abstract': False, |
||||
|
'db_table': 'seminar_body_k_cislu_rocnik', |
||||
|
'managed': False, |
||||
|
}, |
||||
|
bases=(models.Model,), |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='organizator', |
||||
|
name='foto', |
||||
|
field=models.ImageField(help_text=b'Vlo\xc5\xbe fotografii organiz\xc3\xa1tora o libovoln\xc3\xa9 velikosti', upload_to=b'image_organizatori/velke/%Y/', null=True, verbose_name=b'Fotografie organiz\xc3\xa1tora', blank=True), |
||||
|
preserve_default=True, |
||||
|
), |
||||
|
] |
Loading…
Reference in new issue