Tomas Gavenciak
10 years ago
3 changed files with 38 additions and 6 deletions
@ -0,0 +1,30 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
from __future__ import unicode_literals |
||||
|
import importlib |
||||
|
|
||||
|
from django.db import models, migrations |
||||
|
|
||||
|
migration_0022 = importlib.import_module('seminar.migrations.0002_add_body_views') |
||||
|
print dir(migration_0022) |
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('seminar', '0021_cislo_verejna_vysledkovka'), |
||||
|
] |
||||
|
operations = [ |
||||
|
migrations.RunSQL(migration_0022.DROP_VIEWS), |
||||
|
migrations.AlterField( |
||||
|
model_name='problem', |
||||
|
name='body', |
||||
|
field=models.DecimalField(null=True, verbose_name='maximum bod\u016f', max_digits=8, decimal_places=1, blank=True), |
||||
|
preserve_default=True, |
||||
|
), |
||||
|
migrations.AlterField( |
||||
|
model_name='reseni', |
||||
|
name='body', |
||||
|
field=models.DecimalField(null=True, verbose_name='body', max_digits=8, decimal_places=1, blank=True), |
||||
|
preserve_default=True, |
||||
|
), |
||||
|
migrations.RunSQL(migration_0022.CREATE_VIEWS), |
||||
|
] |
Loading…
Reference in new issue