Ignore:
Timestamp:
02/25/13 10:28:36 (11 years ago)
Author:
cristiano
Message:

Ticket #3356 - Ao utilizar o expresso com IPv6 , Erro tamanho campo acess_log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/setup/tables_update.inc.php

    r7516 r7909  
    176176                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    177177        } 
    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     
    184195 
    185196?> 
Note: See TracChangeset for help on using the changeset viewer.