- Timestamp:
- 10/09/12 12:29:13 (12 years ago)
- Location:
- trunk/expressoCalendar/setup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoCalendar/setup/tables_current.inc.php
r6996 r7378 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), -
trunk/expressoCalendar/setup/tables_update.inc.php
r7164 r7378 182 182 return $GLOBALS['setup_info']['expressoCalendar']['currentver']; 183 183 }; 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 }; 184 193 185 194 ?>
Note: See TracChangeset
for help on using the changeset viewer.