Ignore:
Timestamp:
02/14/12 16:52:04 (12 years ago)
Author:
acoutinho
Message:

Ticket #2434 - Implementacao anexos, acls e delegacao de participantes

Location:
trunk/expressoCalendar/setup
Files:
2 edited

Legend:

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

    r5341 r5514  
    2828                $oProc->query("ALTER TABLE calendar_signature ADD CONSTRAINT fk_calendar_signature_calendar_espec FOREIGN KEY (calendar_id) REFERENCES calendar (id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE;"); 
    2929                 
    30                 //calendar_signature_alarm 
     30        //calendar_signature_alarm 
    3131                $oProc->query("ALTER TABLE calendar_signature_alarm ADD CONSTRAINT fk_calendar_signature_alarm_calendar_signature FOREIGN KEY (calendar_signature_id) REFERENCES calendar_signature (id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE;"); 
    3232                 
     
    3737                $oProc->query("INSERT INTO calendar_object_type( \"id\", \"name\") VALUES ('1','VEVENT');"); 
    3838                $oProc->query("INSERT INTO calendar_class( \"id\", \"name\") VALUES ('1','Public'),('2','Private'),('3','Confidential');"); 
    39                 $oProc->query("INSERT INTO calendar_participant_status( \"id\", \"name\") VALUES ('1','CONFIRMED'),('2','TENTATIVE'),('3','CANCELLED'),('4','UNANSWERED');"); 
     39                $oProc->query("INSERT INTO calendar_participant_status( \"id\", \"name\") VALUES ('1','CONFIRMED'),('2','TENTATIVE'),('3','CANCELLED'),('4','UNANSWERED'),('5', 'DELEGATED');"); 
    4040                 
    4141?> 
  • trunk/expressoCalendar/setup/tables_current.inc.php

    r5441 r5514  
    3131                                'type' => array('type' => 'varchar','precision' => '50','nullable' => False), 
    3232                                'name' => array('type' => 'varchar','precision' => '255','nullable' => False), 
    33                                 'size' => array('type' => 'varchar','precision' => '255','nullable' => False) 
     33                                'size' => array('type' => 'varchar','precision' => '255','nullable' => False), 
     34                                'owner' => array('type' => 'int', 'precision' => '8','nullable' => True) 
    3435                        ), 
    3536                        'pk' => array('id'), 
     
    3839                        'uc' => array() 
    3940                ), 
    40                  
    41          
    42                  
     41                                 
    4342                'calendar' => array( 
    4443            'fd' => array( 
     
    136135                'user_info_id' => array(  'type' => 'int', 'precision' => '8', 'nullable' => False), 
    137136                'object_id' => array(  'type' => 'int', 'precision' => '8', 'nullable' => True), 
    138                 'delegated_to' => array( 'type' => 'int', 'precision' => '8','default' => 0, 'nullable' => False), 
     137                'delegated_from' => array( 'type' => 'int', 'precision' => '8','default' => 0, 'nullable' => False), 
    139138                'is_organizer' => array( 'type' => 'int', 'precision' => '2', 'default' => 0, 'nullable' => False), 
    140139                'is_external' => array( 'type' => 'int', 'precision' => '2', 'default' => 0, 'nullable' => False), 
    141                 'participant_status_id' => array( 'type' => 'int', 'precision' => '8', 'nullable' => false , 'default' => 4) 
     140                'participant_status_id' => array( 'type' => 'int', 'precision' => '8', 'nullable' => false , 'default' => 4), 
     141                                'acl' => array('type' => 'varchar', 'precision' => '10' ,'default' => 'r', 'nullable' => False), 
     142                                'receive_notification' => array( 'type' => 'int', 'precision' => '2', 'default' => 1, 'nullable' => False) 
    142143            ), 
    143144            'pk' => array('id'), 
Note: See TracChangeset for help on using the changeset viewer.