From: Frédéric Buclin Date: Mon, 27 Feb 2012 14:10:45 +0000 (+0100) Subject: Bug 730598: Running checksetup.pl twice deletes the DEFAULT value of the bug_see_also... X-Git-Tag: bugzilla-4.2.1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4de13f571f0119c313a223474c1e64d7bdf6146f;p=thirdparty%2Fbugzilla.git Bug 730598: Running checksetup.pl twice deletes the DEFAULT value of the bug_see_also.class column r=timello a=LpSolit --- diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 28c762d289..6b9dd65cd0 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -3600,7 +3600,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; }