<?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="ARTARCH-550_fix_labelprofile:1" author="owright" run-on-change="true">
        <query>
            <![CDATA[
                MATCH (p:Profile { profileType: 'LabelProfile', profileId: 8338 })
                MATCH (p)-[rel:HAS_ACCESS_TO]->(v:Vendor { id: 8441 })
                DELETE rel
                WITH p
                MATCH (s:Subaccount:Label { id: 8441 })
                MERGE (p)-[:HAS_ACCESS_TO]->(s);
            ]]>
        </query>
    </changeset>
</changelog>
