<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.liquigraph.org/schema/1.0/liquigraph.xsd">
    <changeset id="FS-204_configure_jtam_profile:1" author="bburton" run-on-change="true">
        <query>
            <![CDATA[
                MATCH (i:Identity {id: "a99ea45c-6841-4942-beac-d766f9c41071"})
                MERGE (increment:IncrementId {nodeName: 'Profile'})
                    ON MATCH SET increment.id = increment.id + 1
                CREATE (p:Profile {
                    profileId: (increment.id-1),
                    profileType: 'AudienceProfile',
                    profileName: 'Jordy Tam',
                    roles: ['audience'],
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'database/FS-204_configure_jtam_profile:1',
                    lastModifiedBy: 'database/FS-204_configure_jtam_profile:1'
                })
                MERGE (i)-[:HAS_PROFILE]->(p)
            ]]>
        </query>
    </changeset>
</changelog>