Changeset 3981
- Timestamp:
- 04/11/11 17:55:11 (13 years ago)
- Location:
- branches/2.2.0.1/calendar/setup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/calendar/setup/tables_current.inc.php
r3976 r3981 25 25 'cal_type' => array('type' => 'varchar','precision' => '10','nullable' => True), 26 26 'is_public' => array('type' => 'int','precision' => '8','nullable' => False,'default' => '1'), 27 'title' => array('type' => 'varchar','precision' => ' 80','nullable' => False,'default' => '1'),27 'title' => array('type' => 'varchar','precision' => '300','nullable' => False,'default' => '1'), 28 28 'description' => array('type' => 'text','nullable' => True), 29 29 'observations' => array('type' => 'text','nullable' => True), -
branches/2.2.0.1/calendar/setup/tables_update.inc.php
r3976 r3981 89 89 return $GLOBALS['setup_info']['calendar']['currentver']; 90 90 } 91 $test[] = '2.2.001'; 92 function calendar_upgrade2_2_001() 93 { 94 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ALTER title TYPE varchar(300)"); 95 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.002'; 96 return $GLOBALS['setup_info']['calendar']['currentver']; 97 } 91 98 ?>
Note: See TracChangeset
for help on using the changeset viewer.