def METHOD_NAME(sqlite_conn, data_factory):
    cursor = sqlite_conn.cursor()
    for item in data_factory.bnf_map:
        move_values_from_old_code_to_new(
            cursor, item["former_bnf_code"], item["current_bnf_code"]
        )
    delete_presentations_with_no_prescribing(cursor)