<?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="GQL-130_backfill_videos_no_gsr:1" author="rtorres" run-on-change="true">
        <query>
          <![CDATA[
            CALL apoc.periodic.iterate(
                  'MATCH (v:Video) WHERE NOT EXISTS { MATCH (v)<-[:REPRESENTS_VIDEO]-(:GlobalSoundRecording) } RETURN v',
                  'SET v.touchedByBackfill = datetime()',
                  {batchSize: 200, iterateList: true, parallel: true, concurrency: 5}
            )
            YIELD total
            RETURN total
          ]]>
        </query>
    </changeset>
</changelog>
