<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <changeset id="NR-887_dupe_new_IS_SESSION_MUSICIAN_relation:1" author="npatel" run-always="true">
        <cypherquery>
          <![CDATA[
            CALL apoc.periodic.iterate(
                "MATCH (nco:NrContributor)-[:HAS_NON_FEATURED_CONTRIBUTION]->(ncn:NrContribution) RETURN nco, ncn",
                "
                    MERGE (nco)-[rel:IS_SESSION_MUSICIAN]->(ncn) SET
                    rel.createdBy = 'database/NR-887_dupe_new_IS_SESSION_MUSICIAN_relation',
                    rel.createdAt = datetime(),
                    rel.lastModifiedAt = datetime(),
                    rel.lastModifiedBy = 'database/NR-887_dupe_new_IS_SESSION_MUSICIAN_relation'
                ",
                {batchSize:50,iterateList:true,parallel:true,concurrency:5}
            )
            YIELD total, errorMessages
            RETURN  total, errorMessages
          ]]>
        </cypherquery>
    </changeset>

</changelog>
