From 66d5ffff1f2b5488621b08cbd80f490e4d992f50 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 6 Jun 2001 07:57:44 +0000 Subject: [PATCH] Replace bad upgrade --- phpgwapi/setup/tables_update.inc.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index ea4df18c0b..e13cfcb828 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -1220,6 +1220,19 @@ //return True; } + $test[] = '0.9.11.002'; + function upgrade0_9_11_002() + { + global $phpgw_info, $phpgw_setup; + + $oProc = $phpgw_setup->oProc; + $oProc->AddColumn('phpgw_categories','cat_main',array('type' => 'int', 'precision' => 4, 'default' => 0, 'nullable' => False)); + $oProc->AddColumn('phpgw_categories','cat_level',array('type' => 'int', 'precision' => 4, 'default' => 0, 'nullable' => False)); + + $setup_info['phpgwapi']['currentver'] = '0.9.11.003'; + return $setup_info['phpgwapi']['currentver']; + } + $test[] = '0.9.11.003'; function phpgwapi_upgrade0_9_11_003() {