<?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="WAR-780_fix_duplicate_profiles:1" author="menger">
        <query>
            <![CDATA[

            MATCH
                (firstProfile:Profile {profileId: 342803, profileType:"MoneyhubProfile"}),
                (secondProfile:Profile {profileId: 347205, profileType: "MoneyhubProfile"})
                    -[:HAS_ACCESS_TO]->(vendor)
            MERGE (firstProfile)-[:HAS_ACCESS_TO]->(vendor)
            DETACH DELETE secondProfile;

            ]]>
        </query>
    </changeset>
</changelog>
