diff --git a/pandora_console/extras/mr/17.sql b/pandora_console/extras/mr/17.sql index 2b531f9eac..fc60cf3296 100644 --- a/pandora_console/extras/mr/17.sql +++ b/pandora_console/extras/mr/17.sql @@ -12,4 +12,6 @@ CREATE TABLE IF NOT EXISTS `tdatabase` ( PRIMARY KEY (`id`) ) ENGINE = InnoDB DEFAULT CHARSET=utf8 ; +ALTER TABLE `tagent_module_inventory` ADD COLUMN `custom_fields` MEDIUMBLOB NOT NULL; + COMMIT; \ No newline at end of file diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 0a79019630..ddf1775095 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -2312,6 +2312,7 @@ CREATE TABLE IF NOT EXISTS `tagent_module_inventory` ( `utimestamp` bigint(20) default '0', `flag` tinyint(1) unsigned default '1', `id_policy_module_inventory` int(10) NOT NULL default '0', + `custom_fields` MEDIUMBLOB NOT NULL, PRIMARY KEY (`id_agent_module_inventory`), FOREIGN KEY (`id_agente`) REFERENCES tagente(`id_agente`) ON UPDATE CASCADE ON DELETE CASCADE,