Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30799 META: Enable foreign keys in the database schema
  3. MDL-30801

New option $CFG->foreignkeys = NONE | SAFE | ALL in config.php

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.2
    • Database SQL/XMLDB
    • MOODLE_22_STABLE

      This would actually cause sql_generator to create the requested foreign keys.

      • NONE would be the default, at least for now.
      • SAFE would mean 'create the ones marked as safe' according to the new setting introduced in MDL-30800. Eventually, this might become the default for new installs.
      • ALL would be provided to make things easy for brave developers who want to see what will happen

      Since config.php is included early, these probably need to be string literals 'none', etc. Not really PHP constants.

            Unassigned Unassigned
            timhunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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