1 |
efrain |
1 |
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
2 |
<XMLDB PATH="mod/subcourse/db" VERSION="20200711" COMMENT="XMLDB file for Moodle mod/subcourse"
|
|
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
4 |
xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
|
|
|
5 |
>
|
|
|
6 |
<TABLES>
|
|
|
7 |
<TABLE NAME="subcourse" COMMENT="Default comment for subcourse, please edit me">
|
|
|
8 |
<FIELDS>
|
|
|
9 |
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
10 |
<FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Course subcourse activity belongs to"/>
|
|
|
11 |
<FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" COMMENT="name field for moodle instances"/>
|
|
|
12 |
<FIELD NAME="intro" TYPE="text" NOTNULL="false" SEQUENCE="false" COMMENT="General introduction of the subcourse activity"/>
|
|
|
13 |
<FIELD NAME="introformat" TYPE="int" LENGTH="4" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Format of the intro field (MOODLE, HTML, MARKDOWN...)"/>
|
|
|
14 |
<FIELD NAME="timecreated" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
15 |
<FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
16 |
<FIELD NAME="timefetched" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Last time grades were fetched from referenced course"/>
|
|
|
17 |
<FIELD NAME="refcourse" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Referenced course"/>
|
|
|
18 |
<FIELD NAME="instantredirect" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Should the student be instantly redirected to the course page when viewing a subcourse module?"/>
|
|
|
19 |
<FIELD NAME="completioncourse" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Should the activity be marked as completed when the referenced course is completed."/>
|
|
|
20 |
<FIELD NAME="blankwindow" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="Should the referenced course be open in a new window?"/>
|
|
|
21 |
<FIELD NAME="fetchpercentage" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="When fetching the grades, should the raw value be recalculated so that the percentage grade matches the once in the referenced course."/>
|
|
|
22 |
<FIELD NAME="coursepageprintgrade" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="1" SEQUENCE="false" COMMENT="Should display referenced course grade on the course page ?"/>
|
|
|
23 |
<FIELD NAME="coursepageprintprogress" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="1" SEQUENCE="false" COMMENT="Should display referenced course progress on the course page ?"/>
|
|
|
24 |
</FIELDS>
|
|
|
25 |
<KEYS>
|
|
|
26 |
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
27 |
</KEYS>
|
|
|
28 |
<INDEXES>
|
|
|
29 |
<INDEX NAME="course" UNIQUE="false" FIELDS="course"/>
|
|
|
30 |
</INDEXES>
|
|
|
31 |
</TABLE>
|
|
|
32 |
</TABLES>
|
|
|
33 |
</XMLDB>
|