Changeset 7164 for trunk/expressoCalendar/setup/tables_update.inc.php
- Timestamp:
- 09/04/12 17:09:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoCalendar/setup/tables_update.inc.php
r6996 r7164 171 171 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 172 172 }; 173 174 $test[] = '1.008'; 175 function expressoCalendar_upgrade1_008() { 176 $oProc = $GLOBALS['phpgw_setup']->oProc; 177 178 $oProc->query("ALTER TABLE calendar_permission ADD COLUMN owner bigint;"); 179 $oProc->query("UPDATE calendar_permission SET owner = sig.user_uidnumber FROM calendar_signature as sig WHERE (sig.calendar_id = object_id AND sig.is_owner = '1');"); 180 181 $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.009'; 182 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 183 }; 173 184 174 185 ?>
Note: See TracChangeset
for help on using the changeset viewer.