Changeset 8232 for branches/2.5/expressoCalendar/setup
- Timestamp:
- 10/08/13 16:20:46 (11 years ago)
- Location:
- branches/2.5/expressoCalendar/setup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/expressoCalendar/setup/tables_current.inc.php
r7938 r8232 234 234 'uidnumber' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 235 235 'object_id' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 236 'owner' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 236 'owner' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 237 237 'object_type' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 238 238 'permission' => array( 'type' => 'varchar','precision' => '50', 'nullable' => False) … … 313 313 'background_color' => array( 'type' => 'varchar','precision' => '6', 'nullable' => True), 314 314 'border_color' => array( 'type' => 'varchar','precision' => '6', 'nullable' => True), 315 'type' => array('type' => 'int', 'precision' => '2' ,'nullable' => false, 'default' => 0), 316 'hidden' => array('type' => 'int', 'precision' => '2' ,'nullable' => false, 'default' => 0) 315 'type' => array('type' => 'int', 'precision' => '2' ,'nullable' => false, 'default' => 0), 316 'hidden' => array('type' => 'int', 'precision' => '2' ,'nullable' => false, 'default' => 0) 317 317 ), 318 318 'pk' => array('id'), -
branches/2.5/expressoCalendar/setup/tables_update.inc.php
r7938 r8232 234 234 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 235 235 }; 236 237 $test[] = '1.011'; 238 function expressoCalendar_upgrade1_011() { 239 $oProc = $GLOBALS['phpgw_setup']->oProc; 240 241 $oProc->query("ALTER TABLE calendar_signature ADD COLUMN hidden integer"); 242 243 $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.012'; 244 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 245 }; 236 237 $test[] = '1.011'; 238 function expressoCalendar_upgrade1_011() { 239 $oProc = $GLOBALS['phpgw_setup']->oProc; 240 241 $oProc->query("ALTER TABLE calendar_signature ADD COLUMN hidden integer"); 242 243 $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.012'; 244 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 245 }; 246 246 247 247 ?>
Note: See TracChangeset
for help on using the changeset viewer.