1 <?xml version="1.0" encoding="UTF-8" ?>
2 <XMLDB PATH="mod/imscp/db" VERSION="20120122" COMMENT="XMLDB file for IMS Content Package module "
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
7 <TABLE NAME="imscp" COMMENT="each record is one imscp resource">
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"/>
11 <FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false"/>
12 <FIELD NAME="intro" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
13 <FIELD NAME="introformat" TYPE="int" LENGTH="4" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
14 <FIELD NAME="revision" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="incremented when after each file changes, solves browser caching issues"/>
15 <FIELD NAME="keepold" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="-1" SEQUENCE="false" COMMENT="incremented when after each file changes, solves browser caching issues"/>
16 <FIELD NAME="structure" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
17 <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
20 <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
23 <INDEX NAME="course" UNIQUE="false" FIELDS="course"/>