From 66b20731e0963c93b9b9d800dde425c1000e633b Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Sat, 13 Jan 2018 16:18:27 +0100 Subject: [PATCH] Fix campi idmodule in zz_plugins Ripristino della condizione NOT NULL per i campi idmodule in zz_plugins. --- update/2_3.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/2_3.sql b/update/2_3.sql index cec685a27..70518908b 100644 --- a/update/2_3.sql +++ b/update/2_3.sql @@ -717,7 +717,7 @@ UPDATE `zz_group_module` SET `default` = 1; UPDATE `zz_widgets` SET `more_link` = REPLACE(TRIM(`more_link`), 'templates/pdfgen.php', 'pdfgen.php'); -- Nuova struttura per i plugins -ALTER TABLE `zz_plugins` ADD `title` varchar(255) NOT NULL AFTER `name`, CHANGE `idmodule_from` `idmodule_from` int(11), CHANGE `idmodule_to` `idmodule_to` int(11), +ALTER TABLE `zz_plugins` ADD `title` varchar(255) NOT NULL AFTER `name`, ADD `directory` varchar(50) NOT NULL AFTER `script`, ADD `options` text AFTER `script`, ADD `options2` text AFTER `script`, ADD `version` varchar(15) NOT NULL AFTER `script`, ADD `compatibility` varchar(1000) NOT NULL AFTER `script`, ADD `order` int(11) NOT NULL AFTER `script`, ADD `default` boolean NOT NULL DEFAULT 0 AFTER `script`, ADD `enabled` boolean NOT NULL DEFAULT 1 AFTER `script`; UPDATE `zz_plugins` SET `name` = 'Serial' WHERE `name` = 'Lotti';