Hello,
i'd like to enable course completion for all the courses.
Could be possible to enable by SQL query?
Thank you. Best Regards.
UPDATE `mdl_course_modules` SET `completion`=2, `completionview`=1 WHERE 1;
but you need to enable the completion tracking for each course from course settings page.
*Previous SQL query will enable completion on view activity
**If you want to allow students to mark completion manually: use this query instead
UPDATE `mdl_course_modules` SET `completion`=1 WHERE 1;
Hope this will help you
Best regards
Nawras