<?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="NOT-TICKET-add-moar-publishing-users:1" author="ratoui">
        <query>
          MATCH (identity:Identity {email: 'mgalizia@theorchard.io'})
            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: 'PublishingProfile',
                profileName: 'Matt Galizia',
                roles: ['admin'],
                uuid: apoc.create.uuid()
            })
            MERGE (identity)-[:HAS_PROFILE]->(profile)
            WITH profile
            MATCH (v:Vendor {id: 25824})
            MERGE (profile)-[:HAS_ACCESS_TO]->(v)
        </query>
    </changeset>
    <changeset id="NOT-TICKET-add-moar-publishing-users:2" author="ratoui">
        <query>
          MATCH (identity:Identity {email: 'aidanm@theorchard.io'})
            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: 'PublishingProfile',
                profileName: 'Aidan Miller',
                roles: ['admin'],
                uuid: apoc.create.uuid()
            })
            MERGE (identity)-[:HAS_PROFILE]->(profile)
            WITH profile
            MATCH (v:Vendor {id: 25824})
            MERGE (profile)-[:HAS_ACCESS_TO]->(v)
        </query>
    </changeset>
    <changeset id="NOT-TICKET-add-moar-publishing-users:3" author="ratoui">
        <query>
          MATCH (identity:Identity {email: 'mirza@primecollective.dk'})
            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: 'PublishingProfile',
                profileName: 'Mirza Radonjica',
                roles: ['admin'],
                uuid: apoc.create.uuid()
            })
            MERGE (identity)-[:HAS_PROFILE]->(profile)
            WITH profile
            MATCH (v:Vendor {id: 29966})
            MERGE (profile)-[:HAS_ACCESS_TO]->(v)
        </query>
    </changeset>
    <changeset id="NOT-TICKET-add-moar-publishing-users:4" author="ratoui">
        <query>
          MATCH (identity:Identity {email: 'domi@elevationdenmark.dk'})
            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: 'PublishingProfile',
                profileName: 'Domi Sudziarski',
                roles: ['admin'],
                uuid: apoc.create.uuid()
            })
            MERGE (identity)-[:HAS_PROFILE]->(profile)
            WITH profile
            MATCH (v:Vendor {id: 29966})
            MERGE (profile)-[:HAS_ACCESS_TO]->(v)
        </query>
    </changeset>
    <changeset id="NOT-TICKET-add-moar-publishing-users:5" author="ratoui">
        <query>
          MATCH (identity:Identity {email: 'miasofie@elevationdenmark.dk'})
            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: 'PublishingProfile',
                profileName: 'Miasofie Grønkjær',
                roles: ['admin'],
                uuid: apoc.create.uuid()
            })
            MERGE (identity)-[:HAS_PROFILE]->(profile)
            WITH profile
            MATCH (v:Vendor {id: 29966})
            MERGE (profile)-[:HAS_ACCESS_TO]->(v)
        </query>
    </changeset>
</changelog>
