From 57e5a25504ea467b80e2fdcb701e8a1763e5417e Mon Sep 17 00:00:00 2001 From: vgilc Date: Fri, 10 Feb 2012 10:38:41 +0000 Subject: [PATCH] 2012-02-10 Vanessa Gil * pandoradb.sql: Removed default value of 'value' field to tconfig table. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 ++++++++ pandora_console/pandoradb.oracle.sql | 4 ++-- pandora_console/pandoradb.sql | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) 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;