Changeset 7383 for branches/2.4
- Timestamp:
- 10/09/12 15:57:26 (12 years ago)
- Location:
- branches/2.4/expressoCalendar/setup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoCalendar/setup/tables_current.inc.php
r7228 r7383 29 29 'id' => array('type' => 'auto','nullable' => False), 30 30 'source' => array('type' => 'blob','nullable' => False), 31 'type' => array('type' => 'varchar','precision' => ' 50','nullable' => False),31 'type' => array('type' => 'varchar','precision' => '255','nullable' => False), 32 32 'name' => array('type' => 'varchar','precision' => '255','nullable' => False), 33 33 'size' => array('type' => 'varchar','precision' => '255','nullable' => False), -
branches/2.4/expressoCalendar/setup/tables_update.inc.php
r7228 r7383 182 182 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 183 183 }; 184 184 185 $test[] = '1.009'; 186 function expressoCalendar_upgrade1_009() { 187 $oProc = $GLOBALS['phpgw_setup']->oProc; 188 189 $oProc->query("ALTER TABLE attachment ALTER COLUMN type TYPE character varying(255);"); 190 $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.010'; 191 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 192 }; 193 185 194 ?>
Note: See TracChangeset
for help on using the changeset viewer.