<?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="TAP-635-grant-profile-vendor-access:1" author="j0shua">
        <query>
            <![CDATA[
                MATCH (i:Identity {email: "rfediakov@sonymusic-pde.com"})-[:HAS_PROFILE]->(p:Profile {profileType: 'DocumentsProfile'})
                MATCH (v:Vendor {id: '*'})

                MERGE (p)-[hat:HAS_ACCESS_TO]->(v)
                SET
                    p.fullCatalogAccess = true,

                    hat.createdOn = datetime(),
                    hat.createdBy = 'database/TAP-635-grant-profile-vendor-access',
                    hat.updatedOn = datetime(),
                    hat.updatedBy = 'database/TAP-635-grant-profile-vendor-access';
            ]]>
        </query>
    </changeset>
</changelog>