Hi -
The 'module' field is the value of the 'id' field in the 'modules' table. The 'modules' table lists all of the installed activity plugins on the site. So the 'module' field identifies which activity plugin is referred to for the course instance in the 'course_modules' table.
mike