]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1252298 - schema only
authorKohei Yoshino <kohei.yoshino@gmail.com>
Tue, 16 Jul 2019 19:33:25 +0000 (15:33 -0400)
committerGitHub <noreply@github.com>
Tue, 16 Jul 2019 19:33:25 +0000 (15:33 -0400)
Bugzilla/DB/Schema.pm
Bugzilla/Install/DB.pm

index c67e6553b741278b79ab4f3d9311573aa569a9cc..dce61c08b7a3041dd1681fe47697b4a822dd21e5 100644 (file)
@@ -1452,6 +1452,7 @@ use constant ABSTRACT_SCHEMA => {
         TYPE       => 'INT3',
         REFERENCES => {TABLE => 'profiles', COLUMN => 'userid', DELETE => 'SET NULL'}
       },
+      bug_description_template => {TYPE => 'MEDIUMTEXT'},
       default_bug_type  => {TYPE => 'varchar(20)'},
     ],
     INDEXES => [
index 9b2c2a22e190a6ff81c51d75c01b61a8927d827c..f7ec54c912eb42f4ba3c681b2b0f766e4bda33c0 100644 (file)
@@ -783,9 +783,11 @@ sub update_table_definitions {
   # Bug 1354589 - dkl@mozilla.com
   _populate_oauth2_scopes();
 
-  # Bug 1510109 - kohei.yoshino@gmail.com
+  # Bug 1510109, 1252298 - kohei.yoshino@gmail.com
   $dbh->bz_add_column('products', 'bug_description_template',
     {TYPE => 'MEDIUMTEXT'});
+  $dbh->bz_add_column('components', 'bug_description_template',
+    {TYPE => 'MEDIUMTEXT'});
 
   # Bug 1522341, 1541617, 1546788 - kohei.yoshino@gmail.com
   $dbh->bz_add_column('bugs', 'bug_type', {TYPE => 'varchar(20)'});