<?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="NOTICKET_delete_devices4:1" author="npatel" run-always="true" >
        <query>
            <![CDATA[
                MATCH (i:Identity {id: "62d8bf61-9424-47d1-8571-a5b576c0411d"})-[rr:HAS_DEVICE]-(d:Device) 
                SET rr.lastModifiedAt = datetime(), rr.lastModifiedBy = 'NOTICKET_delete_devices_06082024'
                WITH rr
                CALL apoc.refactor.setType(rr, 'DELETED_HAS_DEVICE') 
                YIELD input,output
                return input

          ]]>
        </query>
    </changeset>
    
    <changeset id="NOTICKET_delete_devices4:2" author="npatel" run-always="true" >
        <query>
            <![CDATA[
                MATCH (i:Identity {id: "da9223a8-c291-490c-a837-0786ff99be1a"})-[rr:HAS_DEVICE]-(d:Device) 
                SET rr.lastModifiedAt = datetime(), rr.lastModifiedBy = 'NOTICKET_delete_devices_06082024'
                WITH rr
                CALL apoc.refactor.setType(rr, 'DELETED_HAS_DEVICE') 
                YIELD input,output
                return input

        ]]>
        </query>
    </changeset>
    
</changelog>
