Ignore:
Timestamp:
07/17/12 16:07:52 (12 years ago)
Author:
acoutinho
Message:

Ticket #2966 - primeiras implementacoes de tarefas aninhamento de equipo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso1/expressoCalendar/setup/tables_update.inc.php

    r6255 r6797  
    120120        }; 
    121121         
     122        $test[] = '1.007'; 
     123        function expressoCalendar_upgrade1_007() { 
     124                $oProc = $GLOBALS['phpgw_setup']->oProc; 
     125 
     126                $oProc->query("ALTER TABLE calendar_object ADD COLUMN priority smallint DEFAULT 0;"); 
     127                $oProc->query("ALTER TABLE calendar_object ADD COLUMN percentage smallint DEFAULT 0;"); 
     128                $oProc->query("ALTER TABLE calendar_object ADD COLUMN status smallint DEFAULT 0;"); 
     129 
     130                $oProc->query("ALTER TABLE calendar ADD COLUMN type smallint DEFAULT 0;"); 
     131                 
     132                $oProc->query("ALTER TABLE calendar_signature ADD COLUMN type smallint DEFAULT 0;"); 
     133 
     134        $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.008'; 
     135        return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 
     136        }; 
     137         
    122138?> 
Note: See TracChangeset for help on using the changeset viewer.