forked from extern/egroupware
Fixed access log not updating correctly
This commit is contained in:
parent
ce2c7d262c
commit
8474cd8840
@ -14,7 +14,7 @@
|
|||||||
/* Basic information about this app */
|
/* Basic information about this app */
|
||||||
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
$setup_info['phpgwapi']['name'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['title'] = 'phpgwapi';
|
$setup_info['phpgwapi']['title'] = 'phpgwapi';
|
||||||
$setup_info['phpgwapi']['version'] = '0.9.13.003';
|
$setup_info['phpgwapi']['version'] = '0.9.13.004';
|
||||||
$setup_info['phpgwapi']['versions']['current_header'] = '1.16';
|
$setup_info['phpgwapi']['versions']['current_header'] = '1.16';
|
||||||
$setup_info['phpgwapi']['enable'] = 3;
|
$setup_info['phpgwapi']['enable'] = 3;
|
||||||
$setup_info['phpgwapi']['app_order'] = 1;
|
$setup_info['phpgwapi']['app_order'] = 1;
|
||||||
|
@ -112,7 +112,7 @@
|
|||||||
),
|
),
|
||||||
'phpgw_access_log' => array(
|
'phpgw_access_log' => array(
|
||||||
'fd' => array(
|
'fd' => array(
|
||||||
'sessionid' => array('type' => 'varchar', 'precision' => 30),
|
'sessionid' => array('type' => 'char', 'precision' => 32),
|
||||||
'loginid' => array('type' => 'varchar', 'precision' => 30),
|
'loginid' => array('type' => 'varchar', 'precision' => 30),
|
||||||
'ip' => array('type' => 'varchar', 'precision' => 30),
|
'ip' => array('type' => 'varchar', 'precision' => 30),
|
||||||
'li' => array('type' => 'int', 'precision' => 4),
|
'li' => array('type' => 'int', 'precision' => 4),
|
||||||
@ -166,7 +166,7 @@
|
|||||||
'pk' => array(),
|
'pk' => array(),
|
||||||
'fk' => array(),
|
'fk' => array(),
|
||||||
'ix' => array(),
|
'ix' => array(),
|
||||||
'uc' => array('appname')
|
'uc' => array('id')
|
||||||
),
|
),
|
||||||
'phpgw_categories' => array(
|
'phpgw_categories' => array(
|
||||||
'fd' => array(
|
'fd' => array(
|
||||||
|
@ -1253,7 +1253,7 @@
|
|||||||
'phpgw_nextid', array(
|
'phpgw_nextid', array(
|
||||||
'fd' => array(
|
'fd' => array(
|
||||||
'appname' => array('type' => 'varchar', 'precision' => 25, 'nullable' => False),
|
'appname' => array('type' => 'varchar', 'precision' => 25, 'nullable' => False),
|
||||||
'id' => array('type' => 'int', 'precision' => 4)
|
'id' => array('type' => 'int', 'precision' => 4),
|
||||||
),
|
),
|
||||||
'pk' => array(),
|
'pk' => array(),
|
||||||
'fk' => array(),
|
'fk' => array(),
|
||||||
@ -1500,4 +1500,15 @@
|
|||||||
//return True;
|
//return True;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$test[] = '0.9.13.003';
|
||||||
|
function phpgwapi_upgrade0_9_13_003()
|
||||||
|
{
|
||||||
|
global $setup_info,$phpgw_setup;
|
||||||
|
|
||||||
|
$phpgw_setup->oProc->AlterColumn('phpgw_access_log','sessionid',array('type' => 'char', 'precision' => 32));
|
||||||
|
|
||||||
|
$setup_info['phpgwapi']['currentver'] = '0.9.13.004';
|
||||||
|
return $setup_info['phpgwapi']['currentver'];
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user