Issue Details (XML | Word | Printable)

Key: MDL-11044
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Duplicate
Priority: Minor Minor
Assignee: Eloy Lafuente (stronk7)
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-19303

Improve XMLDB PHP code generation when one field has related indexes or keys

Created: 29/Aug/07 03:40 AM   Updated: 31/May/09 06:33 AM
Return to search
Component/s: Database SQL/XMLDB
Affects Version/s: 1.9
Fix Version/s: 2.0

Environment: any
Issue Links:
Duplicate
 

Database: Any
Participants: Eloy Lafuente (stronk7) and Martin Dougiamas
Security Level: None
Resolved date: 31/May/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
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 :-)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Martin Dougiamas added a comment - 26/Feb/08 03:52 PM
Pushing new feature forward to 2.0

Martin Dougiamas made changes - 26/Feb/08 03:52 PM
Field Original Value New Value
Fix Version/s 2.0 [ 10122 ]
Fix Version/s 1.9 [ 10190 ]
Eloy Lafuente (stronk7) made changes - 27/May/09 06:34 AM
Parent MDL-19303 [ 32107 ]
Issue Type Improvement [ 4 ] Sub-task [ 5 ]
Eloy Lafuente (stronk7) added a comment - 31/May/09 06:33 AM
Resolving this as duplicate of MDL-9271 where the research and decision about how to fix this problem is evolving right no.

Eloy Lafuente (stronk7) made changes - 31/May/09 06:33 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Duplicate [ 3 ]
Eloy Lafuente (stronk7) made changes - 31/May/09 06:33 AM
Link This issue duplicates MDL-9271 [ MDL-9271 ]