Skip to content
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

Failed schema checks in report_customsql_categories #123

Open
jnlar opened this issue Dec 21, 2022 · 0 comments
Open

Failed schema checks in report_customsql_categories #123

jnlar opened this issue Dec 21, 2022 · 0 comments

Comments

@jnlar
Copy link

jnlar commented Dec 21, 2022

This error is appearing in version '4.2 for Moodle 3.9+' when running admin/cli/check_database_schema.php

-------------------------------------------------------------------------------
report_customsql_categories
 * column 'name' should be NOT NULL (C)
 * column 'name' has default 'Miscellaneous', expected 'NULL' (C)
-------------------------------------------------------------------------------

At some point the name columns constraint has been changed to NULL leading to this error.

jnlar added a commit to catalyst/moodle-report_customsql that referenced this issue Dec 21, 2022
jnlar added a commit to catalyst/moodle-report_customsql that referenced this issue Dec 22, 2022
Only assess the updates needed instead of moving the original upgrade
block down.
jnlar added a commit to catalyst/moodle-report_customsql that referenced this issue Dec 22, 2022
jnlar added a commit to catalyst/moodle-report_customsql that referenced this issue Dec 22, 2022
keevan added a commit to catalyst/moodle-report_customsql that referenced this issue Dec 22, 2022
Fix moodleou#123: Fix schema issues in report_customsql_categories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant