From 34e54028237fed966388a7d3b4f7e7321a92a2e4 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 2 Jun 2009 00:10:04 +0000 Subject: Bug 495783: Create the default Classification before setting up foreign keys, so that the products.classification_id -> classifications.id FK doesn't fail during upgrades that add the classification_id column. Patch by Max Kanat-Alexander r=LpSolit, a=mkanat --- checksetup.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 53a709ebf..0f410ed7d 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -217,7 +217,7 @@ Bugzilla::Install::reset_password($switch{'reset-password'}) if $switch{'reset-password'}; ########################################################################### -# Create default Product and Classification +# Create default Product ########################################################################### Bugzilla::Install::create_default_product(); @@ -406,6 +406,10 @@ from one version of Bugzilla to another. The code for this is in L. +This includes creating the default Classification (using +L) and setting up all +the foreign keys for all tables, using L. + =item 14 Creates the system groups--the ones like C, C, and so on. @@ -426,7 +430,7 @@ the C<--make-admin> switch. =item 17 -Creates the default Classification, Product, and Component, using +Creates the default Product and Component, using L. =back -- cgit v1.2.3-24-g4f1b