<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
                   xmlns:neo4j="http://www.liquibase.org/xml/ns/dbchangelog-ext"
                   xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
    <changeSet id="FS-4860_onboard_sme_canada:1" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Dirk McMillan',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: 'd9d41a85-08b9-4d6f-b5a5-46d5a6bb4cac' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:2" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Shawn Barre',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile
                CREATE (identity:Identity{
                    email: 'shawn.barre@sonymusic.com',
                    firstName: 'Shawn',
                    lastName: 'Barre',
                    name: 'Shawn Barre',
                    id:apoc.create.uuid(),
                    active: 'Y',
                    createdAt: datetime(),
                    defaultBrand: 'sme',
                    localization: 'en',
                    numberFormat: 'us',
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    userTypes: ['label']
                })
                MERGE (identity)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:3" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Steve Ito',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile
                CREATE (identity:Identity{
                    email: 'steve.ito@sonymusic.com',
                    firstName: 'Steve',
                    lastName: 'Ito',
                    name: 'Steve Ito',
                    id:apoc.create.uuid(),
                    active: 'Y',
                    createdAt: datetime(),
                    defaultBrand: 'sme',
                    localization: 'en',
                    numberFormat: 'us',
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    userTypes: ['label']
                })
                MERGE (identity)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:4" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Lara Pinto',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: '65592b60-31bc-4c62-9d2d-9f46d8942a0c' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:5" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Emilie Gagne',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: '1a636d9f-02c8-49ad-b7f0-07d110a7e036' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:6" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Caryn Hanlon',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: '6d76e9a0-ba4c-4736-a9ae-da340d7908e9' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:7" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Carey Riley',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: '5ca02d43-e6b3-439e-b1d1-b00580df6fb9' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:8" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Sam Taus',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: 'f4d9f6d5-9089-4abf-bf37-ade44c383383' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:9" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Derek Rambeau',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: 'b0e1de2a-a26b-428e-974b-5af473b8844a' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:10" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Chris Shepherd',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: '5900441b-2755-4eef-a78c-6e4edf58f674' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:11" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Thiago Kurtz',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile
                CREATE (identity:Identity{
                    email: 'thiago.kurtz@sonymusic.com',
                    firstName: 'Thiago',
                    lastName: 'Kurtz',
                    name: 'Thiago Kurtz',
                    id:apoc.create.uuid(),
                    active: 'Y',
                    createdAt: datetime(),
                    defaultBrand: 'sme',
                    localization: 'en',
                    numberFormat: 'us',
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    userTypes: ['label']
                })
                MERGE (identity)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:12" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Karen Elliott',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile
                CREATE (identity:Identity{
                    email: 'karen.elliott@sonymusic.com',
                    firstName: 'Karen',
                    lastName: 'Elliott',
                    name: 'Karen Elliott',
                    id:apoc.create.uuid(),
                    active: 'Y',
                    createdAt: datetime(),
                    defaultBrand: 'sme',
                    localization: 'en',
                    numberFormat: 'us',
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    userTypes: ['label']
                })
                MERGE (identity)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:13" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Julie Calabrese',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: 'd0ece562-c263-4787-8e1c-9ac4544e1a99' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:14" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Mary An Blom',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: 'aada6a85-f223-4012-b4f6-0cd6b5fbc43b' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
    <changeSet id="FS-4860_onboard_sme_canada:15" author="ozhovnuvatyi">
        <neo4j:cypher>
            <![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: 'Danny Devlin',
                    roles: ['audience'],
                    fullCatalogAccess: false,
                    uuid: apoc.create.uuid(),
                    createdAt: datetime(),
                    lastModifiedAt: datetime(),
                    createdBy: 'https://theorchard.atlassian.net/browse/FS-4860',
                    updatedBy: 'https://theorchard.atlassian.net/browse/FS-4860'
                })
                WITH profile
                MATCH (i:Identity {id: '9d4fe38a-3a44-40cb-aabf-814b218151df' }),
                    (v1:Vendor {id: 34552 })
                MERGE (profile)-[:HAS_ACCESS_TO]->(v1)
                WITH profile,i
                MERGE (i)-[:HAS_PROFILE]->(profile)
            ]]>
        </neo4j:cypher>
    </changeSet>
</databaseChangeLog>
