diff --git a/update/2_5_1.sql b/update/2_5_1.sql index 57c2cbbb0..3b2e6e681 100644 --- a/update/2_5_1.sql +++ b/update/2_5_1.sql @@ -429,7 +429,7 @@ ALTER TABLE `my_impianti` ADD `id_marca` INT NULL AFTER `idanagrafica`; ALTER TABLE `my_impianti` ADD `id_modello` INT NULL AFTER `id_marca`; -- Modulo Marche impianto -INSERT INTO `zz_modules` (`name`, `directory`, `options`, `options2`, `icon`, `version`, `compatibility`, `order`, `parent`, `default`, `enabled`, `use_notes`, `use_checklists`) VALUES ('Marche impianti', 'impianti_marche', 'SELECT |select| FROM `my_impianti_marche` WHERE 1=1 HAVING 2=2', '', 'fa fa-angle-right', '2.5.1', '2.5.1', '2', '30', '1', '1', '0', '0'); +INSERT INTO `zz_modules` (`name`, `directory`, `options`, `options2`, `icon`, `version`, `compatibility`, `order`, `parent`, `default`, `enabled`, `use_notes`, `use_checklists`) VALUES ('Marche impianti', 'impianti_marche', 'SELECT |select| FROM `my_impianti_marche` WHERE 1=1 HAVING 2=2', '', 'fa fa-angle-right', '2.5.1', '2.5.1', '2', (SELECT `id` FROM `zz_modules` `m` WHERE `name`='Impianti'), '1', '1', '0', '0'); INSERT INTO `zz_modules_lang` (`id_lang`, `id_record`, `title`) VALUES ('1', (SELECT MAX(id) FROM `zz_modules`), 'Marche impianti'); INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`) VALUES