-
Improvement
-
Resolution: Fixed
-
Minor
-
5.0
-
MOODLE_500_STABLE
-
MOODLE_500_STABLE
-
- Covered by automated tests (PHPUnit)
-
-
This table name is not correct:
As evidenced when it's used in a report source, and in XMLDB schema:
- https://github.com/moodle/moodle/blob/ab5692acdf1f9a2b3cf06986f49b951558793f38/course/classes/reportbuilder/datasource/participants.php#L139
- https://github.com/moodle/moodle/blob/ab5692acdf1f9a2b3cf06986f49b951558793f38/lib/db/install.xml#L201
Now that we can deprecate table names in entities (since MDL-78118), we should fix this so as to remove the element of surprise and support future work on table introspection once it's corrected
The deprecation of entity table names should support defining replacements. In this case from 'course_completion' to 'course_completions'