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

Details

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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