Merge branch '2090-Cambio-id_os-a-100-a-sistema-operativo-asociado-a-cluster' into 'develop'

Fix cluster id_os bug - #2090

See merge request artica/pandorafms!1384
This commit is contained in:
vgilc 2018-03-21 15:49:06 +01:00
commit 928113bf4c

View File

@ -0,0 +1,7 @@
START TRANSACTION;
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';
COMMIT;