Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-19303 META: XMLDB Editor various bugs/improvements
  3. MDL-11044

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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • 2.0
    • 1.9
    • Database SQL/XMLDB
    • 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

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.