<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <changeset id="NR-1709_add_content_profile_dino_celotti:1" author="jmarais">
        <cypherquery>
            MATCH (identity:Identity {id: '9cbb8624-58b2-4312-ac17-55bb1ba1e303'})
            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: 'Dino Celotti ContentProfile',
                uuid: apoc.create.uuid(),
                roles: ['manage_nr_repertoire', 'manage_nr_ownership'],
                fullCatalogAccess: true
            })
            MERGE (identity)-[:HAS_PROFILE]->(profile)
            RETURN profile.profileId
        </cypherquery>
    </changeset>

</changelog>
