2012-12-10 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql pandoradb.postgreSQL.sql pandoradb.oracle.sql extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added tags column to the network components table git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
001ee125ac
commit
b6f9867ef0
|
@ -1,3 +1,13 @@
|
|||
2012-12-10 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* pandoradb.sql
|
||||
pandoradb.postgreSQL.sql
|
||||
pandoradb.oracle.sql
|
||||
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
|
||||
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
|
||||
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added
|
||||
tags column to the network components table
|
||||
|
||||
2012-12-09 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* pandoradb.sql: Replaced ^---.. comments with "-- -.." to avoid problems
|
||||
|
|
|
@ -185,6 +185,7 @@ ALTER TABLE `tnetwork_component` ADD COLUMN `critical_inverse` tinyint(1) unsign
|
|||
ALTER TABLE `tnetwork_component` ADD COLUMN `warning_inverse` tinyint(1) unsigned default '0';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `max_retries` int(4) UNSIGNED NOT NULL default 0;
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `id_category` int(10) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `tnetwork_component` ADD COLUMN `tags` TEXT NOT NULL default '';
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- Table `tgraph_source` Alter table to allow negative values in weight
|
||||
|
|
|
@ -356,7 +356,7 @@ ALTER TABLE tnetwork_component ADD (unknown_instructions VARCHAR2(255) default '
|
|||
ALTER TABLE tnetwork_component ADD (critical_inverse NUMBER(1, 0) default 0 NOT NULL);
|
||||
ALTER TABLE tnetwork_component ADD (warning_inverse NUMBER(1, 0) default 0 NOT NULL);
|
||||
ALTER TABLE tnetwork_component ADD (max_retries NUMBER(10, 0) default 0);
|
||||
evento
|
||||
ALTER TABLE tnetwork_component ADD (tags VARCHAR2(255) default '');
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- Table tnetwork_map
|
||||
|
|
|
@ -348,6 +348,7 @@ ALTER TABLE "tnetwork_component" ADD COLUMN "warning_instructions" text default
|
|||
ALTER TABLE "tnetwork_component" ADD COLUMN "unknown_instructions" text default '';
|
||||
ALTER TABLE "tnetwork_component" ADD COLUMN "critical_inverse" SMALLINT NOT NULL default 0;
|
||||
ALTER TABLE "tnetwork_component" ADD COLUMN "warning_inverse" SMALLINT NOT NULL default 0;
|
||||
ALTER TABLE "tnetwork_component" ADD COLUMN "tags" text default '';
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- Table "tnetwork_map"
|
||||
|
|
|
@ -756,6 +756,7 @@ CREATE TABLE tnetwork_component (
|
|||
critical_inverse NUMBER(1, 0) default 0 NOT NULL,
|
||||
warning_inverse NUMBER(1, 0) default 0 NOT NULL,
|
||||
id_category NUMBER(10, 0) default 0 NOT NULL,
|
||||
tags CLOB,
|
||||
CONSTRAINT t_network_component_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard'))
|
||||
);
|
||||
|
||||
|
|
|
@ -629,7 +629,8 @@ CREATE TABLE "tnetwork_component" (
|
|||
"unknown_instructions" TEXT default '',
|
||||
"critical_inverse" SMALLINT NOT NULL default 0,
|
||||
"warning_inverse" SMALLINT NOT NULL default 0,
|
||||
"id_category" INTEGER NOT NULL default 0
|
||||
"id_category" INTEGER NOT NULL default 0,
|
||||
"tags" text NOT NULL
|
||||
);
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
|
|
|
@ -707,6 +707,7 @@ CREATE TABLE IF NOT EXISTS `tnetwork_component` (
|
|||
`critical_inverse` tinyint(1) unsigned default '0',
|
||||
`warning_inverse` tinyint(1) unsigned default '0',
|
||||
`id_category` int(10) default 0,
|
||||
`tags` text NOT NULL,
|
||||
PRIMARY KEY (`id_nc`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
|
Loading…
Reference in New Issue