diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a4e3e709c4..d86f1dc660 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,8 +1,16 @@ +2012-02-10 Vanessa Gil + * pandoradb.sql: Removed default value of 'value' field to + tconfig table. + 2012-02-10 Juan Manuel Ramon * operation/snmpconsole/snmp_view.php: Added type in snmp alert view and added None option in trap type filter. +2012-02-10 Vanessa Gil + * pandoradb.sql: Removed default value of 'value' field to + tconfig table. + 2012-02-10 Vanessa Gil * pandoradb.sql pandoradb.postgreSQL.sql diff --git a/pandora_console/pandoradb.oracle.sql b/pandora_console/pandoradb.oracle.sql index cff5cb67c2..ee48da995c 100644 --- a/pandora_console/pandoradb.oracle.sql +++ b/pandora_console/pandoradb.oracle.sql @@ -480,8 +480,8 @@ 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(255) default '', - value VARCHAR2(100) default '' + token VARCHAR2(100) default '', + value VARCHAR2(255) default '' ); CREATE SEQUENCE tconfig_s INCREMENT BY 1 START WITH 1; diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 0aad0b1c86..f469e5ab11 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -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` text NOT NULL default '', + `value` text NOT NULL, PRIMARY KEY (`id_config`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;