Location: PHPKode > projects > Inwicast Mediacenter > inwicast/db/install.xml
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="blocks/inwicast/db" VERSION="20080114" COMMENT="XMLDB file for Moodle blocks/inwicast"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
>
  <TABLES>
    <TABLE NAME="inwi_map_medias" COMMENT="inwi_map_medias table retrofitted from MySQL" NEXT="inwi_cours_medias">
      <FIELDS>
        <FIELD NAME="id" TYPE="int" LENGTH="11" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="mediamap_ref"/>
        <FIELD NAME="mediamap_ref" TYPE="char" LENGTH="20" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="media_ref"/>
        <FIELD NAME="media_ref" TYPE="char" LENGTH="20" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="mediamap_ref" NEXT="label"/>
        <FIELD NAME="label" TYPE="char" LENGTH="250" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="media_ref" NEXT="html"/>
        <FIELD NAME="html" TYPE="text" LENGTH="small" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="label" NEXT="lat"/>
        <FIELD NAME="lat" TYPE="char" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="html" NEXT="lng"/>
        <FIELD NAME="lng" TYPE="char" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="lat" NEXT="icon"/>
        <FIELD NAME="icon" TYPE="char" LENGTH="30" NOTNULL="true" DEFAULT="default" SEQUENCE="false" ENUM="false" PREVIOUS="lng" NEXT="date_created"/>
        <FIELD NAME="date_created" TYPE="datetime" NOTNULL="false" SEQUENCE="false" ENUM="false" PREVIOUS="icon" NEXT="visible"/>
        <FIELD NAME="visible" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="date_created"/>
      </FIELDS>
      <KEYS>
        <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
      </KEYS>
    </TABLE>
    <TABLE NAME="inwi_cours_medias" COMMENT="inwi_cours_medias table retrofitted from MySQL" PREVIOUS="inwi_map_medias" NEXT="inwi_medias">
      <FIELDS>
        <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="code_cours"/>
        <FIELD NAME="code_cours" TYPE="char" LENGTH="40" NOTNULL="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="media_ref"/>
        <FIELD NAME="media_ref" TYPE="char" LENGTH="40" NOTNULL="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="code_cours" NEXT="visible"/>
        <FIELD NAME="visible" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="media_ref"/>
      </FIELDS>
      <KEYS>
        <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
      </KEYS>
    </TABLE>
    <TABLE NAME="inwi_medias" COMMENT="inwi_medias table retrofitted from MySQL" PREVIOUS="inwi_cours_medias">
      <FIELDS>
        <FIELD NAME="id" TYPE="int" LENGTH="11" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" ENUM="false" NEXT="media_ref"/>
        <FIELD NAME="media_ref" TYPE="char" LENGTH="20" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="id" NEXT="user_name"/>
        <FIELD NAME="user_name" TYPE="char" LENGTH="30" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="media_ref" NEXT="media_type"/>
        <FIELD NAME="media_type" TYPE="char" LENGTH="20" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="user_name" NEXT="media_format"/>
        <FIELD NAME="media_format" TYPE="char" LENGTH="20" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="media_type" NEXT="title"/>
        <FIELD NAME="title" TYPE="char" LENGTH="100" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="media_format" NEXT="description"/>
        <FIELD NAME="description" TYPE="char" LENGTH="250" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="title" NEXT="author"/>
        <FIELD NAME="author" TYPE="char" LENGTH="250" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="description" NEXT="copyright"/>
        <FIELD NAME="copyright" TYPE="char" LENGTH="250" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="author" NEXT="media_url"/>
        <FIELD NAME="media_url" TYPE="char" LENGTH="100" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="copyright" NEXT="preview_url"/>
        <FIELD NAME="preview_url" TYPE="char" LENGTH="250" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="media_url" NEXT="embedded_player"/>
        <FIELD NAME="embedded_player" TYPE="text" LENGTH="small" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="preview_url" NEXT="tags"/>
        <FIELD NAME="tags" TYPE="char" LENGTH="250" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="embedded_player" NEXT="status"/>
        <FIELD NAME="status" TYPE="int" LENGTH="11" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="tags" NEXT="width"/>
        <FIELD NAME="width" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="480" SEQUENCE="false" ENUM="false" PREVIOUS="status" NEXT="height"/>
        <FIELD NAME="height" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="360" SEQUENCE="false" ENUM="false" PREVIOUS="width" NEXT="date_created"/>
        <FIELD NAME="date_created" TYPE="datetime" NOTNULL="false" SEQUENCE="false" ENUM="false" PREVIOUS="height" NEXT="date_started"/>
        <FIELD NAME="date_started" TYPE="datetime" NOTNULL="false" SEQUENCE="false" ENUM="false" PREVIOUS="date_created" NEXT="date_ended"/>
        <FIELD NAME="date_ended" TYPE="datetime" NOTNULL="false" SEQUENCE="false" ENUM="false" PREVIOUS="date_started" NEXT="viewed"/>
        <FIELD NAME="viewed" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="date_ended" NEXT="votes"/>
        <FIELD NAME="votes" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="viewed" NEXT="is_public"/>
        <FIELD NAME="is_public" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="votes" NEXT="is_downloadable"/>
        <FIELD NAME="is_downloadable" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="1" SEQUENCE="false" ENUM="false" PREVIOUS="is_public" NEXT="contentid"/>
        <FIELD NAME="contentid" TYPE="int" LENGTH="11" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="is_downloadable" NEXT="catid"/>
        <FIELD NAME="catid" TYPE="int" LENGTH="11" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="contentid" NEXT="channelid"/>
        <FIELD NAME="channelid" TYPE="int" LENGTH="11" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="catid" NEXT="module_ref"/>
        <FIELD NAME="module_ref" TYPE="char" LENGTH="30" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="channelid" NEXT="map_lat"/>
        <FIELD NAME="map_lat" TYPE="char" LENGTH="20" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="module_ref" NEXT="map_lng"/>
        <FIELD NAME="map_lng" TYPE="char" LENGTH="20" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="map_lat" NEXT="map_type"/>
        <FIELD NAME="map_type" TYPE="char" LENGTH="20" NOTNULL="true" DEFAULT="G_NORMAL_MAP" SEQUENCE="false" ENUM="false" PREVIOUS="map_lng" NEXT="map_zoom"/>
        <FIELD NAME="map_zoom" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" SEQUENCE="false" ENUM="false" PREVIOUS="map_type"/>
      </FIELDS>
      <KEYS>
        <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
      </KEYS>
    </TABLE>
  </TABLES>
</XMLDB>
Return current item: Inwicast Mediacenter