<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.liquigraph.org/schema/1.0/liquigraph.xsd">
    <changeset id="PUB-233_delete-dup-rels:1" author="ratoui">
        <query>
            <![CDATA[
                MATCH (v:Label)-[r1:HAS_SIGNED_WRITER]->(sw:PublishingSongWriter)<-[r2:HAS_SIGNED_WRITER]-(v)
                WITH apoc.coll.union(COLLECT(r1), COLLECT(r2))[1..] AS rels
                UNWIND rels as r
                DELETE r
            ]]>
        </query>
    </changeset>
</changelog>
