From 29d098297fd0fd914c1cf1211b85cf0580a825ef Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Mon, 5 Jul 2010 18:46:46 -0700 Subject: 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 --- Bugzilla/Install/DB.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Bugzilla/Install/DB.pm') diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 47e881e8f..ce567528b 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 # ################################################################ -- cgit v1.2.3-24-g4f1b