<?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="ACC-5526_delete_some_abacus_profiles:1" author="mbalan" run-on-change="true">
        <query>
            MATCH (i:Identity)-[rel:HAS_PROFILE]->(p:Profile {profileType: "AbacusProfile"}) 
            WHERE p.profileId IN [
                92362,
                136829,
                321949,
                81587,
                81589,
                81593,
                90945,
                95021,
                319066,
                81583,
                81588,
                82076,
                101112,
                137626,
                137627,
                324964,
                324965,
                325098,
                325097,
                137625
            ] SET rel.dateDeleted = localdatetime()
            WITH i, rel
                CALL apoc.refactor.setType(rel, 'DELETED_HAS_PROFILE')
                YIELD input, output
            RETURN i;
        </query>
    </changeset>
</changelog>
