]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1510109 - Implement per-product new bug comment templates (schema change only)
authorKohei Yoshino <kohei.yoshino@gmail.com>
Thu, 29 Nov 2018 14:57:45 +0000 (09:57 -0500)
committerDylan William Hardison <dylan@hardison.net>
Thu, 29 Nov 2018 14:57:45 +0000 (09:57 -0500)
Bugzilla/DB/Schema.pm
Bugzilla/Install/DB.pm

index d2b0fbdeb8bc4ecb31ed92e110557152b4db385a..480a716fcfe169c2f90537d8fe78279aab18bcb3 100644 (file)
@@ -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'],
index 50c5d97cdbdf31c158493ad84326d889d4abaae2..bcc1ae06c48b515b735cfbb603aa9b3351965ad6 100644 (file)
@@ -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 #
     ################################################################