<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.liquigraph.org/schema/1.0/liquigraph.xsd">
    <changeset id="DATA-8774_convert_upc_to_string:1" author="rshield">
        <query>
            <![CDATA[
                CALL apoc.periodic.iterate(
                    "
                    MATCH (p:Product:Orchard)
                    WHERE p.upc <> toString(p.upc)
                    RETURN p
                    ",
                    "
                    SET p.upc = toString(p.upc)
                    ",
                    {batchSize:1000, iterateList:true, parallel:true, concurrency: 5}
                );
            ]]>
        </query>
    </changeset>
</changelog>
