From: Max Kanat-Alexander Date: Tue, 6 Jul 2010 01:46:46 +0000 (-0700) Subject: The new workflow patch forgot to update the default of X-Git-Tag: bugzilla-3.7.2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29d098297fd0fd914c1cf1211b85cf0580a825ef;p=thirdparty%2Fbugzilla.git The new workflow patch forgot to update the default of products.allows_unconfirmed to TRUE in the database. https://bugzilla.mozilla.org/show_bug.cgi?id=486292 --- diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 47e881e8fc..ce567528b2 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -625,6 +625,11 @@ sub update_table_definitions { $dbh->bz_alter_column('products', 'description', { TYPE => 'MEDIUMTEXT', NOTNULL => 1 }, ''); + # Change the default of allows_unconfirmed to TRUE as part + # of the new workflow. + $dbh->bz_alter_column('products', 'allows_unconfirmed', + { TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'TRUE' }); + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################