Merge branch '1748-Sistema-de-gestión-de-Clusters-migrate-id_os' into 'develop'
Fix migrate clusters id_os bug - #1748 See merge request artica/pandorafms!1383
This commit is contained in:
commit
cf67530fa8
|
@ -1164,6 +1164,16 @@ UPDATE tconfig SET value = 'https://licensing.artica.es/pandoraupdate7/server.ph
|
|||
DELETE FROM `tconfig` WHERE `token` = 'current_package_enterprise';
|
||||
INSERT INTO `tconfig` (`token`, `value`) VALUES ('current_package_enterprise', '720');
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tconfig_os`
|
||||
-- ---------------------------------------------------------------------
|
||||
|
||||
INSERT INTO `tconfig_os` (`id_os`, `name`, `description`, `icon_name`) VALUES (100, 'Cluster', 'Cluster agent', 'so_cluster.png');
|
||||
|
||||
UPDATE `tagente` SET `id_os` = 100 WHERE `id_os` = 21 and (select `id_os` from `tconfig_os` WHERE `id_os` = 21 and `name` = 'Cluster');
|
||||
|
||||
DELETE FROM `tconfig_os` where `id_os` = 21 and `name` = 'Cluster';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tplanned_downtime_agents`
|
||||
-- ---------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue