2012-02-10 Vanessa Gil <vanessa.gil@artica.es>

* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Changed type of 'value'
	to tconfig table.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-02-10 10:32:05 +00:00
parent 87cad661ee
commit b704562946
7 changed files with 27 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2012-02-10 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Changed type of 'value'
to tconfig table.
2012-02-10 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php: Changed module status image for unknown

View File

@ -148,3 +148,8 @@ CREATE TABLE IF NOT EXISTS `tevent_filter` (
`filter_only_alert` int(10) NOT NULL default -1,
PRIMARY KEY (`id_filter`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- -----------------------------------------------------
-- Table `tconfig`
-- -----------------------------------------------------
ALTER TABLE tconfig MODIFY value TEXT NOT NULL;

View File

@ -142,3 +142,8 @@ CREATE TABLE tevent_filter (
tag VARCHAR2(600) default '' NOT NULL,
filter_only_alert NUMBER(10, 0) default -1 NOT NULL
);
-- -----------------------------------------------------
-- Table `tconfig`
-- -----------------------------------------------------
ALTER TABLE tconfig MODIFY value TEXT NOT NULL;

View File

@ -127,3 +127,8 @@ CREATE TABLE "tevent_filter" (
"tag" varchar(600) NOT NULL default '',
"filter_only_alert" INTEGER NOT NULL default -1
);
-- -----------------------------------------------------
-- Table `tconfig`
-- -----------------------------------------------------
ALTER TABLE "tconfig" ALTER COLUMN "value" TEXT;

View File

@ -480,7 +480,7 @@ CREATE OR REPLACE TRIGGER tattachment_inc BEFORE INSERT ON tattachment REFERENCI
CREATE TABLE tconfig (
id_config NUMBER(10, 0) NOT NULL PRIMARY KEY,
token VARCHAR2(100) default '',
token VARCHAR2(255) default '',
value VARCHAR2(100) default ''
);

View File

@ -377,7 +377,7 @@ CREATE TABLE "tattachment" (
CREATE TABLE "tconfig" (
"id_config" SERIAL NOT NULL PRIMARY KEY,
"token" varchar(100) NOT NULL default '',
"value" varchar(100) NOT NULL default ''
"value" text NOT NULL default ''
);
CREATE TABLE "tconfig_os" (

View File

@ -418,7 +418,7 @@ CREATE TABLE IF NOT EXISTS `tattachment` (
CREATE TABLE IF NOT EXISTS `tconfig` (
`id_config` int(10) unsigned NOT NULL auto_increment,
`token` varchar(100) NOT NULL default '',
`value` varchar(100) NOT NULL default '',
`value` text NOT NULL default '',
PRIMARY KEY (`id_config`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;