<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <changeset id="CCM-603_remove_duplicate_lsr:1" author="anevrekar" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH (t:Track:Orchard)-[rel:IS_PLACEMENT_OF]->(lsr:LabelSoundRecording)
                WHERE t.id IN [30696453, 31273060, 30781109] 
                AND lsr.subaccountId = 51746
                DELETE rel, lsr
                WITH t
                MATCH (t)-[rel1:IS_PLACEMENT_OF]-(lsr1:LabelSoundRecording {subaccountId: 0})
                SET lsr1.subaccountId = 51746
            ]]>
        </cypherquery>
    </changeset>
</changelog>
