summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-06 03:46:46 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-06 03:46:46 +0200
commit29d098297fd0fd914c1cf1211b85cf0580a825ef (patch)
treef9eeb5f18f231d42cbfc8a180ea6ee3fe5105341 /Bugzilla/Install
parent9cae3ba37c6968f0abf1f6f2bd4fcf23feaabdb3 (diff)
downloadbugzilla-29d098297fd0fd914c1cf1211b85cf0580a825ef.tar.gz
bugzilla-29d098297fd0fd914c1cf1211b85cf0580a825ef.tar.xz
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
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm5
1 files changed, 5 insertions, 0 deletions
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 #
################################################################