moving activities to other courses by changing DB directly

moving activities to other courses by changing DB directly

by Jurgis Pralgauskis -
Number of replies: 0
Hello,
I see a DB field "course" on each mdl_activity  table. I also see, that this field is assigned the id of course, on which the activity finds itself.
I needed to move 10 quizes to other course, as I am restructuring my Moodle, but changing this feeld to new course id didnt help... (by the way, for the the categories of questions this seemed to work - now they are identified as in new course).

So guys, is it the lack of my DB knowledge, or is it some mysthics, how moodle sorts out which activities belong to which course. I tried not only quizes, but also with assignment and questionnaire. Anyway, even if it is not the way to move activities between courses, nothing bad happened, so I wonder, what is this course field for?
Average of ratings: -