Changeset 5647
- Timestamp:
- 03/06/12 17:20:20 (12 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoCalendar/setup/tables_update.inc.php
r5645 r5647 9 9 * option) any later version. * 10 10 \**************************************************************************/ 11 11 12 12 $test[] = '1.000'; 13 13 function expressoCalendar_upgrade1_000() { 14 $setup_info['expressoCalendar']['currentver'] = '1.000';15 14 16 15 $oProc = $GLOBALS['phpgw_setup']->oProc; … … 27 26 $oProc->query('ALTER TABLE calendar_alarm ALTER COLUMN range_start TYPE bigint USING (date_part(\'epoch\',(cast(range_start as timestamp)))::bigint) * 1000'); 28 27 29 $oProc->query('ALTER TABLE attachment ADD COLUMN owner TYPE int');28 $oProc->query('ALTER TABLE attachment ADD COLUMN owner integer'); 30 29 31 30 $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.001'; 32 31 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 33 32 } 34 35 33 ?>
Note: See TracChangeset
for help on using the changeset viewer.