<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.liquigraph.org/schema/1.0/liquigraph.xsd">
    <changeset id="PLATFORM-2582_add_email_subscriptions:1" author="npatel" run-on-change="true">
        <query>
            MERGE (s:Subscription { feedType : 'productApproval' , followedEntity : 'SubAccount' , notificationType : 'emailNotifications'})
                ON CREATE SET s.name = "email_notification_new_release", s.appId= "workstation";
        </query>
        <query>
            MERGE (s:Subscription { feedType : 'productApproval' , followedEntity : 'Vendor' , notificationType : 'emailNotifications'})
                ON CREATE SET s.name = "email_notification_new_release", s.appId= "workstation";
        </query>
        <query>
            MERGE (s:Subscription { feedType : 'videoProductRejection' , followedEntity : 'SubAccount' , notificationType : 'emailNotifications'})
                ON CREATE SET s.name = "label_video_product_rejection", s.appId= "workstation";
        </query>
        <query>
            MERGE (s:Subscription { feedType : 'videoProductRejection' , followedEntity : 'Vendor' , notificationType : 'emailNotifications'})
                ON CREATE SET s.name = "label_video_product_rejection", s.appId= "workstation";
        </query>
        <query>
            MERGE (s:Subscription { feedType : 'videoProductApproval' , followedEntity : 'SubAccount' , notificationType : 'emailNotifications'})
                ON CREATE SET s.name = "label_video_product_approval", s.appId= "workstation";
        </query>
        <query>
            MERGE (s:Subscription { feedType : 'videoProductApproval' , followedEntity : 'Vendor' , notificationType : 'emailNotifications'})
                ON CREATE SET s.name = "label_video_product_approval", s.appId= "workstation";
        </query>
    </changeset>
</changelog>
