<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <changeset id="PUB-1943_touch_comp_agreement_rels:1" author="jmarais" run-always="true">
        <cypherquery>
          <![CDATA[
            CALL apoc.periodic.iterate(
              'MATCH (c:PublishingComposition { draft: false })-[rel:HAS_AGREEMENT]->(a:PublishingAgreement) RETURN rel',
              'SET rel.touchedCompAgreementRel = datetime()',
              {batchSize:30,iterateList:true,parallel:true,concurrency:5}
            )
            YIELD total
            RETURN total
          ]]>
        </cypherquery>
    </changeset>
</changelog>
