Changeset 3973 for branches/2.2.0.1/calendar/setup
- Timestamp:
- 04/11/11 14:09:50 (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_update.inc.php
r3968 r3973 80 80 return $GLOBALS['setup_info']['calendar']['currentver']; 81 81 } 82 $test[] = '2.2.001'; 83 function calendar_upgrade2_2_001() 84 { 85 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN attachment text"); 86 } 87 88 $test[] = '2.2.002'; 89 function calendar_upgrade2_2_002() 82 $test[] = '2.2.000'; 83 function calendar_upgrade2_2_000() 90 84 { 91 85 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN alter_by varchar(160)"); 92 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.003'; 86 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN attachment text"); 87 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.001'; 93 88 return $GLOBALS['setup_info']['calendar']['currentver']; 94 89 }
Note: See TracChangeset
for help on using the changeset viewer.