@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH= "mod/attendance/db" VERSION= "20130704 " COMMENT= "XMLDB file for Moodle mod/attendance"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
>
<XMLDB PATH= "mod/attendance/db" VERSION= "20160829 " COMMENT= "XMLDB file for Moodle mod/attendance"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
>
<TABLES >
<TABLE NAME= "attendance" COMMENT= "Attendance module table" >
<FIELDS >
@ -10,6 +11,7 @@
<FIELD NAME= "course" TYPE= "int" LENGTH= "10" NOTNULL= "true" DEFAULT= "0" SEQUENCE= "false" />
<FIELD NAME= "name" TYPE= "char" LENGTH= "255" NOTNULL= "false" SEQUENCE= "false" />
<FIELD NAME= "grade" TYPE= "int" LENGTH= "10" NOTNULL= "true" DEFAULT= "100" SEQUENCE= "false" COMMENT= "This is maximum grade for instance" />
<FIELD NAME= "timemodified" TYPE= "int" LENGTH= "10" NOTNULL= "true" DEFAULT= "0" SEQUENCE= "false" COMMENT= "The time the settings for this attendance instance were last modified." />
</FIELDS>
<KEYS >
<KEY NAME= "primary" TYPE= "primary" FIELDS= "id" COMMENT= "Primary key for attendance" />
@ -30,7 +32,7 @@
<FIELD NAME= "timemodified" TYPE= "int" LENGTH= "10" NOTNULL= "false" SEQUENCE= "false" />
<FIELD NAME= "description" TYPE= "text" NOTNULL= "true" SEQUENCE= "false" />
<FIELD NAME= "descriptionformat" TYPE= "int" LENGTH= "2" NOTNULL= "true" DEFAULT= "0" SEQUENCE= "false" />
<FIELD NAME= "studentscanmark" TYPE= "int" LENGTH= "1" NOTNULL= "true" UNSIGNED= "true" DEFAULT= "0" SEQUENCE= "false" />
<FIELD NAME= "studentscanmark" TYPE= "int" LENGTH= "1" NOTNULL= "true" DEFAULT= "0" SEQUENCE= "false" />
<FIELD NAME= "statusset" TYPE= "int" LENGTH= "5" NOTNULL= "true" DEFAULT= "0" SEQUENCE= "false" COMMENT= "Which set of statuses to use" />
<FIELD NAME= "caleventid" TYPE= "int" LENGTH= "10" NOTNULL= "true" DEFAULT= "0" SEQUENCE= "false" />
</FIELDS>