Change mysql only phpgw_app_sessions.content to longtext

This commit is contained in:
Miles Lott 2001-04-17 18:34:13 +00:00
parent bc67e109dc
commit 1d11bdbefe
4 changed files with 21 additions and 3 deletions

View File

@ -78,7 +78,7 @@
loginid varchar(20),
location varchar(255),
app varchar(20),
content text,
content longtext,
session_dla int
)";
$phpgw_setup->db->query($sql);
@ -348,7 +348,7 @@
)";
$phpgw_setup->db->query($sql);
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre27';
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28';
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
update_version_table();
// $phpgw_setup->update_version_table();

View File

@ -1431,6 +1431,16 @@
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre27';
}
$test[] = '0.9.10pre27';
function upgrade0_9_10pre27()
{
global $phpgw_info,$phpgw_setup;
$phpgw_setup->db->query("alter table phpgw_app_sessions change content content longtext");
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28';
}
reset ($test);
while (list ($key, $value) = each ($test)){
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {

View File

@ -1832,6 +1832,14 @@
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre27';
}
$test[] = '0.9.10pre27';
function upgrade0_9_10pre27()
{
global $phpgw_info;
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre28';
}
reset ($test);
while (list ($key, $value) = each ($test)){
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {

View File

@ -11,5 +11,5 @@
/* $Id$ */
$phpgw_info['server']['versions']['phpgwapi'] = '0.9.10pre27';
$phpgw_info['server']['versions']['phpgwapi'] = '0.9.10pre28';
$phpgw_info['server']['versions']['current_header'] = '1.11';