mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:08 +01:00
Change mysql only phpgw_app_sessions.content to longtext
This commit is contained in:
parent
bc67e109dc
commit
1d11bdbefe
@ -78,7 +78,7 @@
|
|||||||
loginid varchar(20),
|
loginid varchar(20),
|
||||||
location varchar(255),
|
location varchar(255),
|
||||||
app varchar(20),
|
app varchar(20),
|
||||||
content text,
|
content longtext,
|
||||||
session_dla int
|
session_dla int
|
||||||
)";
|
)";
|
||||||
$phpgw_setup->db->query($sql);
|
$phpgw_setup->db->query($sql);
|
||||||
@ -348,7 +348,7 @@
|
|||||||
)";
|
)";
|
||||||
$phpgw_setup->db->query($sql);
|
$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'];
|
$phpgw_info['setup']['oldver']['phpgwapi'] = $phpgw_info['setup']['currentver']['phpgwapi'];
|
||||||
update_version_table();
|
update_version_table();
|
||||||
// $phpgw_setup->update_version_table();
|
// $phpgw_setup->update_version_table();
|
||||||
|
@ -1431,6 +1431,16 @@
|
|||||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre27';
|
$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);
|
reset ($test);
|
||||||
while (list ($key, $value) = each ($test)){
|
while (list ($key, $value) = each ($test)){
|
||||||
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
||||||
|
@ -1832,6 +1832,14 @@
|
|||||||
$phpgw_info['setup']['currentver']['phpgwapi'] = '0.9.10pre27';
|
$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);
|
reset ($test);
|
||||||
while (list ($key, $value) = each ($test)){
|
while (list ($key, $value) = each ($test)){
|
||||||
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
|
||||||
|
@ -11,5 +11,5 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $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';
|
$phpgw_info['server']['versions']['current_header'] = '1.11';
|
||||||
|
Loading…
Reference in New Issue
Block a user