summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorrojanu <aliustek@gmail.com>2011-01-23 13:06:51 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-01-23 13:06:51 +0100
commit653b2aca995db45c293326224195ac7dd833b44a (patch)
treeea29984a46cfb6d222d7c81c5755a12ab816affd /Bugzilla/Install
parent8c73136c4473641b1e2949f31200b662c05b1e05 (diff)
downloadbugzilla-653b2aca995db45c293326224195ac7dd833b44a.tar.gz
bugzilla-653b2aca995db45c293326224195ac7dd833b44a.tar.xz
Bug 625741: Need a hook in update_fielddefs_definition to enable adding columns to fielddefs
r/a=mkanat
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index 9cbd66f42..fee87fa92 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -119,6 +119,8 @@ sub update_fielddefs_definition {
{TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'});
$dbh->do('UPDATE fielddefs SET is_numeric = 1 WHERE type = '
. FIELD_TYPE_BUG_ID);
+
+ Bugzilla::Hook::process('install_update_db_fielddefs');
# Remember, this is not the function for adding general table changes.
# That is below. Add new changes to the fielddefs table above this