<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <changeset id="NR-1585_add_content_profile_melanie_clarion:1" author="yostapyuk" run-on-change="true">
        <cypherquery>
            MATCH (identity:Identity {id: '5b4217b9-4de4-4bb0-8e2f-d5e179ad20c7'})

            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: 'Melanie Clarion',
                uuid: apoc.create.uuid(),
                roles: ['manage_nr_repertoire'],
                fullCatalogAccess: true
            })

            CREATE (identity)-[:HAS_PROFILE]->(profile)
        </cypherquery>
    </changeset>
</changelog>
