Changeset 5741 for trunk/expressoCalendar/setup/tables_update.inc.php
- Timestamp:
- 03/16/12 15:02:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoCalendar/setup/tables_update.inc.php
r5715 r5741 70 70 ); 71 71 72 $oProc->query("ALTER TABLE calendar_ repeat_occurrence ADD CONSTRAINT fk_calendar_repeat_to_calendar_repeat_occurrence FOREIGN KEY (repeat_id) REFERENCES calendar_repeat (id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE;");72 $oProc->query("ALTER TABLE calendar_participant ADD COLUMN receive_notification smallint not null DEFAULT 1 "); 73 73 74 74 $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.002'; 75 75 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 76 76 } 77 78 $test[] = '1.002'; 79 function expressoCalendar_upgrade1_002() { 80 81 $oProc = $GLOBALS['phpgw_setup']->oProc; 82 83 $oProc->query("ALTER TABLE calendar_repeat_occurrence ADD COLUMN exception smallint DEFAULT 0;"); 84 85 $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.003'; 86 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 87 } 77 88 ?>
Note: See TracChangeset
for help on using the changeset viewer.