mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch '2609-cambios-en-la-forma-de-gestionar-grupos-secundarios-en-la-vista-de-usuario-2' into 'develop'
Fixed copy is_secondary to no_hierarchy in mr 19 See merge request artica/pandorafms!1687
This commit is contained in:
commit
898154ccfb
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user