def METHOD_NAME(apps, _):
    Form = apps.get_model("forms", "Form")
    FormRegistrationBackend = apps.get_model("forms", "FormRegistrationBackend")
    for form in Form.objects.exclude(
        models.Q(registration_backend="") | models.Q(registration_backend__isnull=True)
    ):
        backend = form.registration_backend
        # getting the plugin for a human readable name
        # as form.get_registration_backend_display doesn't exist
        backend_label = (
            register[backend].get_label() if backend in register else _("Default")
        )
        FormRegistrationBackend.objects.create(
            form=form,
            key=backend,
            name=backend_label,
            backend=backend,
            options=form.registration_backend_options or {},
        )