diff --git a/pandora_console/extras/mr/19.sql b/pandora_console/extras/mr/19.sql index 1e7eb6f697..b5de94dd02 100644 --- a/pandora_console/extras/mr/19.sql +++ b/pandora_console/extras/mr/19.sql @@ -57,7 +57,7 @@ CREATE TABLE IF NOT EXISTS `tlayout_template_data` ( -- Rename column is_secondary to no_hierarchy in `tusuario _perfil` -- --------------------------------------------------------------------- ALTER TABLE `tusuario_perfil` ADD COLUMN `no_hierarchy` tinyint(1) NOT NULL DEFAULT 0; -UPDATE `tusuario_perfil` SET `is_secondary` = `no_hierarchy`; +UPDATE `tusuario_perfil` SET `no_hierarchy` = `is_secondary`; ALTER TABLE `tusuario_perfil` DROP COLUMN `is_secondary`; UPDATE `talert_commands` SET name='Monitoring Event' WHERE name='Pandora FMS Event';