14 lines
		
	
	
	
		
			277 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			277 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.db import migrations
 | |
| 
 | |
| 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 = [
 | |
| 		migrations.RunSQL(sql, sql),
 | |
| 	]
 | |
| 
 | 
