2011-07-07 Sergio Martin <sergio.martin@artica.es>

* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added to the database
	schemma the disabled attribute to recon task table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4520 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-07-07 10:07:19 +00:00
parent 333e2cfe6c
commit 424bd638f9
5 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2011-07-07 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added to the database
schemma the disabled attribute to recon task table
2011-07-07 Sergio Martin <sergio.martin@artica.es> 2011-07-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_servers.php * include/functions_servers.php

View File

@ -194,3 +194,9 @@ ALTER TABLE `tevento` ADD COLUMN (`tags` text NOT NULL);
-- ----------------------------------------------------- -- -----------------------------------------------------
ALTER TABLE `tnetwork_map` ADD COLUMN `show_snmp_modules` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `tnetwork_map` ADD COLUMN `show_snmp_modules` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
-- -----------------------------------------------------
-- Table `trecon_task`
-- -----------------------------------------------------
ALTER TABLE `trecon_task` ADD COLUMN `disabled` tinyint(1) UNSIGNED NOT NULL DEFAULT 0;

View File

@ -707,7 +707,8 @@ CREATE TABLE trecon_task (
os_detect NUMBER(5, 0) default 1 NOT NULL, os_detect NUMBER(5, 0) default 1 NOT NULL,
resolve_names NUMBER(5, 0) default 1 NOT NULL, resolve_names NUMBER(5, 0) default 1 NOT NULL,
parent_detection NUMBER(5, 0) default 1 NOT NULL, parent_detection NUMBER(5, 0) default 1 NOT NULL,
parent_recursion NUMBER(5, 0) default 1 NOT NULL parent_recursion NUMBER(5, 0) default 1 NOT NULL,
disabled NUMBER(5, 0) default 1 NOT NULL
); );
CREATE INDEX trecon_task_id_rec_serv_idx ON trecon_task(id_recon_server); CREATE INDEX trecon_task_id_rec_serv_idx ON trecon_task(id_recon_server);

View File

@ -571,7 +571,8 @@ CREATE TABLE "trecon_task" (
"os_detect" SMALLINT NOT NULL default 1, "os_detect" SMALLINT NOT NULL default 1,
"resolve_names" SMALLINT NOT NULL default 1, "resolve_names" SMALLINT NOT NULL default 1,
"parent_detection" SMALLINT NOT NULL default 1, "parent_detection" SMALLINT NOT NULL default 1,
"parent_recursion" SMALLINT NOT NULL default 1 "parent_recursion" SMALLINT NOT NULL default 1,
"disabled" SMALLINT NOT NULL default 1
); );
CREATE INDEX "trecon_task_id_recon_server_idx" ON "trecon_task"("id_recon_server"); CREATE INDEX "trecon_task_id_recon_server_idx" ON "trecon_task"("id_recon_server");

View File

@ -623,6 +623,7 @@ CREATE TABLE IF NOT EXISTS `trecon_task` (
`resolve_names` tinyint(1) unsigned default '0', `resolve_names` tinyint(1) unsigned default '0',
`parent_detection` tinyint(1) unsigned default '0', `parent_detection` tinyint(1) unsigned default '0',
`parent_recursion` tinyint(1) unsigned default '0', `parent_recursion` tinyint(1) unsigned default '0',
`disabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id_rt`), PRIMARY KEY (`id_rt`),
KEY `recon_task_daemon` (`id_recon_server`) KEY `recon_task_daemon` (`id_recon_server`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;