diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2ce88ba28f..00857478e1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-09-18 Ramon Novoa + + * pandoradb.postgreSQL.sql, + pandoradb.oracle.sql: Added inverse critical and warning intervals to + the Oracle and PostgreSQL database schemas. + 2012-09-18 Vanessa Gil * include/functions_api.php: Fixed bug creating diff --git a/pandora_console/pandoradb.oracle.sql b/pandora_console/pandoradb.oracle.sql index 31960ad7a0..7a23969b13 100644 --- a/pandora_console/pandoradb.oracle.sql +++ b/pandora_console/pandoradb.oracle.sql @@ -232,6 +232,8 @@ CREATE TABLE tagente_modulo ( critical_instructions VARCHAR2(255) default '', warning_instructions VARCHAR2(255) default '', unknown_instructions VARCHAR2(255) default '', + critical_inverse NUMBER(1, 0) default 0 NOT NULL, + warning_inverse NUMBER(1, 0) default 0 NOT NULL, CONSTRAINT t_agente_modulo_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard')) ); CREATE INDEX tagente_modulo_id_agente_idx ON tagente_modulo(id_agente); @@ -682,6 +684,8 @@ CREATE TABLE tnetwork_component ( critical_instructions VARCHAR2(255) default '', warning_instructions VARCHAR2(255) default '', unknown_instructions VARCHAR2(255) default '', + critical_inverse NUMBER(1, 0) default 0 NOT NULL, + warning_inverse NUMBER(1, 0) default 0 NOT NULL, CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard')) ); diff --git a/pandora_console/pandoradb.postgreSQL.sql b/pandora_console/pandoradb.postgreSQL.sql index 1d54b71427..6f00710646 100644 --- a/pandora_console/pandoradb.postgreSQL.sql +++ b/pandora_console/pandoradb.postgreSQL.sql @@ -220,7 +220,9 @@ CREATE TABLE "tagente_modulo" ( "critical_instructions" TEXT default '', "warning_instructions" TEXT default '', "unknown_instructions" TEXT default '', - "quiet" SMALLINT NOT NULL default 0 + "quiet" SMALLINT NOT NULL default 0, + "critical_inverse" SMALLINT NOT NULL default 0, + "warning_inverse" SMALLINT NOT NULL default 0 ); CREATE INDEX "tagente_modulo_id_agente_idx" ON "tagente_modulo"("id_agente"); CREATE INDEX "tagente_modulo_id_tipo_modulo_idx" ON "tagente_modulo"("id_tipo_modulo"); @@ -558,7 +560,9 @@ CREATE TABLE "tnetwork_component" ( "macros" TEXT default '', "critical_instructions" TEXT default '', "warning_instructions" TEXT default '', - "unknown_instructions" TEXT default '' + "unknown_instructions" TEXT default '', + "critical_inverse" SMALLINT NOT NULL default 0, + "warning_inverse" SMALLINT NOT NULL default 0 ); CREATE TABLE "tnetwork_component_group" (