From: Kohei Yoshino Date: Thu, 29 Nov 2018 14:57:45 +0000 (-0500) Subject: Bug 1510109 - Implement per-product new bug comment templates (schema change only) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4da49bbcb65bd7172aec1b060062963e07447dd1;p=thirdparty%2Fbugzilla.git Bug 1510109 - Implement per-product new bug comment templates (schema change only) --- diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index d2b0fbdeb..480a716fc 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1418,6 +1418,7 @@ use constant ABSTRACT_SCHEMA => { NOTNULL => 1, DEFAULT => "'---'"}, allows_unconfirmed => {TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'TRUE'}, + bug_description_template => {TYPE => 'MEDIUMTEXT'}, ], INDEXES => [ products_name_idx => {FIELDS => ['name'], diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 50c5d97cd..bcc1ae06c 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -778,6 +778,9 @@ sub update_table_definitions { # Bug 1354589 - dkl@mozilla.com _populate_oauth2_scopes(); + # Bug 1510109 - kohei.yoshino@gmail.com + $dbh->bz_add_column('products', 'bug_description_template', {TYPE => 'MEDIUMTEXT'}); + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################