<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <changeset id="PUB-705_access_request:1" author="vmukan" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH (identity:Identity {id:'73b02d0a-6964-4f57-94ef-f3a34249c750'}) -[:HAS_PROFILE]-> (profile:Profile {profileId: 100186, profileType: 'PublishingProfile'})
                DETACH DELETE profile
            ]]>
        </cypherquery>
    </changeset>
    <changeset id="PUB-705_access_request:2" author="vmukan" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH (identity:Identity {id:'73b02d0a-6964-4f57-94ef-f3a34249c750'}) -[:HAS_PROFILE]-> (profile:Profile {profileId: 420421, profileType: 'PublishingProfile'})
                WITH profile
                MATCH (v:Vendor {id: 24483})
                MERGE (profile)-[:HAS_ACCESS_TO]->(v)
                RETURN profile
            ]]>
        </cypherquery>
    </changeset>
</changelog>
