<?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_Tier2:1" author="tnozhkina" run-always="true">
        <cypherquery>
            <![CDATA[
                MATCH (v:Vendor), (s:ServiceTier)
                WHERE v.vendorId IN [
                    26177, 70061, 70092, 70721, 70732, 71493,
                    72021, 74035, 74219, 74228, 74240, 75526,
                    76322, 76846, 77463, 77472, 77684, 77725,
                    77863, 78107, 78368, 78502, 79763, 76934,
                    70959, 75204, 76303, 77421, 70710, 76578,
                    76623, 76954
                ]
                AND s.name = 'tier-2'
                MERGE (v)-[rel:IN_SERVICE_TIER]->(s)
                    ON CREATE SET rel.createdAt = datetime(), rel.createdBy = 'PLATFORM-3728'
                RETURN v,s
            ]]>
        </cypherquery>
    </changeset>
</changelog>
