mamweb/seminar/migrations/fix_0058.py

15 lines
277 B
Python
Raw Normal View History

from django.db import migrations
2020-08-20 00:40:50 +02:00
sql = "update seminar_problemy set typ = 'uloha' where typ like 'b_uloha_';"
class Migration(migrations.Migration):
dependencies = [
('seminar', '0058_problem_to_uloha_tema_clanek'),
]
operations = [
2020-08-20 00:40:50 +02:00
migrations.RunSQL(sql, sql),
]