diff --git a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql index 69303ea368..3793bbbe3d 100644 --- a/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql @@ -257,3 +257,8 @@ DELETE FROM `tconfig` WHERE `token`='sla_period'; UPDATE FROM `network_component` SET `module_inteval`= 3600 WHERE `id_nc`=53; UPDATE FROM `network_component` SET `post_process`= 0.000000115740741 WHERE `id_nc`=53; UPDATE FROM `network_component` SET `unit`= 'day' WHERE `id_nc`=53; + +-- --------------------------------------------------------------------- +-- Table `network_component` +-- --------------------------------------------------------------------- +ALTER TABLE `tnetwork_component` MODIFY COLUMN `post_process` DOUBLE(18,15) DEFAULT 0; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index d820fa86c7..17d1547707 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -707,7 +707,7 @@ CREATE TABLE IF NOT EXISTS `tnetwork_component` ( `custom_string_3` text, `custom_integer_1` int(10) default 0, `custom_integer_2` int(10) default 0, - `post_process` double(18,5) default 0, + `post_process` double(18,15) default 0, `unit` text, `wizard_level` enum('basic','advanced','nowizard') default 'nowizard', `macros` text,