<?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="Add InsightsProfile back for apavlov@theorchard.com:1" author="jyang">
        <query>
            MATCH (i:Identity),(p:Profile)
            WHERE i.id = '9b2af710-f3ca-408f-b1a2-8e6ae9e8485a'
                AND p.profileId = 36565
                AND p.profileType = 'InsightsProfile'
            MERGE (i)-[r:HAS_PROFILE]->(p)
            WITH i,p
            OPTIONAL MATCH (i)-[delRel:DELETED_HAS_PROFILE]->(p) DELETE delRel
            RETURN i,p
        </query>
    </changeset>
</changelog>
