<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  
    <changeset id="NR-1296_add_content_profile_sean.ramchand-bentley:1" author="npatel">
        <cypherquery>
            MATCH (identity:Identity {id: 'eb20b0c5-4d0b-4b08-b861-296b2edf885d'})
            MERGE (increment:IncrementId {nodeName: 'Profile'})
                ON CREATE SET increment.id = 2
                ON MATCH SET increment.id = increment.id + 1
            CREATE (profile:Profile {
                profileId: (increment.id-1),
                profileType: 'ContentProfile',
                profileName: 'Sean ContentProfile',
                uuid: apoc.create.uuid(),
                roles: ['manage_nr_repertoire'],
                fullCatalogAccess: true
            })
            MERGE (identity)-[:HAS_PROFILE]->(profile)
            RETURN profile.profileId
        </cypherquery>
    </changeset>
  
</changelog>
