diff --git a/setup/sql/mysql_newtables.inc.php b/setup/sql/mysql_newtables.inc.php index a2acb72d4b..0965a47661 100644 --- a/setup/sql/mysql_newtables.inc.php +++ b/setup/sql/mysql_newtables.inc.php @@ -108,7 +108,7 @@ lid varchar(32), tid char(1), owner int(8), - + access char(7), fn varchar(64), n_family varchar(64), n_given varchar(64), @@ -343,7 +343,7 @@ )"; $phpgw_setup->db->query($sql); - $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre19'; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre21'; $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 7dd536a484..a2476af975 100644 --- a/setup/sql/mysql_upgrade_beta.inc.php +++ b/setup/sql/mysql_upgrade_beta.inc.php @@ -1352,6 +1352,18 @@ $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre20'; } + $test[] = '0.9.10pre20'; + function upgrade0_9_10pre20() + { + global $phpgw_info, $phpgw_setup; + + $phpgw_setup->db->query("alter table phpgw_addressbook add column access char(7) after owner",__LINE__,__FILE__); + + $phpgw_setup->db->query($sql); + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre21'; + } + + reset ($test); while (list ($key, $value) = each ($test)){ if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) { diff --git a/setup/sql/pgsql_newtables.inc.php b/setup/sql/pgsql_newtables.inc.php index def26f20f6..9f840b0fd1 100644 --- a/setup/sql/pgsql_newtables.inc.php +++ b/setup/sql/pgsql_newtables.inc.php @@ -106,6 +106,7 @@ lid varchar(32), tid varchar(1), owner int, + access char(7), fn varchar(64), n_family varchar(64), n_given varchar(64), @@ -310,7 +311,7 @@ )"; $phpgw_setup->db->query($sql); - $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre19'; + $phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre21'; $phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi']; update_version_table(); ?> diff --git a/version.inc.php b/version.inc.php index 7bbf373c1c..a3efd1043b 100644 --- a/version.inc.php +++ b/version.inc.php @@ -11,5 +11,5 @@ /* $Id$ */ - $phpgw_info["server"]["versions"]["phpgwapi"] = "0.9.10pre20"; + $phpgw_info["server"]["versions"]["phpgwapi"] = "0.9.10pre21"; $phpgw_info["server"]["versions"]["current_header"] = "1.11";