install.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <XMLDB PATH="mod/colab/db" VERSION="20101203" COMMENT="XMLDB file for Moodle mod/colab"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
  5. >
  6. <TABLES>
  7. <TABLE NAME="colab" COMMENT="Default comment for colab, please edit me">
  8. <FIELDS>
  9. <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true"/>
  10. <FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="false" COMMENT="Course newmodule activity belongs to"/>
  11. <FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" COMMENT="name field for moodle instances"/>
  12. <FIELD NAME="intro" TYPE="text" NOTNULL="true" SEQUENCE="false" COMMENT="General introduction of the newmodule activity"/>
  13. <FIELD NAME="introformat" TYPE="int" LENGTH="4" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" COMMENT="Format of the intro field (MOODLE, HTML, MARKDOWN...)"/>
  14. <FIELD NAME="timecreated" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="false"/>
  15. <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false"/>
  16. <FIELD NAME="grade" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="100" SEQUENCE="false" COMMENT="The maximum grade. Can be negative to indicate the use of a scale."/>
  17. </FIELDS>
  18. <KEYS>
  19. <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
  20. </KEYS>
  21. <INDEXES>
  22. <INDEX NAME="course" UNIQUE="false" FIELDS="course"/>
  23. </INDEXES>
  24. </TABLE>
  25. <TABLE NAME="colab_duplas" COMMENT="Default comment for colab, please edit me" >
  26. <FIELDS>
  27. <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" />
  28. <FIELD NAME="atividade" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" />
  29. <FIELD NAME="par1" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" />
  30. <FIELD NAME="par2" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" />
  31. <FIELD NAME="obs" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" />
  32. </FIELDS>
  33. <KEYS>
  34. <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for certificate_issues" />
  35. </KEYS>
  36. </TABLE>
  37. <TABLE NAME="colab_ip" COMMENT="Default comment for colab, please edit me" >
  38. <FIELDS>
  39. <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" SEQUENCE="true" />
  40. <FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" />
  41. <FIELD NAME="ip_user" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" />
  42. <FIELD NAME="time" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false"/>
  43. <FIELD NAME="obs" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" />
  44. </FIELDS>
  45. <KEYS>
  46. <KEY NAME="primary" TYPE="primary" FIELDS="id" COMMENT="Primary key for certificate_issues" />
  47. </KEYS>
  48. </TABLE>
  49. </TABLES>
  50. </XMLDB>