Changeset 5994


Ignore:
Timestamp:
04/23/12 15:12:42 (12 years ago)
Author:
acoutinho
Message:

Ticket #2631 - Inconsistencia na mudanca de fuso-horario na decorrencia de uma repeticao

Location:
trunk/expressoCalendar/setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoCalendar/setup/tables_current.inc.php

    r5953 r5994  
    254254            'fd' => array( 
    255255                'id' => array( 'type' => 'auto', 'nullable' => False), 
    256                 'occurrence' => array(  'type' => 'bigint','precision' => '16', 'nullable' => False, 'default' => 0), 
    257                 'exception' => array(  'type' => 'smallint','precision' => '1', 'nullable' => False), 
     256                'occurrence' => array(  'type' => 'bigint','precision' => '16', 'nullable' => False), 
     257                'exception' => array(  'type' => 'smallint','precision' => '1', 'nullable' => False, 'default' => 0), 
    258258                'repeat_id' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False) 
    259259            ), 
  • trunk/expressoCalendar/setup/tables_update.inc.php

    r5953 r5994  
    101101        function expressoCalendar_upgrade1_004() { 
    102102            $oProc = $GLOBALS['phpgw_setup']->oProc; 
    103             $oProc->query("ALTER TABLE calendar_repeat_occurrence  ALTER COLUMN occurrence SET DEFAULT 0"); 
     103            $oProc->query("ALTER TABLE calendar_repeat_occurrence  ALTER COLUMN exception SET default 0"); 
    104104 
    105105            $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.005'; 
Note: See TracChangeset for help on using the changeset viewer.