Hi,
I’m trying to work out how database tables link together in the back end of Moodle.
I can see that our mdl_resources lists documents associated with a course and that the file detail is stored in mdl_files but I can’t see how these files are logically linked back through to a specific course.
I’m wondering if contextid is the link from the file, but can’t see where that links to a courseid.
Any help would be appreciated.
Thanks
Rob