diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f153fd999d..05fabc831f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2013-06-26 Miguel de Dios + + * 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 * pandora_console.spec, diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql index a4382a3001..bfcc0c2295 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql @@ -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, `_snmp_f4_` text, `_snmp_f5_` text, `_snmp_f6_` text, `trap_type` int(11) NOT NULL default '-1', `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` diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql index 2e9491d2cf..f02cee4430 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql @@ -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 (trap_type NUMBER(10, 0) DEFAULT -1 NOT NULL); 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 @@ -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_access_node NUMBER(10, 0) default 0 NOT NULL); - -- --------------------------------------------------------------------- -- --------------------------------------------------------------------- -- DATA diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql index dfb74295a8..9f40034fd3 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql @@ -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 "trap_type" INTEGER NOT NULL DEFAULT '-1'; 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"