2012-12-07 09:34:46 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2021-11-24 07:29:43 +00:00
|
|
|
<XMLDB PATH="mod/htmlcert/db" VERSION="20170530" COMMENT="XMLDB file for Moodle mod/htmlcert"
|
2012-12-07 09:34:46 +00:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
|
|
|
|
>
|
|
|
|
<TABLES>
|
2021-11-24 07:29:43 +00:00
|
|
|
<TABLE NAME="htmlcert" COMMENT="Defines htmlcerts">
|
2012-12-07 09:34:46 +00:00
|
|
|
<FIELDS>
|
2015-03-11 23:15:50 +00:00
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2016-02-16 09:03:34 +00:00
|
|
|
<FIELD NAME="templateid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2015-03-11 23:15:50 +00:00
|
|
|
<FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="intro" TYPE="text" LENGTH="small" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="introformat" TYPE="int" LENGTH="4" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="requiredtime" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2017-05-06 11:14:15 +00:00
|
|
|
<FIELD NAME="verifyany" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2021-04-05 08:22:33 +00:00
|
|
|
<FIELD NAME="deliveryoption" TYPE="char" LENGTH="255" NOTNULL="false" SEQUENCE="false"/>
|
2017-02-02 09:17:41 +00:00
|
|
|
<FIELD NAME="emailstudents" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="emailteachers" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="emailothers" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
2015-03-11 23:15:50 +00:00
|
|
|
<FIELD NAME="protection" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timecreated" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2012-12-07 09:34:46 +00:00
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
2021-11-24 07:29:43 +00:00
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for htmlcert"/>
|
|
|
|
<KEY NAME="template" TYPE="foreign" FIELDS="templateid" REFTABLE="htmlcert_templates" REFFIELDS="id"/>
|
2016-02-16 09:03:34 +00:00
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
2021-11-24 07:29:43 +00:00
|
|
|
<TABLE NAME="htmlcert_templates" COMMENT="Stores each htmlcert template">
|
2016-02-16 09:03:34 +00:00
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
2017-01-31 08:54:20 +00:00
|
|
|
<FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="false" SEQUENCE="false"/>
|
2021-11-24 07:29:43 +00:00
|
|
|
<FIELD NAME="html" TYPE="text" NOTNULL="false"/>
|
2016-02-16 09:03:34 +00:00
|
|
|
<FIELD NAME="contextid" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false" COMMENT="References contextid."/>
|
|
|
|
<FIELD NAME="timecreated" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
2021-11-24 07:29:43 +00:00
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for htmlcert_template"/>
|
2016-02-16 09:03:34 +00:00
|
|
|
<KEY NAME="contextid" TYPE="foreign" FIELDS="contextid" REFTABLE="context" REFFIELDS="id"/>
|
2012-12-07 09:34:46 +00:00
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
2021-11-24 07:29:43 +00:00
|
|
|
<TABLE NAME="htmlcert_issues" COMMENT="Stores each issue of a htmlcert">
|
2012-12-07 09:34:46 +00:00
|
|
|
<FIELDS>
|
2015-03-11 23:15:50 +00:00
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2021-11-24 07:29:43 +00:00
|
|
|
<FIELD NAME="htmlcertid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2015-03-11 23:15:50 +00:00
|
|
|
<FIELD NAME="code" TYPE="char" LENGTH="40" NOTNULL="false" SEQUENCE="false"/>
|
2017-02-02 09:17:41 +00:00
|
|
|
<FIELD NAME="emailed" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2015-03-11 23:15:50 +00:00
|
|
|
<FIELD NAME="timecreated" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
2012-12-07 09:34:46 +00:00
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
2021-11-24 07:29:43 +00:00
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for htmlcert_issues"/>
|
|
|
|
<KEY NAME="htmlcert" TYPE="foreign" FIELDS="htmlcertid" REFTABLE="htmlcert" REFFIELDS="id"/>
|
2012-12-07 09:34:46 +00:00
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
</TABLES>
|
|
|
|
</XMLDB>
|