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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5477 - (download) (as text) (annotate)
Sun Sep 9 02:53:16 2007 UTC (12 years, 5 months ago) by mleventi
File size: 2641 byte(s)
*** empty log message ***

    1 <?xml version="1.0" encoding="UTF-8" ?>
    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 >
    6   <TABLES>
    7     <TABLE NAME="question_webwork" COMMENT="Options for webwork questions" NEXT="question_webwork_derived">
    8       <FIELDS>
    9         <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="question"/>
   10         <FIELD NAME="question" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="codecheck"/>
   11         <FIELD NAME="codecheck" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="question" NEXT="code"/>
   12         <FIELD NAME="code" TYPE="text" LENGTH="medium" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="codecheck" NEXT="seed"/>
   13         <FIELD NAME="seed" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="code" NEXT="trials"/>
   14         <FIELD NAME="trials" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="seed"/>
   15       </FIELDS>
   16       <KEYS>
   17         <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for question_webwork" NEXT="question"/>
   18         <KEY NAME="question" TYPE="foreign" FIELDS="question" REFTABLE="questions" REFFIELDS="id" PREVIOUS="primary"/>
   19       </KEYS>
   20     </TABLE>
   21     <TABLE NAME="question_webwork_derived" COMMENT="Options for derived webwork questions" PREVIOUS="question_webwork">
   22       <FIELDS>
   23         <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="question_webwork"/>
   24         <FIELD NAME="question_webwork" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="html"/>
   25         <FIELD NAME="html" TYPE="text" LENGTH="medium" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="question_webwork" NEXT="seed"/>
   26         <FIELD NAME="seed" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="html"/>
   27       </FIELDS>
   28       <KEYS>
   29         <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for question_webwork_derived" NEXT="question_webwork"/>
   30         <KEY NAME="question_webwork" TYPE="foreign" FIELDS="question_webwork" REFTABLE="question_webwork" REFFIELDS="id" PREVIOUS="primary"/>
   31       </KEYS>
   32     </TABLE>
   33   </TABLES>
   34 </XMLDB>

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9