<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schema.xsd">
<changeset id="FS-2506_onboard_ron_perry_old_user_columbia:1" author="ozhovnuvatyi">
        <cypherquery>
            <![CDATA[
                MERGE (increment:IncrementId {nodeName: 'Profile'})
                    ON CREATE SET increment.id = 2
                    ON MATCH SET increment.id = increment.id + 1
                CREATE (profile:Profile {
                    brand: 'sme',
                    profileId: (increment.id-1),
                    profileType: 'AudienceProfile',
                    profileName: 'Ron Perry',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-2506',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-2506'
                })
                WITH profile
                MATCH (v:Vendor {id: 34514 }),(i:Identity {id:'af8c7b4f-1f58-430c-8aa9-7f04f569b5ad'})
                MERGE (profile)-[:HAS_ACCESS_TO]->(v)
                WITH profile,i
                MERGE(i)-[:HAS_PROFILE]->(profile)
            ]]>
        </cypherquery>
    </changeset>
</changelog>
