def METHOD_NAME(apps, schema_editor):
    Consent = apps.get_model("consents", "Consent")
    TermOption = apps.get_model("consents", "TermOption")
    term_slug = "privacy-policy"
    try:
        privacy_policy_agree = TermOption.objects.get(
            term__slug=term_slug, archived_at=None
        )
    except TermOption.DoesNotExist:
        return
    for old_consent in Consent.objects.filter(
        term__slug=term_slug, archived_at=None
    ).select_related("person"):
        if old_consent.person.data_privacy_agreement:
            reconsent(Consent, old_consent, privacy_policy_agree)