Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/ddldependencyerror.

error/moodle/ddldependencyerror

From MoodleDocs
Revision as of 09:26, 15 September 2010 by Martin Dougiamas (talk | contribs) (New page: One reason for this error is that some upgrade code is trying to modify a field that has an index attached to it. When a developer wants to change a field like this they should: # drop t...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

One reason for this error is that some upgrade code is trying to modify a field that has an index attached to it.

When a developer wants to change a field like this they should:

  1. drop the index first, then
  2. modify the field, and then
  3. re-create the index.

See also