[system] / trunk / wwmoodle / wwquestion / db / install.xml Repository:
ViewVC logotype

Diff of /trunk/wwmoodle/wwquestion/db/install.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5476 Revision 5477
1<?xml version="1.0" encoding="UTF-8" ?> 1<?xml version="1.0" encoding="UTF-8" ?>
2<XMLDB PATH="question/type/webwork/db" VERSION="20070704" COMMENT="XMLDB file for this question type"> 2<XMLDB PATH="question/type/webwork/db" VERSION="20070903" COMMENT="XMLDB file for this question type"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:noNamespaceSchemaLocation="../../../../lib/xmldb/xmldb.xsd"
5>
3 <TABLES> 6 <TABLES>
4 <TABLE NAME="question_webwork" COMMENT="Options for webwork questions" NEXT="question_webwork_derived"> 7 <TABLE NAME="question_webwork" COMMENT="Options for webwork questions" NEXT="question_webwork_derived">
5 <FIELDS> 8 <FIELDS>
6 <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="question"/> 9 <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="question"/>
7 <FIELD NAME="question" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="codecheck"/> 10 <FIELD NAME="question" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="codecheck"/>
8 <FIELD NAME="codecheck" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="question" NEXT="code"/> 11 <FIELD NAME="codecheck" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="question" NEXT="code"/>
9 <FIELD NAME="code" TYPE="text" LENGTH="medium" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="codecheck" NEXT="seed"/> 12 <FIELD NAME="code" TYPE="text" LENGTH="medium" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="codecheck" NEXT="seed"/>
10 <FIELD NAME="seed" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="code" NEXT="trials"/> 13 <FIELD NAME="seed" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="code" NEXT="trials"/>
11 <FIELD NAME="trials" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="seed"/> 14 <FIELD NAME="trials" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="seed"/>
12 </FIELDS> 15 </FIELDS>
13 <KEYS> 16 <KEYS>
14 <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for question_webwork" NEXT="question"/> 17 <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for question_webwork" NEXT="question"/>
15 <KEY NAME="question" TYPE="foreign" FIELDS="question" REFTABLE="questions" REFFIELDS="id" PREVIOUS="primary"/> 18 <KEY NAME="question" TYPE="foreign" FIELDS="question" REFTABLE="questions" REFFIELDS="id" PREVIOUS="primary"/>
16 </KEYS> 19 </KEYS>
17 </TABLE> 20 </TABLE>
18 <TABLE NAME="question_webwork_derived" COMMENT="Options for derived webwork questions" PREVIOUS="question_webwork"> 21 <TABLE NAME="question_webwork_derived" COMMENT="Options for derived webwork questions" PREVIOUS="question_webwork">
19 <FIELDS> 22 <FIELDS>
20 <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="question_webwork"/> 23 <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="question_webwork"/>
21 <FIELD NAME="question_webwork" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="html"/> 24 <FIELD NAME="question_webwork" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="html"/>
22 <FIELD NAME="html" TYPE="text" LENGTH="medium" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="question_webwork" NEXT="seed" /> 25 <FIELD NAME="html" TYPE="text" LENGTH="medium" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="question_webwork" NEXT="seed"/>
23 <FIELD NAME="seed" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="html"/> 26 <FIELD NAME="seed" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="html"/>
24 </FIELDS> 27 </FIELDS>
25 <KEYS> 28 <KEYS>
26 <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for question_webwork_derived" NEXT="question_webwork"/> 29 <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for question_webwork_derived" NEXT="question_webwork"/>
27 <KEY NAME="question_webwork" TYPE="foreign" FIELDS="question_webwork" REFTABLE="question_webwork" REFFIELDS="id" PREVIOUS="primary"/> 30 <KEY NAME="question_webwork" TYPE="foreign" FIELDS="question_webwork" REFTABLE="question_webwork" REFFIELDS="id" PREVIOUS="primary"/>
28 </KEYS> 31 </KEYS>
29 </TABLE> 32 </TABLE>
30 </TABLES> 33 </TABLES>
31</XMLDB> 34</XMLDB>

Legend:
Removed from v.5476  
changed lines
  Added in v.5477

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9