adding some strings
[moodle-linuxchix.git] / mod / label / db / install.xml
blob00a222770c88a3faee145b7b716eb7270caa8f56
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <XMLDB PATH="mod/label/db" VERSION="20060905" COMMENT="XMLDB file for Moodle mod/label"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
6   <TABLES>
7     <TABLE NAME="label" COMMENT="Defines labels">
8       <FIELDS>
9         <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="course"/>
10         <FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="name"/>
11         <FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="course" NEXT="content"/>
12         <FIELD NAME="content" TYPE="text" LENGTH="small" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="name" NEXT="timemodified"/>
13         <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="content"/>
14       </FIELDS>
15       <KEYS>
16         <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for label"/>
17       </KEYS>
18       <INDEXES>
19         <INDEX NAME="course" UNIQUE="false" FIELDS="course"/>
20       </INDEXES>
21     </TABLE>
22   </TABLES>
23   <STATEMENTS>
24     <STATEMENT NAME="insert log_display" TYPE="insert" TABLE="log_display" COMMENT="Initial insert of records on table log_display">
25       <SENTENCES>
26         <SENTENCE TEXT="(module, action, mtable, field) VALUES ('label', 'add', 'quiz', 'name')" />
27         <SENTENCE TEXT="(module, action, mtable, field) VALUES ('label', 'update', 'quiz', 'name')" />
28       </SENTENCES>
29     </STATEMENT>
30   </STATEMENTS>
31 </XMLDB>