From 77032f0a162e6b22024c0a474bddad69fb3b8999 Mon Sep 17 00:00:00 2001 From: Victor Boctor Date: Sat, 8 Jun 2002 23:54:40 +0000 Subject: [PATCH] Admin Upgrade Fixes 1. Fixed a failure on databases that have a password. 2. The bug history query was duplicated and the category default owner missing. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1114 f5dc347c-c33d-0410-90a0-b07cc1902cb9 --- admin/admin_upgrade.php | 5 ----- admin/admin_upgrade_0_18_0.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/admin/admin_upgrade.php b/admin/admin_upgrade.php index ccab64ff35..2e79f8e148 100644 --- a/admin/admin_upgrade.php +++ b/admin/admin_upgrade.php @@ -1,8 +1,3 @@ -

Mantis Database Upgrade

WARNING: - Always backup your database data before upgrading. From the command line you can do this with the mysqldump command.

diff --git a/admin/admin_upgrade_0_18_0.php b/admin/admin_upgrade_0_18_0.php index 1f9897d721..19eb13147f 100644 --- a/admin/admin_upgrade_0_18_0.php +++ b/admin/admin_upgrade_0_18_0.php @@ -12,7 +12,7 @@ $upgrade_obj->AddItem(); $upgrade_obj->AddItem( "# Auto-assigning of bugs for a default user per category" ); - $upgrade_obj->AddItem( "ALTER TABLE mantis_bug_history_table ADD type INT(2) NOT NULL" ); + $upgrade_obj->AddItem( "ALTER TABLE mantis_project_category_table ADD user_id INT(7) NOT NULL" ); $upgrade_obj->AddItem(); $upgrade_obj->AddItem( "# Private news support" );