'Find every design and move them into Oozie.'

def forwards(self, orm):

    for design in orm.OozieDesign.objects.all():
        action = convert_jobsub_design(design)
        if (not action):
            raise RuntimeError((_('Cannot    convert    %s    design    into    an    Oozie    action.') % design.name))
        workflow = Workflow.objects.new_workflow(User.objects.get(id=design.owner.pk))
        workflow.name = action.name
        workflow.description = design.description
        workflow.managed = False
        workflow.save()
        workflow.start.workflow = workflow
        workflow.start.save()
        workflow.start = Start.objects.get(id=workflow.start.id)
        workflow.end.workflow = workflow
        workflow.end.save()
        workflow.end = End.objects.get(id=workflow.end.id)
        Kill.objects.create(name='kill', workflow=workflow, node_type=Kill.node_type)
        action.workflow = workflow
        action.save()
        workflow.start.add_node(action)
        action.add_node(workflow.end)
        workflow.save()
