Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

install.xml 1.67 KB
Newer Older
Francois Gannaz's avatar
Francois Gannaz committed
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<XMLDB PATH="mod/labnbook/db" VERSION="20210519" COMMENT="XMLDB file for Moodle mod/labnbook"
Francois Gannaz's avatar
Francois Gannaz committed
3
4
5
6
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
>
  <TABLES>
Francois Gannaz's avatar
Francois Gannaz committed
7
    <TABLE NAME="labnbook" COMMENT="Activity instance (mandatory name of this table)">
Francois Gannaz's avatar
Francois Gannaz committed
8
      <FIELDS>
Francois Gannaz's avatar
Francois Gannaz committed
9
        <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true" COMMENT="referenced from course_modules.instance"/>
10
        <FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
Francois Gannaz's avatar
Francois Gannaz committed
11
        <FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="false" SEQUENCE="false"/>
12
13
        <FIELD NAME="intro" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
        <FIELD NAME="introformat" TYPE="int" LENGTH="4" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
Francois Gannaz's avatar
Francois Gannaz committed
14
        <FIELD NAME="labnbook_missionid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="LabNbook DB: mission.id_mission"/>
Francois Gannaz's avatar
Francois Gannaz committed
15
        <FIELD NAME="labnbook_teamconfigid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false" COMMENT="LabNbook DB: team_config.id_team_config"/>
Francois Gannaz's avatar
Francois Gannaz committed
16
17
        <FIELD NAME="timecreated" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
        <FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
18
        <FIELD NAME="grade" TYPE="int" LENGTH="11" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
Francois Gannaz's avatar
Francois Gannaz committed
19
20
21
      </FIELDS>
      <KEYS>
        <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
22
        <KEY NAME="course" TYPE="foreign" FIELDS="course" REFTABLE="course" REFFIELDS="id"/>
Francois Gannaz's avatar
Francois Gannaz committed
23
24
      </KEYS>
    </TABLE>
Francois Gannaz's avatar
Francois Gannaz committed
25
  </TABLES>
Francois Gannaz's avatar
Francois Gannaz committed
26
</XMLDB>