<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schema.xsd">

     <changeset id="WAR-679_add_moneyhub_profiles_and_vendor_accesses:1" author="epohrebna" run-on-change="true">
        <cypherquery>
              <![CDATA[
            MATCH (identity:Identity {email: 'micheal.stinton@kollectivenr.com'})-[:HAS_PROFILE]->(p:Profile {profileType: 'MoneyhubProfile'})
            SET p.fullCatalogAccess = true
            ]]>
        </cypherquery>
    </changeset>

     <changeset id="WAR-679_add_moneyhub_profiles_and_vendor_accesses:2" author="epohrebna" run-on-change="true">
        <cypherquery>
           <![CDATA[
            MATCH (identity:Identity {email: 'micheal.stinton@kollectivenr.com'})-[:HAS_PROFILE]->(profile:Profile {profileType: 'MoneyhubProfile'}),
                (vendor:Vendor {id: '*'})
            MERGE (profile)-[:HAS_ACCESS_TO]->(vendor)
            ]]>
        </cypherquery>
    </changeset>

</changelog>
