2020-08-20 00:34:14 +02:00
|
|
|
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_';"
|
2020-08-20 00:34:14 +02:00
|
|
|
|
|
|
|
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),
|
2020-08-20 00:34:14 +02:00
|
|
|
]
|
|
|
|
|