<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
        xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
        xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd
        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
    <changeSet id="1" author="rkhandeparkar">
        <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
        <![CDATA[
            INSERT INTO `canned_response`
            (`id`, `category_id`, `keyword`, `review_context`, `modified_by_user_id`, `for_deletion`, `last_updated`)
            VALUES
            (133, 7, 'Producer Mismatch', 'rejection', 'af74c4b6-3b34-4eb1-9375-2929590ff49c', 0, NOW());;

            INSERT INTO `canned_response_note`
            (`canned_response_id`, `note_keyword`, `note_text`, `language_code`, `modified_by_user_id`, `last_updated`)
            VALUES
            (133, 'Producer Mismatch',
                'The producer credit should be added to the product level only if it is credited on all tracks.',
                'en',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, 'Produzenten-Mismatch',
                'Der Produzenten-Credit sollte nur auf Produktebene hinzugefügt werden, wenn er auf allen Tracks vermerkt ist.',
                'de',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, 'Inadéquation des producteurs',
                'Le crédit producteur ne doit être ajouté au niveau du produit que s''il est crédité sur tous les morceaux.',
                'fr',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, 'プロデューサーのミスマッチ',
                'プロデューサークレジットは、すべてのトラックでクレジットされている場合にのみ、プロダクトレベルに追加する必要があります。',
                'ja',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, '프로듀서 불일치',
                '프로듀서 크레딧은 모든 트랙에서 크레딧이 적용되는 경우에만 제품 수준에 추가되어야 합니다.',
                'ko',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, 'Incompatibilidade do Produtor',
                'O crédito ao produtor só deve ser adicionado ao nível do produto se for creditado em todas as faixas.',
                'pt',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, 'Несоответствие продюсера',
                'Указание продюсера должно присутствовать на уровне продукта только в том случае, если оно указано во всех композициях.',
                'ru',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, 'Yapımcı Uygunsuzluğu',
                'Yapımcı kredisi, yalnızca tüm parçalara atıfta bulunuyorsa ürün düzeyine eklenmelidir.',
                'tr',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, '制作人不匹配',
                '只有在所有曲目中都包含制作人姓名，才应将其添加到产品级别。',
                'zh-CN', 'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, '製作人不匹配',
                '只有當製作人署名出現在所有音軌中時，才應將製作人署名新增至產品層級。',
                'zh-TW', 'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, 'Discrepancia del productor',
                'El crédito del productor debe agregarse a nivel de producto solo si se acredita en todos los Temas.',
                'es',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW()),
            (133, 'Mancata corrispondenza del produttore',
                'Il credito del produttore dovrebbe essere aggiunto a livello di prodotto solo se è accreditato su tutte le tracce.',
                'it',    'af74c4b6-3b34-4eb1-9375-2929590ff49c', NOW());;
        ]]>
        </sql>
        <rollback>
          <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
          <![CDATA[
            DELETE FROM `canned_response_note` WHERE `canned_response_id` = 133;;
            DELETE FROM `canned_response` WHERE `id` = 133;;
          ]]>
          </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>
