Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / mod / lams / db / install.xml
blob6e7566d83b3d2ff596b5b84a3832b57a07c0d7ce
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <XMLDB PATH="mod/lams/db" VERSION="20060811" COMMENT="XMLDB file for Moodle mod/lams">
3   <TABLES>
4     <TABLE NAME="lams" COMMENT="LAMS activity">
5       <FIELDS>
6         <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="course"/>
7         <FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="name"/>
8         <FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="course" NEXT="introduction"/>
9         <FIELD NAME="introduction" TYPE="text" LENGTH="small" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="name" NEXT="learning_session_id"/>
10         <FIELD NAME="learning_session_id" TYPE="int" LENGTH="20" NOTNULL="false" UNSIGNED="false" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="introduction" NEXT="timemodified"/>
11         <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="learning_session_id"/>
12       </FIELDS>
13       <KEYS>
14         <KEY NAME="primary" TYPE="primary" FIELDS="id" />
15       </KEYS>
16       <INDEXES>
17         <INDEX NAME="course" UNIQUE="false" FIELDS="course"/>
18       </INDEXES>
19     </TABLE>
20   </TABLES>
21 </XMLDB>