From 5de1aa468a8ba429f327a78f7e2abce2020fd287 Mon Sep 17 00:00:00 2001 From: jengo Date: Tue, 3 Apr 2001 02:28:51 +0000 Subject: [PATCH] *** empty log message *** --- setup/sql/mysql_newtables.inc.php | 3 ++- setup/sql/mysql_upgrade_beta.inc.php | 11 +++++++++++ version.inc.php | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/setup/sql/mysql_newtables.inc.php b/setup/sql/mysql_newtables.inc.php index 09cbf4fc48..5510c17515 100644 --- a/setup/sql/mysql_newtables.inc.php +++ b/setup/sql/mysql_newtables.inc.php @@ -199,6 +199,7 @@ todo_id_parent int(11) DEFAULT '0' NOT NULL, todo_owner varchar(25), todo_access varchar(10), + todo_cat int(11), todo_des text, todo_pri int(11), todo_status int(11), @@ -347,7 +348,7 @@ )"; $phpgw_setup->db->query($sql); - $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre26'; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre27'; $phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi']; update_version_table(); // $phpgw_setup->update_version_table(); diff --git a/setup/sql/mysql_upgrade_beta.inc.php b/setup/sql/mysql_upgrade_beta.inc.php index 6a0e901bf8..a9f8d936ef 100644 --- a/setup/sql/mysql_upgrade_beta.inc.php +++ b/setup/sql/mysql_upgrade_beta.inc.php @@ -1418,6 +1418,17 @@ $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre26'; } + $test[] = '0.9.10pre26'; + function upgrade0_9_10pre26() + { + global $phpgw_info, $phpgw_setup; + + $phpgw_setup->db->query("alter table phpgw_todo add column todo_cat int after todo_access",__LINE__,__FILE__); + + $phpgw_setup->db->query($sql); + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre27'; + } + reset ($test); while (list ($key, $value) = each ($test)){ if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) { diff --git a/version.inc.php b/version.inc.php index 9c1954a265..3cfa1ef23e 100644 --- a/version.inc.php +++ b/version.inc.php @@ -11,5 +11,5 @@ /* $Id$ */ - $phpgw_info['server']['versions']['phpgwapi'] = '0.9.10pre26'; + $phpgw_info['server']['versions']['phpgwapi'] = '0.9.10pre27'; $phpgw_info['server']['versions']['current_header'] = '1.11';