-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclean_milestones.sql
More file actions
53 lines (41 loc) · 1.78 KB
/
clean_milestones.sql
File metadata and controls
53 lines (41 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
-- update milestone names -------------------------------------------
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_bigbluebuttonbn t on t.id = cm.`instance` and cm.module = 24
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_url t on t.id = cm.`instance` and cm.module = 21
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_resource t on t.id = cm.`instance` and cm.module = 18
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_quiz t on t.id = cm.`instance` and cm.module = 17
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_page t on t.id = cm.`instance` and cm.module = 16
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_label t on t.id = cm.`instance` and cm.module = 13
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_forum t on t.id = cm.`instance` and cm.module = 9
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_choice t on t.id = cm.`instance` and cm.module = 5
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_chat t on t.id = cm.`instance` and cm.module = 4
set j.name = t.name;
update mdl_tool_attestoodle_milestone j
join mdl_course_modules cm on j.moduleid = cm.id
join mdl_assign t on t.id = cm.`instance` and cm.module = 1
set j.name = t.name;