]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 730598: Running checksetup.pl twice deletes the DEFAULT value of the bug_see_also...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 27 Feb 2012 14:08:59 +0000 (15:08 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 27 Feb 2012 14:08:59 +0000 (15:08 +0100)
r=timello a=LpSolit

Bugzilla/Install/DB.pm

index 33da1cba8bf74d35098cef054bfe5baa2d518a2d..e48a36cffaf119bc1dddb58a2a75e342c4b4cbe2 100644 (file)
@@ -3597,7 +3597,7 @@ sub _populate_bug_see_also_class {
     if ($dbh->bz_column_info('bug_see_also', 'class')) {
         # The length was incorrectly set to 64 instead of 255.
         $dbh->bz_alter_column('bug_see_also', 'class',
-                              {TYPE => 'varchar(255)', NOTNULL => 1});
+                {TYPE => 'varchar(255)', NOTNULL => 1, DEFAULT => "''"});
         return;
     }