Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68296

Allow xmldb / install.xml to declare any elements which only apply for a certain db family

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • Future Dev
    • Database SQL/XMLDB
    • None

      This was found via MDL-67886

      There are small edge cases where certain plugins need to have different schemas depending on which db they are using. This will cause the schema check to fail on the other db's.

      The root cause here is that we have no way of declaring in the xml file that a chunk only applies for a certain db driver. The environment.xml format does have this expressive power so in we could extend xmldb to do something similar such as:

      <INDEXES>
          <VENDOR name="postgres">
              <INDEX NAME="name" UNIQUE="false" FIELDS="fiedl1,field2" COMMENT="Some index"/>
           <VENDOR>
      </INDEXES>

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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