Ignore:
Timestamp:
08/06/12 10:03:03 (12 years ago)
Author:
acoutinho
Message:

Ticket #2966 - Criacao de atividades com suporte a alarmes e anexos

Location:
sandbox/2.4.2-expresso1/expressoCalendar/setup
Files:
3 edited

Legend:

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

    r6797 r6945  
    3333        $setup_info['expressoCalendar']['tables'][]             =  'calendar_permission'; 
    3434        $setup_info['expressoCalendar']['tables'][]             =  'module_preference'; 
    35         $setup_info['expressoCalendar']['tables'][]             =  'calendar_repeat_ranges'; 
     35    $setup_info['expressoCalendar']['tables'][]     =  'calendar_repeat_ranges'; 
     36        $setup_info['expressoCalendar']['tables'][]             =  'calendar_task_to_activity_object'; 
    3637 
    3738        $setup_info['expressoCalendar']['enable']               = 1; 
  • sandbox/2.4.2-expresso1/expressoCalendar/setup/tables_current.inc.php

    r6876 r6945  
    101101            'uc' => array() 
    102102                ), 
     103 
     104       'calendar_task_to_activity_object' => array( 
     105            'fd' => array( 
     106                'id' => array( 'type' => 'auto', 'nullable' => False), 
     107                'calendar_object_activity_id' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False), 
     108                'calendar_object_task_id' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False), 
     109                'owner' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False), 
     110            ), 
     111            'pk' => array('id'), 
     112            'fk' => array(), 
     113            'ix' => array(), 
     114            'uc' => array() 
     115        ), 
    103116             
    104117             
  • sandbox/2.4.2-expresso1/expressoCalendar/setup/tables_update.inc.php

    r6876 r6945  
    135135        $oProc->query("INSERT INTO calendar_object_type(id, name) VALUES ('2', 'TODO');"); 
    136136 
     137        $oProc->query("CREATE TABLE calendar_task_to_activity_object(id serial not null, calendar_object_activity_id integer not null, calendar_object_task_id integer not null, owner integer not null);"); 
     138 
    137139        $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.008'; 
    138140        return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 
Note: See TracChangeset for help on using the changeset viewer.