<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schema.xsd"> 
    <changeset id="PLATFORM-3394_Fix_d3_subaccount_access_aden:1" author="jyang" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH (i:Identity {id: "27a74f15-3fe4-43aa-93a0-2d1ea43389ee"})-[:HAS_PROFILE]->(p:Profile {profileType: "LabelProfile"})-[:HAS_ACCESS_TO]->(v:Vendor)-[:OWNS]->(s:Subaccount)
                WHERE (p)-[:HAS_ACCESS_TO]->(s)
                DETACH DELETE p
            ]]>
        </cypherquery>
    </changeset>
</changelog>
