summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Hook.pm
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/Hook.pm
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/Hook.pm')
-rw-r--r--Bugzilla/Hook.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm
index 1b4bdd971..abedfde4a 100644
--- a/Bugzilla/Hook.pm
+++ b/Bugzilla/Hook.pm
@@ -718,6 +718,15 @@ during an installation or upgrade. If you need to modify your custom
schema or add new columns to existing tables, do it here. No params are
passed.
+=head2 install_update_db_fielddefs
+
+This is used to update the schema of the fielddefs table before
+any other schema changes take place. No params are passed.
+
+This hook should only be used for updating the schema of the C<fielddefs>
+table. Do not modify any other table in this hook. To modify other tables, use
+the L</install_update_db> hook.
+
=head2 db_schema_abstract_schema
This allows you to add tables to Bugzilla. Note that we recommend that you