2009-09-18 Sancho Lerena <slerena@artica.es>

* pandoradb.sql: more changes to schema :(. Added id_group to custom graph

        * pandoradb_data.sql: Updated build number of DB schema,

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new field for upgrade
        script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2009-09-18 18:36:20 +00:00
parent 35c03e323d
commit 0ac6724734
4 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2009-09-18 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: more changes to schema :(. Added id_group to custom graph
* pandoradb_data.sql: Updated build number of DB schema,
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new field for upgrade
script.
2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: change the function "update_agent_module"

View File

@ -290,4 +290,8 @@ ALTER TABLE tagente DROP id_network_server;
ALTER TABLE tagente DROP id_plugin_server;
ALTER TABLE tagente DROP id_prediction_server;
-- Sept 2009
ALTER TABLE tgraph ADD `id_group` mediumint(8) unsigned NULL default 0;

View File

@ -695,6 +695,7 @@ CREATE TABLE IF NOT EXISTS `tgraph` (
`private` tinyint(1) UNSIGNED NOT NULL default 0,
`events` tinyint(1) UNSIGNED NOT NULL default 0,
`stacked` tinyint(1) UNSIGNED NOT NULL default 0,
`id_group` mediumint(8) unsigned NULL default 0,
PRIMARY KEY(`id_graph`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8;

View File

@ -47,7 +47,7 @@ INSERT INTO `tconfig` VALUES
(6,'graph_res','5'),
(7,'step_compact','1'),
(8,'db_scheme_version','3.0-dev'),
(9,'db_scheme_build','PD90901'),
(9,'db_scheme_build','PD90918'),
(13,'show_unknown','0'),
(14,'show_lastalerts','1'),
(15,'style','pandora'),