aboutsummaryrefslogtreecommitdiffstats
path: root/extensions
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 /extensions
parent8c73136c4473641b1e2949f31200b662c05b1e05 (diff)
downloadbugs-653b2aca995db45c293326224195ac7dd833b44a.tar
bugs-653b2aca995db45c293326224195ac7dd833b44a.tar.gz
bugs-653b2aca995db45c293326224195ac7dd833b44a.tar.bz2
bugs-653b2aca995db45c293326224195ac7dd833b44a.tar.xz
bugs-653b2aca995db45c293326224195ac7dd833b44a.zip
Bug 625741: Need a hook in update_fielddefs_definition to enable adding columns to fielddefs
r/a=mkanat
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Example/Extension.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm
index 78f7c6d24..14bf6df87 100644
--- a/extensions/Example/Extension.pm
+++ b/extensions/Example/Extension.pm
@@ -402,6 +402,12 @@ sub install_before_final_checks {
# hook/global/setting-descs-settings.none.tmpl .
}
+#sub install_update_db_fielddefs {
+# my $dbh = Bugzilla->dbh;
+# $dbh->bz_add_column('fielddefs', 'example_column',
+# {TYPE => 'MEDIUMTEXT', NOTNULL => 1, DEFAULT => ''});
+#}
+
sub job_map {
my ($self, $args) = @_;