[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 5883 - (download) (as text) (annotate)
Sun Aug 24 03:03:32 2008 UTC (11 years, 6 months ago) by gage
File size: 1431 byte(s)
Modified file to use the internal configuration of the wwlink block rather than
the data from wwassignment_bridge

The instance behavior needs more detailed warning message when no webwork course is connected
or when it does not have the desired course.

    1 <?xml version="1.0" encoding="UTF-8" ?>
    2 <XMLDB PATH="mod/wwassignment/db" VERSION="20070620" 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="timemodified"/>
   11         <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="webwork_set"/>
   12       </FIELDS>
   13       <KEYS>
   14         <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for data"/>
   15       </KEYS>
   16     </TABLE>
   17   </TABLES>
   18   <STATEMENTS>
   19   </STATEMENTS>
   20 
   21 </XMLDB>

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9