<?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-XX-add-publisher-json-marting:1" author="ratoui">
        <cypherquery>
            <![CDATA[
                MATCH(v:Vendor {vendorId: 24483})
                MATCH(sw:PublishingSongWriter {pubWriterID: 31542})--(a:PublishingAgreement)
                WITH v,sw,a
                CREATE (p:PublishingPublisher) SET 
                p.id = apoc.create.uuid(),
                p.ipi = "00434636457",
                p.pro = "ASCAP",
                p.pubPublisherID=20730,
                p.createdAt = datetime(),
                p.lastModifiedAt = datetime(),
                p.createdBy = "510b0265-e6e1-4c4f-bfb9-c3d33e8f02a7",
                p.lastModifiedBy="510b0265-e6e1-4c4f-bfb9-c3d33e8f02a7",
                p.name = "PROBLEM MAKIN PUBLISHING"

                MERGE (v)-[:HAS_ASSOCIATED_PUBLISHER]->(p)
                MERGE (p)-[:HAS_AGREEMENT]-(a)
                RETURN v,sw,a,p
            ]]>
        </cypherquery>
    </changeset>
</changelog>
