<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.liquigraph.org/schema/1.0/liquigraph.xsd">
    <changeset id="FS-3722_onboard_insanity_label:1" author="ozhovnuvatyi">
        <query>
            <![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: 'Millie Farrow',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-3722',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-3722'
                })
                WITH profile
                MATCH (i:Identity {id: '815408b1-3595-462c-bd11-6862e5f85031'}),
                      (v:Vendor {id: 790795 })
                SET
                    i.email= 'mcf@insanity.com',
                    i.firstName= 'Millie',
                    i.lastName= 'Farrow',
                    i.name= 'Millie Farrow',
                    i.createdAt= datetime(),
                    i.defaultBrand= 'sme',
                    i.localization= 'en',
                    i.numberFormat= 'us',
                    i.createdBy= 'https://theorchard.atlassian.net/browse/FS-3722',
                    i.updatedBy= 'https://theorchard.atlassian.net/browse/FS-3722',
                    i.userTypes= ['label']
                MERGE (profile)-[:HAS_ACCESS_TO]->(v)
                WITH profile,i
                MERGE(i)-[:HAS_PROFILE]->(profile)
            ]]>
        </query>
    </changeset>
    <changeset id="FS-3722_onboard_insanity_label:2" author="ozhovnuvatyi">
        <query>
            <![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: 'Ellenia Panayiotou',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-3722',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-3722'
                })
                WITH profile
                MATCH (i:Identity {id: '9296412f-c3da-4eeb-88bf-174474eb1529'}),
                      (v:Vendor {id: 790795 })
                SET
                    i.email= 'ep@insanity.com',
                    i.firstName= 'Ellenia',
                    i.lastName= 'Panayiotou',
                    i.name= 'Ellenia Panayiotou',
                    i.createdAt= datetime(),
                    i.defaultBrand= 'sme',
                    i.localization= 'en',
                    i.numberFormat= 'us',
                    i.createdBy= 'https://theorchard.atlassian.net/browse/FS-3722',
                    i.updatedBy= 'https://theorchard.atlassian.net/browse/FS-3722',
                    i.userTypes= ['label']
                MERGE (profile)-[:HAS_ACCESS_TO]->(v)
                WITH profile,i
                MERGE(i)-[:HAS_PROFILE]->(profile)
            ]]>
        </query>
    </changeset>
    <changeset id="FS-3722_onboard_insanity_label:3" author="ozhovnuvatyi">
        <query>
            <![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: 'Kieran Cullen',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-3722',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-3722'
                })
                WITH profile
                MATCH (i:Identity {id: '3808b98f-5198-4100-9ec0-6e94aa37a23c'}),
                      (v:Vendor {id: 790795 })
                SET
                    i.email= 'kc@insanity.com',
                    i.firstName= 'Kieran',
                    i.lastName= 'Cullen',
                    i.name= 'Kieran Cullen',
                    i.createdAt= datetime(),
                    i.defaultBrand= 'sme',
                    i.localization= 'en',
                    i.numberFormat= 'us',
                    i.createdBy= 'https://theorchard.atlassian.net/browse/FS-3722',
                    i.updatedBy= 'https://theorchard.atlassian.net/browse/FS-3722',
                    i.userTypes= ['label']
                MERGE (profile)-[:HAS_ACCESS_TO]->(v)
                WITH profile,i
                MERGE(i)-[:HAS_PROFILE]->(profile)
            ]]>
        </query>
    </changeset>
</changelog>
