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

   <changeset id="WAR-1130_add_moneyhub_vendor_star_access:1" author="epohrebna" run-on-change="true">
      <cypherquery>
         <![CDATA[
         MATCH (identity:Identity {email: 'nicole.feldman@awal.com'})
            -[:HAS_PROFILE]->(profile:Profile {profileType: 'MoneyhubProfile'})
         SET profile.fullCatalogAccess = true
         ]]>
      </cypherquery>
   </changeset>

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

</changelog>
