-
Notifications
You must be signed in to change notification settings - Fork 0
/
course_modules.html
75 lines (59 loc) · 1.97 KB
/
course_modules.html
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<head>
<style>
div {
font-family: monospace;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
tr:nth-child(odd) {
background-color: #FFFFFF;
}
tr:nth-child(even) {
background-color: #EBF2F2;
}
th, td {
text-align: left;
padding: 5px 10px 5px 5px;
}
</style>
</head>
<div>
<h1>course_modules</h1>
<h2>Description</h2>
<p>
Contains each course's set of modules, their names, their description, and their order.
Note: For courses that use the Course Versioning feature, please refer to the branch version of this table.
</p>
<h2> Columns </h2>
<table>
<tr><th>Name</th><th>Description</th></tr>
<tr>
<td>course_id</td><td>22 character unique string identifying an individual course</td>
</tr>
<tr>
<td>course_module_id</td><td>5 character alphanumeric string identifying an individual module within a course. course_module_id need not be unique, but a course_module_id/course_id pair is unique.</td>
</tr>
<tr>
<td>course_module_order</td><td>The order of a module within a particular course, with "0" indicating the first module in the course. </td>
</tr>
<tr>
<td>course_module_name</td><td>The name of a module, as seen in the learner view of the course. </td>
</tr>
<tr>
<td>course_module_desc</td><td>The description of the module, seen as the note to learners above the module in the learner view of the course. </td>
</tr>
</table>
<h2>SQL create statement</h2>
<pre>
CREATE TABLE course_modules (
course_id VARCHAR(50)
,course_module_id VARCHAR(50)
,course_module_order INT4
,course_module_name VARCHAR(2000)
,course_module_desc VARCHAR(10000)
,PRIMARY KEY (course_id, course_module_id)
);
</pre>
</div>