<?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[
            DROP TABLE IF EXISTS `ROLLBACK-REVIEW-2637-remixer-credits`;;
            CREATE TABLE `ROLLBACK-REVIEW-2637-remixer-credits`
            SELECT * FROM `canned_response_note`
            WHERE `canned_response_id` = 26;;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'Remixer Credits',
                `note_text`    = 'This product contains a remixed track(s).
You will have to credit the person who made the remix as a remixer in the contributor field for the track(s).
Please note -  the only primary artists that should be listed in the primary role are the primary artists from the original version of the track. Do not include remixers as primary artists on remixed tracks.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'en';;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'Remixer-Credits',
                `note_text`    = 'Dieses Produkt enthält einen oder mehrere Remix-Track(s).
Du musst die Person, die den Remix erstellt hat, im Mitwirkenden-Feld für den oder die Tracks als Remixer angeben.
Bitte beachte: Die einzigen Hauptkünstler, die in der primären Rolle aufgeführt sein sollten, sind die Hauptkünstler aus der Originalversion des Tracks. Führe Remixer auf Remix-Tracks nicht als primäre Künstler auf.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'de';;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'Crédits du remixeur',
                `note_text`    = 'Ce produit contient des morceaux remixés.
Vous devrez mentionner la personne qui a réalisé le remix en tant que remixeur dans le champ Contributeur pour les morceaux.
Veuillez noter que les seuls artistes principaux qui doivent être répertoriés dans le rôle principal sont les artistes principaux de la version originale du morceau. N''incluez pas de remixeurs comme artistes principaux sur les morceaux remixés.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'fr';;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'リミキサー クレジット',
                `note_text`    = 'このプロダクトには、リミックスされたトラックが含まれています。
トラックのコントリビューターフィールドに、リミックスを作成した人をリミキサーとしてクレジットする必要があります。
ご注意ください - メインアーティストの役割に記載される必要があるメインアーティストは、そのトラックのオリジナルバージョンのメインアーティストのみです。リミックスされたトラックの主要アーティストとしてリミキサーを含めないでください。',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'jp';;

            UPDATE `canned_response_note`
            SET `note_keyword` = '리믹서 크레딧',
                `note_text`    = '이 제품에는 리믹스된 트랙이 포함되어 있습니다.
해당 트랙의 기여자 필드에 리믹스를 만든 사람을 리믹서로 표시해야 합니다.
참고하세요. 주요 역할에 나열되어야 하는 주요 아티스트는 해당 곡의 원래 버전의 주요 아티스트뿐입니다. 리믹스된 트랙의 주요 아티스트로 리믹서를 포함하지 마세요.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'kr';;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'Créditos do Remisturador',
                `note_text`    = 'Este produto contém uma ou mais faixa(s) remixada(s).
Terás de atribuir o crédito à pessoa que fez o remix como remixer no campo de contribuidor para a(s) faixa(s).
Nota - os únicos artistas principais que devem ser listados na função principal são os artistas principais da versão original da faixa. Não incluam remixers como artistas principais nas faixas remixadas.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'pt';;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'Кредиты авторов ремикса',
                `note_text`    = 'Этот продукт содержит ремиксированную композицию (композиции).
Вам нужно будет указать человека, сделавшего ремикс, в качестве ремиксера в поле автора для композиции (композиций).
Please note that the only main performers that should be listed in the main role are the main performers from the original version of the song. Не указывайте ремиксеров в качестве основных исполнителей в ремиксированных композициях.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'ru';;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'Remiks Atıfları',
                `note_text`    = 'Bu ürün, remiks edilmiş bir parça veya parçalar içerir.
Parçanın veya parçaların katkıda bulunanlar alanında remiks yapan kişiyi remiksçi olarak belirtmelisin.
Lütfen unutma; ana rolde listelenmesi gereken tek ana sanatçılar, parçanın orijinal sürümündeki ana sanatçılardır. Remiks yapan kişileri remiksli parçalarda ana sanatçı olarak eklemeyin.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'tr';;

            UPDATE `canned_response_note`
            SET `note_keyword` = '混音师署名',
                `note_text`    = '此产品包含混音曲目。
您必须在曲目的"贡献者"字段中将制作该混音的人员标记为混音者。
请注意——唯一应该列为主要角色的主要艺术家必须是该曲目原始版本的主要艺术家。 请勿将混音者列为混音曲目的主要艺术家。',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'zh-CN';;

            UPDATE `canned_response_note`
            SET `note_keyword` = '混音師姓名',
                `note_text`    = '此產品包含混音曲目。
你必須在該曲目的「貢獻者」欄位中，將製作混音版本的人署名為混音製作人。
請注意 - 在主要藝人角色中列出的藝人應僅限於該 Track 原始版本中的主要藝人。請勿將混音製作人列為混音音軌的主要藝人。',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'zh-TW';;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'Créditos del remezclador',
                `note_text`    = 'Este producto contiene una o más pistas remezcladas.
Tendrás que dar crédito a la persona que hizo la remezcla como remezclador en el campo de colaborador de la(s) pista(s).
Ten en cuenta que los únicos artistas principales que deben figurar en el rol principal son los artistas principales de la versión original de la Canción / Tema. No incluyas remezcladores como artistas principales en los Temas remezclados.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'es';;

            UPDATE `canned_response_note`
            SET `note_keyword` = 'Crediti del Remixer',
                `note_text`    = 'Questo prodotto contiene una o più tracce remixate.
Dovrai accreditare la persona che ha creato il remix come remixer nel campo Collaboratore per le tracce.
Tieni presente che gli unici artisti primari che dovrebbero essere elencati nel ruolo primario sono gli artisti primari della versione originale del brano. Non includere i remixer come artisti principali sulle tracce remixate.',
                `modified_by_user_id` = 'af74c4b6-3b34-4eb1-9375-2929590ff49c',
                `last_updated` = NOW()
            WHERE `canned_response_id` = 26 AND `language_code` = 'it';;
        ]]>
        </sql>
        <rollback>
          <sql dbms="mysql" endDelimiter=";;" splitStatements="true" stripComments="true">
          <![CDATA[
            UPDATE `canned_response_note` crn
            JOIN `ROLLBACK-REVIEW-2637-remixer-credits` rb
                ON crn.canned_response_id = rb.canned_response_id AND crn.language_code = rb.language_code
            SET crn.note_keyword          = rb.note_keyword,
                crn.note_text             = rb.note_text,
                crn.modified_by_user_id   = rb.modified_by_user_id,
                crn.last_updated          = rb.last_updated;;
          ]]>
          </sql>
        </rollback>
    </changeSet>
</databaseChangeLog>
