1# -*- coding: utf-8 -*- 

2# Generated by Django 1.9.7 on 2016-07-10 05:56 

3 

4from django.db import migrations 

5 

6 

7def drop_release_goals(apps, schema_editor): 

8 # We get the model from the versioned app registry; 

9 # if we directly import it, it'll be the wrong version 

10 ActionItemType = apps.get_model('core', 'ActionItemType') 

11 db_alias = schema_editor.connection.alias 

12 ActionItemType.objects.using(db_alias).filter( 

13 type_name='debian-release-goals-bugs').delete() 

14 

15 

16class Migration(migrations.Migration): 

17 

18 dependencies = [ 

19 ('core', '0007_keywords_descriptions'), 

20 ] 

21 

22 operations = [ 

23 migrations.RunPython( 

24 drop_release_goals, 

25 ), 

26 ]