<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schema.xsd">
    <changeset id="WAR-1868_add_vendor_star_access:1" author="epohrebna" run-on-change="true">
        <cypherquery>
            <![CDATA[
            MATCH (identity:Identity {email: 'samson.mayall@awal.com'})-[:HAS_PROFILE]->(p:Profile {profileType: 'MoneyhubProfile'})
            SET p.fullCatalogAccess = true
            ]]>
        </cypherquery>
    </changeset>

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