<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.liquigraph.org/schema/1.0/liquigraph.xsd">
    <changeset id="DIS-1069_recover_final_lsrp_lp_association:1" author="owright" run-on-change="true">
        <query>
            <![CDATA[
                UNWIND [
                    ["0c6f93ba-e15c-47e0-882c-7a809c311c1c", 0, "A & R Administrator", "a737f9e7-a48c-4c75-99f6-9efcf241c6d0"]
                ] AS row
                WITH row[0] as lsrId, row[1] as sequenceNumber, row[2] as roleName, row[3] as lpUuid
                MATCH (:LabelSoundRecording { id: lsrId })--(lsrp:LabelSoundRecordingParticipation { sequenceNumber: sequenceNumber })--(:ParticipationRole { name: roleName })
                MATCH (lp:LabelParticipant { uuid: lpUuid })
                MERGE (lp)-[:HAS_LABEL_SOUND_RECORDING_PARTICIPATION]->(lsrp);
            ]]>
        </query>
    </changeset>
</changelog>
