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:
parent
333e2cfe6c
commit
424bd638f9
|
@ -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>
|
||||
|
||||
* include/functions_servers.php
|
||||
|
|
|
@ -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;
|
||||
|
||||
-- -----------------------------------------------------
|
||||
-- Table `trecon_task`
|
||||
-- -----------------------------------------------------
|
||||
|
||||
ALTER TABLE `trecon_task` ADD COLUMN `disabled` tinyint(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
|
|
|
@ -707,7 +707,8 @@ CREATE TABLE trecon_task (
|
|||
os_detect 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_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);
|
||||
|
||||
|
|
|
@ -571,7 +571,8 @@ CREATE TABLE "trecon_task" (
|
|||
"os_detect" SMALLINT NOT NULL default 1,
|
||||
"resolve_names" 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");
|
||||
|
||||
|
|
|
@ -623,6 +623,7 @@ CREATE TABLE IF NOT EXISTS `trecon_task` (
|
|||
`resolve_names` tinyint(1) unsigned default '0',
|
||||
`parent_detection` tinyint(1) unsigned default '0',
|
||||
`parent_recursion` tinyint(1) unsigned default '0',
|
||||
`disabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id_rt`),
|
||||
KEY `recon_task_daemon` (`id_recon_server`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
|
Loading…
Reference in New Issue