- Timestamp:
- 02/28/13 09:04:05 (11 years ago)
- Location:
- branches/2.5/phpgwapi/setup
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/phpgwapi/setup/setup.inc.php
r7504 r7917 14 14 $setup_info['phpgwapi']['name'] = 'phpgwapi'; 15 15 $setup_info['phpgwapi']['title'] = 'API'; 16 $setup_info['phpgwapi']['version'] = '2.5. 0';16 $setup_info['phpgwapi']['version'] = '2.5.1'; 17 17 $setup_info['phpgwapi']['versions']['current_header'] = '2.5.0'; 18 18 $setup_info['phpgwapi']['enable'] = 3; -
branches/2.5/phpgwapi/setup/tables_current.inc.php
r3617 r7917 115 115 'sessionid' => array('type' => 'char','precision' => '32','nullable' => False), 116 116 'loginid' => array('type' => 'varchar','precision' => '30','nullable' => False), 117 'ip' => array('type' => 'varchar','precision' => ' 30','nullable' => False),117 'ip' => array('type' => 'varchar','precision' => '255','nullable' => False), 118 118 'li' => array('type' => 'int','precision' => '4','nullable' => False), 119 119 'lo' => array('type' => 'int','precision' => '4','nullable' => True,'default' => '0'), -
branches/2.5/phpgwapi/setup/tables_update.inc.php
r7516 r7917 176 176 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 177 177 } 178 $test[] = '2.4.2'; 179 function phpgwapi_upgrade2_4_2() 180 { 181 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.5.0'; 182 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 183 } 178 $test[] = '2.4.2'; 179 function phpgwapi_upgrade2_4_2() 180 { 181 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.5.0'; 182 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 183 } 184 185 $test[] = '2.5.0'; 186 function phpgwapi_upgrade2_5_0() 187 { 188 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.5.1'; 189 global $setup_info,$phpgw_setup; 190 $phpgw_setup->oProc->query("ALTER TABLE phpgw_access_log ALTER COLUMN ip TYPE character varying(255) "); 191 192 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 193 } 194 184 195 185 196 ?>
Note: See TracChangeset
for help on using the changeset viewer.