[system] / trunk / wwmoodle / wwassignment4 / moodle / mod / wwassignment / db / install.xml Repository:
ViewVC logotype

View of /trunk/wwmoodle/wwassignment4/moodle/mod/wwassignment/db/install.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5955 - (download) (as text) (annotate)
Fri Jan 2 03:24:52 2009 UTC (11 years, 1 month ago) by gage
File size: 1589 byte(s)
Corrected xml code -- I had the previous and next fields incorrectly labeled when adding the grade field.

    1 <?xml version="1.0" encoding="UTF-8" ?>
    2 <XMLDB PATH="mod/wwassignment/db" VERSION="2008092818" COMMENT="XMLDB file for Moodle mod/wwassignment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd">
    3   <TABLES>
    4     <TABLE NAME="wwassignment" COMMENT="" NEXT="wwassignment_bridge">
    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="description"/>
    9         <FIELD NAME="description" TYPE="text" LENGTH="small" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="name" NEXT="webwork_set"/>
   10         <FIELD NAME="webwork_set" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" ENUM="false" DEFAULT="undefined" PREVIOUS="description" NEXT="grade"/>
   11         <FIELD NAME="grade" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="false" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wework_set" NEXT="timemodified"/>
   12         <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="grade"/>
   13       </FIELDS>
   14       <KEYS>
   15         <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for data"/>
   16       </KEYS>
   17     </TABLE>
   18   </TABLES>
   19   <STATEMENTS>
   20   </STATEMENTS>
   21 
   22 </XMLDB>

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9