diff --git a/include/upgrader/streams/core/d51f303a-dad45ca2.patch.sql b/include/upgrader/streams/core/d51f303a-dad45ca2.patch.sql index 94b8f8aa7fcd59f202bcc281324c58894f160a72..b08acdc73225e8cc3f83cf4270ac89663c3d1f6a 100644 --- a/include/upgrader/streams/core/d51f303a-dad45ca2.patch.sql +++ b/include/upgrader/streams/core/d51f303a-dad45ca2.patch.sql @@ -47,89 +47,89 @@ CREATE TABLE `%TABLE_PREFIX%draft` ( UPDATE `%TABLE_PREFIX%email_template` SET `body` = REPLACE( REPLACE( REPLACE( REPLACE( `body`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); -- Migrate notes to HTML UPDATE `%TABLE_PREFIX%api_key` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%email` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%email_template_group` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%faq` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%faq_category` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%filter` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%groups` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%help_topic` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%page` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%sla` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%staff` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); UPDATE `%TABLE_PREFIX%team` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, @@ -142,16 +142,16 @@ UPDATE `%TABLE_PREFIX%team` UPDATE `%TABLE_PREFIX%canned_response` SET `notes` = REPLACE( REPLACE( REPLACE( REPLACE( `notes`, + '&', '&'), '<', '<'), '>', '>'), '\n', '<br/>'), - '&', '&'), `response` = REPLACE( REPLACE( REPLACE( REPLACE( `response`, + '&', '&'), '<', '<'), '>', '>'), - '\n', '<br/>'), - '&', '&'); + '\n', '<br/>'); -- Migrate ticket-thread to HTML -- XXX: Migrate & -> & ? -- the problem is that there's a fix in 1.7.1