update version and adding units in datastore modules

This commit is contained in:
alejandro 2024-02-07 13:05:57 +01:00
parent 4912a4051f
commit 32c8d23a93
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
pandorafms.vmware=248788e0fb2cd4e11623e4a52ee7d05b
pandorafms.vmware=6aa8d44c42d81ba2ddf1c52f6cf36a0b
pandorafms.mysql=fadb4750d18285c0eca34f47c6aa3cfe
pandorafms.mssql=1cc215409741d19080269ffba112810e
pandorafms.oracle=abdfd7280f76276f696115cabdac731e

View File

@ -42,6 +42,8 @@ ALTER TABLE `tmerge_queries` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_09
-- Update version for plugin oracle
UPDATE `tdiscovery_apps` SET `version` = '1.2' WHERE `short_name` = 'pandorafms.oracle';
-- Update version for plugin oracle
UPDATE `tdiscovery_apps` SET `version` = '1.3' WHERE `short_name` = 'pandorafms.vmware';
ALTER TABLE `tevent_sound` MODIFY COLUMN `name` text NULL;
ALTER TABLE `tevent_sound` MODIFY COLUMN `sound` text NULL;

View File

@ -2867,7 +2867,7 @@ SET @short_name = 'pandorafms.vmware';
SET @name = 'VMware';
SET @section = 'app';
SET @description = 'Monitor ESXi hosts, datastores and VMs from a specific datacenter';
SET @version = '1.2';
SET @version = '1.3';
INSERT IGNORE INTO `tdiscovery_apps` (`id_app`, `short_name`, `name`, `section`, `description`, `version`) VALUES ('', @short_name, @name, @section, @description, @version);
SELECT @id_app := `id_app` FROM `tdiscovery_apps` WHERE `short_name` = @short_name;