From 3265dff11188e0761744123d802d2521a0c87d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Koci=C3=A1n?= Date: Sat, 12 Sep 2015 12:42:48 +0200 Subject: [PATCH] =?UTF-8?q?Nast=C5=99=C3=A1dan=C3=A9=20migrace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Migrations for 'seminar': 0030_auto_20150912_1236.py: - Create model VysledkyCelkemKCislu - Create model VysledkyKCisluOdjakziva - Create model VysledkyKCisluZaRocnik - Alter field foto on organizator --- seminar/migrations/0030_add_vysledky.py | 60 +++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 seminar/migrations/0030_add_vysledky.py diff --git a/seminar/migrations/0030_add_vysledky.py b/seminar/migrations/0030_add_vysledky.py new file mode 100644 index 00000000..06842c6b --- /dev/null +++ b/seminar/migrations/0030_add_vysledky.py @@ -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, + ), + ]