<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <changeset id="PUB-699_access_request:1" author="rshield" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH (identity:Identity {id: 'b211c821-8b5f-40bd-91a6-d139fb9a95f6'})
                MERGE (increment:IncrementId {nodeName: 'Profile'})
                    ON MATCH SET increment.id = increment.id + 1
                CREATE (profile:Profile {
                    profileId: (increment.id-1),
                    profileType: 'PublishingProfile',
                    profileName: 'nsnyder@sonymusic-pde.com',
                    roles: ['admin'],
                    fullCatalogAccess: true,
                    uuid: apoc.create.uuid()
                })
                MERGE (identity)-[:HAS_PROFILE]->(profile)
            ]]>
        </cypherquery>
    </changeset>
</changelog>
