def METHOD_NAME(apps, schema_editor):
    sys.stderr.write(
        'Expanding `change_xform` into `change_xform` and '
        '`delete_data_xform`. This may take several minutes on large '
        'databases...\n'
    )
    sys.stderr.flush()
    create_new_perms(apps)
    grant_model_level_perms(apps)
    grant_object_level_perms(apps)