Ignore:
Timestamp:
10/08/13 16:20:46 (11 years ago)
Author:
douglas
Message:

Ticket #0000 - Copiadas as alterações do Trunk. Versão final 2.5.1.

Location:
branches/2.5/expressoCalendar/setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/expressoCalendar/setup/tables_current.inc.php

    r7938 r8232  
    234234                'uidnumber' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False), 
    235235                'object_id' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False), 
    236                 'owner' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False),  
     236                'owner' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False), 
    237237                'object_type' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False), 
    238238                'permission' => array(  'type' => 'varchar','precision' => '50', 'nullable' => False) 
     
    313313                'background_color' => array(  'type' => 'varchar','precision' => '6', 'nullable' => True), 
    314314                'border_color' => array(  'type' => 'varchar','precision' => '6', 'nullable' => True), 
    315                 'type' => array('type' => 'int', 'precision' => '2' ,'nullable' => false, 'default' => 0),  
    316                 'hidden' => array('type' => 'int', 'precision' => '2' ,'nullable' => false, 'default' => 0)  
     315                'type' => array('type' => 'int', 'precision' => '2' ,'nullable' => false, 'default' => 0), 
     316                'hidden' => array('type' => 'int', 'precision' => '2' ,'nullable' => false, 'default' => 0) 
    317317            ), 
    318318            'pk' => array('id'), 
  • branches/2.5/expressoCalendar/setup/tables_update.inc.php

    r7938 r8232  
    234234        return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 
    235235    }; 
    236   
    237     $test[] = '1.011';  
    238     function expressoCalendar_upgrade1_011() {  
    239         $oProc = $GLOBALS['phpgw_setup']->oProc;  
    240   
    241         $oProc->query("ALTER TABLE calendar_signature ADD COLUMN hidden integer");  
    242   
    243         $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.012';  
    244         return $GLOBALS['setup_info']['expressoCalendar']['currentver'];  
    245     };  
     236 
     237    $test[] = '1.011'; 
     238    function expressoCalendar_upgrade1_011() { 
     239        $oProc = $GLOBALS['phpgw_setup']->oProc; 
     240 
     241        $oProc->query("ALTER TABLE calendar_signature ADD COLUMN hidden integer"); 
     242 
     243        $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.012'; 
     244        return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 
     245    }; 
    246246         
    247247?> 
Note: See TracChangeset for help on using the changeset viewer.