<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="./schema.xsd">
    <changeset id="PLATFORM-3728_backfill_vendors_to_Basic:1" author="tnozhkina" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH (v:Vendor), (s:ServiceTier)
                WHERE v.vendorId IN [
                    77146, 77147, 77160, 77767, 77813, 76531,
                    77795, 77201, 76429, 77462, 77296, 76638,
                    76428, 76984, 77275, 76716, 76999, 77020,
                    76639, 76667, 77320, 76368, 76776, 77217,
                    76941, 76321, 77220, 76604, 76324, 76422,
                    76570, 76617, 77098, 77117, 76704, 76369,
                    76637, 76320, 76975, 76522, 77400, 76777,
                    76770, 77369, 77209, 77290, 77219]
                AND s.name = 'diy-tier-1'
                MERGE (v)-[rel:IN_SERVICE_TIER]->(s)
                    ON CREATE SET rel.createdAt = datetime(), rel.createdBy = 'PLATFORM-3728'
                RETURN v,s
            ]]>
        </cypherquery>
    </changeset>
</changelog>
