<?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-8089_add_label_to_participants:1" author="rshield">
        <query>
            CALL apoc.periodic.iterate(
	            "
                    MATCH (p:Participant:Chartmetric) RETURN p
                ",
                "
                    CALL apoc.create.addLabels(p, ['PublicParticipant'])
                    YIELD node RETURN p
                ",
            {batchSize:1000, batchMode:'BATCH', parallel:true, concurrency:5}
)
        </query>
    </changeset>
</changelog>
