Location: PHPKode > projects > Moodle Live Classes and Webinar Plugin > sclipowebclass/db/install.xml
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="mod/sclipowebclass/db" VERSION="20090829" COMMENT="XMLDB file for Moodle mod/sclipowebclass"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
>
  <TABLES>
    <TABLE NAME="sclipowebclass" COMMENT="Default comment for sclipowebclass, please edit me">
      <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" COMMENT="Course sclipowebclass activity belongs to" PREVIOUS="id" NEXT="name"/>
        <FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" ENUM="false" COMMENT="name field for moodle instances" PREVIOUS="course" NEXT="teacherid"/>
        <FIELD NAME="teacherid" TYPE="int" LENGTH="15" NOTNULL="false" UNSIGNED="true" SEQUENCE="false" ENUM="false" COMMENT="Teacher ID who created the webclass" PREVIOUS="name" NEXT="reference"/>
        <FIELD NAME="reference" TYPE="char" LENGTH="80" NOTNULL="false" UNSIGNED="true" SEQUENCE="false" ENUM="false" COMMENT="Reference to web class" PREVIOUS="teacherid" NEXT="teacherinfo"/>
		<FIELD NAME="teacherinfo" TYPE="int" LENGTH="20" NOTNULL="false" UNSIGNED="true" SEQUENCE="false" ENUM="false" COMMENT="Teacher ID (Moodle) who created the webclass" PREVIOUS="reference" />
	 </FIELDS>
      <KEYS>
        <KEY NAME="primary" TYPE="primary" FIELDS="id" />
      </KEYS>
      <INDEXES>
        <INDEX NAME="course" UNIQUE="false" FIELDS="course"/>
      </INDEXES>
    </TABLE>
  </TABLES>
  <STATEMENTS>
    <STATEMENT NAME="insert log_display" TYPE="insert" TABLE="log_display" COMMENT="Initial insert of records on table log_display. Each record describes how data will be showed by log reports.">
      <SENTENCES>
        <SENTENCE TEXT="(module, action, mtable, field) VALUES ('sclipowebclass', 'add', 'sclipowebclass', 'name')" />
        <SENTENCE TEXT="(module, action, mtable, field) VALUES ('sclipowebclass', 'update', 'sclipowebclass', 'name')" />
        <SENTENCE TEXT="(module, action, mtable, field) VALUES ('sclipowebclass', 'view', 'sclipowebclass', 'name')" />
      </SENTENCES>
    </STATEMENT>
  </STATEMENTS>
</XMLDB>
Return current item: Moodle Live Classes and Webinar Plugin