<?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="PLATFORM-2595-DELETE_invalid_subscriptions:1" author="pdumoulin" run-on-change="true">
        <query>
        MATCH(p:Profile)-[x:HAS_SUBSCRIPTION]-(s:Subscription)
        WHERE NOT p.profileType IN ['LabelProfile', 'InsightsProfile', 'ArtistProfile']
        DELETE x
        </query>
    </changeset>
</changelog>
