From: Frédéric Buclin Date: Mon, 27 Feb 2012 14:08:59 +0000 (+0100) Subject: Bug 730598: Running checksetup.pl twice deletes the DEFAULT value of the bug_see_also... X-Git-Tag: bugzilla-4.3.1~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a526c1f92b6818a8960280791abea805d8c79595;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 33da1cba8b..e48a36cffa 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -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; }