summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorrojanu <aliustek@gmail.com>2012-05-17 01:22:41 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-05-17 01:22:41 +0200
commit629f2c959658c50ec2f4790b80bfe5ff30e3cd82 (patch)
treef7554f685112a8ae5a6fdeaddc328f2baec1ef0f /Bugzilla/Install
parent82c52c304a6513c68735923f5ecb42c5137b9ed4 (diff)
downloadbugzilla-629f2c959658c50ec2f4790b80bfe5ff30e3cd82.tar.gz
bugzilla-629f2c959658c50ec2f4790b80bfe5ff30e3cd82.tar.xz
Bug 728138: Custom fields should have a "Long Description" attribute to better understand what they are used for
r/a=LpSolit
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index 59a2cdceb..372b010e8 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -114,7 +114,11 @@ sub update_fielddefs_definition {
{TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'});
$dbh->do('UPDATE fielddefs SET is_numeric = 1 WHERE type = '
. FIELD_TYPE_BUG_ID);
-
+
+ # 2012-04-12 aliustek@gmail.com - Bug 728138
+ $dbh->bz_add_column('fielddefs', 'long_desc',
+ {TYPE => 'varchar(255)', NOTNULL => 1, DEFAULT => "''"}, '');
+
Bugzilla::Hook::process('install_update_db_fielddefs');
# Remember, this is not the function for adding general table changes.