2013-10-11 Vanessa Gil <vanessa.gil@artica.es>

* pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  pandoradb_data.sql
	  pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	  pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	  pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	  pandoradb_migrate_4.1_to_5.0.mysql.sql
	  pandoradb_migrate_4.1_to_5.0.oracle.sql
	  pandoradb_migrate_4.1_to_5.0.postgreSQL.sql: Removed some
	languages from setup.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2013-10-11 13:26:31 +00:00
parent 4797f3b8df
commit 0a0638a374
10 changed files with 100 additions and 48 deletions

View File

@ -1,3 +1,16 @@
2013-10-11 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.data.oracle.sql
pandoradb.data.postgreSQL.sql
pandoradb_data.sql
pandoradb_migrate_4.0.x_to_5.0.mysql.sql
pandoradb_migrate_4.0.x_to_5.0.oracle.sql
pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
pandoradb_migrate_4.1_to_5.0.mysql.sql
pandoradb_migrate_4.1_to_5.0.oracle.sql
pandoradb_migrate_4.1_to_5.0.postgreSQL.sql: Removed some
languages from setup.
2013-10-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.php,

View File

@ -362,6 +362,7 @@ ALTER TABLE tnetwork_map ADD `show_modulegroup` TINYINT(1) UNSIGNED NOT NULL DEF
-- Table `tagente_estado`
-- ----------------------------------------------------------------------
ALTER TABLE `tagente_estado` ADD COLUMN `last_known_status` tinyint(4) NOT NULL DEFAULT 0;
ALTER TABLE `tagente_estado` ADD COLUMN `last_error` int(4) NOT NULL DEFAULT '0';
-- ---------------------------------------------------------------------
-- Table `tevent_response`
@ -1141,3 +1142,10 @@ UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE `tnetwork_component` CHANGE COLUMN `name` `name` TEXT NOT NULL;
-- ---------------------------------------------------------------------
-- Table tlanguage (11/11/2013)
-- ---------------------------------------------------------------------
DELETE FROM `tlanguage` WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da', 'et', 'fi', 'gl', 'he', 'hi', 'hu', 'ko', 'ms', 'mr', 'nb', 'ro', 'sl', 'sv', 'te', 'uk', 'vi');

View File

@ -395,6 +395,7 @@ ALTER TABLE tnetwork_map ADD (show_modulegroup NUMBER(10, 0) default 0 NOT NULL)
-- Table tagente_estado
------------------------------------------------------------------------
ALTER TABLE tagente_estado ADD (last_known_status NUMBER(10, 0) default 0 NOT NULL);
ALTER TABLE tagente_estado ADD (last_error NUMBER(10, 0) default 0 NOT NULL);
-- -----------------------------------------------------
-- Table tevent_response
@ -484,6 +485,17 @@ ALTER TABLE tusuario_perfil ADD (tags CLOB NOT NULL default '');
ALTER TABLE ttag ADD (email CLOB NULL);
ALTER TABLE ttag ADD (phone CLOB NULL);
-- ---------------------------------------------------------------------
-- Add more fields in snmp alerts (05/03/13)
-- ---------------------------------------------------------------------
ALTER TABLE talert_snmp ADD COLUMN (al_field5 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field5 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field6 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field7 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field8 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field9 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field10 CLOB NOT NULL default '');
-- ---------------------------------------------------------------------
-- Add metaconsole fields to user table (17/04/13)
-- ---------------------------------------------------------------------
@ -1148,3 +1160,9 @@ UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE tnetwork_component MODIFY (name CLOB NOT NULL);
-- ---------------------------------------------------------------------
-- Table tlanguage (11/11/2013)
-- ---------------------------------------------------------------------
DELETE FROM tlanguage WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da', 'et', 'fi', 'gl', 'he', 'hi', 'hu', 'ko', 'ms', 'mr', 'nb', 'ro', 'sl', 'sv', 'te', 'uk', 'vi');

View File

@ -382,6 +382,7 @@ ALTER TABLE "tnetwork_map" ADD COLUMN "show_modulegroup" INTEGER NOT NULL defaul
-- Table "tagente_estado"
------------------------------------------------------------------------
ALTER TABLE "tagente_estado" ADD COLUMN "last_known_status" INTEGER default 0;
ALTER TABLE "tagente_estado" ADD COLUMN "last_error" INTEGER default 0;
-- -----------------------------------------------------
-- Table "tevent_response"
@ -1132,3 +1133,9 @@ UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE "tnetwork_component" ALTER COLUMN "name" TYPE text NOT NULL;
-- ---------------------------------------------------------------------
-- Table tlanguage (11/11/2013)
-- ---------------------------------------------------------------------
DELETE FROM "tlanguage" WHERE "id_language" IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da', 'et', 'fi', 'gl', 'he', 'hi', 'hu', 'ko', 'ms', 'mr', 'nb', 'ro', 'sl', 'sv', 'te', 'uk', 'vi');

View File

@ -360,6 +360,7 @@ ALTER TABLE tnetwork_map ADD `show_modulegroup` TINYINT(1) UNSIGNED NOT NULL DEF
-- Table `tagente_estado`
-- ----------------------------------------------------------------------
ALTER TABLE `tagente_estado` ADD COLUMN `last_known_status` tinyint(4) NOT NULL DEFAULT 0;
ALTER TABLE `tagente_estado` ADD COLUMN `last_error` int(4) NOT NULL DEFAULT '0';
-- ---------------------------------------------------------------------
-- Table `tevent_response`
@ -450,6 +451,17 @@ ALTER TABLE `tusuario_perfil` ADD COLUMN `tags` TEXT NOT NULL;
ALTER TABLE `ttag` ADD COLUMN `email` text NULL;
ALTER TABLE `ttag` ADD COLUMN `phone` text NULL;
-- ---------------------------------------------------------------------
-- Add more fields in snmp alerts (05/03/13)
-- ---------------------------------------------------------------------
ALTER TABLE `talert_snmp` ADD COLUMN `al_field4` text;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field5` text;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field6` text;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field7` text;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field8` text;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field9` text;
ALTER TABLE `talert_snmp` ADD COLUMN `al_field10` text;
-- ---------------------------------------------------------------------
-- Add metaconsole fields to user table (17/04/13)
-- ---------------------------------------------------------------------
@ -1139,3 +1151,9 @@ UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE `tnetwork_component` CHANGE COLUMN `name` `name` TEXT NOT NULL;
-- ---------------------------------------------------------------------
-- Table tlanguage (11/11/2013)
-- ---------------------------------------------------------------------
DELETE FROM `tlanguage` WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da', 'et', 'fi', 'gl', 'he', 'hi', 'hu', 'ko', 'ms', 'mr', 'nb', 'ro', 'sl', 'sv', 'te', 'uk', 'vi');

View File

@ -393,6 +393,7 @@ ALTER TABLE tnetwork_map ADD (show_modulegroup NUMBER(10, 0) default 0 NOT NULL)
-- Table tagente_estado
------------------------------------------------------------------------
ALTER TABLE tagente_estado ADD (last_known_status NUMBER(10, 0) default 0 NOT NULL);
ALTER TABLE tagente_estado ADD (last_error NUMBER(10, 0) default 0 NOT NULL);
-- -----------------------------------------------------
-- Table tevent_response
@ -482,6 +483,17 @@ ALTER TABLE tusuario_perfil ADD (tags CLOB NOT NULL default '');
ALTER TABLE ttag ADD (email CLOB NULL);
ALTER TABLE ttag ADD (phone CLOB NULL);
-- ---------------------------------------------------------------------
-- Add more fields in snmp alerts (05/03/13)
-- ---------------------------------------------------------------------
ALTER TABLE talert_snmp ADD COLUMN (al_field5 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field5 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field6 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field7 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field8 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field9 CLOB NOT NULL default '');
ALTER TABLE talert_snmp ADD COLUMN (al_field10 CLOB NOT NULL default '');
-- ---------------------------------------------------------------------
-- Add metaconsole fields to user table (17/04/13)
-- ---------------------------------------------------------------------
@ -1146,3 +1158,9 @@ UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE tnetwork_component MODIFY (name CLOB NOT NULL);
-- ---------------------------------------------------------------------
-- Table tlanguage (11/11/2013)
-- ---------------------------------------------------------------------
DELETE FROM tlanguage WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da', 'et', 'fi', 'gl', 'he', 'hi', 'hu', 'ko', 'ms', 'mr', 'nb', 'ro', 'sl', 'sv', 'te', 'uk', 'vi');

View File

@ -380,6 +380,7 @@ ALTER TABLE "tnetwork_map" ADD COLUMN "show_modulegroup" INTEGER NOT NULL defaul
-- Table "tagente_estado"
------------------------------------------------------------------------
ALTER TABLE "tagente_estado" ADD COLUMN "last_known_status" INTEGER default 0;
ALTER TABLE "tagente_estado" ADD COLUMN "last_error" INTEGER default 0;
-- -----------------------------------------------------
-- Table "tevent_response"
@ -468,6 +469,17 @@ ALTER TABLE "tusuario_perfil" ADD COLUMN "tags" text default '';
ALTER TABLE "ttag" ADD COLUMN "email" TEXT NULL;
ALTER TABLE "ttag" ADD COLUMN "phone" TEXT NULL;
-- ---------------------------------------------------------------------
-- Add more fields in snmp alerts (05/03/13)
-- ---------------------------------------------------------------------
ALTER TABLE "talert_snmp" ADD COLUMN "al_field4" TEXT;
ALTER TABLE "talert_snmp" ADD COLUMN "al_field5" TEXT;
ALTER TABLE "talert_snmp" ADD COLUMN "al_field6" TEXT;
ALTER TABLE "talert_snmp" ADD COLUMN "al_field7" TEXT;
ALTER TABLE "talert_snmp" ADD COLUMN "al_field8" TEXT;
ALTER TABLE "talert_snmp" ADD COLUMN "al_field9" TEXT;
ALTER TABLE "talert_snmp" ADD COLUMN "al_field10" TEXT;
-- ---------------------------------------------------------------------
-- Add metaconsole fields to user table (17/04/13)
-- ---------------------------------------------------------------------
@ -1130,3 +1142,9 @@ UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE "tnetwork_component" ALTER COLUMN "name" TYPE text NOT NULL;
-- ---------------------------------------------------------------------
-- Table tlanguage (11/11/2013)
-- ---------------------------------------------------------------------
DELETE FROM "tlanguage" WHERE "id_language" IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da', 'et', 'fi', 'gl', 'he', 'hi', 'hu', 'ko', 'ms', 'mr', 'nb', 'ro', 'sl', 'sv', 'te', 'uk', 'vi');

View File

@ -177,35 +177,19 @@ LOCK TABLE tlanguage IN EXCLUSIVE MODE;
INSERT INTO tlanguage VALUES ('en_GB','English');
INSERT INTO tlanguage VALUES ('es','Español');
INSERT INTO tlanguage VALUES ('ar','العربية');
INSERT INTO tlanguage VALUES ('ast','Asturianu');
INSERT INTO tlanguage VALUES ('bn', 'বাংলা');
INSERT INTO tlanguage VALUES ('ca','Catalá');
INSERT INTO tlanguage VALUES ('cs','Česky');
INSERT INTO tlanguage VALUES ('da','Dansk');
INSERT INTO tlanguage VALUES ('de','Deutch');
INSERT INTO tlanguage VALUES ('eu','Euskara');
INSERT INTO tlanguage VALUES ('el','Ελληνικά');
INSERT INTO tlanguage VALUES ('fi','Suomi');
INSERT INTO tlanguage VALUES ('fr','Français');
INSERT INTO tlanguage VALUES ('gl','Galego');
INSERT INTO tlanguage VALUES ('he','עברית');
INSERT INTO tlanguage VALUES ('hi','हिन्दी');
INSERT INTO tlanguage VALUES ('hu','Magyar');
INSERT INTO tlanguage VALUES ('it','Italiano');
INSERT INTO tlanguage VALUES ('ja','日本語');
INSERT INTO tlanguage VALUES ('ko','한국어');
INSERT INTO tlanguage VALUES ('nl','Nederlands');
INSERT INTO tlanguage VALUES ('pl','Polski');
INSERT INTO tlanguage VALUES ('pt_BR','Português-Brasil');
INSERT INTO tlanguage VALUES ('pt','Português');
INSERT INTO tlanguage VALUES ('ro','Română');
INSERT INTO tlanguage VALUES ('ru','Русский');
INSERT INTO tlanguage VALUES ('sk','Slovenčina');
INSERT INTO tlanguage VALUES ('sl','Slovenščina');
INSERT INTO tlanguage VALUES ('sv','Svenska');
INSERT INTO tlanguage VALUES ('te','తెలుగు');
INSERT INTO tlanguage VALUES ('tr','Türkçe');
INSERT INTO tlanguage VALUES ('uk','Українська');
INSERT INTO tlanguage VALUES ('zh_CN','简化字');
INSERT INTO tlanguage VALUES ('zh_TW','簡化字');
COMMIT;

View File

@ -161,35 +161,19 @@ LOCK TABLE "tlanguage";
INSERT INTO "tlanguage" VALUES ('en_GB','English');
INSERT INTO "tlanguage" VALUES ('es','Español');
INSERT INTO "tlanguage" VALUES ('ar','العربية');
INSERT INTO "tlanguage" VALUES ('ast','Asturianu');
INSERT INTO "tlanguage" VALUES ('bn', 'বাংলা');
INSERT INTO "tlanguage" VALUES ('ca','Catalá');
INSERT INTO "tlanguage" VALUES ('cs','Česky');
INSERT INTO "tlanguage" VALUES ('da','Dansk');
INSERT INTO "tlanguage" VALUES ('de','Deutch');
INSERT INTO "tlanguage" VALUES ('eu','Euskara');
INSERT INTO "tlanguage" VALUES ('el','Ελληνικά');
INSERT INTO "tlanguage" VALUES ('fi','Suomi');
INSERT INTO "tlanguage" VALUES ('fr','Français');
INSERT INTO "tlanguage" VALUES ('gl','Galego');
INSERT INTO "tlanguage" VALUES ('he','עברית');
INSERT INTO "tlanguage" VALUES ('hi','हिन्दी');
INSERT INTO "tlanguage" VALUES ('hu','Magyar');
INSERT INTO "tlanguage" VALUES ('it','Italiano');
INSERT INTO "tlanguage" VALUES ('ja','日本語');
INSERT INTO "tlanguage" VALUES ('ko','한국어');
INSERT INTO "tlanguage" VALUES ('nl','Nederlands');
INSERT INTO "tlanguage" VALUES ('pl','Polski');
INSERT INTO "tlanguage" VALUES ('pt_BR','Português-Brasil');
INSERT INTO "tlanguage" VALUES ('pt','Português');
INSERT INTO "tlanguage" VALUES ('ro','Română');
INSERT INTO "tlanguage" VALUES ('ru','Русский');
INSERT INTO "tlanguage" VALUES ('sk','Slovenčina');
INSERT INTO "tlanguage" VALUES ('sl','Slovenščina');
INSERT INTO "tlanguage" VALUES ('sv','Svenska');
INSERT INTO "tlanguage" VALUES ('te','తెలుగు');
INSERT INTO "tlanguage" VALUES ('tr','Türkçe');
INSERT INTO "tlanguage" VALUES ('uk','Українська');
INSERT INTO "tlanguage" VALUES ('zh_CN','简化字');
INSERT INTO "tlanguage" VALUES ('zh_TW','簡化字');
COMMIT WORK;

View File

@ -149,35 +149,19 @@ LOCK TABLES `tlanguage` WRITE;
INSERT INTO `tlanguage` VALUES ('en_GB','English');
INSERT INTO `tlanguage` VALUES ('es','Español');
INSERT INTO `tlanguage` VALUES ('ar','العربية');
INSERT INTO `tlanguage` VALUES ('ast','Asturianu');
INSERT INTO `tlanguage` VALUES ('bn', 'বাংলা');
INSERT INTO `tlanguage` VALUES ('ca','Catalá');
INSERT INTO `tlanguage` VALUES ('cs','Česky');
INSERT INTO `tlanguage` VALUES ('da','Dansk');
INSERT INTO `tlanguage` VALUES ('de','Deutch');
INSERT INTO `tlanguage` VALUES ('eu','Euskara');
INSERT INTO `tlanguage` VALUES ('el','Ελληνικά');
INSERT INTO `tlanguage` VALUES ('fi','Suomi');
INSERT INTO `tlanguage` VALUES ('fr','Français');
INSERT INTO `tlanguage` VALUES ('gl','Galego');
INSERT INTO `tlanguage` VALUES ('he','עברית');
INSERT INTO `tlanguage` VALUES ('hi','हिन्दी');
INSERT INTO `tlanguage` VALUES ('hu','Magyar');
INSERT INTO `tlanguage` VALUES ('it','Italiano');
INSERT INTO `tlanguage` VALUES ('ja','日本語');
INSERT INTO `tlanguage` VALUES ('ko','한국어');
INSERT INTO `tlanguage` VALUES ('nl','Nederlands');
INSERT INTO `tlanguage` VALUES ('pl','Polski');
INSERT INTO `tlanguage` VALUES ('pt_BR','Português-Brasil');
INSERT INTO `tlanguage` VALUES ('pt','Português');
INSERT INTO `tlanguage` VALUES ('ro','Română');
INSERT INTO `tlanguage` VALUES ('ru','Русский');
INSERT INTO `tlanguage` VALUES ('sk','Slovenčina');
INSERT INTO `tlanguage` VALUES ('sl','Slovenščina');
INSERT INTO `tlanguage` VALUES ('sv','Svenska');
INSERT INTO `tlanguage` VALUES ('te','తెలుగు');
INSERT INTO `tlanguage` VALUES ('tr','Türkçe');
INSERT INTO `tlanguage` VALUES ('uk','Українська');
INSERT INTO `tlanguage` VALUES ('zh_CN','简化字');
INSERT INTO `tlanguage` VALUES ('zh_TW','簡化字');