2010-04-27 Sergio Martin <sergio.martin@artica.es>

* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Changed
	the database values of group from 1 to 0 and 
	remove the group with Id=1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-04-27 12:01:46 +00:00
parent 1acd14b4e5
commit dab1439636
2 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-04-27 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Changed
the database values of group from 1 to 0 and
remove the group with Id=1
2010-04-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code of

View File

@ -293,3 +293,20 @@ CREATE TABLE IF NOT EXISTS `tagente_datos_log4x` (
ALTER TABLE talert_templates MODIFY `type` ENUM ('regex', 'max_min', 'max', 'min', 'equal', 'not_equal', 'warning', 'critical', 'onchange');
-- -----------------------------------------------------
-- Modifications of data in order to group All issue fix
-- -----------------------------------------------------
DELETE FROM tgrupo WHERE id_grupo = 1;
UPDATE tusuario_perfil SET id_grupo = 0 WHERE id_grupo = 1;
UPDATE tgis_map SET group_id = 0 WHERE group_id = 1;
UPDATE tgis_map_connection SET group_id = 0 WHERE group_id = 1;
UPDATE tgis_map_layer SET tgrupo_id_grupo = 0 WHERE tgrupo_id_grupo = 1;
UPDATE talert_actions SET id_group = 0 WHERE id_group = 1;
UPDATE talert_templates SET id_group = 0 WHERE id_group = 1;
UPDATE tevento SET id_grupo = 0 WHERE id_grupo = 1;
UPDATE tgraph SET id_group = 0 WHERE id_group = 1;
UPDATE tincidencia SET id_grupo = 0 WHERE id_grupo = 1;
UPDATE tlayout SET id_group = 0 WHERE id_group = 1;
UPDATE tplanned_downtime SET id_group = 0 WHERE id_group = 1;