Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.9
-
Fix Version/s: 2.0
-
Component/s: Database SQL/XMLDB
-
Labels:None
-
Environment:any
-
Database:Any
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
When obtaining PHP from the XMLDB editor (to be used in upgrade scripts). Make it a bit clever, detenting when one field has associated indexes / keys and providing the needed code to perform the modification properly:
1) Drop indexes / keys
2) Modify the field
3) Re-create indexes / keys
Ciao ![]()
Issue Links
| This issue duplicates: | ||||
| MDL-9271 | XMLDB: Keys are lost when changing table settings |
|
|
|
Pushing new feature forward to 2.0