<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <changeset id="NR-NO-TICKET_fix_instrument_typos:1" author="jmarais" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH(c:NrContribution:NrPerformance)
                WHERE "Progammer" IN c.instruments
                SET c.instruments = [i IN c.instruments | CASE WHEN "Progammer" = i THEN "Programmer" ELSE i END]
                RETURN count(c)
            ]]>
        </cypherquery>
    </changeset>

    <changeset id="NR-NO-TICKET_fix_instrument_typos:2" author="jmarais" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH(c:NrContribution:NrPerformance)
                WHERE "Synthasizer" IN c.instruments
                SET c.instruments = [i IN c.instruments | CASE WHEN "Synthasizer" = i THEN "Synthesizer" ELSE i END]
                RETURN count(c)
            ]]>
        </cypherquery>
    </changeset>
</changelog>
