-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foreign keys violations. #331
Labels
Comments
mdjnelson
added a commit
that referenced
this issue
Mar 9, 2020
mdjnelson
added a commit
that referenced
this issue
Mar 9, 2020
Fixed. Thanks. However, Moodle does not respect foreign keys and simply adds an index due to some historical reason where some or one database didnt support it. However, best to fix it now before it causes an issue later. |
mdjnelson
added a commit
that referenced
this issue
Mar 9, 2020
mdjnelson
added a commit
that referenced
this issue
Mar 9, 2020
mdjnelson
added a commit
that referenced
this issue
Mar 9, 2020
THX for the quick response! |
mdjnelson
added a commit
that referenced
this issue
Mar 9, 2020
mdjnelson
added a commit
that referenced
this issue
Mar 10, 2020
mdjnelson
added a commit
that referenced
this issue
Mar 10, 2020
mdjnelson
added a commit
that referenced
this issue
Mar 10, 2020
mdjnelson
added a commit
that referenced
this issue
Apr 17, 2020
mdjnelson
added a commit
that referenced
this issue
Apr 17, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
2 foreign keys on tables customcert and table customcert_pages point to a non-existent table customcert_template. Both keys should point to customcert_templates. The missing letter surely affects performance, but is probably also the cause for other unwanted behaviour.
To check: visit admin/tool/xmldb and opt for the last option [check foreign keys]
To fix in new installs: edit db/install,xml
Current users will need an upgrade script so these changes get into the database.
The text was updated successfully, but these errors were encountered: