Changeset 203 for trunk/contactcenter/setup/tables_update.inc.php
- Timestamp:
- 03/05/08 16:22:18 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/setup/tables_update.inc.php
r56 r203 67 67 return $GLOBALS['setup_info']['contactcenter']['currentver']; 68 68 } 69 $test[] = '1.15'; 70 function contactcenter_upgrade1_15() { 71 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN last_status char(1) DEFAULT 'N'::bpchar"); 72 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN last_update int8 DEFAULT (date_part('epoch'::text, ('now'::text)::timestamp(3) with time zone) * (1000)::double precision)"); 73 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cc_contact ADD COLUMN category character varying(20)"); 74 75 $GLOBALS['setup_info']['contactcenter']['currentver'] = '1.20'; 76 return $GLOBALS['setup_info']['contactcenter']['currentver']; 77 } 78 69 79 ?>
Note: See TracChangeset
for help on using the changeset viewer.