2013-06-26 Miguel de Dios <miguel.dedios@artica.es>

* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the new
	columns in the table "talert_snmp".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-06-26 10:57:28 +00:00
parent 0a5edf44c0
commit 12b4d46413
4 changed files with 28 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2013-06-26 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the new
columns in the table "talert_snmp".
2013-06-26 Ramon Novoa <rnovoa@artica.es> 2013-06-26 Ramon Novoa <rnovoa@artica.es>
* pandora_console.spec, * pandora_console.spec,

View File

@ -153,6 +153,13 @@ ALTER TABLE `tgrupo` ADD COLUMN `other` text;
ALTER TABLE `talert_snmp` ADD COLUMN (`_snmp_f1_` text, `_snmp_f2_` text, `_snmp_f3_` text, ALTER TABLE `talert_snmp` ADD COLUMN (`_snmp_f1_` text, `_snmp_f2_` text, `_snmp_f3_` text,
`_snmp_f4_` text, `_snmp_f5_` text, `_snmp_f6_` text, `trap_type` int(11) NOT NULL default '-1', `_snmp_f4_` text, `_snmp_f5_` text, `_snmp_f6_` text, `trap_type` int(11) NOT NULL default '-1',
`single_value` varchar(255) DEFAULT ''); `single_value` varchar(255) DEFAULT '');
ALTER TABLE `talert_snmp` ADD COLUMN `al_field4` text NOT NULL;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field5` text NOT NULL;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field6` text NOT NULL;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field7` text NOT NULL;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field8` text NOT NULL;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field9` text NOT NULL;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field10` text NOT NULL;
-- ---------------------------------------------------------------------- -- ----------------------------------------------------------------------
-- Table `tagente_modulo` -- Table `tagente_modulo`

View File

@ -186,6 +186,13 @@ ALTER TABLE talert_snmp ADD (_snmp_f5_ CLOB default '');
ALTER TABLE talert_snmp ADD (_snmp_f6_ CLOB default ''); ALTER TABLE talert_snmp ADD (_snmp_f6_ CLOB default '');
ALTER TABLE talert_snmp ADD (trap_type NUMBER(10, 0) DEFAULT -1 NOT NULL); ALTER TABLE talert_snmp ADD (trap_type NUMBER(10, 0) DEFAULT -1 NOT NULL);
ALTER TABLE talert_snmp ADD (single_value VARCHAR2(255) DEFAULT ''); ALTER TABLE talert_snmp ADD (single_value VARCHAR2(255) DEFAULT '');
ALTER TABLE talert_snmp ADD (al_field4 CLOB default '');
ALTER TABLE talert_snmp ADD (al_field5 CLOB default '');
ALTER TABLE talert_snmp ADD (al_field6 CLOB default '');
ALTER TABLE talert_snmp ADD (al_field7 CLOB default '');
ALTER TABLE talert_snmp ADD (al_field8 CLOB default '');
ALTER TABLE talert_snmp ADD (al_field9 CLOB default '');
ALTER TABLE talert_snmp ADD (al_field10 CLOB default '');
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- Table tevent_filter -- Table tevent_filter
@ -485,7 +492,6 @@ ALTER TABLE tusuario ADD COLUMN (metaconsole_agents_manager NUMBER(10, 0) defaul
ALTER TABLE tusuario ADD COLUMN (metaconsole_assigned_server NUMBER(10, 0) default 0 NOT NULL); ALTER TABLE tusuario ADD COLUMN (metaconsole_assigned_server NUMBER(10, 0) default 0 NOT NULL);
ALTER TABLE tusuario ADD COLUMN (metaconsole_access_node NUMBER(10, 0) default 0 NOT NULL); ALTER TABLE tusuario ADD COLUMN (metaconsole_access_node NUMBER(10, 0) default 0 NOT NULL);
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- DATA -- DATA

View File

@ -178,6 +178,13 @@ ALTER TABLE "talert_snmp" ADD COLUMN "_snmp_f5_" text DEFAULT '';
ALTER TABLE "talert_snmp" ADD COLUMN "_snmp_f6_" text DEFAULT ''; ALTER TABLE "talert_snmp" ADD COLUMN "_snmp_f6_" text DEFAULT '';
ALTER TABLE "talert_snmp" ADD COLUMN "trap_type" INTEGER NOT NULL DEFAULT '-1'; ALTER TABLE "talert_snmp" ADD COLUMN "trap_type" INTEGER NOT NULL DEFAULT '-1';
ALTER TABLE "talert_snmp" ADD COLUMN "single_value" varchar(255) DEFAULT ''; ALTER TABLE "talert_snmp" ADD COLUMN "single_value" varchar(255) DEFAULT '';
ALTER TABLE "talert_snmp" ADD COLUMN "al_field4" text NOT NULL default '';
ALTER TABLE "talert_snmp" ADD COLUMN "al_field5" text NOT NULL default '';
ALTER TABLE "talert_snmp" ADD COLUMN "al_field6" text NOT NULL default '';
ALTER TABLE "talert_snmp" ADD COLUMN "al_field7" text NOT NULL default '';
ALTER TABLE "talert_snmp" ADD COLUMN "al_field8" text NOT NULL default '';
ALTER TABLE "talert_snmp" ADD COLUMN "al_field9" text NOT NULL default '';
ALTER TABLE "talert_snmp" ADD COLUMN "al_field10" text NOT NULL default '';
-- ----------------------------------------------------- -- -----------------------------------------------------
-- Table "tagente_modulo" -- Table "tagente_modulo"