Location: PHPKode > projects > WebConference Plugin for Moodle > webconference/db/install.xml
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="mod/webconference/db" VERSION="20091106" COMMENT="XMLDB file for Moodle mod/webconference"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
>
  <TABLES>
    <TABLE NAME="webconference" COMMENT="Each record ties into a WebConference Meeting" NEXT='webconference_users'>
      <FIELDS>
        <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="course"/>
        <FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="name"/>
        <FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="course" NEXT="description"/>
        <FIELD NAME="description" TYPE="text" LENGTH="small" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="name" NEXT="presenter_fname"/>
        <FIELD NAME="presenter_fname" TYPE="char" LENGTH="128" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="description" NEXT="presenter_lname"/>
        <FIELD NAME="presenter_lname" TYPE="char" LENGTH="128" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="presenter_fname" NEXT="presenter_email"/>		
        <FIELD NAME="presenter_email" TYPE="char" LENGTH="128" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="presenter_lname" NEXT="retention"/>		
        <FIELD NAME="retention" TYPE="int" LENGTH="11" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="presenter_email" NEXT="conferenceid"/>
        <FIELD NAME="conferenceid" TYPE="char" LENGTH="30" NOTNULL="true" SEQUENCE="false" DEFAULT="0" ENUM="false" PREVIOUS="retention" NEXT="conferencepass"/>
        <FIELD NAME="conferencepass" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" DEFAULT="0" ENUM="false" PREVIOUS="conferenceid" NEXT="startdttm"/>
        <FIELD NAME="startdttm" TYPE="int" LENGTH="11" NOTNULL="true" UNSIGNED="true" SEQUENCE="false" ENUM="false" PREVIOUS="conferencepass" NEXT="timezone"/>
        <FIELD NAME="timezone" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="startdttm" NEXT="durationmins"/>
        <FIELD NAME="durationmins" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="timezone" NEXT="minglemins"/>
        <FIELD NAME="minglemins" TYPE="int" LENGTH="2" NOTNULL="true" UNSIGNED="true" DEFAULT="5" SEQUENCE="false" ENUM="false" PREVIOUS="durationmins" NEXT="maxattendees"/>
        <FIELD NAME="maxattendees" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="minglemins" NEXT="curattendees"/>
        <FIELD NAME="curattendees" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="maxattendees" NEXT="wc_require_download"/>
        <FIELD NAME="wc_require_download" TYPE="char" LENGTH="1" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="curattendees" NEXT="wc_filexchange"/>
        <FIELD NAME="wc_filexchange" TYPE="char" LENGTH="1" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_require_download" NEXT="wc_usetc"/>
        <FIELD NAME="wc_usetc" TYPE="char" LENGTH="1" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_filexchange" NEXT="wc_usetc_num"/>
        <FIELD NAME="wc_usetc_num" TYPE="char" LENGTH="32" NOTNULL="false" SEQUENCE="false" DEFAULT="" ENUM="false" PREVIOUS="wc_usetc" NEXT="creator"/>
        <FIELD NAME="creator" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_usetc_num" NEXT="wc_is_created"/>
        <FIELD NAME="wc_is_created" TYPE="char" LENGTH="1" NOTNULL="true" DEFAULT="N" SEQUENCE="false" ENUM="false" PREVIOUS="creator" NEXT="wc_is_active"/>
        <FIELD NAME="wc_is_active" TYPE="char" LENGTH="1" NOTNULL="true" DEFAULT="N" SEQUENCE="false" ENUM="false" PREVIOUS="wc_is_created" NEXT="timemodified"/>
        <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_is_active"/>
		</FIELDS>
      <KEYS>
        <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
      </KEYS>
      <INDEXES>
        <INDEX NAME="course" UNIQUE="false" FIELDS="course"/>
      </INDEXES>
    </TABLE>
    <TABLE NAME="webconference_users" COMMENT="Each record links a course to the number of seats and conference user and password" PREVIOUS='webconference'>
      <FIELDS>
        <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="course"/>
        <FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="seats"/>
        <FIELD NAME="seats" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="course" NEXT="wc_accountid"/>
        <FIELD NAME="wc_accountid" TYPE="char" LENGTH="32" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="seats" NEXT="wc_username"/>
        <FIELD NAME="wc_username" TYPE="char" LENGTH="64" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_accountid" NEXT="wc_password"/>
        <FIELD NAME="wc_password" TYPE="char" LENGTH="64" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_username" NEXT="wc_country"/>
        <FIELD NAME="wc_country" TYPE="char" LENGTH="64" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_password" NEXT="wc_state"/>
        <FIELD NAME="wc_state" TYPE="char" LENGTH="64" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_country" NEXT="wc_timezone"/>
        <FIELD NAME="wc_timezone" TYPE="char" LENGTH="100" NOTNULL="true" UNSIGNED="true" DEFAULT="0.0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_state" NEXT="updated_by"/>
        <FIELD NAME="updated_by" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="wc_timezone" NEXT="timemodified"/>
        <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="updated_by"/>
		</FIELDS>
      <KEYS>
        <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
      </KEYS>
      <INDEXES>
        <INDEX NAME="course" UNIQUE="true" FIELDS="course"/>
      </INDEXES>
    </TABLE>
  </TABLES>
</XMLDB>
Return current item: WebConference Plugin for Moodle