<?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="AS-3839_deactivate_dp_for_788383:1" author="tmartin">
        <neo4j:cypher>
            <![CDATA[
                MATCH (v:Vendor)-[:OWNS]-(c:Collaborator)-[:HAS_ACCESS_TO]-(p:Profile)-[:HAS_PROFILE]-(i:Identity)
                WHERE p.profileType = 'DocumentsProfile'
                AND v.vendorId = 788383
                DETACH DELETE p
                RETURN *
            ]]>
        </neo4j:cypher>
    </changeSet>
</databaseChangeLog>
