<?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="WAR-2796_profile_name_correction:1" author="epoherbna">
        <neo4j:cypher>
            <![CDATA[
            MATCH (identity:Identity {email: 'randolph.kartick@awal.com'})-[:HAS_PROFILE]->(profile:Profile {profileType: 'MoneyhubProfile'})
            SET profile.profileName = identity.name,
                profile.lastModifiedAt = datetime(),
                profile.lastModifiedBy = 'database/WAR-2796_profile_name_correction:1'
            ]]>
        </neo4j:cypher>
    </changeSet>

</databaseChangeLog>
