From 665dd823ae5aefaea683e8fdce857c177c53266a Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 2 Mar 2020 17:38:02 +0100 Subject: [PATCH] Retrofix per aggiornamento 2.4.11 --- update/2_4_11.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update/2_4_11.sql b/update/2_4_11.sql index fd62fc7c1..f110f6679 100755 --- a/update/2_4_11.sql +++ b/update/2_4_11.sql @@ -311,9 +311,9 @@ ALTER TABLE `zz_hooks` ADD `processing_at` TIMESTAMP NULL DEFAULT NULL, ADD `pro INSERT INTO `zz_hooks` (`id`, `name`, `class`, `frequency`, `id_module`) VALUES (NULL, 'Backup', 'Modules\\Backups\\BackupHook', '1 day', (SELECT `id` FROM `zz_modules` WHERE `name` = 'Backup')); -- Miglioramento gestione email -ALTER TABLE `zz_emails` RENAME TO `em_templates`; -ALTER TABLE `zz_smtps` RENAME TO `em_accounts`; -ALTER TABLE `zz_email_print` RENAME TO `em_print_template`; +RENAME TABLE `zz_emails` TO `em_templates`; +RENAME TABLE `zz_smtps` TO `em_accounts`; +RENAME TABLE `zz_email_print` TO `em_print_template`; UPDATE zz_modules SET options = REPLACE(options, 'zz_emails', 'em_templates'), options2 = REPLACE(options2, 'zz_emails', 'em_templates'); UPDATE zz_modules SET options = REPLACE(options, 'zz_smtps', 'em_accounts'), options2 = REPLACE(options2, 'zz_smtps', 'em_accounts');