]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
The new workflow patch forgot to update the default of
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 6 Jul 2010 01:46:46 +0000 (18:46 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 6 Jul 2010 01:46:46 +0000 (18:46 -0700)
products.allows_unconfirmed to TRUE in the database.

https://bugzilla.mozilla.org/show_bug.cgi?id=486292

Bugzilla/Install/DB.pm

index 47e881e8fc1158dd9ae3a617db0f541aa463a3d3..ce567528b2a18f86a258858109d15b94a5cab4d4 100644 (file)
@@ -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 #
     ################################################################