2012-09-18 Ramon Novoa <rnovoa@artica.es>

* pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Added inverse critical and warning intervals to
	  the Oracle and PostgreSQL database schemas.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2012-09-18 09:46:05 +00:00
parent 600e87fecb
commit 06d7ae7d34
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-09-18 Ramon Novoa <rnovoa@artica.es>
* pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: Added inverse critical and warning intervals to
the Oracle and PostgreSQL database schemas.
2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Fixed bug creating

View File

@ -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'))
);

View File

@ -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" (