def make_many_contexts(apps, schema_editor):
    """
    Create a LTIContext with Forum.consumer and Forum.lti_context fields
    stored in the Forum object, and add it to the many-to-many relationship
    in Forum.lti_contexts
    """
    Forum = apps.get_model('forum', 'Forum')
    LTIContext = apps.get_model('ashley', 'LTIContext')
    for forum in Forum.objects.all():
        lti_context, _created = LTIContext.objects.get_or_create(lti_id=
            forum.lti_context, lti_consumer=forum.lti_consumer)
        forum.lti_contexts.add(lti_context)
