-
Sub-task
-
Resolution: Duplicate
-
Minor
-
1.9
-
None
-
any
-
Any
-
MOODLE_19_STABLE
-
MOODLE_20_STABLE
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
- duplicates
-
MDL-9271 XMLDB: Keys are lost when changing table settings
-
- Closed
-