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

Redesign Moodle's database tables handling for future code

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 4.4
    • Database SQL/XMLDB
    • None
    • MOODLE_404_STABLE

      Deprecate Moodle's XMLDB editor and instead make an approach similar to what some frameworks like Django do with Models where you define objects extending a class and these classes are translated to tables (either creations or modifications) on plugins/core installs.

      Similar to what the \core\persistent class do already but not only handling database's queries but tables creations and modifications.

      For example:

      • Having all models inside db/models/[object_name].php
      • Having all databases migrations generated automatically in db/migrations/[id].php

            Unassigned Unassigned
            Lucas_Alonso Lucas Alonso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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