<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schema.xsd">
    <changeset id="TAP-777-reset-kuhuks-access:1" author="j0shua" run-always="true">
        <cypherquery>
            <![CDATA[

                MATCH (i:Identity {email: "kgoyal@sonymusic-pde.com"})-[:HAS_PROFILE]->
                    (p:Profile {profileType:"DocumentsProfile"})-[rel:DELETED_HAS_ACCESS_TO]->(v:Vendor {id: '*'})

                SET
                    rel.updatedBy = 'database/DOC-777-reset-kuhuks-access',
                    rel.updatedOn = datetime()

                WITH rel
                CALL apoc.refactor.setType(rel, 'HAS_ACCESS_TO')
                YIELD input, output

                RETURN true;
            ]]>
        </cypherquery>
    </changeset>
</changelog>
