Changeset 5156 for branches/2.3/workflow/setup/tables_update.inc.php
- Timestamp:
- 11/07/11 15:59:45 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/workflow/setup/tables_update.inc.php
r4526 r5156 194 194 /* adding primary key without the column removed */ 195 195 $GLOBALS['phpgw']->ADOdb->query('ALTER TABLE egw_wf_interinstance_relations ADD CONSTRAINT egw_wf_interinstance_relations_pkey PRIMARY KEY (wf_parent_instance_id, wf_child_instance_id)'); 196 196 197 197 /* Update the organogram level of administration off all users from 0 to 1. */ 198 198 $GLOBALS['phpgw']->ADOdb->query('UPDATE egw_wf_admin_access set nivel = 1 WHERE tipo = \'ORG\' and nivel = 0'); … … 207 207 { 208 208 #updating the current version 209 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.0.1'; 209 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.1'; 210 return $GLOBALS['setup_info']['workflow']['currentver']; 211 } 212 $test[] = '2.2.1'; 213 function workflow_upgrade2_2_1() 214 { 215 #updating the current version 216 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.6'; 217 return $GLOBALS['setup_info']['workflow']['currentver']; 218 } 219 $test[] = '2.2.6'; 220 function workflow_upgrade2_2_6() 221 { 222 #updating the current version 223 $GLOBALS['setup_info']['workflow']['currentver'] = '2.3.0'; 210 224 return $GLOBALS['setup_info']['workflow']['currentver']; 211 225 }
Note: See TracChangeset
for help on using the changeset viewer.