tool_brickfield_schedule
PK
id  
BIGINT(10)
NN
AK
contextlevel  
BIGINT(10)
NN
AK
instanceid  
BIGINT(10)
NN
contextid  
BIGINT(10)
status  
TINYINT(2)
NN
timeanalyzed  
BIGINT(10)
timemodified  
BIGINT(10)
KEY
PRIMARY
KEY
toolbricsche_conins_uix
IX
toolbricsche_sta_ix
h5pactivity_attempts
PK
id  
BIGINT(10)
NN
AK
h5pactivityid  
BIGINT(10)
NN
AK
userid  
BIGINT(20)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
AK
attempt  
MEDIUMINT(6)
NN
rawscore  
BIGINT(10)
maxscore  
BIGINT(10)
scaled  
DECIMAL(10,5)
NN
duration  
BIGINT(10)
completion  
TINYINT(1)
success  
TINYINT(1)
KEY
PRIMARY
KEY
h5paatte_h5puseatt_uix
IX
h5paatte_tim_ix
IX
h5paatte_h5ptim_ix
IX
h5paatte_h5puse_ix
IX
h5paatte_h5p_ix
question_statistics
PK
id  
BIGINT(10)
NN
hashcode  
VARCHAR(40)
NN
timemodified  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
slot  
BIGINT(10)
subquestion  
SMALLINT(4)
NN
variant  
BIGINT(10)
s  
BIGINT(10)
NN
effectiveweight  
DECIMAL(15,5)
negcovar  
TINYINT(2)
NN
discriminationindex  
DECIMAL(15,5)
discriminativeefficiency  
DECIMAL(15,5)
sd  
DECIMAL(15,10)
facility  
DECIMAL(15,10)
subquestions  
LONGTEXT
maxmark  
DECIMAL(12,7)
positions  
LONGTEXT
randomguessscore  
DECIMAL(12,7)
KEY
PRIMARY
IX
quesstat_que_ix
forum_queue
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
discussionid  
BIGINT(10)
NN
postid  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
foruqueu_use_ix
IX
foruqueu_dis_ix
IX
foruqueu_pos_ix
tool_policy_versions
PK
id  
BIGINT(10)
NN
name  
VARCHAR(1333)
NN
type  
SMALLINT(3)
NN
audience  
SMALLINT(3)
NN
archived  
SMALLINT(3)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
policyid  
BIGINT(10)
NN
agreementstyle  
SMALLINT(3)
NN
optional  
SMALLINT(3)
NN
revision  
VARCHAR(1333)
NN
summary  
LONGTEXT
NN
summaryformat  
SMALLINT(3)
NN
content  
LONGTEXT
NN
contentformat  
SMALLINT(3)
NN
KEY
PRIMARY
IX
toolpolivers_use_ix
IX
toolpolivers_pol_ix
analytics_used_analysables
PK
id  
BIGINT(10)
NN
modelid  
BIGINT(10)
NN
action  
VARCHAR(50)
NN
analysableid  
BIGINT(10)
NN
firstanalysis  
BIGINT(10)
NN
timeanalysed  
BIGINT(10)
NN
KEY
PRIMARY
IX
analusedanal_modact_ix
IX
analusedanal_ana_ix
IX
analusedanal_mod_ix
enrol_lti_resource_link
PK
id  
BIGINT(10)
NN
AK
resourcelinkid  
VARCHAR(255)
NN
AK
ltideploymentid  
BIGINT(10)
NN
resourceid  
BIGINT(10)
NN
lticontextid  
BIGINT(10)
lineitemsservice  
VARCHAR(1333)
lineitemservice  
VARCHAR(1333)
lineitemscope  
VARCHAR(255)
resultscope  
VARCHAR(255)
scorescope  
VARCHAR(255)
contextmembershipsurl  
VARCHAR(1333)
nrpsserviceversions  
VARCHAR(255)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enroltiresolink_reslti_uix
IX
enroltiresolink_lti_ix
IX
enroltiresolink_lti2_ix
reportbuilder_schedule
PK
id  
BIGINT(10)
NN
reportid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
enabled  
TINYINT(1)
NN
audiences  
LONGTEXT
NN
format  
VARCHAR(255)
NN
subject  
VARCHAR(255)
NN
message  
LONGTEXT
NN
messageformat  
BIGINT(10)
NN
userviewas  
BIGINT(10)
NN
timescheduled  
BIGINT(10)
NN
recurrence  
BIGINT(10)
NN
reportempty  
BIGINT(10)
NN
timelastsent  
BIGINT(10)
NN
timenextsend  
BIGINT(10)
NN
usercreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
reposche_rep_ix
IX
reposche_use_ix
IX
reposche_use2_ix
IX
reposche_use3_ix
repository_onedrive_access
PK
id  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
permissionid  
VARCHAR(255)
NN
itemid  
VARCHAR(255)
NN
KEY
PRIMARY
IX
repoonedacce_use_ix
mnet_log
PK
id  
BIGINT(10)
NN
hostid  
BIGINT(10)
NN
remoteid  
BIGINT(10)
NN
time  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
ip  
VARCHAR(45)
NN
course  
BIGINT(10)
NN
coursename  
VARCHAR(40)
NN
module  
VARCHAR(20)
NN
cmid  
BIGINT(10)
NN
action  
VARCHAR(40)
NN
url  
VARCHAR(100)
NN
info  
VARCHAR(255)
NN
KEY
PRIMARY
IX
mnetlog_hosusecou_ix
tool_policy
PK
id  
BIGINT(10)
NN
sortorder  
MEDIUMINT(5)
NN
currentversionid  
BIGINT(10)
KEY
PRIMARY
IX
toolpoli_cur_ix
forum_discussion_subs
PK
id  
BIGINT(10)
NN
forum  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
discussion  
BIGINT(10)
NN
preference  
BIGINT(10)
NN
KEY
PRIMARY
KEY
forudiscsubs_usedis_uix
IX
forudiscsubs_for_ix
IX
forudiscsubs_use_ix
IX
forudiscsubs_dis_ix
question_multianswer
PK
id  
BIGINT(10)
NN
question  
BIGINT(10)
NN
sequence  
LONGTEXT
NN
KEY
PRIMARY
IX
quesmult_que_ix
role_allow_assign
PK
id  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
AK
allowassign  
BIGINT(10)
NN
KEY
PRIMARY
KEY
rolealloassi_rolall_uix
IX
rolealloassi_rol_ix
IX
rolealloassi_all_ix
course_modules
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
module  
BIGINT(10)
NN
instance  
BIGINT(10)
NN
section  
BIGINT(10)
NN
idnumber  
VARCHAR(100)
added  
BIGINT(10)
NN
score  
SMALLINT(4)
NN
indent  
MEDIUMINT(5)
NN
visible  
TINYINT(1)
NN
visibleoncoursepage  
TINYINT(1)
NN
visibleold  
TINYINT(1)
NN
groupmode  
SMALLINT(4)
NN
groupingid  
BIGINT(10)
NN
completion  
TINYINT(1)
NN
completiongradeitemnumber  
BIGINT(10)
completionview  
TINYINT(1)
NN
completionexpected  
BIGINT(10)
NN
completionpassgrade  
TINYINT(1)
NN
showdescription  
TINYINT(1)
NN
availability  
LONGTEXT
deletioninprogress  
TINYINT(1)
NN
downloadcontent  
TINYINT(1)
lang  
VARCHAR(30)
KEY
PRIMARY
IX
courmodu_vis_ix
IX
courmodu_cou_ix
IX
courmodu_mod_ix
IX
courmodu_ins_ix
IX
courmodu_idncou_ix
IX
courmodu_gro_ix
message_users_blocked
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
blockeduserid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
KEY
PRIMARY
KEY
messuserbloc_useblo_uix
IX
messuserbloc_use_ix
IX
messuserbloc_blo_ix
tool_dataprivacy_category
PK
id  
BIGINT(10)
NN
name  
VARCHAR(100)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(1)
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
message_airnotifier_devices
PK
id  
BIGINT(10)
NN
AK
userdeviceid  
BIGINT(10)
NN
enable  
TINYINT(1)
NN
KEY
PRIMARY
KEY
messairndevi_use_uix
message_conversations
PK
id  
BIGINT(10)
NN
type  
BIGINT(10)
NN
name  
VARCHAR(255)
convhash  
VARCHAR(40)
component  
VARCHAR(100)
itemtype  
VARCHAR(100)
itemid  
BIGINT(10)
contextid  
BIGINT(10)
enabled  
TINYINT(1)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
KEY
PRIMARY
IX
messconv_typ_ix
IX
messconv_con_ix
IX
messconv_comiteitecon_ix
IX
messconv_con2_ix
context_temp
PK
id  
BIGINT(10)
NN
path  
VARCHAR(255)
NN
depth  
TINYINT(2)
NN
locked  
TINYINT(2)
NN
KEY
PRIMARY
forum_track_prefs
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
forumid  
BIGINT(10)
NN
KEY
PRIMARY
IX
forutracpref_usefor_ix
lesson_pages
PK
id  
BIGINT(10)
NN
lessonid  
BIGINT(10)
NN
prevpageid  
BIGINT(10)
NN
nextpageid  
BIGINT(10)
NN
qtype  
SMALLINT(3)
NN
qoption  
SMALLINT(3)
NN
layout  
SMALLINT(3)
NN
display  
SMALLINT(3)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
title  
VARCHAR(255)
NN
contents  
LONGTEXT
NN
contentsformat  
TINYINT(2)
NN
KEY
PRIMARY
IX
lesspage_les_ix
blog_external
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
description  
LONGTEXT
url  
LONGTEXT
NN
filtertags  
VARCHAR(255)
failedlastsync  
TINYINT(1)
NN
timemodified  
BIGINT(10)
timefetched  
BIGINT(10)
NN
KEY
PRIMARY
IX
blogexte_use_ix
scale
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
scale  
LONGTEXT
NN
description  
LONGTEXT
NN
descriptionformat  
TINYINT(2)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
scal_cou_ix
IX
scal_use_ix
scorm_scoes_data
PK
id  
BIGINT(10)
NN
scoid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
value  
LONGTEXT
NN
KEY
PRIMARY
IX
scorscoedata_sco_ix
enrol_lti_lti2_user_result
PK
id  
BIGINT(11)
NN
resourcelinkid  
BIGINT(11)
NN
ltiuserkey  
VARCHAR(255)
NN
ltiresultsourcedid  
VARCHAR(1024)
NN
created  
BIGINT(10)
NN
updated  
BIGINT(10)
NN
KEY
PRIMARY
IX
enroltilti2userresu_res_ix
gradingform_guide_comments
PK
id  
BIGINT(10)
NN
definitionid  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
KEY
PRIMARY
IX
gradguidcomm_def_ix
feedback_valuetmp
PK
id  
BIGINT(10)
NN
AK
course_id  
BIGINT(10)
NN
AK
item  
BIGINT(10)
NN
AK
completed  
BIGINT(10)
NN
tmp_completed  
BIGINT(10)
NN
value  
LONGTEXT
NN
KEY
PRIMARY
KEY
feedvalu_comitecou2_uix
IX
feedvalu_cou2_ix
IX
feedvalu_ite2_ix
competency_usercomp
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
competencyid  
BIGINT(10)
NN
status  
TINYINT(2)
NN
reviewerid  
BIGINT(10)
proficiency  
TINYINT(2)
grade  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
compuser_usecom_uix
IX
compuser_use_ix
glossary_entries_categories
PK
id  
BIGINT(10)
NN
categoryid  
BIGINT(10)
NN
entryid  
BIGINT(10)
NN
KEY
PRIMARY
IX
glosentrcate_cat_ix
IX
glosentrcate_ent_ix
task_log
PK
id  
BIGINT(10)
NN
type  
SMALLINT(4)
NN
component  
VARCHAR(255)
NN
classname  
VARCHAR(255)
NN
userid  
BIGINT(10)
NN
timestart  
DECIMAL(20,10)
NN
timeend  
DECIMAL(20,10)
NN
dbreads  
BIGINT(10)
NN
dbwrites  
BIGINT(10)
NN
result  
TINYINT(2)
NN
output  
LONGTEXT
NN
hostname  
VARCHAR(255)
pid  
BIGINT(10)
KEY
PRIMARY
IX
tasklog_cla_ix
IX
tasklog_tim_ix
IX
tasklog_use_ix
grading_instances
PK
id  
BIGINT(10)
NN
definitionid  
BIGINT(10)
NN
raterid  
BIGINT(10)
NN
itemid  
BIGINT(10)
rawgrade  
DECIMAL(10,5)
status  
BIGINT(10)
NN
feedback  
LONGTEXT
feedbackformat  
TINYINT(2)
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
gradinst_def_ix
IX
gradinst_rat_ix
cache_flags
PK
id  
BIGINT(10)
NN
flagtype  
VARCHAR(255)
NN
name  
VARCHAR(255)
NN
timemodified  
BIGINT(10)
NN
value  
LONGTEXT
NN
expiry  
BIGINT(10)
NN
KEY
PRIMARY
IX
cachflag_fla_ix
IX
cachflag_nam_ix
filter_active
PK
id  
BIGINT(10)
NN
AK
filter  
VARCHAR(32)
NN
AK
contextid  
BIGINT(10)
NN
active  
SMALLINT(4)
NN
sortorder  
BIGINT(10)
NN
KEY
PRIMARY
KEY
filtacti_confil_uix
IX
filtacti_con_ix
message_user_actions
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
messageid  
BIGINT(10)
NN
AK
action  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
KEY
messuseracti_usemesact_uix
IX
messuseracti_use_ix
IX
messuseracti_mes_ix
quiz_grades
PK
id  
BIGINT(10)
NN
quiz  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
grade  
DECIMAL(10,5)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
quizgrad_use_ix
IX
quizgrad_qui_ix
lesson_answers
PK
id  
BIGINT(10)
NN
lessonid  
BIGINT(10)
NN
pageid  
BIGINT(10)
NN
jumpto  
BIGINT(11)
NN
grade  
SMALLINT(4)
NN
score  
BIGINT(10)
NN
flags  
SMALLINT(3)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
answer  
LONGTEXT
answerformat  
TINYINT(2)
NN
response  
LONGTEXT
responseformat  
TINYINT(2)
NN
KEY
PRIMARY
IX
lessansw_les_ix
IX
lessansw_pag_ix
grade_categories_history
PK
id  
BIGINT(10)
NN
action  
BIGINT(10)
NN
oldid  
BIGINT(10)
NN
source  
VARCHAR(255)
timemodified  
BIGINT(10)
loggeduser  
BIGINT(10)
courseid  
BIGINT(10)
NN
parent  
BIGINT(10)
depth  
BIGINT(10)
NN
path  
VARCHAR(255)
fullname  
VARCHAR(255)
NN
aggregation  
BIGINT(10)
NN
keephigh  
BIGINT(10)
NN
droplow  
BIGINT(10)
NN
aggregateonlygraded  
TINYINT(1)
NN
aggregateoutcomes  
TINYINT(1)
NN
aggregatesubcats  
TINYINT(1)
NN
hidden  
BIGINT(10)
NN
KEY
PRIMARY
IX
gradcatehist_act_ix
IX
gradcatehist_tim_ix
IX
gradcatehist_old_ix
IX
gradcatehist_cou_ix
IX
gradcatehist_par_ix
IX
gradcatehist_log_ix
h5p_contents_libraries
PK
id  
BIGINT(10)
NN
h5pid  
BIGINT(10)
NN
libraryid  
BIGINT(10)
NN
dependencytype  
VARCHAR(10)
NN
dropcss  
TINYINT(1)
NN
weight  
BIGINT(10)
NN
KEY
PRIMARY
IX
h5pcontlibr_h5p_ix
IX
h5pcontlibr_lib_ix
message_contacts
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
contactid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
KEY
PRIMARY
KEY
messcont_usecon_uix
IX
messcont_use_ix
IX
messcont_con_ix
scorm_scoes
PK
id  
BIGINT(10)
NN
scorm  
BIGINT(10)
NN
manifest  
VARCHAR(255)
NN
organization  
VARCHAR(255)
NN
parent  
VARCHAR(255)
NN
identifier  
VARCHAR(255)
NN
launch  
LONGTEXT
NN
scormtype  
VARCHAR(5)
NN
title  
VARCHAR(255)
NN
sortorder  
BIGINT(10)
NN
KEY
PRIMARY
IX
scorscoe_sco_ix
question_versions
PK
id  
BIGINT(10)
NN
questionbankentryid  
BIGINT(10)
NN
version  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
status  
VARCHAR(10)
NN
KEY
PRIMARY
IX
quesvers_que_ix
IX
quesvers_que2_ix
sessions
PK
id  
BIGINT(10)
NN
state  
BIGINT(10)
NN
AK
sid  
VARCHAR(128)
NN
userid  
BIGINT(10)
NN
sessdata  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
firstip  
VARCHAR(45)
lastip  
VARCHAR(45)
KEY
PRIMARY
KEY
sess_sid_uix
IX
sess_sta_ix
IX
sess_tim_ix
IX
sess_tim2_ix
IX
sess_use_ix
quiz_attempts
PK
id  
BIGINT(10)
NN
AK
quiz  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
attempt  
MEDIUMINT(6)
NN
AK
uniqueid  
BIGINT(10)
NN
layout  
LONGTEXT
NN
currentpage  
BIGINT(10)
NN
preview  
SMALLINT(3)
NN
state  
VARCHAR(16)
NN
timestart  
BIGINT(10)
NN
timefinish  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
timemodifiedoffline  
BIGINT(10)
NN
timecheckstate  
BIGINT(10)
sumgrades  
DECIMAL(10,5)
gradednotificationsenttime  
BIGINT(10)
KEY
PRIMARY
KEY
quizatte_quiuseatt_uix
KEY
quizatte_uni_uix
IX
quizatte_statim_ix
IX
quizatte_qui_ix
IX
quizatte_use_ix
quiz_reports
PK
id  
BIGINT(10)
NN
AK
name  
VARCHAR(255)
displayorder  
BIGINT(10)
NN
capability  
VARCHAR(255)
KEY
PRIMARY
KEY
quizrepo_nam_uix
bigbluebuttonbn_logs
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
bigbluebuttonbnid  
BIGINT(10)
NN
userid  
BIGINT(10)
timecreated  
BIGINT(10)
NN
meetingid  
VARCHAR(256)
NN
log  
VARCHAR(32)
NN
meta  
LONGTEXT
KEY
PRIMARY
IX
bigblogs_cou_ix
IX
bigblogs_log_ix
IX
bigblogs_coubiguselog_ix
IX
bigblogs_uselog_ix
IX
bigblogs_coubig_ix
lti_tool_settings
PK
id  
BIGINT(10)
NN
toolproxyid  
BIGINT(10)
NN
typeid  
BIGINT(10)
course  
BIGINT(10)
coursemoduleid  
BIGINT(10)
settings  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
ltitoolsett_too_ix
IX
ltitoolsett_typ_ix
IX
ltitoolsett_cou_ix
IX
ltitoolsett_cou2_ix
workshopform_numerrors_map
PK
id  
BIGINT(10)
NN
AK
workshopid  
BIGINT(10)
NN
AK
nonegative  
BIGINT(10)
NN
grade  
DECIMAL(10,5)
NN
KEY
PRIMARY
KEY
worknumemap_wornon_uix
IX
worknumemap_wor_ix
glossary_categories
PK
id  
BIGINT(10)
NN
glossaryid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
usedynalink  
TINYINT(2)
NN
KEY
PRIMARY
IX
gloscate_glo_ix
groups
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
idnumber  
VARCHAR(100)
NN
name  
VARCHAR(254)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
enrolmentkey  
VARCHAR(50)
picture  
BIGINT(10)
NN
visibility  
TINYINT(1)
NN
participation  
TINYINT(1)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
grou_idn_ix
IX
grou_cou_ix
glossary_entries
PK
id  
BIGINT(10)
NN
glossaryid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
concept  
VARCHAR(255)
NN
definition  
LONGTEXT
NN
definitionformat  
TINYINT(2)
NN
definitiontrust  
TINYINT(2)
NN
attachment  
VARCHAR(100)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
teacherentry  
TINYINT(2)
NN
sourceglossaryid  
BIGINT(10)
NN
usedynalink  
TINYINT(2)
NN
casesensitive  
TINYINT(2)
NN
fullmatch  
TINYINT(2)
NN
approved  
TINYINT(2)
NN
KEY
PRIMARY
IX
glosentr_use_ix
IX
glosentr_con_ix
IX
glosentr_glo_ix
stats_daily
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
roleid  
BIGINT(10)
NN
stattype  
VARCHAR(20)
NN
stat1  
BIGINT(10)
NN
stat2  
BIGINT(10)
NN
KEY
PRIMARY
IX
statdail_cou_ix
IX
statdail_tim_ix
IX
statdail_rol_ix
tool_brickfield_results
PK
id  
BIGINT(10)
NN
contentid  
BIGINT(10)
checkid  
BIGINT(10)
NN
errorcount  
BIGINT(10)
NN
KEY
PRIMARY
IX
toolbricresu_conche_ix
IX
toolbricresu_con_ix
IX
toolbricresu_che_ix
xapi_states
PK
id  
BIGINT(10)
NN
component  
VARCHAR(255)
NN
userid  
BIGINT(10)
itemid  
BIGINT(10)
NN
stateid  
VARCHAR(255)
NN
statedata  
LONGTEXT
registration  
VARCHAR(255)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
KEY
PRIMARY
IX
xapistat_comite_ix
IX
xapistat_use_ix
IX
xapistat_tim_ix
url
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
externalurl  
LONGTEXT
NN
display  
SMALLINT(4)
NN
displayoptions  
LONGTEXT
parameters  
LONGTEXT
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
url_cou_ix
enrol_lti_app_registration
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
platformid  
LONGTEXT
clientid  
VARCHAR(1333)
AK
uniqueid  
VARCHAR(255)
NN
AK
platformclienthash  
VARCHAR(64)
AK
platformuniqueidhash  
VARCHAR(64)
authenticationrequesturl  
LONGTEXT
jwksurl  
LONGTEXT
accesstokenurl  
LONGTEXT
status  
TINYINT(1)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enroltiappregi_uni_uix
KEY
enroltiappregi_pla_uix
KEY
enroltiappregi_pla2_uix
grade_letters
PK
id  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
NN
AK
lowerboundary  
DECIMAL(10,5)
NN
AK
letter  
VARCHAR(255)
NN
KEY
PRIMARY
KEY
gradlett_conlowlet_uix
question_response_analysis
PK
id  
BIGINT(10)
NN
hashcode  
VARCHAR(40)
NN
whichtries  
VARCHAR(255)
NN
timemodified  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
variant  
BIGINT(10)
subqid  
VARCHAR(100)
NN
aid  
VARCHAR(100)
response  
LONGTEXT
credit  
DECIMAL(15,5)
NN
KEY
PRIMARY
IX
quesrespanal_que_ix
chat_users
PK
id  
BIGINT(10)
NN
chatid  
BIGINT(11)
NN
userid  
BIGINT(11)
NN
groupid  
BIGINT(11)
NN
version  
VARCHAR(16)
NN
ip  
VARCHAR(45)
NN
firstping  
BIGINT(10)
NN
lastping  
BIGINT(10)
NN
lastmessageping  
BIGINT(10)
NN
sid  
VARCHAR(32)
NN
course  
BIGINT(10)
NN
lang  
VARCHAR(30)
NN
KEY
PRIMARY
IX
chatuser_use_ix
IX
chatuser_las_ix
IX
chatuser_gro_ix
IX
chatuser_cha_ix
IX
chatuser_cou_ix
analytics_predict_samples
PK
id  
BIGINT(10)
NN
modelid  
BIGINT(10)
NN
analysableid  
BIGINT(10)
NN
timesplitting  
VARCHAR(255)
NN
rangeindex  
BIGINT(10)
NN
sampleids  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
analpredsamp_modanatimran_ix
IX
analpredsamp_mod_ix
log_display
PK
id  
BIGINT(10)
NN
AK
module  
VARCHAR(20)
NN
AK
action  
VARCHAR(40)
NN
mtable  
VARCHAR(30)
NN
field  
VARCHAR(200)
NN
component  
VARCHAR(100)
NN
KEY
PRIMARY
KEY
logdisp_modact_uix
external_services
PK
id  
BIGINT(10)
NN
AK
name  
VARCHAR(200)
NN
enabled  
TINYINT(1)
NN
requiredcapability  
VARCHAR(150)
restrictedusers  
TINYINT(1)
NN
component  
VARCHAR(100)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
shortname  
VARCHAR(255)
downloadfiles  
TINYINT(1)
NN
uploadfiles  
TINYINT(1)
NN
KEY
PRIMARY
KEY
exteserv_nam_uix
competency
PK
id  
BIGINT(10)
NN
shortname  
VARCHAR(100)
description  
LONGTEXT
descriptionformat  
SMALLINT(4)
NN
AK
idnumber  
VARCHAR(100)
AK
competencyframeworkid  
BIGINT(10)
NN
parentid  
BIGINT(10)
NN
path  
VARCHAR(255)
NN
sortorder  
BIGINT(10)
NN
ruletype  
VARCHAR(100)
ruleoutcome  
TINYINT(2)
NN
ruleconfig  
LONGTEXT
scaleid  
BIGINT(10)
scaleconfiguration  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
KEY
PRIMARY
KEY
comp_comidn_uix
IX
comp_rul_ix
IX
comp_sca_ix
IX
comp_use_ix
folder
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
revision  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
display  
SMALLINT(4)
NN
showexpanded  
TINYINT(1)
NN
showdownloadfolder  
TINYINT(1)
NN
forcedownload  
TINYINT(1)
NN
KEY
PRIMARY
IX
fold_cou_ix
ltiservice_gradebookservices
PK
id  
BIGINT(10)
NN
gradeitemid  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
toolproxyid  
BIGINT(10)
typeid  
BIGINT(10)
baseurl  
LONGTEXT
ltilinkid  
BIGINT(10)
resourceid  
VARCHAR(512)
tag  
VARCHAR(255)
subreviewurl  
LONGTEXT
subreviewparams  
LONGTEXT
KEY
PRIMARY
IX
ltisgrad_lti_ix
IX
ltisgrad_gracou_ix
tiny_autosave
PK
id  
BIGINT(10)
NN
AK
elementid  
VARCHAR(255)
NN
AK
contextid  
BIGINT(10)
NN
AK
pagehash  
VARCHAR(64)
NN
AK
userid  
BIGINT(10)
NN
drafttext  
LONGTEXT
NN
draftid  
BIGINT(10)
pageinstance  
VARCHAR(64)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
tinyauto_eleconusepag_uix
question_ddwtos
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
shuffleanswers  
SMALLINT(4)
NN
correctfeedback  
LONGTEXT
NN
correctfeedbackformat  
TINYINT(2)
NN
partiallycorrectfeedback  
LONGTEXT
NN
partiallycorrectfeedbackformat  
TINYINT(2)
NN
incorrectfeedback  
LONGTEXT
NN
incorrectfeedbackformat  
TINYINT(2)
NN
shownumcorrect  
TINYINT(2)
NN
KEY
PRIMARY
IX
quesddwt_que_ix
favourite
PK
id  
BIGINT(10)
NN
AK
component  
VARCHAR(100)
NN
AK
itemtype  
VARCHAR(100)
NN
AK
itemid  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
ordering  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
favo_comiteiteconuse_uix
IX
favo_con_ix
IX
favo_use_ix
enrol_lti_context
PK
id  
BIGINT(10)
NN
AK
contextid  
VARCHAR(255)
NN
AK
ltideploymentid  
BIGINT(10)
NN
type  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enrolticont_lticon_uix
IX
enrolticont_lti_ix
question_calculated
PK
id  
BIGINT(10)
NN
question  
BIGINT(10)
NN
answer  
BIGINT(10)
NN
tolerance  
VARCHAR(20)
NN
tolerancetype  
BIGINT(10)
NN
correctanswerlength  
BIGINT(10)
NN
correctanswerformat  
BIGINT(10)
NN
KEY
PRIMARY
IX
quescalc_ans_ix
IX
quescalc_que_ix
question_bank_entries
PK
id  
BIGINT(10)
NN
AK
questioncategoryid  
BIGINT(10)
NN
AK
idnumber  
VARCHAR(100)
ownerid  
BIGINT(10)
KEY
PRIMARY
KEY
quesbankentr_queidn_uix
IX
quesbankentr_que_ix
IX
quesbankentr_own_ix
badge_backpack_oauth2
PK
id  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
issuerid  
BIGINT(10)
NN
externalbackpackid  
BIGINT(10)
NN
token  
LONGTEXT
NN
refreshtoken  
LONGTEXT
NN
expires  
BIGINT(10)
scope  
LONGTEXT
KEY
PRIMARY
IX
badgbackoaut_use_ix
IX
badgbackoaut_use2_ix
IX
badgbackoaut_iss_ix
IX
badgbackoaut_ext_ix
question_dataset_definitions
PK
id  
BIGINT(10)
NN
category  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
type  
BIGINT(10)
NN
options  
VARCHAR(255)
NN
itemcount  
BIGINT(10)
NN
KEY
PRIMARY
IX
quesdatadefi_cat_ix
survey
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
template  
BIGINT(10)
NN
days  
MEDIUMINT(6)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
questions  
VARCHAR(255)
NN
completionsubmit  
TINYINT(1)
NN
KEY
PRIMARY
IX
surv_cou_ix
tool_dataprivacy_purposerole
PK
id  
BIGINT(10)
NN
AK
purposeid  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
lawfulbases  
LONGTEXT
sensitivedatareasons  
LONGTEXT
retentionperiod  
VARCHAR(255)
NN
protected  
TINYINT(1)
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
tooldatapurp_purrol_uix
IX
tooldatapurp_pur_ix
IX
tooldatapurp_rol_ix
IX
tooldatapurp_use_ix
oauth2_issuer
PK
id  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
image  
LONGTEXT
NN
baseurl  
LONGTEXT
NN
clientid  
LONGTEXT
NN
clientsecret  
LONGTEXT
NN
loginscopes  
LONGTEXT
NN
loginscopesoffline  
LONGTEXT
NN
loginparams  
LONGTEXT
NN
loginparamsoffline  
LONGTEXT
NN
alloweddomains  
LONGTEXT
NN
scopessupported  
LONGTEXT
enabled  
TINYINT(2)
NN
showonloginpage  
TINYINT(2)
NN
basicauth  
TINYINT(2)
NN
sortorder  
BIGINT(10)
NN
requireconfirmation  
TINYINT(2)
NN
servicetype  
VARCHAR(255)
loginpagename  
VARCHAR(255)
KEY
PRIMARY
groupings
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
idnumber  
VARCHAR(100)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
configdata  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
grou_idn2_ix
IX
grou_cou2_ix
wiki_locks
PK
id  
BIGINT(10)
NN
pageid  
BIGINT(10)
NN
sectionname  
VARCHAR(255)
userid  
BIGINT(10)
NN
lockedat  
BIGINT(10)
NN
KEY
PRIMARY
qtype_ddimageortext_drops
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
no  
BIGINT(10)
NN
xleft  
BIGINT(10)
NN
ytop  
BIGINT(10)
NN
choice  
BIGINT(10)
NN
label  
LONGTEXT
NN
KEY
PRIMARY
IX
qtypddimdrop_que_ix
badge_criteria
PK
id  
BIGINT(10)
NN
AK
badgeid  
BIGINT(10)
NN
AK
criteriatype  
BIGINT(10)
method  
TINYINT(1)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
KEY
PRIMARY
KEY
badgcrit_badcri_uix
IX
badgcrit_cri_ix
IX
badgcrit_bad_ix
survey_questions
PK
id  
BIGINT(10)
NN
text  
VARCHAR(255)
NN
shorttext  
VARCHAR(30)
NN
multi  
VARCHAR(100)
NN
intro  
VARCHAR(50)
NN
type  
SMALLINT(3)
NN
options  
LONGTEXT
KEY
PRIMARY
files
PK
id  
BIGINT(10)
NN
contenthash  
VARCHAR(40)
NN
AK
pathnamehash  
VARCHAR(40)
NN
contextid  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
filearea  
VARCHAR(50)
NN
itemid  
BIGINT(10)
NN
filepath  
VARCHAR(255)
NN
filename  
VARCHAR(255)
NN
userid  
BIGINT(10)
filesize  
BIGINT(10)
NN
mimetype  
VARCHAR(100)
status  
BIGINT(10)
NN
source  
LONGTEXT
author  
VARCHAR(255)
license  
VARCHAR(255)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
referencefileid  
BIGINT(10)
KEY
PRIMARY
KEY
file_pat_uix
IX
file_comfilconite_ix
IX
file_con_ix
IX
file_lic_ix
IX
file_fil_ix
IX
file_con2_ix
IX
file_use_ix
IX
file_ref_ix
chat_messages_current
PK
id  
BIGINT(10)
NN
chatid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
groupid  
BIGINT(10)
NN
issystem  
TINYINT(1)
NN
message  
LONGTEXT
NN
timestamp  
BIGINT(10)
NN
KEY
PRIMARY
IX
chatmesscurr_use_ix
IX
chatmesscurr_gro_ix
IX
chatmesscurr_timcha_ix
IX
chatmesscurr_cha_ix
logstore_standard_log
PK
id  
BIGINT(10)
NN
eventname  
VARCHAR(255)
NN
component  
VARCHAR(100)
NN
action  
VARCHAR(100)
NN
target  
VARCHAR(100)
NN
objecttable  
VARCHAR(50)
objectid  
BIGINT(10)
crud  
VARCHAR(1)
NN
edulevel  
TINYINT(1)
NN
contextid  
BIGINT(10)
NN
contextlevel  
BIGINT(10)
NN
contextinstanceid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
courseid  
BIGINT(10)
relateduserid  
BIGINT(10)
anonymous  
TINYINT(1)
NN
other  
LONGTEXT
timecreated  
BIGINT(10)
NN
origin  
VARCHAR(10)
ip  
VARCHAR(45)
realuserid  
BIGINT(10)
KEY
PRIMARY
IX
logsstanlog_tim_ix
IX
logsstanlog_couanotim_ix
IX
logsstanlog_useconconcruedu_ix
IX
logsstanlog_con_ix
IX
logsstanlog_use_ix
IX
logsstanlog_cou_ix
IX
logsstanlog_rea_ix
IX
logsstanlog_rel_ix
mnet_application
PK
id  
BIGINT(10)
NN
name  
VARCHAR(50)
NN
display_name  
VARCHAR(50)
NN
xmlrpc_server_url  
VARCHAR(255)
NN
sso_land_url  
VARCHAR(255)
NN
sso_jump_url  
VARCHAR(255)
NN
KEY
PRIMARY
rating
PK
id  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
ratingarea  
VARCHAR(50)
NN
itemid  
BIGINT(10)
NN
scaleid  
BIGINT(10)
NN
rating  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
rati_comratconite_ix
IX
rati_con_ix
IX
rati_use_ix
IX
rati_sca_ix
workshop_assessments
PK
id  
BIGINT(10)
NN
submissionid  
BIGINT(10)
NN
reviewerid  
BIGINT(10)
NN
weight  
BIGINT(10)
NN
timecreated  
BIGINT(10)
timemodified  
BIGINT(10)
grade  
DECIMAL(10,5)
gradinggrade  
DECIMAL(10,5)
gradinggradeover  
DECIMAL(10,5)
gradinggradeoverby  
BIGINT(10)
feedbackauthor  
LONGTEXT
feedbackauthorformat  
SMALLINT(3)
feedbackauthorattachment  
SMALLINT(3)
feedbackreviewer  
LONGTEXT
feedbackreviewerformat  
SMALLINT(3)
KEY
PRIMARY
IX
workasse_sub_ix
IX
workasse_gra_ix
IX
workasse_rev_ix
glossary_formats
PK
id  
BIGINT(10)
NN
name  
VARCHAR(50)
NN
popupformatname  
VARCHAR(50)
NN
visible  
TINYINT(2)
NN
showgroup  
TINYINT(2)
NN
showtabs  
VARCHAR(100)
defaultmode  
VARCHAR(50)
NN
defaulthook  
VARCHAR(50)
NN
sortkey  
VARCHAR(50)
NN
sortorder  
VARCHAR(50)
NN
KEY
PRIMARY
mnetservice_enrol_enrolments
PK
id  
BIGINT(10)
NN
hostid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
remotecourseid  
BIGINT(10)
NN
rolename  
VARCHAR(255)
NN
enroltime  
BIGINT(10)
NN
enroltype  
VARCHAR(20)
NN
KEY
PRIMARY
IX
mnetenroenro_use_ix
IX
mnetenroenro_hos_ix
analytics_indicator_calc
PK
id  
BIGINT(10)
NN
starttime  
BIGINT(10)
NN
endtime  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
sampleorigin  
VARCHAR(255)
NN
sampleid  
BIGINT(10)
NN
indicator  
VARCHAR(255)
NN
value  
DECIMAL(10,2)
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
analindicalc_staendcon_ix
IX
analindicalc_con_ix
backup_controllers
PK
id  
BIGINT(10)
NN
AK
backupid  
VARCHAR(32)
NN
operation  
VARCHAR(20)
NN
type  
VARCHAR(10)
NN
itemid  
BIGINT(10)
NN
format  
VARCHAR(20)
NN
interactive  
SMALLINT(4)
NN
purpose  
SMALLINT(4)
NN
userid  
BIGINT(10)
NN
status  
SMALLINT(4)
NN
execution  
SMALLINT(4)
NN
executiontime  
BIGINT(10)
NN
checksum  
VARCHAR(32)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
progress  
DECIMAL(15,14)
NN
controller  
LONGTEXT
NN
KEY
PRIMARY
KEY
backcont_bac_uix
IX
backcont_typite_ix
IX
backcont_useite_ix
IX
backcont_use_ix
blog_association
PK
id  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
blogid  
BIGINT(10)
NN
KEY
PRIMARY
IX
blogasso_con_ix
IX
blogasso_blo_ix
role_names
PK
id  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
KEY
PRIMARY
KEY
rolename_rolcon_uix
IX
rolename_rol_ix
IX
rolename_con_ix
portfolio_instance_config
PK
id  
BIGINT(10)
NN
instance  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
value  
LONGTEXT
KEY
PRIMARY
IX
portinstconf_nam_ix
IX
portinstconf_ins_ix
grade_import_values
PK
id  
BIGINT(10)
NN
itemid  
BIGINT(10)
newgradeitem  
BIGINT(10)
userid  
BIGINT(10)
NN
finalgrade  
DECIMAL(10,5)
feedback  
LONGTEXT
importcode  
BIGINT(10)
NN
importer  
BIGINT(10)
importonlyfeedback  
TINYINT(1)
KEY
PRIMARY
IX
gradimpovalu_ite_ix
IX
gradimpovalu_new_ix
IX
gradimpovalu_imp_ix
IX
gradimpovalu_use_ix
user
PK
id  
BIGINT(10)
NN
auth  
VARCHAR(20)
NN
confirmed  
TINYINT(1)
NN
policyagreed  
TINYINT(1)
NN
deleted  
TINYINT(1)
NN
suspended  
TINYINT(1)
NN
AK
mnethostid  
BIGINT(10)
NN
AK
username  
VARCHAR(100)
NN
password  
VARCHAR(255)
NN
idnumber  
VARCHAR(255)
NN
firstname  
VARCHAR(100)
NN
lastname  
VARCHAR(100)
NN
email  
VARCHAR(100)
NN
emailstop  
TINYINT(1)
NN
phone1  
VARCHAR(20)
NN
phone2  
VARCHAR(20)
NN
institution  
VARCHAR(255)
NN
department  
VARCHAR(255)
NN
address  
VARCHAR(255)
NN
city  
VARCHAR(120)
NN
country  
VARCHAR(2)
NN
lang  
VARCHAR(30)
NN
calendartype  
VARCHAR(30)
NN
theme  
VARCHAR(50)
NN
timezone  
VARCHAR(100)
NN
firstaccess  
BIGINT(10)
NN
lastaccess  
BIGINT(10)
NN
lastlogin  
BIGINT(10)
NN
currentlogin  
BIGINT(10)
NN
lastip  
VARCHAR(45)
NN
secret  
VARCHAR(15)
NN
picture  
BIGINT(10)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
mailformat  
TINYINT(1)
NN
maildigest  
TINYINT(1)
NN
maildisplay  
TINYINT(2)
NN
autosubscribe  
TINYINT(1)
NN
trackforums  
TINYINT(1)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
trustbitmask  
BIGINT(10)
NN
imagealt  
VARCHAR(255)
lastnamephonetic  
VARCHAR(255)
firstnamephonetic  
VARCHAR(255)
middlename  
VARCHAR(255)
alternatename  
VARCHAR(255)
moodlenetprofile  
VARCHAR(255)
KEY
PRIMARY
KEY
user_mneuse_uix
IX
user_del_ix
IX
user_con_ix
IX
user_fir_ix
IX
user_las_ix
IX
user_cit_ix
IX
user_cou_ix
IX
user_las2_ix
IX
user_ema_ix
IX
user_aut_ix
IX
user_idn_ix
IX
user_fir2_ix
IX
user_las3_ix
IX
user_mid_ix
IX
user_alt_ix
tool_brickfield_content
PK
id  
BIGINT(10)
NN
areaid  
BIGINT(10)
NN
contenthash  
VARCHAR(40)
NN
iscurrent  
TINYINT(1)
NN
status  
TINYINT(2)
NN
timecreated  
BIGINT(10)
NN
timechecked  
BIGINT(10)
KEY
PRIMARY
IX
toolbriccont_sta_ix
IX
toolbriccont_iscare_ix
IX
toolbriccont_are_ix
oauth2_system_account
PK
id  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
AK
issuerid  
BIGINT(10)
NN
refreshtoken  
LONGTEXT
NN
grantedscopes  
LONGTEXT
NN
email  
LONGTEXT
username  
LONGTEXT
NN
KEY
PRIMARY
KEY
oautsystacco_iss_uix
IX
oautsystacco_use_ix
quiz
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
timeopen  
BIGINT(10)
NN
timeclose  
BIGINT(10)
NN
timelimit  
BIGINT(10)
NN
overduehandling  
VARCHAR(16)
NN
graceperiod  
BIGINT(10)
NN
preferredbehaviour  
VARCHAR(32)
NN
canredoquestions  
SMALLINT(4)
NN
attempts  
MEDIUMINT(6)
NN
attemptonlast  
SMALLINT(4)
NN
grademethod  
SMALLINT(4)
NN
decimalpoints  
SMALLINT(4)
NN
questiondecimalpoints  
SMALLINT(4)
NN
reviewattempt  
MEDIUMINT(6)
NN
reviewcorrectness  
MEDIUMINT(6)
NN
reviewmarks  
MEDIUMINT(6)
NN
reviewspecificfeedback  
MEDIUMINT(6)
NN
reviewgeneralfeedback  
MEDIUMINT(6)
NN
reviewrightanswer  
MEDIUMINT(6)
NN
reviewoverallfeedback  
MEDIUMINT(6)
NN
questionsperpage  
BIGINT(10)
NN
navmethod  
VARCHAR(16)
NN
shuffleanswers  
SMALLINT(4)
NN
sumgrades  
DECIMAL(10,5)
NN
grade  
DECIMAL(10,5)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
password  
VARCHAR(255)
NN
subnet  
VARCHAR(255)
NN
browsersecurity  
VARCHAR(32)
NN
delay1  
BIGINT(10)
NN
delay2  
BIGINT(10)
NN
showuserpicture  
SMALLINT(4)
NN
showblocks  
SMALLINT(4)
NN
completionattemptsexhausted  
TINYINT(1)
completionminattempts  
BIGINT(10)
NN
allowofflineattempts  
TINYINT(1)
KEY
PRIMARY
IX
quiz_cou_ix
choice
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
publish  
TINYINT(2)
NN
showresults  
TINYINT(2)
NN
display  
SMALLINT(4)
NN
allowupdate  
TINYINT(2)
NN
allowmultiple  
TINYINT(2)
NN
showunanswered  
TINYINT(2)
NN
includeinactive  
TINYINT(2)
NN
limitanswers  
TINYINT(2)
NN
timeopen  
BIGINT(10)
NN
timeclose  
BIGINT(10)
NN
showpreview  
TINYINT(2)
NN
timemodified  
BIGINT(10)
NN
completionsubmit  
TINYINT(1)
NN
showavailable  
TINYINT(1)
NN
KEY
PRIMARY
IX
choi_cou_ix
tool_brickfield_checks
PK
id  
BIGINT(10)
NN
checktype  
VARCHAR(64)
shortname  
VARCHAR(64)
checkgroup  
BIGINT(16)
status  
SMALLINT(4)
NN
severity  
TINYINT(2)
NN
KEY
PRIMARY
IX
toolbricchec_che_ix
IX
toolbricchec_che2_ix
IX
toolbricchec_sta_ix
lti_types_config
PK
id  
BIGINT(10)
NN
typeid  
BIGINT(10)
NN
name  
VARCHAR(100)
NN
value  
LONGTEXT
NN
KEY
PRIMARY
IX
ltitypeconf_typ_ix
block_positions
PK
id  
BIGINT(10)
NN
AK
blockinstanceid  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
NN
AK
pagetype  
VARCHAR(64)
NN
AK
subpage  
VARCHAR(16)
NN
visible  
SMALLINT(4)
NN
region  
VARCHAR(16)
NN
weight  
BIGINT(10)
NN
KEY
PRIMARY
KEY
blocposi_bloconpagsub_uix
IX
blocposi_blo_ix
IX
blocposi_con_ix
user_private_key
PK
id  
BIGINT(10)
NN
script  
VARCHAR(128)
NN
value  
VARCHAR(128)
NN
userid  
BIGINT(10)
NN
instance  
BIGINT(10)
iprestriction  
VARCHAR(255)
validuntil  
BIGINT(10)
timecreated  
BIGINT(10)
KEY
PRIMARY
IX
userprivkey_scrval_ix
IX
userprivkey_use_ix
tool_dataprivacy_ctxinstance
PK
id  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
NN
purposeid  
BIGINT(10)
categoryid  
BIGINT(10)
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
tooldatactxi_con_uix
IX
tooldatactxi_pur_ix
IX
tooldatactxi_cat_ix
question_answers
PK
id  
BIGINT(10)
NN
question  
BIGINT(10)
NN
answer  
LONGTEXT
NN
answerformat  
TINYINT(2)
NN
fraction  
DECIMAL(12,7)
NN
feedback  
LONGTEXT
NN
feedbackformat  
TINYINT(2)
NN
KEY
PRIMARY
IX
quesansw_que_ix
h5pactivity_attempts_results
PK
id  
BIGINT(10)
NN
attemptid  
BIGINT(10)
NN
subcontent  
VARCHAR(128)
timecreated  
BIGINT(10)
NN
interactiontype  
VARCHAR(128)
description  
LONGTEXT
correctpattern  
LONGTEXT
response  
LONGTEXT
NN
additionals  
LONGTEXT
rawscore  
BIGINT(10)
NN
maxscore  
BIGINT(10)
NN
duration  
BIGINT(10)
completion  
TINYINT(1)
success  
TINYINT(1)
KEY
PRIMARY
IX
h5paatteresu_atttim_ix
IX
h5paatteresu_att_ix
event
PK
id  
BIGINT(10)
NN
name  
LONGTEXT
NN
description  
LONGTEXT
NN
format  
SMALLINT(4)
NN
categoryid  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
groupid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
repeatid  
BIGINT(10)
NN
component  
VARCHAR(100)
modulename  
VARCHAR(20)
NN
instance  
BIGINT(10)
NN
type  
SMALLINT(4)
NN
eventtype  
VARCHAR(20)
NN
timestart  
BIGINT(10)
NN
timeduration  
BIGINT(10)
NN
timesort  
BIGINT(10)
visible  
SMALLINT(4)
NN
uuid  
VARCHAR(255)
NN
sequence  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
subscriptionid  
BIGINT(10)
priority  
BIGINT(10)
location  
LONGTEXT
KEY
PRIMARY
IX
even_cou_ix
IX
even_use_ix
IX
even_tim_ix
IX
even_tim2_ix
IX
even_uui_ix
IX
even_typtim_ix
IX
even_grocoucatvisuse_ix
IX
even_eve_ix
IX
even_comeveins_ix
IX
even_modinseve_ix
IX
even_cat_ix
IX
even_sub_ix
enrol_lti_deployment
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
AK
deploymentid  
VARCHAR(255)
NN
AK
platformid  
BIGINT(10)
NN
legacyconsumerkey  
VARCHAR(255)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enroltidepl_pladep_uix
IX
enroltidepl_pla_ix
imscp
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
revision  
BIGINT(10)
NN
keepold  
BIGINT(10)
NN
structure  
LONGTEXT
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
imsc_cou_ix
data_fields
PK
id  
BIGINT(10)
NN
dataid  
BIGINT(10)
NN
type  
VARCHAR(255)
NN
name  
VARCHAR(255)
NN
description  
LONGTEXT
NN
required  
TINYINT(1)
NN
param1  
LONGTEXT
param2  
LONGTEXT
param3  
LONGTEXT
param4  
LONGTEXT
param5  
LONGTEXT
param6  
LONGTEXT
param7  
LONGTEXT
param8  
LONGTEXT
param9  
LONGTEXT
param10  
LONGTEXT
KEY
PRIMARY
IX
datafiel_typdat_ix
IX
datafiel_dat_ix
context
PK
id  
BIGINT(10)
NN
AK
contextlevel  
BIGINT(10)
NN
AK
instanceid  
BIGINT(10)
NN
path  
VARCHAR(255)
depth  
TINYINT(2)
NN
locked  
TINYINT(2)
NN
KEY
PRIMARY
KEY
cont_conins_uix
IX
cont_ins_ix
IX
cont_pat_ix
qtype_match_options
PK
id  
BIGINT(10)
NN
AK
questionid  
BIGINT(10)
NN
shuffleanswers  
SMALLINT(4)
NN
correctfeedback  
LONGTEXT
NN
correctfeedbackformat  
TINYINT(2)
NN
partiallycorrectfeedback  
LONGTEXT
NN
partiallycorrectfeedbackformat  
TINYINT(2)
NN
incorrectfeedback  
LONGTEXT
NN
incorrectfeedbackformat  
TINYINT(2)
NN
shownumcorrect  
TINYINT(2)
NN
KEY
PRIMARY
KEY
qtypmatcopti_que_uix
competency_relatedcomp
PK
id  
BIGINT(10)
NN
competencyid  
BIGINT(10)
NN
relatedcompetencyid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
comprela_com_ix
IX
comprela_rel_ix
IX
comprela_use_ix
events_handlers
PK
id  
BIGINT(10)
NN
AK
eventname  
VARCHAR(166)
NN
AK
component  
VARCHAR(166)
NN
handlerfile  
VARCHAR(255)
NN
handlerfunction  
LONGTEXT
schedule  
VARCHAR(255)
status  
BIGINT(10)
NN
internal  
TINYINT(2)
NN
KEY
PRIMARY
KEY
evenhand_evecom_uix
scorm_seq_objective
PK
id  
BIGINT(10)
NN
AK
scoid  
BIGINT(10)
NN
primaryobj  
TINYINT(1)
NN
objectiveid  
VARCHAR(255)
NN
satisfiedbymeasure  
TINYINT(1)
NN
minnormalizedmeasure  
FLOAT(11,4)
NN
KEY
PRIMARY
KEY
scorseqobje_scoid_uix
IX
scorseqobje_sco_ix
h5pactivity
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
grade  
BIGINT(10)
displayoptions  
SMALLINT(4)
NN
enabletracking  
TINYINT(1)
NN
grademethod  
SMALLINT(4)
NN
reviewmode  
SMALLINT(4)
KEY
PRIMARY
IX
h5pa_cou_ix
role_allow_switch
PK
id  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
AK
allowswitch  
BIGINT(10)
NN
KEY
PRIMARY
KEY
rolealloswit_rolall_uix
IX
rolealloswit_rol_ix
IX
rolealloswit_all_ix
grade_outcomes
PK
id  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
AK
shortname  
VARCHAR(255)
NN
fullname  
LONGTEXT
NN
scaleid  
BIGINT(10)
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
timecreated  
BIGINT(10)
timemodified  
BIGINT(10)
usermodified  
BIGINT(10)
KEY
PRIMARY
KEY
gradoutc_cousho_uix
IX
gradoutc_cou_ix
IX
gradoutc_sca_ix
IX
gradoutc_use_ix
bigbluebuttonbn
PK
id  
BIGINT(10)
NN
type  
TINYINT(2)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
meetingid  
VARCHAR(255)
NN
moderatorpass  
VARCHAR(255)
NN
viewerpass  
VARCHAR(255)
NN
wait  
TINYINT(1)
NN
record  
TINYINT(1)
NN
recordallfromstart  
TINYINT(1)
NN
recordhidebutton  
TINYINT(1)
NN
welcome  
LONGTEXT
voicebridge  
MEDIUMINT(5)
NN
openingtime  
BIGINT(10)
NN
closingtime  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
presentation  
LONGTEXT
participants  
LONGTEXT
userlimit  
SMALLINT(3)
NN
recordings_html  
TINYINT(1)
NN
recordings_deleted  
TINYINT(1)
NN
recordings_imported  
TINYINT(1)
NN
recordings_preview  
TINYINT(1)
NN
clienttype  
TINYINT(1)
NN
muteonstart  
TINYINT(1)
NN
disablecam  
TINYINT(1)
NN
disablemic  
TINYINT(1)
NN
disableprivatechat  
TINYINT(1)
NN
disablepublicchat  
TINYINT(1)
NN
disablenote  
TINYINT(1)
NN
hideuserlist  
TINYINT(1)
NN
completionattendance  
INT(9)
NN
completionengagementchats  
INT(9)
NN
completionengagementtalks  
INT(9)
NN
completionengagementraisehand  
INT(9)
NN
completionengagementpollvotes  
INT(9)
NN
completionengagementemojis  
INT(9)
NN
guestallowed  
TINYINT(2)
mustapproveuser  
TINYINT(2)
guestlinkuid  
VARCHAR(1024)
guestpassword  
VARCHAR(255)
KEY
PRIMARY
tool_dataprivacy_ctxlevel
PK
id  
BIGINT(10)
NN
AK
contextlevel  
SMALLINT(3)
NN
purposeid  
BIGINT(10)
categoryid  
BIGINT(10)
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
tooldatactxl_con_uix
IX
tooldatactxl_cat_ix
IX
tooldatactxl_pur_ix
grade_items
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
categoryid  
BIGINT(10)
itemname  
VARCHAR(255)
itemtype  
VARCHAR(30)
NN
itemmodule  
VARCHAR(30)
iteminstance  
BIGINT(10)
itemnumber  
BIGINT(10)
iteminfo  
LONGTEXT
idnumber  
VARCHAR(255)
calculation  
LONGTEXT
gradetype  
SMALLINT(4)
NN
grademax  
DECIMAL(10,5)
NN
grademin  
DECIMAL(10,5)
NN
scaleid  
BIGINT(10)
outcomeid  
BIGINT(10)
gradepass  
DECIMAL(10,5)
NN
multfactor  
DECIMAL(10,5)
NN
plusfactor  
DECIMAL(10,5)
NN
aggregationcoef  
DECIMAL(10,5)
NN
aggregationcoef2  
DECIMAL(10,5)
NN
sortorder  
BIGINT(10)
NN
display  
BIGINT(10)
NN
decimals  
TINYINT(1)
hidden  
BIGINT(10)
NN
locked  
BIGINT(10)
NN
locktime  
BIGINT(10)
NN
needsupdate  
BIGINT(10)
NN
weightoverride  
TINYINT(1)
NN
timecreated  
BIGINT(10)
timemodified  
BIGINT(10)
KEY
PRIMARY
IX
graditem_locloc_ix
IX
graditem_itenee_ix
IX
graditem_gra_ix
IX
graditem_idncou_ix
IX
graditem_iteiteitecou_ix
IX
graditem_cou_ix
IX
graditem_cat_ix
IX
graditem_sca_ix
IX
graditem_out_ix
enrol_lti_tool_consumer_map
PK
id  
BIGINT(10)
NN
toolid  
BIGINT(11)
NN
consumerid  
BIGINT(11)
NN
KEY
PRIMARY
IX
enroltitoolconsmap_too_ix
IX
enroltitoolconsmap_con_ix
license
PK
id  
BIGINT(10)
NN
shortname  
VARCHAR(255)
fullname  
LONGTEXT
source  
VARCHAR(255)
enabled  
TINYINT(1)
NN
version  
BIGINT(10)
NN
custom  
TINYINT(1)
NN
sortorder  
MEDIUMINT(5)
NN
KEY
PRIMARY
user_lastaccess
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
timeaccess  
BIGINT(10)
NN
KEY
PRIMARY
KEY
userlast_usecou_uix
IX
userlast_use_ix
IX
userlast_cou_ix
competency_coursecomp
PK
id  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
AK
competencyid  
BIGINT(10)
NN
ruleoutcome  
TINYINT(2)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
KEY
PRIMARY
KEY
compcour_coucom_uix
IX
compcour_courul_ix
IX
compcour_cou2_ix
IX
compcour_com_ix
IX
compcour_use2_ix
tool_monitor_subscriptions
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
ruleid  
BIGINT(10)
NN
cmid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
lastnotificationsent  
BIGINT(10)
NN
inactivedate  
BIGINT(10)
NN
KEY
PRIMARY
IX
toolmonisubs_couuse_ix
IX
toolmonisubs_rul_ix
enrol_lti_lti2_resource_link
PK
id  
BIGINT(11)
NN
contextid  
BIGINT(11)
consumerid  
BIGINT(11)
ltiresourcelinkkey  
VARCHAR(255)
NN
settings  
LONGTEXT
primaryresourcelinkid  
BIGINT(11)
shareapproved  
TINYINT(1)
created  
BIGINT(10)
NN
updated  
BIGINT(10)
NN
KEY
PRIMARY
IX
enroltilti2resolink_con_ix
IX
enroltilti2resolink_pri_ix
IX
enroltilti2resolink_con2_ix
quiz_sections
PK
id  
BIGINT(10)
NN
AK
quizid  
BIGINT(10)
NN
AK
firstslot  
BIGINT(10)
NN
heading  
VARCHAR(1333)
shufflequestions  
SMALLINT(4)
NN
KEY
PRIMARY
KEY
quizsect_quifir_uix
IX
quizsect_qui_ix
workshopform_comments
PK
id  
BIGINT(10)
NN
workshopid  
BIGINT(10)
NN
sort  
BIGINT(10)
description  
LONGTEXT
descriptionformat  
SMALLINT(3)
KEY
PRIMARY
IX
workcomm_wor_ix
qtype_essay_options
PK
id  
BIGINT(10)
NN
AK
questionid  
BIGINT(10)
NN
responseformat  
VARCHAR(16)
NN
responserequired  
TINYINT(2)
NN
responsefieldlines  
SMALLINT(4)
NN
minwordlimit  
BIGINT(10)
maxwordlimit  
BIGINT(10)
attachments  
SMALLINT(4)
NN
attachmentsrequired  
SMALLINT(4)
NN
graderinfo  
LONGTEXT
graderinfoformat  
SMALLINT(4)
NN
responsetemplate  
LONGTEXT
responsetemplateformat  
SMALLINT(4)
NN
maxbytes  
BIGINT(10)
NN
filetypeslist  
LONGTEXT
KEY
PRIMARY
KEY
qtypessaopti_que_uix
adminpresets_it
PK
id  
BIGINT(10)
NN
adminpresetid  
BIGINT(10)
NN
plugin  
VARCHAR(100)
name  
VARCHAR(100)
NN
value  
LONGTEXT
KEY
PRIMARY
IX
admiit_adm_ix
question_truefalse
PK
id  
BIGINT(10)
NN
question  
BIGINT(10)
NN
trueanswer  
BIGINT(10)
NN
falseanswer  
BIGINT(10)
NN
showstandardinstruction  
TINYINT(2)
NN
KEY
PRIMARY
IX
questrue_que_ix
h5p_libraries_cachedassets
PK
id  
BIGINT(10)
NN
libraryid  
BIGINT(10)
NN
hash  
VARCHAR(255)
NN
KEY
PRIMARY
IX
h5plibrcach_lib_ix
quizaccess_seb_template
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
description  
LONGTEXT
NN
content  
LONGTEXT
NN
enabled  
TINYINT(1)
NN
sortorder  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
quizsebtemp_use_ix
lti_submission
PK
id  
BIGINT(10)
NN
ltiid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
datesubmitted  
BIGINT(10)
NN
dateupdated  
BIGINT(10)
NN
gradepercent  
DECIMAL(10,5)
NN
originalgrade  
DECIMAL(10,5)
NN
launchid  
BIGINT(10)
NN
state  
TINYINT(2)
NN
KEY
PRIMARY
IX
ltisubm_lti_ix
tool_customlang_components
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
version  
VARCHAR(255)
KEY
PRIMARY
course_modules_viewed
PK
id  
BIGINT(10)
NN
AK
coursemoduleid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
KEY
courmoduview_usecou_uix
IX
courmoduview_cou_ix
tool_brickfield_cache_acts
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
status  
TINYINT(1)
component  
VARCHAR(64)
totalactivities  
BIGINT(10)
failedactivities  
BIGINT(10)
passedactivities  
BIGINT(10)
errorcount  
BIGINT(10)
KEY
PRIMARY
IX
toolbriccachacts_sta_ix
IX
toolbriccachacts_cou_ix
user_devices
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
appid  
VARCHAR(128)
NN
name  
VARCHAR(32)
NN
model  
VARCHAR(32)
NN
platform  
VARCHAR(32)
NN
version  
VARCHAR(32)
NN
AK
pushid  
VARCHAR(255)
NN
uuid  
VARCHAR(255)
NN
publickey  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
userdevi_pususe_uix
IX
userdevi_uuiuse_ix
IX
userdevi_use_ix
enrol_lti_users
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
toolid  
BIGINT(10)
NN
serviceurl  
LONGTEXT
sourceid  
LONGTEXT
ltideploymentid  
BIGINT(10)
consumerkey  
LONGTEXT
consumersecret  
LONGTEXT
membershipsurl  
LONGTEXT
membershipsid  
LONGTEXT
lastgrade  
DECIMAL(10,5)
lastaccess  
BIGINT(10)
timecreated  
BIGINT(10)
KEY
PRIMARY
IX
enroltiuser_use_ix
IX
enroltiuser_too_ix
IX
enroltiuser_lti_ix
qtype_randomsamatch_options
PK
id  
BIGINT(10)
NN
AK
questionid  
BIGINT(10)
NN
choose  
BIGINT(10)
NN
subcats  
TINYINT(2)
NN
correctfeedback  
LONGTEXT
NN
correctfeedbackformat  
TINYINT(2)
NN
partiallycorrectfeedback  
LONGTEXT
NN
partiallycorrectfeedbackformat  
TINYINT(2)
NN
incorrectfeedback  
LONGTEXT
NN
incorrectfeedbackformat  
TINYINT(2)
NN
shownumcorrect  
TINYINT(2)
NN
KEY
PRIMARY
KEY
qtyprandopti_que_uix
page
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
content  
LONGTEXT
contentformat  
SMALLINT(4)
NN
legacyfiles  
SMALLINT(4)
NN
legacyfileslast  
BIGINT(10)
display  
SMALLINT(4)
NN
displayoptions  
LONGTEXT
revision  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
page_cou_ix
customfield_field
PK
id  
BIGINT(10)
NN
shortname  
VARCHAR(100)
NN
name  
VARCHAR(400)
NN
type  
VARCHAR(100)
NN
description  
LONGTEXT
descriptionformat  
BIGINT(10)
sortorder  
BIGINT(10)
categoryid  
BIGINT(10)
configdata  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
custfiel_catsor_ix
IX
custfiel_cat_ix
question_attempts
PK
id  
BIGINT(10)
NN
AK
questionusageid  
BIGINT(10)
NN
AK
slot  
BIGINT(10)
NN
behaviour  
VARCHAR(32)
NN
questionid  
BIGINT(10)
NN
variant  
BIGINT(10)
NN
maxmark  
DECIMAL(12,7)
NN
minfraction  
DECIMAL(12,7)
NN
maxfraction  
DECIMAL(12,7)
NN
flagged  
TINYINT(1)
NN
questionsummary  
LONGTEXT
rightanswer  
LONGTEXT
responsesummary  
LONGTEXT
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
quesatte_queslo_uix
IX
quesatte_beh_ix
IX
quesatte_que_ix
IX
quesatte_que2_ix
paygw_paypal
PK
id  
BIGINT(10)
NN
AK
paymentid  
BIGINT(10)
NN
pp_orderid  
VARCHAR(255)
NN
KEY
PRIMARY
KEY
paygpayp_pay_uix
enrol_lti_lti2_share_key
PK
id  
BIGINT(11)
NN
AK
sharekey  
VARCHAR(32)
NN
AK
resourcelinkid  
BIGINT(11)
NN
autoapprove  
TINYINT(1)
NN
expires  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enroltilti2sharkey_sha_uix
KEY
enroltilti2sharkey_res_uix
question_gapselect
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
shuffleanswers  
SMALLINT(4)
NN
correctfeedback  
LONGTEXT
NN
correctfeedbackformat  
TINYINT(2)
NN
partiallycorrectfeedback  
LONGTEXT
NN
partiallycorrectfeedbackformat  
TINYINT(2)
NN
incorrectfeedback  
LONGTEXT
NN
incorrectfeedbackformat  
TINYINT(2)
NN
shownumcorrect  
TINYINT(2)
NN
KEY
PRIMARY
IX
quesgaps_que_ix
reportbuilder_filter
PK
id  
BIGINT(10)
NN
reportid  
BIGINT(10)
NN
uniqueidentifier  
VARCHAR(255)
NN
heading  
VARCHAR(255)
iscondition  
TINYINT(1)
NN
filterorder  
BIGINT(10)
NN
usercreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
repofilt_rep_ix
IX
repofilt_use_ix
IX
repofilt_use2_ix
external_tokens
PK
id  
BIGINT(10)
NN
token  
VARCHAR(128)
NN
privatetoken  
VARCHAR(64)
tokentype  
SMALLINT(4)
NN
userid  
BIGINT(10)
NN
externalserviceid  
BIGINT(10)
NN
sid  
VARCHAR(128)
contextid  
BIGINT(10)
NN
creatorid  
BIGINT(10)
NN
iprestriction  
VARCHAR(255)
validuntil  
BIGINT(10)
timecreated  
BIGINT(10)
NN
lastaccess  
BIGINT(10)
KEY
PRIMARY
IX
extetoke_tok_ix
IX
extetoke_sid_ix
IX
extetoke_use_ix
IX
extetoke_ext_ix
IX
extetoke_con_ix
IX
extetoke_cre_ix
assignsubmission_file
PK
id  
BIGINT(10)
NN
assignment  
BIGINT(10)
NN
submission  
BIGINT(10)
NN
numfiles  
BIGINT(10)
NN
KEY
PRIMARY
IX
assifile_ass_ix
IX
assifile_sub_ix
analytics_train_samples
PK
id  
BIGINT(10)
NN
modelid  
BIGINT(10)
NN
analysableid  
BIGINT(10)
NN
timesplitting  
VARCHAR(255)
NN
sampleids  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
analtraisamp_modanatim_ix
IX
analtraisamp_mod_ix
data
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
comments  
SMALLINT(4)
NN
timeavailablefrom  
BIGINT(10)
NN
timeavailableto  
BIGINT(10)
NN
timeviewfrom  
BIGINT(10)
NN
timeviewto  
BIGINT(10)
NN
requiredentries  
INT(8)
NN
requiredentriestoview  
INT(8)
NN
maxentries  
INT(8)
NN
rssarticles  
SMALLINT(4)
NN
singletemplate  
LONGTEXT
listtemplate  
LONGTEXT
listtemplateheader  
LONGTEXT
listtemplatefooter  
LONGTEXT
addtemplate  
LONGTEXT
rsstemplate  
LONGTEXT
rsstitletemplate  
LONGTEXT
csstemplate  
LONGTEXT
jstemplate  
LONGTEXT
asearchtemplate  
LONGTEXT
approval  
SMALLINT(4)
NN
manageapproved  
SMALLINT(4)
NN
scale  
BIGINT(10)
NN
assessed  
BIGINT(10)
NN
assesstimestart  
BIGINT(10)
NN
assesstimefinish  
BIGINT(10)
NN
defaultsort  
BIGINT(10)
NN
defaultsortdir  
SMALLINT(4)
NN
editany  
SMALLINT(4)
NN
notification  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
config  
LONGTEXT
completionentries  
BIGINT(10)
KEY
PRIMARY
IX
data_cou_ix
workshopform_accumulative
PK
id  
BIGINT(10)
NN
workshopid  
BIGINT(10)
NN
sort  
BIGINT(10)
description  
LONGTEXT
descriptionformat  
SMALLINT(3)
grade  
BIGINT(10)
NN
weight  
MEDIUMINT(5)
KEY
PRIMARY
IX
workaccu_wor_ix
data_content
PK
id  
BIGINT(10)
NN
fieldid  
BIGINT(10)
NN
recordid  
BIGINT(10)
NN
content  
LONGTEXT
content1  
LONGTEXT
content2  
LONGTEXT
content3  
LONGTEXT
content4  
LONGTEXT
KEY
PRIMARY
IX
datacont_rec_ix
IX
datacont_fie_ix
user_password_resets
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
timerequested  
BIGINT(10)
NN
timererequested  
BIGINT(10)
NN
token  
VARCHAR(32)
NN
KEY
PRIMARY
IX
userpassrese_use_ix
user_password_history
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
hash  
VARCHAR(255)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
userpasshist_use_ix
message
PK
id  
BIGINT(10)
NN
useridfrom  
BIGINT(10)
NN
useridto  
BIGINT(10)
NN
subject  
LONGTEXT
fullmessage  
LONGTEXT
fullmessageformat  
SMALLINT(4)
fullmessagehtml  
LONGTEXT
smallmessage  
LONGTEXT
notification  
TINYINT(1)
contexturl  
LONGTEXT
contexturlname  
LONGTEXT
timecreated  
BIGINT(10)
NN
timeuserfromdeleted  
BIGINT(10)
NN
timeusertodeleted  
BIGINT(10)
NN
component  
VARCHAR(100)
eventtype  
VARCHAR(100)
customdata  
LONGTEXT
KEY
PRIMARY
IX
mess_useusetimtim_ix
IX
mess_usetimnot_ix
IX
mess_usetimnot2_ix
badge_external_backpack
PK
id  
BIGINT(10)
NN
AK
backpackapiurl  
VARCHAR(255)
NN
AK
backpackweburl  
VARCHAR(255)
NN
apiversion  
VARCHAR(12)
NN
sortorder  
BIGINT(10)
NN
oauth2_issuerid  
BIGINT(10)
KEY
PRIMARY
KEY
badgexteback_bac_uix
KEY
badgexteback_bac2_uix
IX
badgexteback_oau_ix
adminpresets_app_plug
PK
id  
BIGINT(10)
NN
adminpresetapplyid  
BIGINT(10)
NN
plugin  
VARCHAR(100)
name  
VARCHAR(100)
NN
value  
SMALLINT(4)
NN
oldvalue  
SMALLINT(4)
NN
KEY
PRIMARY
IX
admiappplug_adm_ix
assignfeedback_editpdf_rot
PK
id  
BIGINT(10)
NN
AK
gradeid  
BIGINT(10)
NN
AK
pageno  
BIGINT(10)
NN
pathnamehash  
LONGTEXT
NN
isrotated  
TINYINT(1)
NN
degree  
BIGINT(10)
NN
KEY
PRIMARY
KEY
assieditrot_grapag_uix
IX
assieditrot_gra_ix
scorm_seq_rulecond
PK
id  
BIGINT(10)
NN
AK
scoid  
BIGINT(10)
NN
AK
ruleconditionsid  
BIGINT(10)
NN
refrencedobjective  
VARCHAR(255)
NN
measurethreshold  
FLOAT(11,4)
NN
operator  
VARCHAR(5)
NN
cond  
VARCHAR(30)
NN
KEY
PRIMARY
KEY
scorseqrule_idscorul_uix
IX
scorseqrule_sco2_ix
IX
scorseqrule_rul_ix
filter_config
PK
id  
BIGINT(10)
NN
AK
filter  
VARCHAR(32)
NN
AK
contextid  
BIGINT(10)
NN
AK
name  
VARCHAR(255)
NN
value  
LONGTEXT
KEY
PRIMARY
KEY
filtconf_confilnam_uix
IX
filtconf_con_ix
course_sections
PK
id  
BIGINT(10)
NN
AK
course  
BIGINT(10)
NN
AK
section  
BIGINT(10)
NN
name  
VARCHAR(255)
summary  
LONGTEXT
summaryformat  
TINYINT(2)
NN
sequence  
LONGTEXT
visible  
TINYINT(1)
NN
availability  
LONGTEXT
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
coursect_cousec_uix
role
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
AK
shortname  
VARCHAR(100)
NN
description  
LONGTEXT
NN
AK
sortorder  
BIGINT(10)
NN
archetype  
VARCHAR(30)
NN
KEY
PRIMARY
KEY
role_sor_uix
KEY
role_sho_uix
repository_instance_config
PK
id  
BIGINT(10)
NN
instanceid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
value  
LONGTEXT
KEY
PRIMARY
workshopform_numerrors
PK
id  
BIGINT(10)
NN
workshopid  
BIGINT(10)
NN
sort  
BIGINT(10)
description  
LONGTEXT
descriptionformat  
SMALLINT(3)
descriptiontrust  
BIGINT(10)
grade0  
VARCHAR(50)
grade1  
VARCHAR(50)
weight  
MEDIUMINT(5)
KEY
PRIMARY
IX
worknume_wor_ix
workshop_grades
PK
id  
BIGINT(10)
NN
AK
assessmentid  
BIGINT(10)
NN
AK
strategy  
VARCHAR(30)
NN
AK
dimensionid  
BIGINT(10)
NN
grade  
DECIMAL(10,5)
peercomment  
LONGTEXT
peercommentformat  
SMALLINT(3)
KEY
PRIMARY
KEY
workgrad_assstrdim_uix
IX
workgrad_ass_ix
gradingform_rubric_levels
PK
id  
BIGINT(10)
NN
criterionid  
BIGINT(10)
NN
score  
DECIMAL(10,5)
NN
definition  
LONGTEXT
definitionformat  
BIGINT(10)
KEY
PRIMARY
IX
gradrubrleve_cri_ix
badge
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
description  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usercreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
issuername  
VARCHAR(255)
NN
issuerurl  
VARCHAR(255)
NN
issuercontact  
VARCHAR(255)
expiredate  
BIGINT(10)
expireperiod  
BIGINT(10)
type  
TINYINT(1)
NN
courseid  
BIGINT(10)
message  
LONGTEXT
NN
messagesubject  
LONGTEXT
NN
attachment  
TINYINT(1)
NN
notification  
TINYINT(1)
NN
status  
TINYINT(1)
NN
nextcron  
BIGINT(10)
version  
VARCHAR(255)
language  
VARCHAR(255)
imageauthorname  
VARCHAR(255)
imageauthoremail  
VARCHAR(255)
imageauthorurl  
VARCHAR(255)
imagecaption  
LONGTEXT
KEY
PRIMARY
IX
badg_typ_ix
IX
badg_cou_ix
IX
badg_use_ix
IX
badg_use2_ix
block_rss_client
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
title  
LONGTEXT
NN
preferredtitle  
VARCHAR(64)
NN
description  
LONGTEXT
NN
shared  
TINYINT(2)
NN
url  
VARCHAR(255)
NN
skiptime  
BIGINT(10)
NN
skipuntil  
BIGINT(10)
NN
KEY
PRIMARY
grading_definitions
PK
id  
BIGINT(10)
NN
AK
areaid  
BIGINT(10)
NN
AK
method  
VARCHAR(100)
NN
name  
VARCHAR(255)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
status  
BIGINT(10)
NN
copiedfromid  
BIGINT(10)
timecreated  
BIGINT(10)
NN
usercreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecopied  
BIGINT(10)
options  
LONGTEXT
KEY
PRIMARY
KEY
graddefi_aremet_uix
IX
graddefi_are_ix
IX
graddefi_use_ix
IX
graddefi_use2_ix
badge_criteria_met
PK
id  
BIGINT(10)
NN
issuedid  
BIGINT(10)
critid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
datemet  
BIGINT(10)
NN
KEY
PRIMARY
IX
badgcritmet_cri_ix
IX
badgcritmet_use_ix
IX
badgcritmet_iss_ix
oauth2_refresh_token
PK
id  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
issuerid  
BIGINT(10)
NN
token  
LONGTEXT
NN
AK
scopehash  
VARCHAR(40)
NN
KEY
PRIMARY
KEY
oautrefrtoke_useisssco_uix
IX
oautrefrtoke_iss_ix
IX
oautrefrtoke_use_ix
scale_history
PK
id  
BIGINT(10)
NN
action  
BIGINT(10)
NN
oldid  
BIGINT(10)
NN
source  
VARCHAR(255)
timemodified  
BIGINT(10)
loggeduser  
BIGINT(10)
courseid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
scale  
LONGTEXT
NN
description  
LONGTEXT
NN
KEY
PRIMARY
IX
scalhist_act_ix
IX
scalhist_tim_ix
IX
scalhist_old_ix
IX
scalhist_cou_ix
IX
scalhist_log_ix
IX
scalhist_use_ix
question_references
PK
id  
BIGINT(10)
NN
AK
usingcontextid  
BIGINT(10)
NN
AK
component  
VARCHAR(100)
AK
questionarea  
VARCHAR(50)
AK
itemid  
BIGINT(10)
questionbankentryid  
BIGINT(10)
NN
version  
BIGINT(10)
KEY
PRIMARY
KEY
quesrefe_usicomqueite_uix
IX
quesrefe_usi_ix
IX
quesrefe_que_ix
enrol_lti_lti2_nonce
PK
id  
BIGINT(11)
NN
consumerid  
BIGINT(11)
NN
value  
VARCHAR(64)
NN
expires  
BIGINT(10)
NN
KEY
PRIMARY
IX
enroltilti2nonc_con_ix
analytics_models_log
PK
id  
BIGINT(10)
NN
modelid  
BIGINT(10)
NN
version  
BIGINT(10)
NN
evaluationmode  
VARCHAR(50)
NN
target  
VARCHAR(255)
NN
indicators  
LONGTEXT
NN
timesplitting  
VARCHAR(255)
score  
DECIMAL(10,5)
NN
info  
LONGTEXT
dir  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
analmodelog_mod_ix
IX
analmodelog_use_ix
event_subscriptions
PK
id  
BIGINT(10)
NN
url  
VARCHAR(255)
NN
categoryid  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
groupid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
eventtype  
VARCHAR(20)
NN
pollinterval  
BIGINT(10)
NN
lastupdated  
BIGINT(10)
name  
VARCHAR(255)
NN
KEY
PRIMARY
IX
evensubs_cou_ix
IX
evensubs_use_ix
analytics_prediction_actions
PK
id  
BIGINT(10)
NN
predictionid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
actionname  
VARCHAR(255)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
analpredacti_preuseact_ix
IX
analpredacti_pre_ix
IX
analpredacti_use_ix
feedback_value
PK
id  
BIGINT(10)
NN
AK
course_id  
BIGINT(10)
NN
AK
item  
BIGINT(10)
NN
AK
completed  
BIGINT(10)
NN
tmp_completed  
BIGINT(10)
NN
value  
LONGTEXT
NN
KEY
PRIMARY
KEY
feedvalu_comitecou_uix
IX
feedvalu_cou_ix
IX
feedvalu_ite_ix
external_functions
PK
id  
BIGINT(10)
NN
AK
name  
VARCHAR(200)
NN
classname  
VARCHAR(100)
NN
methodname  
VARCHAR(100)
NN
classpath  
VARCHAR(255)
component  
VARCHAR(100)
NN
capabilities  
VARCHAR(255)
services  
VARCHAR(1333)
KEY
PRIMARY
KEY
extefunc_nam_uix
cache_filters
PK
id  
BIGINT(10)
NN
filter  
VARCHAR(32)
NN
version  
BIGINT(10)
NN
md5key  
VARCHAR(32)
NN
rawtext  
LONGTEXT
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
cachfilt_filmd5_ix
adminpresets_app_it
PK
id  
BIGINT(10)
NN
adminpresetapplyid  
BIGINT(10)
NN
configlogid  
BIGINT(10)
NN
KEY
PRIMARY
IX
admiappit_con_ix
IX
admiappit_adm_ix
lesson
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
practice  
SMALLINT(3)
NN
modattempts  
SMALLINT(3)
NN
usepassword  
SMALLINT(3)
NN
password  
VARCHAR(32)
NN
dependency  
BIGINT(10)
NN
conditions  
LONGTEXT
NN
grade  
BIGINT(10)
NN
custom  
SMALLINT(3)
NN
ongoing  
SMALLINT(3)
NN
usemaxgrade  
SMALLINT(3)
NN
maxanswers  
SMALLINT(3)
NN
maxattempts  
SMALLINT(3)
NN
review  
SMALLINT(3)
NN
nextpagedefault  
SMALLINT(3)
NN
feedback  
SMALLINT(3)
NN
minquestions  
SMALLINT(3)
NN
maxpages  
SMALLINT(3)
NN
timelimit  
BIGINT(10)
NN
retake  
SMALLINT(3)
NN
activitylink  
BIGINT(10)
NN
mediafile  
VARCHAR(255)
NN
mediaheight  
BIGINT(10)
NN
mediawidth  
BIGINT(10)
NN
mediaclose  
SMALLINT(3)
NN
slideshow  
SMALLINT(3)
NN
width  
BIGINT(10)
NN
height  
BIGINT(10)
NN
bgcolor  
VARCHAR(7)
NN
displayleft  
SMALLINT(3)
NN
displayleftif  
SMALLINT(3)
NN
progressbar  
SMALLINT(3)
NN
available  
BIGINT(10)
NN
deadline  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
completionendreached  
TINYINT(1)
completiontimespent  
BIGINT(11)
allowofflineattempts  
TINYINT(1)
KEY
PRIMARY
IX
less_cou_ix
messages
PK
id  
BIGINT(10)
NN
useridfrom  
BIGINT(10)
NN
conversationid  
BIGINT(10)
NN
subject  
LONGTEXT
fullmessage  
LONGTEXT
fullmessageformat  
TINYINT(1)
NN
fullmessagehtml  
LONGTEXT
smallmessage  
LONGTEXT
timecreated  
BIGINT(10)
NN
fullmessagetrust  
TINYINT(2)
NN
customdata  
LONGTEXT
KEY
PRIMARY
IX
mess_contim_ix
IX
mess_use_ix
IX
mess_con_ix
lesson_grades
PK
id  
BIGINT(10)
NN
lessonid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
grade  
DOUBLE
NN
late  
SMALLINT(3)
NN
completed  
BIGINT(10)
NN
KEY
PRIMARY
IX
lessgrad_use_ix
IX
lessgrad_les_ix
qtype_match_subquestions
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
questiontext  
LONGTEXT
NN
questiontextformat  
TINYINT(2)
NN
answertext  
VARCHAR(255)
NN
KEY
PRIMARY
IX
qtypmatcsubq_que_ix
scorm
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
scormtype  
VARCHAR(50)
NN
reference  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
version  
VARCHAR(9)
NN
maxgrade  
DOUBLE
NN
grademethod  
TINYINT(2)
NN
whatgrade  
BIGINT(10)
NN
maxattempt  
BIGINT(10)
NN
forcecompleted  
TINYINT(1)
NN
forcenewattempt  
TINYINT(1)
NN
lastattemptlock  
TINYINT(1)
NN
masteryoverride  
TINYINT(1)
NN
displayattemptstatus  
TINYINT(1)
NN
displaycoursestructure  
TINYINT(1)
NN
updatefreq  
TINYINT(1)
NN
sha1hash  
VARCHAR(40)
md5hash  
VARCHAR(32)
NN
revision  
BIGINT(10)
NN
launch  
BIGINT(10)
NN
skipview  
TINYINT(1)
NN
hidebrowse  
TINYINT(1)
NN
hidetoc  
TINYINT(1)
NN
nav  
TINYINT(1)
NN
navpositionleft  
BIGINT(10)
navpositiontop  
BIGINT(10)
auto  
TINYINT(1)
NN
popup  
TINYINT(1)
NN
options  
VARCHAR(255)
NN
width  
BIGINT(10)
NN
height  
BIGINT(10)
NN
timeopen  
BIGINT(10)
NN
timeclose  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
completionstatusrequired  
TINYINT(1)
completionscorerequired  
BIGINT(10)
completionstatusallscos  
TINYINT(1)
autocommit  
TINYINT(1)
NN
KEY
PRIMARY
IX
scor_cou_ix
adminpresets
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
comments  
LONGTEXT
site  
VARCHAR(255)
NN
author  
VARCHAR(255)
moodleversion  
VARCHAR(20)
NN
moodlerelease  
VARCHAR(255)
NN
iscore  
TINYINT(1)
NN
timecreated  
BIGINT(10)
NN
timeimported  
BIGINT(10)
NN
KEY
PRIMARY
profiling
PK
id  
BIGINT(10)
NN
AK
runid  
VARCHAR(32)
NN
url  
VARCHAR(255)
NN
data  
LONGTEXT
NN
totalexecutiontime  
BIGINT(10)
NN
totalcputime  
BIGINT(10)
NN
totalcalls  
BIGINT(10)
NN
totalmemory  
BIGINT(10)
NN
runreference  
TINYINT(2)
NN
runcomment  
VARCHAR(255)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
KEY
prof_run_uix
IX
prof_urlrun_ix
IX
prof_timrun_ix
role_assignments
PK
id  
BIGINT(10)
NN
roleid  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
modifierid  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
itemid  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
KEY
PRIMARY
IX
roleassi_sor_ix
IX
roleassi_rolcon_ix
IX
roleassi_useconrol_ix
IX
roleassi_comiteuse_ix
IX
roleassi_rol_ix
IX
roleassi_con_ix
IX
roleassi_use_ix
question_response_count
PK
id  
BIGINT(10)
NN
analysisid  
BIGINT(10)
NN
try  
BIGINT(10)
NN
rcount  
BIGINT(10)
NN
KEY
PRIMARY
IX
quesrespcoun_ana_ix
h5p_library_dependencies
PK
id  
BIGINT(10)
NN
libraryid  
BIGINT(10)
NN
requiredlibraryid  
BIGINT(10)
NN
dependencytype  
VARCHAR(255)
NN
KEY
PRIMARY
IX
h5plibrdepe_lib_ix
IX
h5plibrdepe_req_ix
enrol_lti_lti2_consumer
PK
id  
BIGINT(11)
NN
name  
VARCHAR(50)
NN
AK
consumerkey256  
VARCHAR(255)
NN
consumerkey  
LONGTEXT
secret  
VARCHAR(1024)
NN
ltiversion  
VARCHAR(10)
consumername  
VARCHAR(255)
consumerversion  
VARCHAR(255)
consumerguid  
VARCHAR(1024)
profile  
LONGTEXT
toolproxy  
LONGTEXT
settings  
LONGTEXT
protected  
TINYINT(1)
NN
enabled  
TINYINT(1)
NN
enablefrom  
BIGINT(10)
enableuntil  
BIGINT(10)
lastaccess  
BIGINT(10)
created  
BIGINT(10)
NN
updated  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enroltilti2cons_con_uix
tool_recyclebin_course
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
section  
BIGINT(10)
NN
module  
BIGINT(10)
NN
name  
VARCHAR(255)
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
toolrecycour_tim_ix
IX
toolrecycour_cou_ix
tool_monitor_history
PK
id  
BIGINT(10)
NN
AK
sid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
timesent  
BIGINT(10)
NN
KEY
PRIMARY
KEY
toolmonihist_sidusetim_uix
IX
toolmonihist_sid_ix
mnet_service
PK
id  
BIGINT(10)
NN
name  
VARCHAR(40)
NN
description  
VARCHAR(40)
NN
apiversion  
VARCHAR(10)
NN
offer  
TINYINT(1)
NN
KEY
PRIMARY
assign_grades
PK
id  
BIGINT(10)
NN
AK
assignment  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
grader  
BIGINT(10)
NN
grade  
DECIMAL(10,5)
AK
attemptnumber  
BIGINT(10)
NN
KEY
PRIMARY
KEY
assigrad_assuseatt_uix
IX
assigrad_use_ix
IX
assigrad_att_ix
IX
assigrad_ass_ix
config_log
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
plugin  
VARCHAR(100)
name  
VARCHAR(100)
NN
value  
LONGTEXT
oldvalue  
LONGTEXT
KEY
PRIMARY
IX
conflog_tim_ix
IX
conflog_use_ix
question_calculated_options
PK
id  
BIGINT(10)
NN
question  
BIGINT(10)
NN
synchronize  
TINYINT(2)
NN
single  
SMALLINT(4)
NN
shuffleanswers  
SMALLINT(4)
NN
correctfeedback  
LONGTEXT
correctfeedbackformat  
TINYINT(2)
NN
partiallycorrectfeedback  
LONGTEXT
partiallycorrectfeedbackformat  
TINYINT(2)
NN
incorrectfeedback  
LONGTEXT
incorrectfeedbackformat  
TINYINT(2)
NN
answernumbering  
VARCHAR(10)
NN
shownumcorrect  
TINYINT(2)
NN
KEY
PRIMARY
IX
quescalcopti_que_ix
course
PK
id  
BIGINT(10)
NN
category  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
fullname  
VARCHAR(254)
NN
shortname  
VARCHAR(255)
NN
idnumber  
VARCHAR(100)
NN
summary  
LONGTEXT
summaryformat  
TINYINT(2)
NN
format  
VARCHAR(21)
NN
showgrades  
TINYINT(2)
NN
newsitems  
MEDIUMINT(5)
NN
startdate  
BIGINT(10)
NN
enddate  
BIGINT(10)
NN
relativedatesmode  
TINYINT(1)
NN
marker  
BIGINT(10)
NN
maxbytes  
BIGINT(10)
NN
legacyfiles  
SMALLINT(4)
NN
showreports  
SMALLINT(4)
NN
visible  
TINYINT(1)
NN
visibleold  
TINYINT(1)
NN
downloadcontent  
TINYINT(1)
groupmode  
SMALLINT(4)
NN
groupmodeforce  
SMALLINT(4)
NN
defaultgroupingid  
BIGINT(10)
NN
lang  
VARCHAR(30)
NN
calendartype  
VARCHAR(30)
NN
theme  
VARCHAR(50)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
requested  
TINYINT(1)
NN
enablecompletion  
TINYINT(1)
NN
completionnotify  
TINYINT(1)
NN
cacherev  
BIGINT(10)
NN
originalcourseid  
BIGINT(10)
showactivitydates  
TINYINT(1)
NN
showcompletionconditions  
TINYINT(1)
pdfexportfont  
VARCHAR(50)
KEY
PRIMARY
IX
cour_cat_ix
IX
cour_idn_ix
IX
cour_sho_ix
IX
cour_sor_ix
IX
cour_ori_ix
qtype_ddimageortext_drags
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
no  
BIGINT(10)
NN
draggroup  
BIGINT(10)
NN
infinite  
SMALLINT(4)
NN
label  
LONGTEXT
NN
KEY
PRIMARY
IX
qtypddimdrag_que_ix
grade_outcomes_history
PK
id  
BIGINT(10)
NN
action  
BIGINT(10)
NN
oldid  
BIGINT(10)
NN
source  
VARCHAR(255)
timemodified  
BIGINT(10)
loggeduser  
BIGINT(10)
courseid  
BIGINT(10)
shortname  
VARCHAR(255)
NN
fullname  
LONGTEXT
NN
scaleid  
BIGINT(10)
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
KEY
PRIMARY
IX
gradoutchist_act_ix
IX
gradoutchist_tim_ix
IX
gradoutchist_old_ix
IX
gradoutchist_cou_ix
IX
gradoutchist_sca_ix
IX
gradoutchist_log_ix
external_services_functions
PK
id  
BIGINT(10)
NN
externalserviceid  
BIGINT(10)
NN
functionname  
VARCHAR(200)
NN
KEY
PRIMARY
IX
exteservfunc_ext_ix
events_queue
PK
id  
BIGINT(10)
NN
eventdata  
LONGTEXT
NN
stackdump  
LONGTEXT
userid  
BIGINT(10)
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
evenqueu_use_ix
wiki_links
PK
id  
BIGINT(10)
NN
subwikiid  
BIGINT(10)
NN
frompageid  
BIGINT(10)
NN
topageid  
BIGINT(10)
NN
tomissingpage  
VARCHAR(255)
KEY
PRIMARY
IX
wikilink_fro_ix
IX
wikilink_sub_ix
message_popup_notifications
PK
id  
BIGINT(10)
NN
notificationid  
BIGINT(10)
NN
KEY
PRIMARY
IX
messpopunoti_not_ix
badge_alignment
PK
id  
BIGINT(10)
NN
badgeid  
BIGINT(10)
NN
targetname  
VARCHAR(255)
NN
targeturl  
VARCHAR(255)
NN
targetdescription  
LONGTEXT
targetframework  
VARCHAR(255)
targetcode  
VARCHAR(255)
KEY
PRIMARY
IX
badgalig_bad_ix
adminpresets_plug
PK
id  
BIGINT(10)
NN
adminpresetid  
BIGINT(10)
NN
plugin  
VARCHAR(100)
name  
VARCHAR(100)
NN
enabled  
SMALLINT(4)
NN
KEY
PRIMARY
IX
admiplug_adm_ix
tool_brickfield_errors
PK
id  
BIGINT(10)
NN
resultid  
BIGINT(10)
NN
linenumber  
BIGINT(10)
NN
errordata  
LONGTEXT
htmlcode  
LONGTEXT
KEY
PRIMARY
IX
toolbricerro_res_ix
wiki
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
firstpagetitle  
VARCHAR(255)
NN
wikimode  
VARCHAR(20)
NN
defaultformat  
VARCHAR(20)
NN
forceformat  
TINYINT(1)
NN
editbegin  
BIGINT(10)
NN
editend  
BIGINT(10)
KEY
PRIMARY
IX
wiki_cou_ix
reportbuilder_column
PK
id  
BIGINT(10)
NN
reportid  
BIGINT(10)
NN
uniqueidentifier  
VARCHAR(255)
NN
aggregation  
VARCHAR(32)
heading  
VARCHAR(255)
columnorder  
BIGINT(10)
NN
sortenabled  
TINYINT(1)
NN
sortdirection  
TINYINT(1)
NN
sortorder  
BIGINT(10)
usercreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
repocolu_rep_ix
IX
repocolu_use_ix
IX
repocolu_use2_ix
badge_external_identifier
PK
id  
BIGINT(10)
NN
AK
sitebackpackid  
BIGINT(10)
NN
AK
internalid  
VARCHAR(128)
NN
AK
externalid  
VARCHAR(128)
NN
AK
type  
VARCHAR(16)
NN
KEY
PRIMARY
KEY
badgexteiden_sitintexttyp_uix
IX
badgexteiden_sit_ix
scorm_aicc_session
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
scormid  
BIGINT(10)
NN
hacpsession  
VARCHAR(255)
NN
scoid  
BIGINT(10)
scormmode  
VARCHAR(50)
scormstatus  
VARCHAR(255)
attempt  
BIGINT(10)
lessonstatus  
VARCHAR(255)
sessiontime  
VARCHAR(255)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
scoraiccsess_sco_ix
IX
scoraiccsess_use_ix
analytics_models
PK
id  
BIGINT(10)
NN
enabled  
TINYINT(1)
NN
trained  
TINYINT(1)
NN
name  
VARCHAR(1333)
target  
VARCHAR(255)
NN
indicators  
LONGTEXT
NN
timesplitting  
VARCHAR(255)
predictionsprocessor  
VARCHAR(255)
version  
BIGINT(10)
NN
contextids  
LONGTEXT
timecreated  
BIGINT(10)
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
analmode_enatra_ix
IX
analmode_use_ix
tag
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
AK
tagcollid  
BIGINT(10)
NN
AK
name  
VARCHAR(255)
NN
rawname  
VARCHAR(255)
NN
isstandard  
TINYINT(1)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
flag  
SMALLINT(4)
timemodified  
BIGINT(10)
KEY
PRIMARY
KEY
tag_tagnam_uix
IX
tag_tagiss_ix
IX
tag_use_ix
IX
tag_tag_ix
competency_userevidence
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
name  
VARCHAR(100)
NN
description  
LONGTEXT
NN
descriptionformat  
TINYINT(1)
NN
url  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
compuser_use4_ix
IX
compuser_use5_ix
tool_recyclebin_category
PK
id  
BIGINT(10)
NN
categoryid  
BIGINT(10)
NN
shortname  
VARCHAR(255)
NN
fullname  
VARCHAR(255)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
toolrecycate_tim_ix
IX
toolrecycate_cat_ix
config
PK
id  
BIGINT(10)
NN
AK
name  
VARCHAR(255)
NN
value  
LONGTEXT
NN
KEY
PRIMARY
KEY
conf_nam_uix
qtype_ddmarker
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
shuffleanswers  
SMALLINT(4)
NN
correctfeedback  
LONGTEXT
NN
correctfeedbackformat  
TINYINT(2)
NN
partiallycorrectfeedback  
LONGTEXT
NN
partiallycorrectfeedbackformat  
TINYINT(2)
NN
incorrectfeedback  
LONGTEXT
NN
incorrectfeedbackformat  
TINYINT(2)
NN
shownumcorrect  
TINYINT(2)
NN
showmisplaced  
SMALLINT(4)
NN
KEY
PRIMARY
IX
qtypddma_que_ix
block_recentlyaccesseditems
PK
id  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
AK
cmid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
timeaccess  
BIGINT(10)
NN
KEY
PRIMARY
KEY
blocrece_usecoucmi_uix
IX
blocrece_use_ix
IX
blocrece_cou_ix
IX
blocrece_cmi_ix
survey_analysis
PK
id  
BIGINT(10)
NN
survey  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
notes  
LONGTEXT
NN
KEY
PRIMARY
IX
survanal_use_ix
IX
survanal_sur_ix
enrol_lti_user_resource_link
PK
id  
BIGINT(10)
NN
AK
ltiuserid  
BIGINT(10)
NN
AK
resourcelinkid  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enroltiuserresolink_ltires_uix
IX
enroltiuserresolink_lti_ix
IX
enroltiuserresolink_res_ix
portfolio_log
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
time  
BIGINT(10)
NN
portfolio  
BIGINT(10)
NN
caller_class  
VARCHAR(150)
NN
caller_file  
VARCHAR(255)
NN
caller_component  
VARCHAR(255)
caller_sha1  
VARCHAR(255)
NN
tempdataid  
BIGINT(10)
NN
returnurl  
VARCHAR(255)
NN
continueurl  
VARCHAR(255)
NN
KEY
PRIMARY
IX
portlog_use_ix
IX
portlog_por_ix
IX
portlog_tem_ix
lesson_overrides
PK
id  
BIGINT(10)
NN
lessonid  
BIGINT(10)
NN
groupid  
BIGINT(10)
userid  
BIGINT(10)
available  
BIGINT(10)
deadline  
BIGINT(10)
timelimit  
BIGINT(10)
review  
SMALLINT(3)
maxattempts  
SMALLINT(3)
retake  
SMALLINT(3)
password  
VARCHAR(32)
KEY
PRIMARY
IX
lessover_les_ix
IX
lessover_gro_ix
IX
lessover_use_ix
forum_digests
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
forum  
BIGINT(10)
NN
AK
maildigest  
TINYINT(1)
NN
KEY
PRIMARY
KEY
forudige_forusemai_uix
IX
forudige_use_ix
IX
forudige_for_ix
question_attempt_steps
PK
id  
BIGINT(10)
NN
AK
questionattemptid  
BIGINT(10)
NN
AK
sequencenumber  
BIGINT(10)
NN
state  
VARCHAR(13)
NN
fraction  
DECIMAL(12,7)
timecreated  
BIGINT(10)
NN
userid  
BIGINT(10)
KEY
PRIMARY
KEY
quesattestep_queseq_uix
IX
quesattestep_que_ix
IX
quesattestep_use_ix
competency_usercompcourse
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
AK
competencyid  
BIGINT(10)
NN
proficiency  
TINYINT(2)
grade  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
compuser_usecoucom_uix
IX
compuser_use2_ix
quiz_overrides
PK
id  
BIGINT(10)
NN
quiz  
BIGINT(10)
NN
groupid  
BIGINT(10)
userid  
BIGINT(10)
timeopen  
BIGINT(10)
timeclose  
BIGINT(10)
timelimit  
BIGINT(10)
attempts  
MEDIUMINT(6)
password  
VARCHAR(255)
KEY
PRIMARY
IX
quizover_qui_ix
IX
quizover_gro_ix
IX
quizover_use_ix
message_read
PK
id  
BIGINT(10)
NN
useridfrom  
BIGINT(10)
NN
useridto  
BIGINT(10)
NN
subject  
LONGTEXT
fullmessage  
LONGTEXT
fullmessageformat  
SMALLINT(4)
fullmessagehtml  
LONGTEXT
smallmessage  
LONGTEXT
notification  
TINYINT(1)
contexturl  
LONGTEXT
contexturlname  
LONGTEXT
timecreated  
BIGINT(10)
NN
timeread  
BIGINT(10)
NN
timeuserfromdeleted  
BIGINT(10)
NN
timeusertodeleted  
BIGINT(10)
NN
component  
VARCHAR(100)
eventtype  
VARCHAR(100)
KEY
PRIMARY
IX
messread_useusetimtim_ix
IX
messread_nottim_ix
IX
messread_usetimnot_ix
IX
messread_usetimnot2_ix
user_info_category
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
sortorder  
BIGINT(10)
NN
KEY
PRIMARY
analytics_predictions
PK
id  
BIGINT(10)
NN
modelid  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
sampleid  
BIGINT(10)
NN
rangeindex  
MEDIUMINT(5)
NN
prediction  
DECIMAL(10,2)
NN
predictionscore  
DECIMAL(10,5)
NN
calculations  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
timestart  
BIGINT(10)
timeend  
BIGINT(10)
KEY
PRIMARY
IX
analpred_modcon_ix
IX
analpred_mod_ix
IX
analpred_con_ix
mnetservice_enrol_courses
PK
id  
BIGINT(10)
NN
AK
hostid  
BIGINT(10)
NN
AK
remoteid  
BIGINT(10)
NN
categoryid  
BIGINT(10)
NN
categoryname  
VARCHAR(255)
NN
sortorder  
BIGINT(10)
NN
fullname  
VARCHAR(254)
NN
shortname  
VARCHAR(100)
NN
idnumber  
VARCHAR(100)
NN
summary  
LONGTEXT
NN
summaryformat  
SMALLINT(3)
startdate  
BIGINT(10)
NN
roleid  
BIGINT(10)
NN
rolename  
VARCHAR(255)
NN
KEY
PRIMARY
KEY
mnetenrocour_hosrem_uix
stats_monthly
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
roleid  
BIGINT(10)
NN
stattype  
VARCHAR(20)
NN
stat1  
BIGINT(10)
NN
stat2  
BIGINT(10)
NN
KEY
PRIMARY
IX
statmont_cou_ix
IX
statmont_tim_ix
IX
statmont_rol_ix
search_simpledb_index
PK
id  
BIGINT(10)
NN
AK
docid  
VARCHAR(255)
NN
itemid  
BIGINT(10)
NN
title  
LONGTEXT
content  
LONGTEXT
contextid  
BIGINT(10)
NN
areaid  
VARCHAR(255)
NN
type  
TINYINT(1)
NN
courseid  
BIGINT(10)
NN
owneruserid  
BIGINT(10)
modified  
BIGINT(10)
NN
userid  
BIGINT(10)
description1  
LONGTEXT
description2  
LONGTEXT
KEY
PRIMARY
KEY
searsimpinde_doc_uix
IX
searsimpinde_owncon_ix
IX
searsimpinde_con_ix
IX
searsimpinde_cou_ix
IX
searsimpinde_are_ix
IX
search_simpledb_index_index
course_completion_aggr_methd
PK
id  
BIGINT(10)
NN
AK
course  
BIGINT(10)
NN
AK
criteriatype  
BIGINT(10)
method  
TINYINT(1)
NN
value  
DECIMAL(10,5)
KEY
PRIMARY
KEY
courcompaggrmeth_coucri_uix
IX
courcompaggrmeth_cou_ix
IX
courcompaggrmeth_cri_ix
grading_areas
PK
id  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
NN
AK
component  
VARCHAR(100)
NN
AK
areaname  
VARCHAR(100)
NN
activemethod  
VARCHAR(100)
KEY
PRIMARY
KEY
gradarea_concomare_uix
IX
gradarea_con_ix
course_request
PK
id  
BIGINT(10)
NN
fullname  
VARCHAR(254)
NN
shortname  
VARCHAR(100)
NN
summary  
LONGTEXT
NN
summaryformat  
TINYINT(2)
NN
category  
BIGINT(10)
NN
reason  
LONGTEXT
NN
requester  
BIGINT(10)
NN
password  
VARCHAR(50)
NN
KEY
PRIMARY
IX
courrequ_sho_ix
auth_oauth2_linked_login
PK
id  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
issuerid  
BIGINT(10)
NN
AK
username  
VARCHAR(255)
NN
email  
LONGTEXT
NN
confirmtoken  
VARCHAR(64)
NN
confirmtokenexpires  
BIGINT(10)
KEY
PRIMARY
KEY
authoautlinklogi_useissuse_uix
IX
authoautlinklogi_issuse_ix
IX
authoautlinklogi_use_ix
IX
authoautlinklogi_use2_ix
IX
authoautlinklogi_iss_ix
cohort_members
PK
id  
BIGINT(10)
NN
AK
cohortid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
timeadded  
BIGINT(10)
NN
KEY
PRIMARY
KEY
cohomemb_cohuse_uix
IX
cohomemb_coh_ix
IX
cohomemb_use_ix
stats_user_daily
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
roleid  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
statsreads  
BIGINT(10)
NN
statswrites  
BIGINT(10)
NN
stattype  
VARCHAR(30)
NN
KEY
PRIMARY
IX
statuserdail_cou_ix
IX
statuserdail_use_ix
IX
statuserdail_rol_ix
IX
statuserdail_tim_ix
workshopeval_best_settings
PK
id  
BIGINT(10)
NN
AK
workshopid  
BIGINT(10)
NN
comparison  
SMALLINT(3)
KEY
PRIMARY
KEY
workbestsett_wor_uix
badge_manual_award
PK
id  
BIGINT(10)
NN
badgeid  
BIGINT(10)
NN
recipientid  
BIGINT(10)
NN
issuerid  
BIGINT(10)
NN
issuerrole  
BIGINT(10)
NN
datemet  
BIGINT(10)
NN
KEY
PRIMARY
IX
badgmanuawar_bad_ix
IX
badgmanuawar_rec_ix
IX
badgmanuawar_iss_ix
IX
badgmanuawar_iss2_ix
competency_templatecomp
PK
id  
BIGINT(10)
NN
templateid  
BIGINT(10)
NN
competencyid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
sortorder  
BIGINT(10)
KEY
PRIMARY
IX
comptemp_tem_ix
IX
comptemp_com_ix
IX
comptemp_use2_ix
backup_logs
PK
id  
BIGINT(10)
NN
AK
backupid  
VARCHAR(32)
NN
loglevel  
SMALLINT(4)
NN
message  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
KEY
backlogs_bacid_uix
IX
backlogs_bac_ix
assignfeedback_editpdf_quick
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
rawtext  
LONGTEXT
NN
width  
BIGINT(10)
NN
colour  
VARCHAR(10)
KEY
PRIMARY
IX
assieditquic_use_ix
question_numerical_options
PK
id  
BIGINT(10)
NN
question  
BIGINT(10)
NN
showunits  
SMALLINT(4)
NN
unitsleft  
SMALLINT(4)
NN
unitgradingtype  
SMALLINT(4)
NN
unitpenalty  
DECIMAL(12,7)
NN
KEY
PRIMARY
IX
quesnumeopti_que_ix
competency_template
PK
id  
BIGINT(10)
NN
shortname  
VARCHAR(100)
contextid  
BIGINT(10)
NN
description  
LONGTEXT
descriptionformat  
SMALLINT(4)
NN
visible  
TINYINT(2)
NN
duedate  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
KEY
PRIMARY
IX
comptemp_con_ix
IX
comptemp_use_ix
groupings_groups
PK
id  
BIGINT(10)
NN
groupingid  
BIGINT(10)
NN
groupid  
BIGINT(10)
NN
timeadded  
BIGINT(10)
NN
KEY
PRIMARY
IX
grougrou_gro_ix
IX
grougrou_gro2_ix
repository
PK
id  
BIGINT(10)
NN
type  
VARCHAR(255)
NN
visible  
TINYINT(1)
sortorder  
BIGINT(10)
NN
KEY
PRIMARY
reportbuilder_report
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
source  
VARCHAR(255)
NN
type  
TINYINT(2)
NN
uniquerows  
TINYINT(1)
NN
conditiondata  
LONGTEXT
settingsdata  
LONGTEXT
contextid  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
area  
VARCHAR(100)
NN
itemid  
BIGINT(10)
NN
usercreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
reporepo_use_ix
IX
reporepo_use2_ix
IX
reporepo_con_ix
lesson_attempts
PK
id  
BIGINT(10)
NN
lessonid  
BIGINT(10)
NN
pageid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
answerid  
BIGINT(10)
NN
retry  
SMALLINT(3)
NN
correct  
BIGINT(10)
NN
useranswer  
LONGTEXT
timeseen  
BIGINT(10)
NN
KEY
PRIMARY
IX
lessatte_use_ix
IX
lessatte_les_ix
IX
lessatte_pag_ix
IX
lessatte_ans_ix
question_numerical_units
PK
id  
BIGINT(10)
NN
AK
question  
BIGINT(10)
NN
multiplier  
DECIMAL(38,19)
NN
AK
unit  
VARCHAR(50)
NN
KEY
PRIMARY
KEY
quesnumeunit_queuni_uix
IX
quesnumeunit_que_ix
scorm_seq_mapinfo
PK
id  
BIGINT(10)
NN
AK
scoid  
BIGINT(10)
NN
AK
objectiveid  
BIGINT(10)
NN
targetobjectiveid  
BIGINT(10)
NN
readsatisfiedstatus  
TINYINT(1)
NN
readnormalizedmeasure  
TINYINT(1)
NN
writesatisfiedstatus  
TINYINT(1)
NN
writenormalizedmeasure  
TINYINT(1)
NN
KEY
PRIMARY
KEY
scorseqmapi_scoidobj_uix
IX
scorseqmapi_sco_ix
IX
scorseqmapi_obj_ix
qtype_ddmarker_drags
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
no  
BIGINT(10)
NN
label  
LONGTEXT
NN
infinite  
SMALLINT(4)
NN
noofdrags  
BIGINT(10)
NN
KEY
PRIMARY
IX
qtypddmadrag_que_ix
adminpresets_it_a
PK
id  
BIGINT(10)
NN
itemid  
BIGINT(10)
NN
name  
VARCHAR(100)
NN
value  
LONGTEXT
KEY
PRIMARY
IX
admiita_ite_ix
tag_instance
PK
id  
BIGINT(10)
NN
AK
tagid  
BIGINT(10)
NN
AK
component  
VARCHAR(100)
NN
AK
itemtype  
VARCHAR(100)
NN
AK
itemid  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
AK
tiuserid  
BIGINT(10)
NN
ordering  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
taginst_comiteitecontiutag_uix
IX
taginst_itecomtagcon_ix
IX
taginst_tag_ix
IX
taginst_con_ix
workshopform_rubric_levels
PK
id  
BIGINT(10)
NN
dimensionid  
BIGINT(10)
NN
grade  
DECIMAL(10,5)
NN
definition  
LONGTEXT
definitionformat  
SMALLINT(3)
KEY
PRIMARY
IX
workrubrleve_dim_ix
competency_plancomp
PK
id  
BIGINT(10)
NN
AK
planid  
BIGINT(10)
NN
AK
competencyid  
BIGINT(10)
NN
sortorder  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
compplan_placom_uix
IX
compplan_use2_ix
assignfeedback_editpdf_annot
PK
id  
BIGINT(10)
NN
gradeid  
BIGINT(10)
NN
pageno  
BIGINT(10)
NN
x  
BIGINT(10)
y  
BIGINT(10)
endx  
BIGINT(10)
endy  
BIGINT(10)
path  
LONGTEXT
type  
VARCHAR(10)
colour  
VARCHAR(10)
draft  
TINYINT(2)
NN
KEY
PRIMARY
IX
assieditanno_grapag_ix
IX
assieditanno_gra_ix
enrol_paypal
PK
id  
BIGINT(10)
NN
business  
VARCHAR(255)
NN
receiver_email  
VARCHAR(255)
NN
receiver_id  
VARCHAR(255)
NN
item_name  
VARCHAR(255)
NN
courseid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
instanceid  
BIGINT(10)
NN
memo  
VARCHAR(255)
NN
tax  
VARCHAR(255)
NN
option_name1  
VARCHAR(255)
NN
option_selection1_x  
VARCHAR(255)
NN
option_name2  
VARCHAR(255)
NN
option_selection2_x  
VARCHAR(255)
NN
payment_status  
VARCHAR(255)
NN
pending_reason  
VARCHAR(255)
NN
reason_code  
VARCHAR(30)
NN
txn_id  
VARCHAR(255)
NN
parent_txn_id  
VARCHAR(255)
NN
payment_type  
VARCHAR(30)
NN
timeupdated  
BIGINT(10)
NN
KEY
PRIMARY
IX
enropayp_bus_ix
IX
enropayp_rec_ix
IX
enropayp_cou_ix
IX
enropayp_use_ix
IX
enropayp_ins_ix
message_popup
PK
id  
BIGINT(10)
NN
AK
messageid  
BIGINT(10)
NN
AK
isread  
TINYINT(1)
NN
KEY
PRIMARY
KEY
messpopu_mesisr_uix
IX
messpopu_isr_ix
mnet_service2rpc
PK
id  
BIGINT(10)
NN
AK
serviceid  
BIGINT(10)
NN
AK
rpcid  
BIGINT(10)
NN
KEY
PRIMARY
KEY
mnetserv_rpcser_uix
feedback_completed
PK
id  
BIGINT(10)
NN
feedback  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
random_response  
BIGINT(10)
NN
anonymous_response  
TINYINT(1)
NN
courseid  
BIGINT(10)
NN
KEY
PRIMARY
IX
feedcomp_use_ix
IX
feedcomp_fee_ix
IX
feedcomp_cou_ix
assign
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
alwaysshowdescription  
TINYINT(2)
NN
nosubmissions  
TINYINT(2)
NN
submissiondrafts  
TINYINT(2)
NN
sendnotifications  
TINYINT(2)
NN
sendlatenotifications  
TINYINT(2)
NN
duedate  
BIGINT(10)
NN
allowsubmissionsfromdate  
BIGINT(10)
NN
grade  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
requiresubmissionstatement  
TINYINT(2)
NN
completionsubmit  
TINYINT(2)
NN
cutoffdate  
BIGINT(10)
NN
gradingduedate  
BIGINT(10)
NN
teamsubmission  
TINYINT(2)
NN
requireallteammemberssubmit  
TINYINT(2)
NN
teamsubmissiongroupingid  
BIGINT(10)
NN
blindmarking  
TINYINT(2)
NN
hidegrader  
TINYINT(2)
NN
revealidentities  
TINYINT(2)
NN
attemptreopenmethod  
VARCHAR(10)
NN
maxattempts  
MEDIUMINT(6)
NN
markingworkflow  
TINYINT(2)
NN
markingallocation  
TINYINT(2)
NN
sendstudentnotifications  
TINYINT(2)
NN
preventsubmissionnotingroup  
TINYINT(2)
NN
activity  
LONGTEXT
activityformat  
SMALLINT(4)
NN
timelimit  
BIGINT(10)
NN
submissionattachments  
TINYINT(2)
NN
KEY
PRIMARY
IX
assi_cou_ix
IX
assi_tea_ix
assign_user_mapping
PK
id  
BIGINT(10)
NN
assignment  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
KEY
PRIMARY
IX
assiusermapp_ass_ix
IX
assiusermapp_use_ix
course_completion_crit_compl
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
course  
BIGINT(10)
NN
AK
criteriaid  
BIGINT(10)
NN
gradefinal  
DECIMAL(10,5)
unenroled  
BIGINT(10)
timecompleted  
BIGINT(10)
KEY
PRIMARY
KEY
courcompcritcomp_usecoucri_uix
IX
courcompcritcomp_use_ix
IX
courcompcritcomp_cou_ix
IX
courcompcritcomp_cri_ix
IX
courcompcritcomp_tim_ix
mnet_host2service
PK
id  
BIGINT(10)
NN
AK
hostid  
BIGINT(10)
NN
AK
serviceid  
BIGINT(10)
NN
publish  
TINYINT(1)
NN
subscribe  
TINYINT(1)
NN
KEY
PRIMARY
KEY
mnethost_hosser_uix
assignsubmission_onlinetext
PK
id  
BIGINT(10)
NN
assignment  
BIGINT(10)
NN
submission  
BIGINT(10)
NN
onlinetext  
LONGTEXT
onlineformat  
SMALLINT(4)
NN
KEY
PRIMARY
IX
assionli_ass_ix
IX
assionli_sub_ix
forum_grades
PK
id  
BIGINT(10)
NN
AK
forum  
BIGINT(10)
NN
AK
itemnumber  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
grade  
DECIMAL(10,5)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
forugrad_foriteuse_uix
IX
forugrad_use_ix
IX
forugrad_for_ix
feedback_completedtmp
PK
id  
BIGINT(10)
NN
feedback  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
guestid  
VARCHAR(255)
NN
timemodified  
BIGINT(10)
NN
random_response  
BIGINT(10)
NN
anonymous_response  
TINYINT(1)
NN
courseid  
BIGINT(10)
NN
KEY
PRIMARY
IX
feedcomp_use2_ix
IX
feedcomp_fee2_ix
chat_messages
PK
id  
BIGINT(10)
NN
chatid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
groupid  
BIGINT(10)
NN
issystem  
TINYINT(1)
NN
message  
LONGTEXT
NN
timestamp  
BIGINT(10)
NN
KEY
PRIMARY
IX
chatmess_use_ix
IX
chatmess_gro_ix
IX
chatmess_timcha_ix
IX
chatmess_cha_ix
badge_endorsement
PK
id  
BIGINT(10)
NN
badgeid  
BIGINT(10)
NN
issuername  
VARCHAR(255)
NN
issuerurl  
VARCHAR(255)
NN
issueremail  
VARCHAR(255)
NN
claimid  
VARCHAR(255)
claimcomment  
LONGTEXT
dateissued  
BIGINT(10)
NN
KEY
PRIMARY
IX
badgendo_bad_ix
backup_courses
PK
id  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
laststarttime  
BIGINT(10)
NN
lastendtime  
BIGINT(10)
NN
laststatus  
VARCHAR(1)
NN
nextstarttime  
BIGINT(10)
NN
KEY
PRIMARY
KEY
backcour_cou_uix
enrol
PK
id  
BIGINT(10)
NN
enrol  
VARCHAR(20)
NN
status  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
name  
VARCHAR(255)
enrolperiod  
BIGINT(10)
enrolstartdate  
BIGINT(10)
enrolenddate  
BIGINT(10)
expirynotify  
TINYINT(1)
expirythreshold  
BIGINT(10)
notifyall  
TINYINT(1)
password  
VARCHAR(50)
cost  
VARCHAR(20)
currency  
VARCHAR(3)
roleid  
BIGINT(10)
customint1  
BIGINT(10)
customint2  
BIGINT(10)
customint3  
BIGINT(10)
customint4  
BIGINT(10)
customint5  
BIGINT(10)
customint6  
BIGINT(10)
customint7  
BIGINT(10)
customint8  
BIGINT(10)
customchar1  
VARCHAR(255)
customchar2  
VARCHAR(255)
customchar3  
VARCHAR(1333)
customdec1  
DECIMAL(12,7)
customdec2  
DECIMAL(12,7)
customtext1  
LONGTEXT
customtext2  
LONGTEXT
customtext3  
LONGTEXT
customtext4  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
enro_enr_ix
IX
enro_cou_ix
IX
enro_rol_ix
portfolio_mahara_queue
PK
id  
BIGINT(10)
NN
transferid  
BIGINT(10)
NN
token  
VARCHAR(50)
NN
KEY
PRIMARY
IX
portmahaqueu_tok_ix
IX
portmahaqueu_tra_ix
question_categories
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
AK
contextid  
BIGINT(10)
NN
info  
LONGTEXT
NN
infoformat  
TINYINT(2)
NN
AK
stamp  
VARCHAR(255)
NN
parent  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
AK
idnumber  
VARCHAR(100)
KEY
PRIMARY
KEY
quescate_consta_uix
KEY
quescate_conidn_uix
IX
quescate_con_ix
IX
quescate_par_ix
adminpresets_app
PK
id  
BIGINT(10)
NN
adminpresetid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
time  
BIGINT(10)
NN
KEY
PRIMARY
IX
admiapp_adm_ix
data_records
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
groupid  
BIGINT(10)
NN
dataid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
approved  
SMALLINT(4)
NN
KEY
PRIMARY
IX
datareco_dat_ix
IX
datareco_use_ix
feedback_sitecourse_map
PK
id  
BIGINT(10)
NN
feedbackid  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
KEY
PRIMARY
IX
feedsitemap_cou_ix
IX
feedsitemap_fee_ix
lock_db
PK
id  
BIGINT(10)
NN
AK
resourcekey  
VARCHAR(255)
NN
expires  
BIGINT(10)
owner  
VARCHAR(36)
KEY
PRIMARY
KEY
lockdb_res_uix
IX
lockdb_exp_ix
IX
lockdb_own_ix
payments
PK
id  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
paymentarea  
VARCHAR(50)
NN
itemid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
amount  
VARCHAR(20)
NN
currency  
VARCHAR(3)
NN
accountid  
BIGINT(10)
NN
gateway  
VARCHAR(100)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
paym_gat_ix
IX
paym_compayite_ix
IX
paym_use_ix
IX
paym_acc_ix
files_reference
PK
id  
BIGINT(10)
NN
AK
repositoryid  
BIGINT(10)
NN
lastsync  
BIGINT(10)
reference  
LONGTEXT
AK
referencehash  
VARCHAR(40)
NN
KEY
PRIMARY
KEY
filerefe_refrep_uix
IX
filerefe_rep_ix
lti_types
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
baseurl  
LONGTEXT
NN
tooldomain  
VARCHAR(255)
NN
state  
TINYINT(2)
NN
course  
BIGINT(10)
NN
coursevisible  
TINYINT(1)
NN
ltiversion  
VARCHAR(10)
NN
AK
clientid  
VARCHAR(255)
toolproxyid  
BIGINT(10)
enabledcapability  
LONGTEXT
parameter  
LONGTEXT
icon  
LONGTEXT
secureicon  
LONGTEXT
createdby  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
description  
LONGTEXT
KEY
PRIMARY
KEY
ltitype_cli_uix
IX
ltitype_cou_ix
IX
ltitype_too_ix
post
PK
id  
BIGINT(10)
NN
module  
VARCHAR(20)
NN
AK
userid  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
groupid  
BIGINT(10)
NN
moduleid  
BIGINT(10)
NN
coursemoduleid  
BIGINT(10)
NN
subject  
VARCHAR(128)
NN
summary  
LONGTEXT
content  
LONGTEXT
uniquehash  
VARCHAR(255)
NN
rating  
BIGINT(10)
NN
format  
BIGINT(10)
NN
summaryformat  
TINYINT(2)
NN
attachment  
VARCHAR(100)
publishstate  
VARCHAR(20)
NN
lastmodified  
BIGINT(10)
NN
created  
BIGINT(10)
NN
usermodified  
BIGINT(10)
KEY
PRIMARY
KEY
post_iduse_uix
IX
post_las_ix
IX
post_mod_ix
IX
post_sub_ix
IX
post_use_ix
IX
post_cou_ix
IX
post_cou2_ix
customfield_category
PK
id  
BIGINT(10)
NN
name  
VARCHAR(400)
NN
description  
LONGTEXT
descriptionformat  
BIGINT(10)
sortorder  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
area  
VARCHAR(100)
NN
itemid  
BIGINT(10)
NN
contextid  
BIGINT(10)
KEY
PRIMARY
IX
custcate_comareitesor_ix
IX
custcate_con_ix
qtype_ddimageortext
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
shuffleanswers  
SMALLINT(4)
NN
correctfeedback  
LONGTEXT
NN
correctfeedbackformat  
TINYINT(2)
NN
partiallycorrectfeedback  
LONGTEXT
NN
partiallycorrectfeedbackformat  
TINYINT(2)
NN
incorrectfeedback  
LONGTEXT
NN
incorrectfeedbackformat  
TINYINT(2)
NN
shownumcorrect  
TINYINT(2)
NN
KEY
PRIMARY
IX
qtypddim_que_ix
assign_plugin_config
PK
id  
BIGINT(10)
NN
assignment  
BIGINT(10)
NN
plugin  
VARCHAR(28)
NN
subtype  
VARCHAR(28)
NN
name  
VARCHAR(28)
NN
value  
LONGTEXT
KEY
PRIMARY
IX
assiplugconf_plu_ix
IX
assiplugconf_sub_ix
IX
assiplugconf_nam_ix
IX
assiplugconf_ass_ix
message_conversation_actions
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
conversationid  
BIGINT(10)
NN
action  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
messconvacti_use_ix
IX
messconvacti_con_ix
wiki_synonyms
PK
id  
BIGINT(10)
NN
subwikiid  
BIGINT(10)
NN
AK
pageid  
BIGINT(10)
NN
AK
pagesynonym  
VARCHAR(255)
NN
KEY
PRIMARY
KEY
wikisyno_pagpag_uix
adminpresets_app_it_a
PK
id  
BIGINT(10)
NN
adminpresetapplyid  
BIGINT(10)
NN
configlogid  
BIGINT(10)
NN
itemname  
VARCHAR(100)
KEY
PRIMARY
IX
admiappita_con_ix
IX
admiappita_adm_ix
file_conversion
PK
id  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
sourcefileid  
BIGINT(10)
NN
targetformat  
VARCHAR(100)
NN
status  
BIGINT(10)
statusmessage  
LONGTEXT
converter  
VARCHAR(255)
destfileid  
BIGINT(10)
data  
LONGTEXT
KEY
PRIMARY
IX
fileconv_sou_ix
IX
fileconv_des_ix
IX
fileconv_use_ix
mnet_sso_access_control
PK
id  
BIGINT(10)
NN
AK
username  
VARCHAR(100)
NN
AK
mnet_host_id  
BIGINT(10)
NN
accessctrl  
VARCHAR(20)
NN
KEY
PRIMARY
KEY
mnetssoaccecont_mneuse_uix
stats_user_weekly
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
roleid  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
statsreads  
BIGINT(10)
NN
statswrites  
BIGINT(10)
NN
stattype  
VARCHAR(30)
NN
KEY
PRIMARY
IX
statuserweek_cou_ix
IX
statuserweek_use_ix
IX
statuserweek_rol_ix
IX
statuserweek_tim_ix
user_info_field
PK
id  
BIGINT(10)
NN
shortname  
VARCHAR(255)
NN
name  
LONGTEXT
NN
datatype  
VARCHAR(255)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
categoryid  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
required  
TINYINT(2)
NN
locked  
TINYINT(2)
NN
visible  
SMALLINT(4)
NN
forceunique  
TINYINT(2)
NN
signup  
TINYINT(2)
NN
defaultdata  
LONGTEXT
defaultdataformat  
TINYINT(2)
NN
param1  
LONGTEXT
param2  
LONGTEXT
param3  
LONGTEXT
param4  
LONGTEXT
param5  
LONGTEXT
KEY
PRIMARY
quiz_statistics
PK
id  
BIGINT(10)
NN
hashcode  
VARCHAR(40)
NN
whichattempts  
SMALLINT(4)
NN
timemodified  
BIGINT(10)
NN
firstattemptscount  
BIGINT(10)
NN
highestattemptscount  
BIGINT(10)
NN
lastattemptscount  
BIGINT(10)
NN
allattemptscount  
BIGINT(10)
NN
firstattemptsavg  
DECIMAL(15,5)
highestattemptsavg  
DECIMAL(15,5)
lastattemptsavg  
DECIMAL(15,5)
allattemptsavg  
DECIMAL(15,5)
median  
DECIMAL(15,5)
standarddeviation  
DECIMAL(15,5)
skewness  
DECIMAL(15,10)
kurtosis  
DECIMAL(15,5)
cic  
DECIMAL(15,10)
errorratio  
DECIMAL(15,10)
standarderror  
DECIMAL(15,10)
KEY
PRIMARY
competency_modulecomp
PK
id  
BIGINT(10)
NN
AK
cmid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
AK
competencyid  
BIGINT(10)
NN
ruleoutcome  
TINYINT(2)
NN
overridegrade  
TINYINT(1)
NN
KEY
PRIMARY
KEY
compmodu_cmicom_uix
IX
compmodu_cmirul_ix
IX
compmodu_cmi_ix
IX
compmodu_com_ix
IX
compmodu_use_ix
badge_external
PK
id  
BIGINT(10)
NN
backpackid  
BIGINT(10)
NN
collectionid  
BIGINT(10)
NN
entityid  
VARCHAR(255)
assertion  
LONGTEXT
KEY
PRIMARY
IX
badgexte_bac_ix
h5p
PK
id  
BIGINT(10)
NN
jsoncontent  
LONGTEXT
NN
mainlibraryid  
BIGINT(10)
NN
displayoptions  
SMALLINT(4)
pathnamehash  
VARCHAR(40)
NN
contenthash  
VARCHAR(40)
NN
filtered  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
h5p_pat_ix
IX
h5p_mai_ix
enrol_lti_lti2_context
PK
id  
BIGINT(11)
NN
consumerid  
BIGINT(11)
NN
lticontextkey  
VARCHAR(255)
NN
type  
VARCHAR(100)
settings  
LONGTEXT
created  
BIGINT(10)
NN
updated  
BIGINT(10)
NN
KEY
PRIMARY
IX
enroltilti2cont_con_ix
lesson_branch
PK
id  
BIGINT(10)
NN
lessonid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
pageid  
BIGINT(10)
NN
retry  
BIGINT(10)
NN
flag  
SMALLINT(3)
NN
timeseen  
BIGINT(10)
NN
nextpageid  
BIGINT(10)
NN
KEY
PRIMARY
IX
lessbran_use_ix
IX
lessbran_les_ix
IX
lessbran_pag_ix
role_allow_view
PK
id  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
AK
allowview  
BIGINT(10)
NN
KEY
PRIMARY
KEY
rolealloview_rolall_uix
IX
rolealloview_rol_ix
IX
rolealloview_all_ix
groups_members
PK
id  
BIGINT(10)
NN
AK
groupid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
timeadded  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
itemid  
BIGINT(10)
NN
KEY
PRIMARY
KEY
groumemb_usegro_uix
IX
groumemb_gro_ix
IX
groumemb_use_ix
quiz_overview_regrades
PK
id  
BIGINT(10)
NN
questionusageid  
BIGINT(10)
NN
slot  
BIGINT(10)
NN
newfraction  
DECIMAL(12,7)
oldfraction  
DECIMAL(12,7)
regraded  
SMALLINT(4)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
quizoverregr_queslo_ix
course_published
PK
id  
BIGINT(10)
NN
huburl  
VARCHAR(255)
courseid  
BIGINT(10)
NN
timepublished  
BIGINT(10)
NN
enrollable  
TINYINT(1)
NN
hubcourseid  
BIGINT(10)
NN
status  
TINYINT(1)
timechecked  
BIGINT(10)
KEY
PRIMARY
IX
courpubl_hub_ix
IX
courpubl_cou_ix
role_capabilities
PK
id  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
AK
capability  
VARCHAR(255)
NN
permission  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
modifierid  
BIGINT(10)
NN
KEY
PRIMARY
KEY
rolecapa_rolconcap_uix
IX
rolecapa_rol_ix
IX
rolecapa_con_ix
IX
rolecapa_mod_ix
IX
rolecapa_cap_ix
customfield_data
PK
id  
BIGINT(10)
NN
AK
fieldid  
BIGINT(10)
NN
AK
instanceid  
BIGINT(10)
NN
intvalue  
BIGINT(10)
decvalue  
DECIMAL(10,5)
shortcharvalue  
VARCHAR(255)
charvalue  
VARCHAR(1333)
value  
LONGTEXT
NN
valueformat  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
contextid  
BIGINT(10)
KEY
PRIMARY
KEY
custdata_insfie_uix
IX
custdata_fieint_ix
IX
custdata_fiesho_ix
IX
custdata_fiedec_ix
IX
custdata_fie_ix
IX
custdata_con_ix
user_preferences
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
name  
VARCHAR(255)
NN
value  
VARCHAR(1333)
NN
KEY
PRIMARY
KEY
userpref_usenam_uix
IX
userpref_nam_ix
block
PK
id  
BIGINT(10)
NN
AK
name  
VARCHAR(40)
NN
cron  
BIGINT(10)
NN
lastcron  
BIGINT(10)
NN
visible  
TINYINT(1)
NN
KEY
PRIMARY
KEY
bloc_nam_uix
scorm_seq_rolluprule
PK
id  
BIGINT(10)
NN
AK
scoid  
BIGINT(10)
NN
childactivityset  
VARCHAR(15)
NN
minimumcount  
BIGINT(10)
NN
minimumpercent  
FLOAT(11,4)
NN
conditioncombination  
VARCHAR(3)
NN
action  
VARCHAR(15)
NN
KEY
PRIMARY
KEY
scorseqroll_scoid_uix
IX
scorseqroll_sco_ix
competency_framework
PK
id  
BIGINT(10)
NN
shortname  
VARCHAR(100)
contextid  
BIGINT(10)
NN
AK
idnumber  
VARCHAR(100)
description  
LONGTEXT
descriptionformat  
SMALLINT(4)
NN
scaleid  
BIGINT(11)
scaleconfiguration  
LONGTEXT
NN
visible  
TINYINT(2)
NN
taxonomies  
VARCHAR(255)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
KEY
PRIMARY
KEY
compfram_idn_uix
IX
compfram_con_ix
IX
compfram_sca_ix
IX
compfram_use_ix
events_queue_handlers
PK
id  
BIGINT(10)
NN
queuedeventid  
BIGINT(10)
NN
handlerid  
BIGINT(10)
NN
status  
BIGINT(10)
errormessage  
LONGTEXT
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
evenqueuhand_que_ix
IX
evenqueuhand_han_ix
portfolio_instance_user
PK
id  
BIGINT(10)
NN
instance  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
value  
LONGTEXT
KEY
PRIMARY
IX
portinstuser_ins_ix
IX
portinstuser_use_ix
quiz_feedback
PK
id  
BIGINT(10)
NN
quizid  
BIGINT(10)
NN
feedbacktext  
LONGTEXT
NN
feedbacktextformat  
TINYINT(2)
NN
mingrade  
DECIMAL(10,5)
NN
maxgrade  
DECIMAL(10,5)
NN
KEY
PRIMARY
IX
quizfeed_qui_ix
course_completion_criteria
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
criteriatype  
BIGINT(10)
NN
module  
VARCHAR(100)
moduleinstance  
BIGINT(10)
courseinstance  
BIGINT(10)
enrolperiod  
BIGINT(10)
timeend  
BIGINT(10)
gradepass  
DECIMAL(10,5)
role  
BIGINT(10)
KEY
PRIMARY
IX
courcompcrit_cou_ix
assignfeedback_editpdf_cmnt
PK
id  
BIGINT(10)
NN
gradeid  
BIGINT(10)
NN
x  
BIGINT(10)
y  
BIGINT(10)
width  
BIGINT(10)
rawtext  
LONGTEXT
pageno  
BIGINT(10)
NN
colour  
VARCHAR(10)
draft  
TINYINT(2)
NN
KEY
PRIMARY
IX
assieditcmnt_grapag_ix
IX
assieditcmnt_gra_ix
tool_cohortroles
PK
id  
BIGINT(10)
NN
AK
cohortid  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
KEY
PRIMARY
KEY
toolcoho_cohroluse_uix
search_index_requests
PK
id  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
searcharea  
VARCHAR(255)
NN
timerequested  
BIGINT(10)
NN
partialarea  
VARCHAR(255)
NN
partialtime  
BIGINT(10)
NN
indexpriority  
BIGINT(10)
NN
KEY
PRIMARY
IX
searinderequ_indtim_ix
IX
searinderequ_con_ix
badge_issued
PK
id  
BIGINT(10)
NN
AK
badgeid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
uniquehash  
LONGTEXT
NN
dateissued  
BIGINT(10)
NN
dateexpire  
BIGINT(10)
visible  
TINYINT(1)
NN
issuernotified  
BIGINT(10)
KEY
PRIMARY
KEY
badgissu_baduse_uix
IX
badgissu_bad_ix
IX
badgissu_use_ix
tool_policy_acceptances
PK
id  
BIGINT(10)
NN
AK
policyversionid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
status  
TINYINT(1)
lang  
VARCHAR(30)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
note  
LONGTEXT
KEY
PRIMARY
KEY
toolpoliacce_poluse_uix
IX
toolpoliacce_pol_ix
IX
toolpoliacce_use_ix
IX
toolpoliacce_use2_ix
log_queries
PK
id  
BIGINT(10)
NN
qtype  
MEDIUMINT(5)
NN
sqltext  
LONGTEXT
NN
sqlparams  
LONGTEXT
error  
MEDIUMINT(5)
NN
info  
LONGTEXT
backtrace  
LONGTEXT
exectime  
DECIMAL(10,5)
NN
timelogged  
BIGINT(10)
NN
KEY
PRIMARY
contentbank_content
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
contenttype  
VARCHAR(100)
NN
contextid  
BIGINT(10)
NN
visibility  
TINYINT(1)
NN
instanceid  
BIGINT(10)
configdata  
LONGTEXT
usercreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
KEY
PRIMARY
IX
contcont_nam_ix
IX
contcont_conconins_ix
IX
contcont_con_ix
IX
contcont_use_ix
IX
contcont_use2_ix
course_modules_completion
PK
id  
BIGINT(10)
NN
AK
coursemoduleid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
completionstate  
TINYINT(1)
NN
overrideby  
BIGINT(10)
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
courmoducomp_usecou_uix
IX
courmoducomp_cou_ix
question
PK
id  
BIGINT(10)
NN
parent  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
questiontext  
LONGTEXT
NN
questiontextformat  
TINYINT(2)
NN
generalfeedback  
LONGTEXT
NN
generalfeedbackformat  
TINYINT(2)
NN
defaultmark  
DECIMAL(12,7)
NN
penalty  
DECIMAL(12,7)
NN
qtype  
VARCHAR(20)
NN
length  
BIGINT(10)
NN
stamp  
VARCHAR(255)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
createdby  
BIGINT(10)
modifiedby  
BIGINT(10)
KEY
PRIMARY
IX
ques_qty_ix
IX
ques_par_ix
IX
ques_cre_ix
IX
ques_mod_ix
question_numerical
PK
id  
BIGINT(10)
NN
question  
BIGINT(10)
NN
answer  
BIGINT(10)
NN
tolerance  
VARCHAR(255)
NN
KEY
PRIMARY
IX
quesnume_ans_ix
IX
quesnume_que_ix
survey_answers
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
survey  
BIGINT(10)
NN
question  
BIGINT(10)
NN
time  
BIGINT(10)
NN
answer1  
LONGTEXT
NN
answer2  
LONGTEXT
NN
KEY
PRIMARY
IX
survansw_use_ix
IX
survansw_sur_ix
IX
survansw_que_ix
resource_old
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
type  
VARCHAR(30)
NN
reference  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
alltext  
LONGTEXT
NN
popup  
LONGTEXT
NN
options  
VARCHAR(255)
NN
timemodified  
BIGINT(10)
NN
AK
oldid  
BIGINT(10)
NN
cmid  
BIGINT(10)
newmodule  
VARCHAR(50)
newid  
BIGINT(10)
migrated  
BIGINT(10)
NN
KEY
PRIMARY
KEY
resoold_old_uix
IX
resoold_cmi_ix
workshop
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(3)
NN
instructauthors  
LONGTEXT
instructauthorsformat  
SMALLINT(3)
NN
instructreviewers  
LONGTEXT
instructreviewersformat  
SMALLINT(3)
NN
timemodified  
BIGINT(10)
NN
phase  
SMALLINT(3)
useexamples  
TINYINT(2)
usepeerassessment  
TINYINT(2)
useselfassessment  
TINYINT(2)
grade  
DECIMAL(10,5)
gradinggrade  
DECIMAL(10,5)
strategy  
VARCHAR(30)
NN
evaluation  
VARCHAR(30)
NN
gradedecimals  
SMALLINT(3)
submissiontypetext  
TINYINT(1)
NN
submissiontypefile  
TINYINT(1)
NN
nattachments  
SMALLINT(3)
submissionfiletypes  
VARCHAR(255)
latesubmissions  
TINYINT(2)
maxbytes  
BIGINT(10)
examplesmode  
SMALLINT(3)
submissionstart  
BIGINT(10)
submissionend  
BIGINT(10)
assessmentstart  
BIGINT(10)
assessmentend  
BIGINT(10)
phaseswitchassessment  
TINYINT(2)
NN
conclusion  
LONGTEXT
conclusionformat  
SMALLINT(3)
NN
overallfeedbackmode  
SMALLINT(3)
overallfeedbackfiles  
SMALLINT(3)
overallfeedbackfiletypes  
VARCHAR(255)
overallfeedbackmaxbytes  
BIGINT(10)
KEY
PRIMARY
IX
work_cou_ix
course_completions
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
course  
BIGINT(10)
NN
timeenrolled  
BIGINT(10)
NN
timestarted  
BIGINT(10)
NN
timecompleted  
BIGINT(10)
reaggregate  
BIGINT(10)
NN
KEY
PRIMARY
KEY
courcomp_usecou_uix
IX
courcomp_use_ix
IX
courcomp_cou_ix
IX
courcomp_tim_ix
glossary
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
allowduplicatedentries  
TINYINT(2)
NN
displayformat  
VARCHAR(50)
NN
mainglossary  
TINYINT(2)
NN
showspecial  
TINYINT(2)
NN
showalphabet  
TINYINT(2)
NN
showall  
TINYINT(2)
NN
allowcomments  
TINYINT(2)
NN
allowprintview  
TINYINT(2)
NN
usedynalink  
TINYINT(2)
NN
defaultapproval  
TINYINT(2)
NN
approvaldisplayformat  
VARCHAR(50)
NN
globalglossary  
TINYINT(2)
NN
entbypage  
SMALLINT(3)
NN
editalways  
TINYINT(2)
NN
rsstype  
TINYINT(2)
NN
rssarticles  
TINYINT(2)
NN
assessed  
BIGINT(10)
NN
assesstimestart  
BIGINT(10)
NN
assesstimefinish  
BIGINT(10)
NN
scale  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
completionentries  
INT(9)
NN
KEY
PRIMARY
IX
glos_cou_ix
modules
PK
id  
BIGINT(10)
NN
name  
VARCHAR(20)
NN
cron  
BIGINT(10)
NN
lastcron  
BIGINT(10)
NN
search  
VARCHAR(255)
NN
visible  
TINYINT(1)
NN
KEY
PRIMARY
IX
modu_nam_ix
workshop_aggregations
PK
id  
BIGINT(10)
NN
AK
workshopid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
gradinggrade  
DECIMAL(10,5)
timegraded  
BIGINT(10)
KEY
PRIMARY
KEY
workaggr_woruse_uix
IX
workaggr_wor_ix
IX
workaggr_use_ix
workshopform_rubric
PK
id  
BIGINT(10)
NN
workshopid  
BIGINT(10)
NN
sort  
BIGINT(10)
description  
LONGTEXT
descriptionformat  
SMALLINT(3)
KEY
PRIMARY
IX
workrubr_wor_ix
competency_userevidencecomp
PK
id  
BIGINT(10)
NN
AK
userevidenceid  
BIGINT(10)
NN
AK
competencyid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
compuser_usecom2_uix
IX
compuser_use6_ix
IX
compuser_use7_ix
tool_dataprivacy_ctxexpired
PK
id  
BIGINT(10)
NN
AK
contextid  
BIGINT(10)
NN
unexpiredroles  
LONGTEXT
expiredroles  
LONGTEXT
defaultexpired  
TINYINT(1)
NN
status  
TINYINT(2)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
tooldatactxe_con_uix
oauth2_user_field_mapping
PK
id  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
AK
issuerid  
BIGINT(10)
NN
externalfield  
VARCHAR(500)
NN
AK
internalfield  
VARCHAR(64)
NN
KEY
PRIMARY
KEY
oautuserfielmapp_issint_uix
IX
oautuserfielmapp_iss_ix
IX
oautuserfielmapp_use_ix
messageinbound_datakeys
PK
id  
BIGINT(10)
NN
AK
handler  
BIGINT(10)
NN
AK
datavalue  
BIGINT(10)
NN
datakey  
VARCHAR(64)
timecreated  
BIGINT(10)
NN
expires  
BIGINT(10)
KEY
PRIMARY
KEY
messdata_handat_uix
IX
messdata_han_ix
competency_plan
PK
id  
BIGINT(10)
NN
name  
VARCHAR(100)
NN
description  
LONGTEXT
descriptionformat  
SMALLINT(4)
NN
userid  
BIGINT(10)
NN
templateid  
BIGINT(10)
origtemplateid  
BIGINT(10)
status  
TINYINT(1)
NN
duedate  
BIGINT(10)
reviewerid  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
compplan_usesta_ix
IX
compplan_tem_ix
IX
compplan_stadue_ix
IX
compplan_use_ix
tag_area
PK
id  
BIGINT(10)
NN
AK
component  
VARCHAR(100)
NN
AK
itemtype  
VARCHAR(100)
NN
enabled  
TINYINT(1)
NN
tagcollid  
BIGINT(10)
NN
callback  
VARCHAR(100)
callbackfile  
VARCHAR(100)
showstandard  
TINYINT(1)
NN
multiplecontexts  
TINYINT(1)
NN
KEY
PRIMARY
KEY
tagarea_comite_uix
IX
tagarea_tag_ix
gradingform_guide_fillings
PK
id  
BIGINT(10)
NN
AK
instanceid  
BIGINT(10)
NN
AK
criterionid  
BIGINT(10)
NN
remark  
LONGTEXT
remarkformat  
TINYINT(2)
score  
DECIMAL(10,5)
NN
KEY
PRIMARY
KEY
gradguidfill_inscri_uix
IX
gradguidfill_ins_ix
IX
gradguidfill_cri_ix
assign_submission
PK
id  
BIGINT(10)
NN
AK
assignment  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
timestarted  
BIGINT(10)
status  
VARCHAR(10)
AK
groupid  
BIGINT(10)
NN
AK
attemptnumber  
BIGINT(10)
NN
latest  
TINYINT(2)
NN
KEY
PRIMARY
KEY
assisubm_assusegroatt_uix
IX
assisubm_use_ix
IX
assisubm_att_ix
IX
assisubm_assusegrolat_ix
IX
assisubm_ass_ix
payment_accounts
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
idnumber  
VARCHAR(100)
contextid  
BIGINT(10)
NN
enabled  
TINYINT(1)
NN
archived  
TINYINT(1)
NN
timecreated  
BIGINT(10)
timemodified  
BIGINT(10)
KEY
PRIMARY
IX
paymacco_con_ix
question_set_references
PK
id  
BIGINT(10)
NN
AK
usingcontextid  
BIGINT(10)
NN
AK
component  
VARCHAR(100)
AK
questionarea  
VARCHAR(50)
AK
itemid  
BIGINT(10)
questionscontextid  
BIGINT(10)
NN
filtercondition  
LONGTEXT
KEY
PRIMARY
KEY
quessetrefe_usicomqueite_uix
IX
quessetrefe_usi_ix
IX
quessetrefe_que_ix
log
PK
id  
BIGINT(10)
NN
time  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
ip  
VARCHAR(45)
NN
course  
BIGINT(10)
NN
module  
VARCHAR(20)
NN
cmid  
BIGINT(10)
NN
action  
VARCHAR(40)
NN
url  
VARCHAR(100)
NN
info  
VARCHAR(255)
NN
KEY
PRIMARY
IX
log_coumodact_ix
IX
log_tim_ix
IX
log_act_ix
IX
log_usecou_ix
IX
log_cmi_ix
message_processors
PK
id  
BIGINT(10)
NN
name  
VARCHAR(166)
NN
enabled  
TINYINT(1)
NN
KEY
PRIMARY
book
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
numbering  
SMALLINT(4)
NN
navstyle  
SMALLINT(4)
NN
customtitles  
TINYINT(2)
NN
revision  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
book_cou_ix
workshop_submissions
PK
id  
BIGINT(10)
NN
workshopid  
BIGINT(10)
NN
example  
TINYINT(2)
authorid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
title  
VARCHAR(255)
NN
content  
LONGTEXT
contentformat  
SMALLINT(3)
NN
contenttrust  
SMALLINT(3)
NN
attachment  
TINYINT(2)
grade  
DECIMAL(10,5)
gradeover  
DECIMAL(10,5)
gradeoverby  
BIGINT(10)
feedbackauthor  
LONGTEXT
feedbackauthorformat  
SMALLINT(3)
timegraded  
BIGINT(10)
published  
TINYINT(2)
late  
TINYINT(2)
NN
KEY
PRIMARY
IX
worksubm_wor_ix
IX
worksubm_gra_ix
IX
worksubm_aut_ix
tool_brickfield_process
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
item  
VARCHAR(64)
contextid  
BIGINT(10)
innercontextid  
BIGINT(10)
timecreated  
BIGINT(16)
timecompleted  
BIGINT(16)
KEY
PRIMARY
IX
toolbricproc_tim_ix
wiki_versions
PK
id  
BIGINT(10)
NN
pageid  
BIGINT(10)
NN
content  
LONGTEXT
NN
contentformat  
VARCHAR(20)
NN
version  
MEDIUMINT(5)
NN
timecreated  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
KEY
PRIMARY
IX
wikivers_pag_ix
quizaccess_seb_quizsettings
PK
id  
BIGINT(10)
NN
AK
quizid  
BIGINT(10)
NN
AK
cmid  
BIGINT(10)
NN
templateid  
BIGINT(10)
NN
requiresafeexambrowser  
TINYINT(1)
NN
showsebtaskbar  
TINYINT(1)
showwificontrol  
TINYINT(1)
showreloadbutton  
TINYINT(1)
showtime  
TINYINT(1)
showkeyboardlayout  
TINYINT(1)
allowuserquitseb  
TINYINT(1)
quitpassword  
LONGTEXT
linkquitseb  
LONGTEXT
userconfirmquit  
TINYINT(1)
enableaudiocontrol  
TINYINT(1)
muteonstartup  
TINYINT(1)
allowspellchecking  
TINYINT(1)
allowreloadinexam  
TINYINT(1)
activateurlfiltering  
TINYINT(1)
filterembeddedcontent  
TINYINT(1)
expressionsallowed  
LONGTEXT
regexallowed  
LONGTEXT
expressionsblocked  
LONGTEXT
regexblocked  
LONGTEXT
allowedbrowserexamkeys  
LONGTEXT
showsebdownloadlink  
TINYINT(1)
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
quizsebquiz_qui_uix
KEY
quizsebquiz_cmi_uix
IX
quizsebquiz_tem_ix
IX
quizsebquiz_use_ix
block_recent_activity
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
cmid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
action  
TINYINT(1)
NN
modname  
VARCHAR(20)
KEY
PRIMARY
IX
blocreceacti_coutim_ix
tool_brickfield_cache_check
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
status  
TINYINT(1)
checkid  
BIGINT(10)
checkcount  
BIGINT(10)
errorcount  
BIGINT(10)
KEY
PRIMARY
IX
toolbriccachchec_sta_ix
IX
toolbriccachchec_err_ix
IX
toolbriccachchec_cou_ix
messageinbound_handlers
PK
id  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
AK
classname  
VARCHAR(255)
NN
defaultexpiration  
BIGINT(10)
NN
validateaddress  
TINYINT(1)
NN
enabled  
TINYINT(1)
NN
KEY
PRIMARY
KEY
messhand_cla_uix
repository_instances
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
typeid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
username  
VARCHAR(255)
password  
VARCHAR(255)
timecreated  
BIGINT(10)
timemodified  
BIGINT(10)
readonly  
TINYINT(1)
NN
KEY
PRIMARY
IX
repoinst_use_ix
IX
repoinst_con_ix
portfolio_tempdata
PK
id  
BIGINT(10)
NN
data  
LONGTEXT
expirytime  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
instance  
BIGINT(10)
queued  
TINYINT(1)
NN
KEY
PRIMARY
IX
porttemp_use_ix
IX
porttemp_ins_ix
infected_files
PK
id  
BIGINT(10)
NN
filename  
LONGTEXT
NN
quarantinedfile  
LONGTEXT
userid  
BIGINT(10)
NN
reason  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
infefile_use_ix
analytics_used_files
PK
id  
BIGINT(10)
NN
modelid  
BIGINT(10)
NN
fileid  
BIGINT(10)
NN
action  
VARCHAR(50)
NN
time  
BIGINT(10)
NN
KEY
PRIMARY
IX
analusedfile_modactfil_ix
IX
analusedfile_mod_ix
IX
analusedfile_fil_ix
messageinbound_messagelist
PK
id  
BIGINT(10)
NN
messageid  
LONGTEXT
NN
userid  
BIGINT(10)
NN
address  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
messmess_use_ix
block_instances
PK
id  
BIGINT(10)
NN
blockname  
VARCHAR(40)
NN
parentcontextid  
BIGINT(10)
NN
showinsubcontexts  
SMALLINT(4)
NN
requiredbytheme  
SMALLINT(4)
NN
pagetypepattern  
VARCHAR(64)
NN
subpagepattern  
VARCHAR(16)
defaultregion  
VARCHAR(16)
NN
defaultweight  
BIGINT(10)
NN
configdata  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
blocinst_parshopagsub_ix
IX
blocinst_tim_ix
IX
blocinst_blo_ix
IX
blocinst_par_ix
tool_dataprivacy_request
PK
id  
BIGINT(10)
NN
type  
BIGINT(10)
NN
comments  
LONGTEXT
commentsformat  
TINYINT(2)
NN
userid  
BIGINT(10)
NN
requestedby  
BIGINT(10)
NN
status  
TINYINT(2)
NN
dpo  
BIGINT(10)
dpocomment  
LONGTEXT
dpocommentformat  
TINYINT(2)
NN
systemapproved  
SMALLINT(4)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
creationmethod  
BIGINT(10)
NN
KEY
PRIMARY
IX
tooldatarequ_use_ix
IX
tooldatarequ_req_ix
IX
tooldatarequ_dpo_ix
IX
tooldatarequ_use2_ix
message_contact_requests
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
requesteduserid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
KEY
messcontrequ_usereq_uix
IX
messcontrequ_use_ix
IX
messcontrequ_req_ix
registration_hubs
PK
id  
BIGINT(10)
NN
token  
VARCHAR(255)
NN
hubname  
VARCHAR(255)
NN
huburl  
VARCHAR(255)
NN
confirmed  
TINYINT(1)
NN
secret  
VARCHAR(255)
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
mnet_remote_rpc
PK
id  
BIGINT(10)
NN
functionname  
VARCHAR(40)
NN
xmlrpcpath  
VARCHAR(80)
NN
plugintype  
VARCHAR(20)
NN
pluginname  
VARCHAR(20)
NN
enabled  
TINYINT(1)
NN
KEY
PRIMARY
message_email_messages
PK
id  
BIGINT(10)
NN
useridto  
BIGINT(10)
NN
conversationid  
BIGINT(10)
NN
messageid  
BIGINT(10)
NN
KEY
PRIMARY
IX
messemaimess_use_ix
IX
messemaimess_con_ix
IX
messemaimess_mes_ix
question_dataset_items
PK
id  
BIGINT(10)
NN
definition  
BIGINT(10)
NN
itemnumber  
BIGINT(10)
NN
value  
VARCHAR(255)
NN
KEY
PRIMARY
IX
quesdataitem_def_ix
mnet_session
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
username  
VARCHAR(100)
NN
AK
token  
VARCHAR(40)
NN
mnethostid  
BIGINT(10)
NN
useragent  
VARCHAR(40)
NN
confirm_timeout  
BIGINT(10)
NN
session_id  
VARCHAR(40)
NN
expires  
BIGINT(10)
NN
KEY
PRIMARY
KEY
mnetsess_tok_uix
IX
mnetsess_use_ix
IX
mnetsess_mne_ix
badge_related
PK
id  
BIGINT(10)
NN
AK
badgeid  
BIGINT(10)
NN
AK
relatedbadgeid  
BIGINT(10)
KEY
PRIMARY
KEY
badgrela_badrel_uix
IX
badgrela_bad_ix
IX
badgrela_rel_ix
forum_posts
PK
id  
BIGINT(10)
NN
discussion  
BIGINT(10)
NN
parent  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
created  
BIGINT(10)
NN
modified  
BIGINT(10)
NN
mailed  
TINYINT(2)
NN
subject  
VARCHAR(255)
NN
message  
LONGTEXT
NN
messageformat  
TINYINT(2)
NN
messagetrust  
TINYINT(2)
NN
attachment  
VARCHAR(100)
NN
totalscore  
SMALLINT(4)
NN
mailnow  
BIGINT(10)
NN
deleted  
TINYINT(1)
NN
privatereplyto  
BIGINT(10)
NN
wordcount  
BIGINT(20)
charcount  
BIGINT(20)
KEY
PRIMARY
IX
forupost_use_ix
IX
forupost_cre_ix
IX
forupost_mai_ix
IX
forupost_pri_ix
IX
forupost_dis_ix
IX
forupost_par_ix
portfolio_instance
PK
id  
BIGINT(10)
NN
plugin  
VARCHAR(50)
NN
name  
VARCHAR(255)
NN
visible  
TINYINT(1)
NN
KEY
PRIMARY
my_pages
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
name  
VARCHAR(200)
NN
private  
TINYINT(1)
NN
sortorder  
MEDIUMINT(6)
NN
KEY
PRIMARY
IX
mypage_usepri_ix
tool_customlang
PK
id  
BIGINT(10)
NN
AK
lang  
VARCHAR(20)
NN
AK
componentid  
BIGINT(10)
NN
AK
stringid  
VARCHAR(255)
NN
original  
LONGTEXT
NN
master  
LONGTEXT
local  
LONGTEXT
timemodified  
BIGINT(10)
NN
timecustomized  
BIGINT(10)
outdated  
SMALLINT(3)
modified  
SMALLINT(3)
KEY
PRIMARY
KEY
toolcust_lancomstr_uix
IX
toolcust_com_ix
assignfeedback_comments
PK
id  
BIGINT(10)
NN
assignment  
BIGINT(10)
NN
grade  
BIGINT(10)
NN
commenttext  
LONGTEXT
commentformat  
SMALLINT(4)
NN
KEY
PRIMARY
IX
assicomm_ass_ix
IX
assicomm_gra_ix
scorm_seq_ruleconds
PK
id  
BIGINT(10)
NN
AK
scoid  
BIGINT(10)
NN
conditioncombination  
VARCHAR(3)
NN
ruletype  
TINYINT(2)
NN
action  
VARCHAR(25)
NN
KEY
PRIMARY
KEY
scorseqrule_scoid_uix
IX
scorseqrule_sco_ix
grade_categories
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
parent  
BIGINT(10)
depth  
BIGINT(10)
NN
path  
VARCHAR(255)
fullname  
VARCHAR(255)
NN
aggregation  
BIGINT(10)
NN
keephigh  
BIGINT(10)
NN
droplow  
BIGINT(10)
NN
aggregateonlygraded  
TINYINT(1)
NN
aggregateoutcomes  
TINYINT(1)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
hidden  
BIGINT(10)
NN
KEY
PRIMARY
IX
gradcate_cou_ix
IX
gradcate_par_ix
gradingform_rubric_fillings
PK
id  
BIGINT(10)
NN
AK
instanceid  
BIGINT(10)
NN
AK
criterionid  
BIGINT(10)
NN
levelid  
BIGINT(10)
remark  
LONGTEXT
remarkformat  
TINYINT(2)
KEY
PRIMARY
KEY
gradrubrfill_inscri_uix
IX
gradrubrfill_lev_ix
IX
gradrubrfill_ins_ix
IX
gradrubrfill_cri_ix
grade_import_newitem
PK
id  
BIGINT(10)
NN
itemname  
VARCHAR(255)
NN
importcode  
BIGINT(10)
NN
importer  
BIGINT(10)
NN
KEY
PRIMARY
IX
gradimponewi_imp_ix
scorm_scoes_track
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
scormid  
BIGINT(10)
NN
AK
scoid  
BIGINT(10)
NN
AK
attempt  
BIGINT(10)
NN
AK
element  
VARCHAR(255)
NN
value  
LONGTEXT
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
scorscoetrac_usescoscoatte_uix
IX
scorscoetrac_use_ix
IX
scorscoetrac_sco_ix
IX
scorscoetrac_sco2_ix
competency_usercompplan
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
competencyid  
BIGINT(10)
NN
AK
planid  
BIGINT(10)
NN
proficiency  
TINYINT(2)
grade  
BIGINT(10)
sortorder  
BIGINT(10)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
compuser_usecompla_uix
IX
compuser_use3_ix
glossary_alias
PK
id  
BIGINT(10)
NN
entryid  
BIGINT(10)
NN
alias  
VARCHAR(255)
NN
KEY
PRIMARY
IX
glosalia_ent_ix
competency_coursecompsetting
PK
id  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
pushratingstouserplans  
TINYINT(2)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
KEY
PRIMARY
KEY
compcour_cou_uix
IX
compcour_use_ix
forum_discussions
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
forum  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
firstpost  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
groupid  
BIGINT(10)
NN
assessed  
TINYINT(1)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timestart  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
pinned  
TINYINT(1)
NN
timelocked  
BIGINT(10)
NN
KEY
PRIMARY
IX
forudisc_use_ix
IX
forudisc_cou_ix
IX
forudisc_for_ix
IX
forudisc_use2_ix
wiki_subwikis
PK
id  
BIGINT(10)
NN
AK
wikiid  
BIGINT(10)
NN
AK
groupid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
KEY
PRIMARY
KEY
wikisubw_wikgrouse_uix
IX
wikisubw_wik_ix
chat
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
keepdays  
BIGINT(11)
NN
studentlogs  
SMALLINT(4)
NN
chattime  
BIGINT(10)
NN
schedule  
SMALLINT(4)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
chat_cou_ix
quiz_slots
PK
id  
BIGINT(10)
NN
AK
slot  
BIGINT(10)
NN
AK
quizid  
BIGINT(10)
NN
page  
BIGINT(10)
NN
displaynumber  
VARCHAR(16)
requireprevious  
SMALLINT(4)
NN
maxmark  
DECIMAL(12,7)
NN
KEY
PRIMARY
KEY
quizslot_quislo_uix
IX
quizslot_qui_ix
question_hints
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
hint  
LONGTEXT
NN
hintformat  
SMALLINT(4)
NN
shownumcorrect  
TINYINT(1)
clearwrong  
TINYINT(1)
options  
VARCHAR(255)
KEY
PRIMARY
IX
queshint_que_ix
assignfeedback_file
PK
id  
BIGINT(10)
NN
assignment  
BIGINT(10)
NN
grade  
BIGINT(10)
NN
numfiles  
BIGINT(10)
NN
KEY
PRIMARY
IX
assifile_ass2_ix
IX
assifile_gra_ix
tool_usertours_steps
PK
id  
BIGINT(10)
NN
tourid  
BIGINT(10)
NN
title  
LONGTEXT
content  
LONGTEXT
contentformat  
SMALLINT(4)
NN
targettype  
TINYINT(2)
NN
targetvalue  
LONGTEXT
NN
sortorder  
BIGINT(10)
NN
configdata  
LONGTEXT
NN
KEY
PRIMARY
IX
tooluserstep_tousor_ix
IX
tooluserstep_tou_ix
user_enrolments
PK
id  
BIGINT(10)
NN
status  
BIGINT(10)
NN
AK
enrolid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
timestart  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
modifierid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
userenro_enruse_uix
IX
userenro_enr_ix
IX
userenro_use_ix
IX
userenro_mod_ix
gradingform_guide_criteria
PK
id  
BIGINT(10)
NN
definitionid  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
shortname  
VARCHAR(255)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
descriptionmarkers  
LONGTEXT
descriptionmarkersformat  
TINYINT(2)
maxscore  
DECIMAL(10,5)
NN
KEY
PRIMARY
IX
gradguidcrit_def_ix
role_allow_override
PK
id  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
AK
allowoverride  
BIGINT(10)
NN
KEY
PRIMARY
KEY
rolealloover_rolall_uix
IX
rolealloover_rol_ix
IX
rolealloover_all_ix
feedback_template
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
ispublic  
TINYINT(1)
NN
name  
VARCHAR(255)
NN
KEY
PRIMARY
IX
feedtemp_cou_ix
scorm_seq_rolluprulecond
PK
id  
BIGINT(10)
NN
AK
scoid  
BIGINT(10)
NN
AK
rollupruleid  
BIGINT(10)
NN
operator  
VARCHAR(5)
NN
cond  
VARCHAR(25)
NN
KEY
PRIMARY
KEY
scorseqroll_scorolid_uix
IX
scorseqroll_sco2_ix
IX
scorseqroll_rol_ix
qtype_multichoice_options
PK
id  
BIGINT(10)
NN
AK
questionid  
BIGINT(10)
NN
layout  
SMALLINT(4)
NN
single  
SMALLINT(4)
NN
shuffleanswers  
SMALLINT(4)
NN
correctfeedback  
LONGTEXT
NN
correctfeedbackformat  
TINYINT(2)
NN
partiallycorrectfeedback  
LONGTEXT
NN
partiallycorrectfeedbackformat  
TINYINT(2)
NN
incorrectfeedback  
LONGTEXT
NN
incorrectfeedbackformat  
TINYINT(2)
NN
answernumbering  
VARCHAR(10)
NN
shownumcorrect  
TINYINT(2)
NN
showstandardinstruction  
TINYINT(2)
NN
KEY
PRIMARY
KEY
qtypmultopti_que_uix
tool_brickfield_summary
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
status  
TINYINT(1)
activities  
BIGINT(10)
activitiespassed  
BIGINT(10)
activitiesfailed  
BIGINT(10)
errorschecktype1  
BIGINT(10)
errorschecktype2  
BIGINT(10)
errorschecktype3  
BIGINT(10)
errorschecktype4  
BIGINT(10)
errorschecktype5  
BIGINT(10)
errorschecktype6  
BIGINT(10)
errorschecktype7  
BIGINT(10)
failedchecktype1  
BIGINT(10)
failedchecktype2  
BIGINT(10)
failedchecktype3  
BIGINT(10)
failedchecktype4  
BIGINT(10)
failedchecktype5  
BIGINT(10)
failedchecktype6  
BIGINT(10)
failedchecktype7  
BIGINT(10)
percentchecktype1  
BIGINT(10)
percentchecktype2  
BIGINT(10)
percentchecktype3  
BIGINT(10)
percentchecktype4  
BIGINT(10)
percentchecktype5  
BIGINT(10)
percentchecktype6  
BIGINT(10)
percentchecktype7  
BIGINT(10)
KEY
PRIMARY
IX
toolbricsumm_sta_ix
IX
toolbricsumm_cou_ix
workshopallocation_scheduled
PK
id  
BIGINT(10)
NN
AK
workshopid  
BIGINT(10)
NN
enabled  
TINYINT(2)
NN
submissionend  
BIGINT(10)
NN
timeallocated  
BIGINT(10)
settings  
LONGTEXT
resultstatus  
BIGINT(10)
resultmessage  
VARCHAR(1333)
resultlog  
LONGTEXT
KEY
PRIMARY
KEY
worksche_wor_uix
question_usages
PK
id  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
component  
VARCHAR(255)
NN
preferredbehaviour  
VARCHAR(32)
NN
KEY
PRIMARY
IX
quesusag_con_ix
tag_coll
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
isdefault  
TINYINT(2)
NN
component  
VARCHAR(100)
sortorder  
MEDIUMINT(5)
NN
searchable  
TINYINT(2)
NN
customurl  
VARCHAR(255)
KEY
PRIMARY
user_info_data
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
fieldid  
BIGINT(10)
NN
data  
LONGTEXT
NN
dataformat  
TINYINT(2)
NN
KEY
PRIMARY
KEY
userinfodata_usefie_uix
lti_access_tokens
PK
id  
BIGINT(10)
NN
typeid  
BIGINT(10)
NN
scope  
LONGTEXT
NN
AK
token  
VARCHAR(128)
NN
validuntil  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
lastaccess  
BIGINT(10)
KEY
PRIMARY
KEY
ltiaccetoke_tok_uix
IX
ltiaccetoke_typ_ix
comments
PK
id  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
component  
VARCHAR(255)
commentarea  
VARCHAR(255)
NN
itemid  
BIGINT(10)
NN
content  
LONGTEXT
NN
format  
TINYINT(2)
NN
userid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
comm_concomite_ix
IX
comm_use_ix
mnet_host
PK
id  
BIGINT(10)
NN
deleted  
TINYINT(1)
NN
wwwroot  
VARCHAR(255)
NN
ip_address  
VARCHAR(45)
NN
name  
VARCHAR(80)
NN
public_key  
LONGTEXT
NN
public_key_expires  
BIGINT(10)
NN
transport  
TINYINT(2)
NN
portno  
MEDIUMINT(5)
NN
last_connect_time  
BIGINT(10)
NN
last_log_id  
BIGINT(10)
NN
force_theme  
TINYINT(1)
NN
theme  
VARCHAR(100)
applicationid  
BIGINT(10)
NN
sslverification  
TINYINT(1)
NN
KEY
PRIMARY
IX
mnethost_las_ix
IX
mnethost_app_ix
competency_evidence
PK
id  
BIGINT(10)
NN
usercompetencyid  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
action  
TINYINT(2)
NN
actionuserid  
BIGINT(10)
descidentifier  
VARCHAR(255)
NN
desccomponent  
VARCHAR(255)
NN
desca  
LONGTEXT
url  
VARCHAR(255)
grade  
BIGINT(10)
note  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
compevid_use_ix
IX
compevid_con_ix
IX
compevid_act_ix
IX
compevid_use2_ix
forum
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
type  
VARCHAR(20)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
duedate  
BIGINT(10)
NN
cutoffdate  
BIGINT(10)
NN
assessed  
BIGINT(10)
NN
assesstimestart  
BIGINT(10)
NN
assesstimefinish  
BIGINT(10)
NN
scale  
BIGINT(10)
NN
grade_forum  
BIGINT(10)
NN
grade_forum_notify  
SMALLINT(4)
NN
maxbytes  
BIGINT(10)
NN
maxattachments  
BIGINT(10)
NN
forcesubscribe  
TINYINT(1)
NN
trackingtype  
TINYINT(2)
NN
rsstype  
TINYINT(2)
NN
rssarticles  
TINYINT(2)
NN
timemodified  
BIGINT(10)
NN
warnafter  
BIGINT(10)
NN
blockafter  
BIGINT(10)
NN
blockperiod  
BIGINT(10)
NN
completiondiscussions  
INT(9)
NN
completionreplies  
INT(9)
NN
completionposts  
INT(9)
NN
displaywordcount  
TINYINT(1)
NN
lockdiscussionafter  
BIGINT(10)
NN
KEY
PRIMARY
IX
foru_cou_ix
feedback
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
NN
anonymous  
TINYINT(1)
NN
email_notification  
TINYINT(1)
NN
multiple_submit  
TINYINT(1)
NN
autonumbering  
TINYINT(1)
NN
site_after_submit  
VARCHAR(255)
NN
page_after_submit  
LONGTEXT
NN
page_after_submitformat  
TINYINT(2)
NN
publish_stats  
TINYINT(1)
NN
timeopen  
BIGINT(10)
NN
timeclose  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
completionsubmit  
TINYINT(1)
NN
KEY
PRIMARY
IX
feed_cou_ix
capabilities
PK
id  
BIGINT(10)
NN
AK
name  
VARCHAR(255)
NN
captype  
VARCHAR(50)
NN
contextlevel  
BIGINT(10)
NN
component  
VARCHAR(100)
NN
riskbitmask  
BIGINT(10)
NN
KEY
PRIMARY
KEY
capa_nam_uix
mnet_remote_service2rpc
PK
id  
BIGINT(10)
NN
AK
serviceid  
BIGINT(10)
NN
AK
rpcid  
BIGINT(10)
NN
KEY
PRIMARY
KEY
mnetremoserv_rpcser_uix
label
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
NN
introformat  
SMALLINT(4)
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
labe_cou_ix
grade_settings
PK
id  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
AK
name  
VARCHAR(255)
NN
value  
LONGTEXT
KEY
PRIMARY
KEY
gradsett_counam_uix
IX
gradsett_cou_ix
grade_items_history
PK
id  
BIGINT(10)
NN
action  
BIGINT(10)
NN
oldid  
BIGINT(10)
NN
source  
VARCHAR(255)
timemodified  
BIGINT(10)
loggeduser  
BIGINT(10)
courseid  
BIGINT(10)
categoryid  
BIGINT(10)
itemname  
VARCHAR(255)
itemtype  
VARCHAR(30)
NN
itemmodule  
VARCHAR(30)
iteminstance  
BIGINT(10)
itemnumber  
BIGINT(10)
iteminfo  
LONGTEXT
idnumber  
VARCHAR(255)
calculation  
LONGTEXT
gradetype  
SMALLINT(4)
NN
grademax  
DECIMAL(10,5)
NN
grademin  
DECIMAL(10,5)
NN
scaleid  
BIGINT(10)
outcomeid  
BIGINT(10)
gradepass  
DECIMAL(10,5)
NN
multfactor  
DECIMAL(10,5)
NN
plusfactor  
DECIMAL(10,5)
NN
aggregationcoef  
DECIMAL(10,5)
NN
aggregationcoef2  
DECIMAL(10,5)
NN
sortorder  
BIGINT(10)
NN
hidden  
BIGINT(10)
NN
locked  
BIGINT(10)
NN
locktime  
BIGINT(10)
NN
needsupdate  
BIGINT(10)
NN
display  
BIGINT(10)
NN
decimals  
TINYINT(1)
weightoverride  
TINYINT(1)
NN
KEY
PRIMARY
IX
graditemhist_act_ix
IX
graditemhist_tim_ix
IX
graditemhist_old_ix
IX
graditemhist_cou_ix
IX
graditemhist_cat_ix
IX
graditemhist_sca_ix
IX
graditemhist_out_ix
IX
graditemhist_log_ix
tag_correlation
PK
id  
BIGINT(10)
NN
tagid  
BIGINT(10)
NN
correlatedtags  
LONGTEXT
NN
KEY
PRIMARY
IX
tagcorr_tag_ix
forum_read
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
forumid  
BIGINT(10)
NN
discussionid  
BIGINT(10)
NN
postid  
BIGINT(10)
NN
firstread  
BIGINT(10)
NN
lastread  
BIGINT(10)
NN
KEY
PRIMARY
IX
foruread_foruse_ix
IX
foruread_disuse_ix
IX
foruread_posuse_ix
IX
foruread_use_ix
stats_weekly
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
roleid  
BIGINT(10)
NN
stattype  
VARCHAR(20)
NN
stat1  
BIGINT(10)
NN
stat2  
BIGINT(10)
NN
KEY
PRIMARY
IX
statweek_cou_ix
IX
statweek_tim_ix
IX
statweek_rol_ix
tool_dataprivacy_purpose
PK
id  
BIGINT(10)
NN
name  
VARCHAR(100)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(1)
lawfulbases  
LONGTEXT
NN
sensitivedatareasons  
LONGTEXT
retentionperiod  
VARCHAR(255)
NN
protected  
TINYINT(1)
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
assign_user_flags
PK
id  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
assignment  
BIGINT(10)
NN
locked  
BIGINT(10)
NN
mailed  
SMALLINT(4)
NN
extensionduedate  
BIGINT(10)
NN
workflowstate  
VARCHAR(20)
allocatedmarker  
BIGINT(10)
NN
KEY
PRIMARY
IX
assiuserflag_mai_ix
IX
assiuserflag_use_ix
IX
assiuserflag_ass_ix
payment_gateways
PK
id  
BIGINT(10)
NN
accountid  
BIGINT(10)
NN
gateway  
VARCHAR(100)
NN
enabled  
TINYINT(1)
NN
config  
LONGTEXT
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
paymgate_acc_ix
qtype_shortanswer_options
PK
id  
BIGINT(10)
NN
AK
questionid  
BIGINT(10)
NN
usecase  
TINYINT(2)
NN
KEY
PRIMARY
KEY
qtypshoropti_que_uix
editor_atto_autosave
PK
id  
BIGINT(10)
NN
AK
elementid  
VARCHAR(255)
NN
AK
contextid  
BIGINT(10)
NN
AK
pagehash  
VARCHAR(64)
NN
AK
userid  
BIGINT(10)
NN
drafttext  
LONGTEXT
NN
draftid  
BIGINT(10)
pageinstance  
VARCHAR(64)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
editattoauto_eleconusepag_uix
tool_monitor_rules
PK
id  
BIGINT(10)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(1)
NN
name  
VARCHAR(254)
NN
userid  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
plugin  
VARCHAR(254)
NN
eventname  
VARCHAR(254)
NN
template  
LONGTEXT
NN
templateformat  
TINYINT(1)
NN
frequency  
SMALLINT(4)
NN
timewindow  
MEDIUMINT(5)
NN
timemodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
toolmonirule_couuse_ix
IX
toolmonirule_eve_ix
question_attempt_step_data
PK
id  
BIGINT(10)
NN
attemptstepid  
BIGINT(10)
NN
name  
VARCHAR(32)
NN
value  
LONGTEXT
KEY
PRIMARY
IX
quesattestepdata_att_ix
oauth2_access_token
PK
id  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
AK
issuerid  
BIGINT(10)
NN
token  
LONGTEXT
NN
expires  
BIGINT(10)
NN
scope  
LONGTEXT
NN
KEY
PRIMARY
KEY
oautaccetoke_iss_uix
IX
oautaccetoke_use_ix
grade_grades
PK
id  
BIGINT(10)
NN
AK
itemid  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
rawgrade  
DECIMAL(10,5)
rawgrademax  
DECIMAL(10,5)
NN
rawgrademin  
DECIMAL(10,5)
NN
rawscaleid  
BIGINT(10)
usermodified  
BIGINT(10)
finalgrade  
DECIMAL(10,5)
hidden  
BIGINT(10)
NN
locked  
BIGINT(10)
NN
locktime  
BIGINT(10)
NN
exported  
BIGINT(10)
NN
overridden  
BIGINT(10)
NN
excluded  
BIGINT(10)
NN
feedback  
LONGTEXT
feedbackformat  
BIGINT(10)
NN
information  
LONGTEXT
informationformat  
BIGINT(10)
NN
timecreated  
BIGINT(10)
timemodified  
BIGINT(10)
aggregationstatus  
VARCHAR(10)
NN
aggregationweight  
DECIMAL(10,5)
KEY
PRIMARY
KEY
gradgrad_useite_uix
IX
gradgrad_locloc_ix
IX
gradgrad_ite_ix
IX
gradgrad_use_ix
IX
gradgrad_raw_ix
IX
gradgrad_use2_ix
gradingform_rubric_criteria
PK
id  
BIGINT(10)
NN
definitionid  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
description  
LONGTEXT
descriptionformat  
TINYINT(2)
KEY
PRIMARY
IX
gradrubrcrit_def_ix
role_context_levels
PK
id  
BIGINT(10)
NN
AK
roleid  
BIGINT(10)
NN
AK
contextlevel  
BIGINT(10)
NN
KEY
PRIMARY
KEY
rolecontleve_conrol_uix
IX
rolecontleve_rol_ix
message_providers
PK
id  
BIGINT(10)
NN
AK
name  
VARCHAR(100)
NN
AK
component  
VARCHAR(200)
NN
capability  
VARCHAR(255)
KEY
PRIMARY
KEY
messprov_comnam_uix
competency_templatecohort
PK
id  
BIGINT(10)
NN
AK
templateid  
BIGINT(10)
NN
AK
cohortid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
comptemp_temcoh_uix
IX
comptemp_tem2_ix
IX
comptemp_use3_ix
grade_outcomes_courses
PK
id  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
AK
outcomeid  
BIGINT(10)
NN
KEY
PRIMARY
KEY
gradoutccour_couout_uix
IX
gradoutccour_cou_ix
IX
gradoutccour_out_ix
badge_backpack
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
email  
VARCHAR(100)
NN
backpackuid  
BIGINT(10)
NN
autosync  
TINYINT(1)
NN
password  
VARCHAR(50)
AK
externalbackpackid  
BIGINT(10)
KEY
PRIMARY
KEY
badgback_useext_uix
IX
badgback_use_ix
IX
badgback_ext_ix
upgrade_log
PK
id  
BIGINT(10)
NN
type  
BIGINT(10)
NN
plugin  
VARCHAR(100)
version  
VARCHAR(100)
targetversion  
VARCHAR(100)
info  
VARCHAR(255)
NN
details  
LONGTEXT
backtrace  
LONGTEXT
userid  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
upgrlog_tim_ix
IX
upgrlog_typtim_ix
IX
upgrlog_use_ix
message_conversation_members
PK
id  
BIGINT(10)
NN
conversationid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
messconvmemb_con_ix
IX
messconvmemb_use_ix
resource
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
NN
tobemigrated  
SMALLINT(4)
NN
legacyfiles  
SMALLINT(4)
NN
legacyfileslast  
BIGINT(10)
display  
SMALLINT(4)
NN
displayoptions  
LONGTEXT
filterfiles  
SMALLINT(4)
NN
revision  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
reso_cou_ix
tool_monitor_events
PK
id  
BIGINT(10)
NN
eventname  
VARCHAR(254)
NN
contextid  
BIGINT(10)
NN
contextlevel  
BIGINT(10)
NN
contextinstanceid  
BIGINT(10)
NN
link  
VARCHAR(254)
NN
courseid  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
KEY
PRIMARY
IX
toolmonieven_cou_ix
IX
toolmonieven_con_ix
IX
toolmonieven_con2_ix
assign_overrides
PK
id  
BIGINT(10)
NN
assignid  
BIGINT(10)
NN
groupid  
BIGINT(10)
userid  
BIGINT(10)
sortorder  
BIGINT(10)
allowsubmissionsfromdate  
BIGINT(10)
duedate  
BIGINT(10)
cutoffdate  
BIGINT(10)
timelimit  
BIGINT(10)
KEY
PRIMARY
IX
assiover_ass_ix
IX
assiover_gro_ix
IX
assiover_use_ix
config_plugins
PK
id  
BIGINT(10)
NN
AK
plugin  
VARCHAR(100)
NN
AK
name  
VARCHAR(100)
NN
value  
LONGTEXT
NN
KEY
PRIMARY
KEY
confplug_plunam_uix
enrol_flatfile
PK
id  
BIGINT(10)
NN
action  
VARCHAR(30)
NN
roleid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
timestart  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
enroflat_cou_ix
IX
enroflat_use_ix
IX
enroflat_rol_ix
lti
PK
id  
BIGINT(10)
NN
course  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
intro  
LONGTEXT
introformat  
SMALLINT(4)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
typeid  
BIGINT(10)
toolurl  
LONGTEXT
NN
securetoolurl  
LONGTEXT
instructorchoicesendname  
TINYINT(1)
instructorchoicesendemailaddr  
TINYINT(1)
instructorchoiceallowroster  
TINYINT(1)
instructorchoiceallowsetting  
TINYINT(1)
instructorcustomparameters  
LONGTEXT
instructorchoiceacceptgrades  
TINYINT(1)
grade  
BIGINT(10)
NN
launchcontainer  
TINYINT(2)
NN
resourcekey  
VARCHAR(255)
password  
VARCHAR(255)
debuglaunch  
TINYINT(1)
NN
showtitlelaunch  
TINYINT(1)
NN
showdescriptionlaunch  
TINYINT(1)
NN
servicesalt  
VARCHAR(40)
icon  
LONGTEXT
secureicon  
LONGTEXT
KEY
PRIMARY
IX
lti_cou_ix
stats_user_monthly
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
roleid  
BIGINT(10)
NN
timeend  
BIGINT(10)
NN
statsreads  
BIGINT(10)
NN
statswrites  
BIGINT(10)
NN
stattype  
VARCHAR(30)
NN
KEY
PRIMARY
IX
statusermont_cou_ix
IX
statusermont_use_ix
IX
statusermont_rol_ix
IX
statusermont_tim_ix
task_adhoc
PK
id  
BIGINT(10)
NN
component  
VARCHAR(255)
NN
classname  
VARCHAR(255)
NN
nextruntime  
BIGINT(10)
NN
faildelay  
BIGINT(10)
customdata  
LONGTEXT
userid  
BIGINT(10)
blocking  
TINYINT(2)
NN
timecreated  
BIGINT(10)
NN
timestarted  
BIGINT(10)
hostname  
VARCHAR(255)
pid  
BIGINT(10)
KEY
PRIMARY
IX
taskadho_nex_ix
IX
taskadho_tim_ix
IX
taskadho_use_ix
choice_options
PK
id  
BIGINT(10)
NN
choiceid  
BIGINT(10)
NN
text  
LONGTEXT
maxanswers  
BIGINT(10)
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
choiopti_cho_ix
tool_usertours_tours
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
description  
LONGTEXT
pathmatch  
VARCHAR(255)
enabled  
TINYINT(1)
NN
sortorder  
BIGINT(10)
NN
endtourlabel  
VARCHAR(255)
configdata  
LONGTEXT
NN
displaystepnumbers  
TINYINT(1)
NN
KEY
PRIMARY
bigbluebuttonbn_recordings
PK
id  
BIGINT(10)
NN
courseid  
BIGINT(10)
NN
bigbluebuttonbnid  
BIGINT(10)
NN
groupid  
BIGINT(10)
recordingid  
VARCHAR(64)
NN
headless  
TINYINT(1)
NN
imported  
TINYINT(1)
NN
status  
TINYINT(1)
NN
importeddata  
LONGTEXT
timecreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
bigbreco_cou_ix
IX
bigbreco_rec_ix
IX
bigbreco_big_ix
IX
bigbreco_use_ix
workshopform_rubric_config
PK
id  
BIGINT(10)
NN
AK
workshopid  
BIGINT(10)
NN
layout  
VARCHAR(30)
KEY
PRIMARY
KEY
workrubrconf_wor_uix
reportbuilder_audience
PK
id  
BIGINT(10)
NN
reportid  
BIGINT(10)
NN
heading  
VARCHAR(255)
classname  
VARCHAR(255)
NN
configdata  
LONGTEXT
NN
usercreated  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
repoaudi_rep_ix
IX
repoaudi_use_ix
IX
repoaudi_use2_ix
book_chapters
PK
id  
BIGINT(10)
NN
bookid  
BIGINT(10)
NN
pagenum  
BIGINT(10)
NN
subchapter  
BIGINT(10)
NN
title  
VARCHAR(255)
NN
content  
LONGTEXT
NN
contentformat  
SMALLINT(4)
NN
hidden  
TINYINT(2)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
importsrc  
VARCHAR(255)
NN
KEY
PRIMARY
IX
bookchap_boo_ix
cohort
PK
id  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
name  
VARCHAR(254)
NN
idnumber  
VARCHAR(100)
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
visible  
TINYINT(1)
NN
component  
VARCHAR(100)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
theme  
VARCHAR(50)
KEY
PRIMARY
IX
coho_con_ix
grade_grades_history
PK
id  
BIGINT(10)
NN
action  
BIGINT(10)
NN
oldid  
BIGINT(10)
NN
source  
VARCHAR(255)
timemodified  
BIGINT(10)
loggeduser  
BIGINT(10)
itemid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
rawgrade  
DECIMAL(10,5)
rawgrademax  
DECIMAL(10,5)
NN
rawgrademin  
DECIMAL(10,5)
NN
rawscaleid  
BIGINT(10)
usermodified  
BIGINT(10)
finalgrade  
DECIMAL(10,5)
hidden  
BIGINT(10)
NN
locked  
BIGINT(10)
NN
locktime  
BIGINT(10)
NN
exported  
BIGINT(10)
NN
overridden  
BIGINT(10)
NN
excluded  
BIGINT(10)
NN
feedback  
LONGTEXT
feedbackformat  
BIGINT(10)
NN
information  
LONGTEXT
informationformat  
BIGINT(10)
NN
KEY
PRIMARY
IX
gradgradhist_act_ix
IX
gradgradhist_tim_ix
IX
gradgradhist_useitetim_ix
IX
gradgradhist_old_ix
IX
gradgradhist_ite_ix
IX
gradgradhist_use_ix
IX
gradgradhist_raw_ix
IX
gradgradhist_use2_ix
IX
gradgradhist_log_ix
course_format_options
PK
id  
BIGINT(10)
NN
AK
courseid  
BIGINT(10)
NN
AK
format  
VARCHAR(21)
NN
AK
sectionid  
BIGINT(10)
NN
AK
name  
VARCHAR(100)
NN
value  
LONGTEXT
KEY
PRIMARY
KEY
courformopti_couforsecnam_uix
IX
courformopti_cou_ix
h5p_libraries
PK
id  
BIGINT(10)
NN
machinename  
VARCHAR(255)
NN
title  
VARCHAR(255)
NN
majorversion  
SMALLINT(4)
NN
minorversion  
SMALLINT(4)
NN
patchversion  
SMALLINT(4)
NN
runnable  
TINYINT(1)
NN
fullscreen  
TINYINT(1)
NN
embedtypes  
VARCHAR(255)
NN
preloadedjs  
LONGTEXT
preloadedcss  
LONGTEXT
droplibrarycss  
LONGTEXT
semantics  
LONGTEXT
addto  
LONGTEXT
coremajor  
SMALLINT(4)
coreminor  
SMALLINT(4)
metadatasettings  
LONGTEXT
tutorial  
LONGTEXT
example  
LONGTEXT
enabled  
TINYINT(1)
KEY
PRIMARY
IX
h5plibr_macmajminpatrun_ix
tool_brickfield_areas
PK
id  
BIGINT(10)
NN
type  
TINYINT(2)
NN
contextid  
BIGINT(10)
component  
VARCHAR(100)
tablename  
VARCHAR(40)
fieldorarea  
VARCHAR(50)
itemid  
BIGINT(10)
filename  
VARCHAR(1333)
reftable  
VARCHAR(40)
refid  
BIGINT(10)
cmid  
BIGINT(10)
courseid  
BIGINT(10)
categoryid  
BIGINT(10)
KEY
PRIMARY
IX
toolbricarea_coucmi_ix
IX
toolbricarea_typtabitefie_ix
IX
toolbricarea_typconcomfieit_ix
IX
toolbricarea_refreftyp_ix
IX
toolbricarea_cou_ix
IX
toolbricarea_cmi_ix
IX
toolbricarea_cat_ix
IX
toolbricarea_con_ix
forum_subscriptions
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
AK
forum  
BIGINT(10)
NN
KEY
PRIMARY
KEY
forusubs_usefor_uix
IX
forusubs_use_ix
IX
forusubs_for_ix
oauth2_endpoint
PK
id  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
usermodified  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
url  
LONGTEXT
NN
issuerid  
BIGINT(10)
NN
KEY
PRIMARY
IX
oautendp_iss_ix
IX
oautendp_use_ix
lti_tool_proxies
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
regurl  
LONGTEXT
state  
TINYINT(2)
NN
AK
guid  
VARCHAR(255)
secret  
VARCHAR(255)
vendorcode  
VARCHAR(255)
capabilityoffered  
LONGTEXT
NN
serviceoffered  
LONGTEXT
NN
toolproxy  
LONGTEXT
createdby  
BIGINT(10)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
ltitoolprox_gui_uix
enrol_lti_lti2_tool_proxy
PK
id  
BIGINT(11)
NN
AK
toolproxykey  
VARCHAR(32)
NN
consumerid  
BIGINT(11)
NN
toolproxy  
LONGTEXT
NN
created  
BIGINT(10)
NN
updated  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enroltilti2toolprox_too_uix
IX
enroltilti2toolprox_con_ix
mnet_rpc
PK
id  
BIGINT(10)
NN
functionname  
VARCHAR(40)
NN
xmlrpcpath  
VARCHAR(80)
NN
plugintype  
VARCHAR(20)
NN
pluginname  
VARCHAR(20)
NN
enabled  
TINYINT(1)
NN
help  
LONGTEXT
NN
profile  
LONGTEXT
NN
filename  
VARCHAR(100)
NN
classname  
VARCHAR(150)
static  
TINYINT(1)
KEY
PRIMARY
IX
mnetrpc_enaxml_ix
enrol_lti_tools
PK
id  
BIGINT(10)
NN
enrolid  
BIGINT(10)
NN
contextid  
BIGINT(10)
NN
ltiversion  
VARCHAR(15)
NN
institution  
VARCHAR(40)
NN
lang  
VARCHAR(30)
NN
timezone  
VARCHAR(100)
NN
maxenrolled  
BIGINT(10)
NN
maildisplay  
TINYINT(2)
NN
city  
VARCHAR(120)
NN
country  
VARCHAR(2)
NN
gradesync  
TINYINT(1)
NN
gradesynccompletion  
TINYINT(1)
NN
membersync  
TINYINT(1)
NN
membersyncmode  
TINYINT(1)
NN
roleinstructor  
BIGINT(10)
NN
rolelearner  
BIGINT(10)
NN
secret  
LONGTEXT
AK
uuid  
VARCHAR(36)
provisioningmodelearner  
TINYINT(2)
provisioningmodeinstructor  
TINYINT(2)
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
enroltitool_uui_uix
IX
enroltitool_enr_ix
IX
enroltitool_con_ix
course_completion_defaults
PK
id  
BIGINT(10)
NN
AK
course  
BIGINT(10)
NN
AK
module  
BIGINT(10)
NN
completion  
TINYINT(1)
NN
completionview  
TINYINT(1)
NN
completionusegrade  
TINYINT(1)
NN
completionpassgrade  
TINYINT(1)
NN
completionexpected  
BIGINT(10)
NN
customrules  
LONGTEXT
KEY
PRIMARY
KEY
courcompdefa_coumod_uix
IX
courcompdefa_mod_ix
IX
courcompdefa_cou_ix
qtype_ddmarker_drops
PK
id  
BIGINT(10)
NN
questionid  
BIGINT(10)
NN
no  
BIGINT(10)
NN
shape  
VARCHAR(255)
coords  
LONGTEXT
NN
choice  
BIGINT(10)
NN
KEY
PRIMARY
IX
qtypddmadrop_que_ix
badge_criteria_param
PK
id  
BIGINT(10)
NN
critid  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
value  
VARCHAR(255)
KEY
PRIMARY
IX
badgcritpara_cri_ix
auth_lti_linked_login
PK
id  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
issuer  
LONGTEXT
NN
AK
issuer256  
VARCHAR(64)
NN
sub  
VARCHAR(255)
NN
AK
sub256  
VARCHAR(64)
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
KEY
authltilinklogi_useisssub_uix
IX
authltilinklogi_use_ix
course_categories
PK
id  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
idnumber  
VARCHAR(100)
description  
LONGTEXT
descriptionformat  
TINYINT(2)
NN
parent  
BIGINT(10)
NN
sortorder  
BIGINT(10)
NN
coursecount  
BIGINT(10)
NN
visible  
TINYINT(1)
NN
visibleold  
TINYINT(1)
NN
timemodified  
BIGINT(10)
NN
depth  
BIGINT(10)
NN
path  
VARCHAR(255)
NN
theme  
VARCHAR(50)
KEY
PRIMARY
IX
courcate_par_ix
question_datasets
PK
id  
BIGINT(10)
NN
question  
BIGINT(10)
NN
datasetdefinition  
BIGINT(10)
NN
KEY
PRIMARY
IX
quesdata_quedat_ix
IX
quesdata_que_ix
IX
quesdata_dat_ix
feedback_item
PK
id  
BIGINT(10)
NN
feedback  
BIGINT(10)
NN
template  
BIGINT(10)
NN
name  
VARCHAR(255)
NN
label  
VARCHAR(255)
NN
presentation  
LONGTEXT
NN
typ  
VARCHAR(255)
NN
hasvalue  
TINYINT(1)
NN
position  
SMALLINT(3)
NN
required  
TINYINT(1)
NN
dependitem  
BIGINT(10)
NN
dependvalue  
VARCHAR(255)
NN
options  
VARCHAR(255)
NN
KEY
PRIMARY
IX
feeditem_fee_ix
IX
feeditem_tem_ix
notifications
PK
id  
BIGINT(10)
NN
useridfrom  
BIGINT(10)
NN
useridto  
BIGINT(10)
NN
subject  
LONGTEXT
fullmessage  
LONGTEXT
fullmessageformat  
TINYINT(1)
NN
fullmessagehtml  
LONGTEXT
smallmessage  
LONGTEXT
component  
VARCHAR(100)
eventtype  
VARCHAR(100)
contexturl  
LONGTEXT
contexturlname  
LONGTEXT
timeread  
BIGINT(10)
timecreated  
BIGINT(10)
NN
customdata  
LONGTEXT
KEY
PRIMARY
IX
noti_use_ix
IX
noti_use2_ix
lesson_timer
PK
id  
BIGINT(10)
NN
lessonid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
starttime  
BIGINT(10)
NN
lessontime  
BIGINT(10)
NN
completed  
TINYINT(1)
timemodifiedoffline  
BIGINT(10)
NN
KEY
PRIMARY
IX
lesstime_use_ix
IX
lesstime_les_ix
external_services_users
PK
id  
BIGINT(10)
NN
externalserviceid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
iprestriction  
VARCHAR(255)
validuntil  
BIGINT(10)
timecreated  
BIGINT(10)
KEY
PRIMARY
IX
exteservuser_ext_ix
IX
exteservuser_use_ix
task_scheduled
PK
id  
BIGINT(10)
NN
component  
VARCHAR(255)
NN
AK
classname  
VARCHAR(255)
NN
lastruntime  
BIGINT(10)
nextruntime  
BIGINT(10)
blocking  
TINYINT(2)
NN
minute  
VARCHAR(200)
NN
hour  
VARCHAR(70)
NN
day  
VARCHAR(90)
NN
month  
VARCHAR(30)
NN
dayofweek  
VARCHAR(25)
NN
faildelay  
BIGINT(10)
customised  
TINYINT(2)
NN
disabled  
TINYINT(1)
NN
timestarted  
BIGINT(10)
hostname  
VARCHAR(255)
pid  
BIGINT(10)
KEY
PRIMARY
KEY
tasksche_cla_uix
choice_answers
PK
id  
BIGINT(10)
NN
choiceid  
BIGINT(10)
NN
userid  
BIGINT(10)
NN
optionid  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
KEY
PRIMARY
IX
choiansw_use_ix
IX
choiansw_cho_ix
IX
choiansw_opt_ix
wiki_pages
PK
id  
BIGINT(10)
NN
AK
subwikiid  
BIGINT(10)
NN
AK
title  
VARCHAR(255)
NN
cachedcontent  
LONGTEXT
NN
timecreated  
BIGINT(10)
NN
timemodified  
BIGINT(10)
NN
timerendered  
BIGINT(10)
NN
AK
userid  
BIGINT(10)
NN
pageviews  
BIGINT(10)
NN
readonly  
TINYINT(1)
NN
KEY
PRIMARY
KEY
wikipage_subtituse_uix
IX
wikipage_sub_ix

LUNA MODELER

WWW.DATENSEN.COM

License

Copyright in the Moodle software and documentation

The overall Moodle software package is Copyright © 1999 onwards, Martin Dougiamas with portions contributed/copyrighted by many others (see the Developer credits and the source code itself) and all of it is provided under the terms of the GPL. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License (for Moodle 1.x), version 3 of the License (for Moodle 2.x) or (at your option) any later version.


Use of Moodle Marks

The word Moodle and associated Moodle logos are trademarks or registered trademarks of Moodle Pty Ltd or its related affiliates. Permitted uses are stated on our website at http://moodle.com/trademarks and the Trademark Guidelines available there. Most importantly, without prior written permission from Moodle, you cannot use the word "Moodle" or any Moodle logos (nor any derivatives thereof, or any words or marks that are deceptively or confusingly similar) for any commercial purposes, or in ways that are likely to confuse consumers about the origin of the software, or to suggest that you are in any way associated with or endorsed by Moodle.

Entity Relationship Diagram

Moodle - MariaDB

Documentation for project Moodle
Moodle
Project
Name
Moodle
Diagram
Name
Main Diagram
Report
Generated
11/7/2026 | 12:31:22 AM
tables
Name
adminpresets
Description
Table to store presets data
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
comments
LONGTEXT
site
VARCHAR
255
Yes
Default value
''
author
VARCHAR
255
moodleversion
VARCHAR
20
Yes
Default value
''
moodlerelease
VARCHAR
255
Yes
Default value
''
iscore
TINYINT
1
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timeimported
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
adminpresets_app
Description
Applied presets
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
adminpresetid
BIGINT
10
Yes
userid
BIGINT
10
Yes
time
BIGINT
10
Yes
Indexes
admiapp_adm_ix
Column name
adminpresetid
Keys
PRIMARY
Column in PRIMARY
id
Name
adminpresets_app_it
Description
Admin presets applied items. To maintain the relation with c
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
adminpresetapplyid
BIGINT
10
Yes
configlogid
BIGINT
10
Yes
Indexes
admiappit_con_ix
Column name
configlogid
admiappit_adm_ix
Column name
adminpresetapplyid
Keys
PRIMARY
Column in PRIMARY
id
Name
adminpresets_app_it_a
Description
Attributes of the applied items
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
adminpresetapplyid
BIGINT
10
Yes
configlogid
BIGINT
10
Yes
itemname
VARCHAR
100
Indexes
admiappita_con_ix
Column name
configlogid
admiappita_adm_ix
Column name
adminpresetapplyid
Keys
PRIMARY
Column in PRIMARY
id
Name
adminpresets_app_plug
Description
Admin presets plugins applied
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
adminpresetapplyid
BIGINT
10
Yes
plugin
VARCHAR
100
name
VARCHAR
100
Yes
Default value
''
value
SMALLINT
4
Yes
Default value
0
oldvalue
SMALLINT
4
Yes
Default value
0
Indexes
admiappplug_adm_ix
Column name
adminpresetapplyid
Keys
PRIMARY
Column in PRIMARY
id
Name
adminpresets_it
Description
Table to store settings
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
adminpresetid
BIGINT
10
Yes
plugin
VARCHAR
100
name
VARCHAR
100
Yes
Default value
''
value
LONGTEXT
Indexes
admiit_adm_ix
Column name
adminpresetid
Keys
PRIMARY
Column in PRIMARY
id
Name
adminpresets_it_a
Description
Admin presets items attributes. For settings with attributes
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
itemid
BIGINT
10
Yes
name
VARCHAR
100
Yes
Default value
''
value
LONGTEXT
Indexes
admiita_ite_ix
Column name
itemid
Keys
PRIMARY
Column in PRIMARY
id
Name
adminpresets_plug
Description
Admin presets plugins status, to store information about whe
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
adminpresetid
BIGINT
10
Yes
plugin
VARCHAR
100
name
VARCHAR
100
Yes
Default value
''
enabled
SMALLINT
4
Yes
Default value
0
Indexes
admiplug_adm_ix
Column name
adminpresetid
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_indicator_calc
Description
Stored indicator calculations
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
starttime
BIGINT
10
Yes
endtime
BIGINT
10
Yes
contextid
BIGINT
10
Yes
sampleorigin
VARCHAR
255
Yes
Default value
''
sampleid
BIGINT
10
Yes
indicator
VARCHAR
255
Yes
Default value
''
value
DECIMAL
10,2
timecreated
BIGINT
10
Yes
Indexes
analindicalc_staendcon_ix
Column name
starttime
Column name
endtime
Column name
contextid
analindicalc_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_models
Description
Analytic models.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
enabled
TINYINT
1
Yes
Default value
0
trained
TINYINT
1
Yes
Default value
0
name
VARCHAR
1333
target
VARCHAR
255
Yes
Default value
''
indicators
LONGTEXT
Yes
timesplitting
VARCHAR
255
predictionsprocessor
VARCHAR
255
version
BIGINT
10
Yes
contextids
LONGTEXT
timecreated
BIGINT
10
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
Indexes
analmode_enatra_ix
Column name
enabled
Column name
trained
analmode_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_models_log
Description
Analytic models changes during evaluation.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
modelid
BIGINT
10
Yes
version
BIGINT
10
Yes
evaluationmode
VARCHAR
50
Yes
Default value
''
target
VARCHAR
255
Yes
Default value
''
indicators
LONGTEXT
Yes
timesplitting
VARCHAR
255
score
DECIMAL
10,5
Yes
Default value
0.00000
info
LONGTEXT
dir
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
Indexes
analmodelog_mod_ix
Column name
modelid
analmodelog_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_predictions
Description
Predictions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
modelid
BIGINT
10
Yes
contextid
BIGINT
10
Yes
sampleid
BIGINT
10
Yes
rangeindex
MEDIUMINT
5
Yes
prediction
DECIMAL
10,2
Yes
predictionscore
DECIMAL
10,5
Yes
calculations
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
Default value
0
timestart
BIGINT
10
timeend
BIGINT
10
Indexes
analpred_modcon_ix
Column name
modelid
Column name
contextid
analpred_mod_ix
Column name
modelid
analpred_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_prediction_actions
Description
Register of user actions over predictions.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
predictionid
BIGINT
10
Yes
userid
BIGINT
10
Yes
actionname
VARCHAR
255
Yes
Default value
''
timecreated
BIGINT
10
Yes
Indexes
analpredacti_preuseact_ix
Column name
predictionid
Column name
userid
Column name
actionname
analpredacti_pre_ix
Column name
predictionid
analpredacti_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_predict_samples
Description
Samples already used for predictions.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
modelid
BIGINT
10
Yes
analysableid
BIGINT
10
Yes
timesplitting
VARCHAR
255
Yes
Default value
''
rangeindex
BIGINT
10
Yes
sampleids
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
analpredsamp_modanatimran_ix
Column name
modelid
Column name
analysableid
Column name
timesplitting
Column name
rangeindex
analpredsamp_mod_ix
Column name
modelid
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_train_samples
Description
Samples used for training
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
modelid
BIGINT
10
Yes
analysableid
BIGINT
10
Yes
timesplitting
VARCHAR
255
Yes
Default value
''
sampleids
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
Default value
0
Indexes
analtraisamp_modanatim_ix
Column name
modelid
Column name
analysableid
Column name
timesplitting
analtraisamp_mod_ix
Column name
modelid
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_used_analysables
Description
List of analysables used by each model
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
modelid
BIGINT
10
Yes
action
VARCHAR
50
Yes
Default value
''
analysableid
BIGINT
10
Yes
firstanalysis
BIGINT
10
Yes
timeanalysed
BIGINT
10
Yes
Indexes
analusedanal_modact_ix
Column name
modelid
Column name
action
analusedanal_ana_ix
Column name
analysableid
analusedanal_mod_ix
Column name
modelid
Keys
PRIMARY
Column in PRIMARY
id
Name
analytics_used_files
Description
Files that have already been used for training and predictio
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
modelid
BIGINT
10
Yes
Default value
0
fileid
BIGINT
10
Yes
Default value
0
action
VARCHAR
50
Yes
Default value
''
time
BIGINT
10
Yes
Default value
0
Indexes
analusedfile_modactfil_ix
Column name
modelid
Column name
action
Column name
fileid
analusedfile_mod_ix
Column name
modelid
analusedfile_fil_ix
Column name
fileid
Keys
PRIMARY
Column in PRIMARY
id
Name
assign
Description
This table saves information about an instance of mod_assign
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
alwaysshowdescription
TINYINT
2
Yes
Default value
0
nosubmissions
TINYINT
2
Yes
Default value
0
submissiondrafts
TINYINT
2
Yes
Default value
0
sendnotifications
TINYINT
2
Yes
Default value
0
sendlatenotifications
TINYINT
2
Yes
Default value
0
duedate
BIGINT
10
Yes
Default value
0
allowsubmissionsfromdate
BIGINT
10
Yes
Default value
0
grade
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
requiresubmissionstatement
TINYINT
2
Yes
Default value
0
completionsubmit
TINYINT
2
Yes
Default value
0
cutoffdate
BIGINT
10
Yes
Default value
0
gradingduedate
BIGINT
10
Yes
Default value
0
teamsubmission
TINYINT
2
Yes
Default value
0
requireallteammemberssubmit
TINYINT
2
Yes
Default value
0
teamsubmissiongroupingid
BIGINT
10
Yes
Default value
0
blindmarking
TINYINT
2
Yes
Default value
0
hidegrader
TINYINT
2
Yes
Default value
0
revealidentities
TINYINT
2
Yes
Default value
0
attemptreopenmethod
VARCHAR
10
Yes
Default value
'none'
maxattempts
MEDIUMINT
6
Yes
Default value
-1
markingworkflow
TINYINT
2
Yes
Default value
0
markingallocation
TINYINT
2
Yes
Default value
0
sendstudentnotifications
TINYINT
2
Yes
Default value
1
preventsubmissionnotingroup
TINYINT
2
Yes
Default value
0
activity
LONGTEXT
activityformat
SMALLINT
4
Yes
Default value
0
timelimit
BIGINT
10
Yes
Default value
0
submissionattachments
TINYINT
2
Yes
Default value
0
Indexes
assi_cou_ix
Column name
course
assi_tea_ix
Column name
teamsubmissiongroupingid
Keys
PRIMARY
Column in PRIMARY
id
Name
assignfeedback_comments
Description
Text feedback for submitted assignments
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignment
BIGINT
10
Yes
Default value
0
grade
BIGINT
10
Yes
Default value
0
commenttext
LONGTEXT
commentformat
SMALLINT
4
Yes
Default value
0
Indexes
assicomm_ass_ix
Column name
assignment
assicomm_gra_ix
Column name
grade
Keys
PRIMARY
Column in PRIMARY
id
Name
assignfeedback_editpdf_annot
Description
stores annotations added to pdfs submitted by students
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
gradeid
BIGINT
10
Yes
Default value
0
pageno
BIGINT
10
Yes
Default value
0
x
BIGINT
10
Default value
0
y
BIGINT
10
Default value
0
endx
BIGINT
10
Default value
0
endy
BIGINT
10
Default value
0
path
LONGTEXT
type
VARCHAR
10
Default value
'line'
colour
VARCHAR
10
Default value
'black'
draft
TINYINT
2
Yes
Default value
1
Indexes
assieditanno_grapag_ix
Column name
gradeid
Column name
pageno
assieditanno_gra_ix
Column name
gradeid
Keys
PRIMARY
Column in PRIMARY
id
Name
assignfeedback_editpdf_cmnt
Description
Stores comments added to pdfs
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
gradeid
BIGINT
10
Yes
Default value
0
x
BIGINT
10
Default value
0
y
BIGINT
10
Default value
0
width
BIGINT
10
Default value
120
rawtext
LONGTEXT
pageno
BIGINT
10
Yes
Default value
0
colour
VARCHAR
10
Default value
'black'
draft
TINYINT
2
Yes
Default value
1
Indexes
assieditcmnt_grapag_ix
Column name
gradeid
Column name
pageno
assieditcmnt_gra_ix
Column name
gradeid
Keys
PRIMARY
Column in PRIMARY
id
Name
assignfeedback_editpdf_quick
Description
Stores teacher specified quicklist comments
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
rawtext
LONGTEXT
Yes
width
BIGINT
10
Yes
Default value
120
colour
VARCHAR
10
Default value
'yellow'
Indexes
assieditquic_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
assignfeedback_editpdf_rot
Description
Stores rotation information of a page.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
gradeid
BIGINT
10
Yes
Default value
0
pageno
BIGINT
10
Yes
Default value
0
pathnamehash
LONGTEXT
Yes
isrotated
TINYINT
1
Yes
Default value
0
degree
BIGINT
10
Yes
Default value
0
Indexes
assieditrot_gra_ix
Column name
gradeid
Keys
PRIMARY
Column in PRIMARY
id
assieditrot_grapag_uix
Column in assieditrot_grapag_uix
gradeid
Column in assieditrot_grapag_uix
pageno
Name
assignfeedback_file
Description
Stores info about the number of files submitted by a student
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignment
BIGINT
10
Yes
Default value
0
grade
BIGINT
10
Yes
Default value
0
numfiles
BIGINT
10
Yes
Default value
0
Indexes
assifile_ass2_ix
Column name
assignment
assifile_gra_ix
Column name
grade
Keys
PRIMARY
Column in PRIMARY
id
Name
assignsubmission_file
Description
Info about file submissions for assignments
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignment
BIGINT
10
Yes
Default value
0
submission
BIGINT
10
Yes
Default value
0
numfiles
BIGINT
10
Yes
Default value
0
Indexes
assifile_ass_ix
Column name
assignment
assifile_sub_ix
Column name
submission
Keys
PRIMARY
Column in PRIMARY
id
Name
assignsubmission_onlinetext
Description
Info about onlinetext submission
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignment
BIGINT
10
Yes
Default value
0
submission
BIGINT
10
Yes
Default value
0
onlinetext
LONGTEXT
onlineformat
SMALLINT
4
Yes
Default value
0
Indexes
assionli_ass_ix
Column name
assignment
assionli_sub_ix
Column name
submission
Keys
PRIMARY
Column in PRIMARY
id
Name
assign_grades
Description
Grading information about a single assignment submission.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignment
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
grader
BIGINT
10
Yes
Default value
0
grade
DECIMAL
10,5
Default value
0.00000
attemptnumber
BIGINT
10
Yes
Default value
0
Indexes
assigrad_use_ix
Column name
userid
assigrad_att_ix
Column name
attemptnumber
assigrad_ass_ix
Column name
assignment
Keys
PRIMARY
Column in PRIMARY
id
assigrad_assuseatt_uix
Column in assigrad_assuseatt_uix
assignment
Column in assigrad_assuseatt_uix
userid
Column in assigrad_assuseatt_uix
attemptnumber
Name
assign_overrides
Description
The overrides to assign settings.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
userid
BIGINT
10
sortorder
BIGINT
10
allowsubmissionsfromdate
BIGINT
10
duedate
BIGINT
10
cutoffdate
BIGINT
10
timelimit
BIGINT
10
Indexes
assiover_ass_ix
Column name
assignid
assiover_gro_ix
Column name
groupid
assiover_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
assign_plugin_config
Description
Config data for an instance of a plugin in an assignment.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignment
BIGINT
10
Yes
Default value
0
plugin
VARCHAR
28
Yes
Default value
''
subtype
VARCHAR
28
Yes
Default value
''
name
VARCHAR
28
Yes
Default value
''
value
LONGTEXT
Indexes
assiplugconf_plu_ix
Column name
plugin
assiplugconf_sub_ix
Column name
subtype
assiplugconf_nam_ix
Column name
name
assiplugconf_ass_ix
Column name
assignment
Keys
PRIMARY
Column in PRIMARY
id
Name
assign_submission
Description
This table keeps information about student interactions with
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignment
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
timestarted
BIGINT
10
status
VARCHAR
10
groupid
BIGINT
10
Yes
Default value
0
attemptnumber
BIGINT
10
Yes
Default value
0
latest
TINYINT
2
Yes
Default value
0
Indexes
assisubm_use_ix
Column name
userid
assisubm_att_ix
Column name
attemptnumber
assisubm_assusegrolat_ix
Column name
assignment
Column name
userid
Column name
groupid
Column name
latest
assisubm_ass_ix
Column name
assignment
Keys
PRIMARY
Column in PRIMARY
id
assisubm_assusegroatt_uix
Column in assisubm_assusegroatt_uix
assignment
Column in assisubm_assusegroatt_uix
userid
Column in assisubm_assusegroatt_uix
groupid
Column in assisubm_assusegroatt_uix
attemptnumber
Name
assign_user_flags
Description
List of flags that can be set for a single user in a single
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
assignment
BIGINT
10
Yes
Default value
0
locked
BIGINT
10
Yes
Default value
0
mailed
SMALLINT
4
Yes
Default value
0
extensionduedate
BIGINT
10
Yes
Default value
0
workflowstate
VARCHAR
20
allocatedmarker
BIGINT
10
Yes
Default value
0
Indexes
assiuserflag_mai_ix
Column name
mailed
assiuserflag_use_ix
Column name
userid
assiuserflag_ass_ix
Column name
assignment
Keys
PRIMARY
Column in PRIMARY
id
Name
assign_user_mapping
Description
Map an assignment specific id number to a user
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assignment
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
Indexes
assiusermapp_ass_ix
Column name
assignment
assiusermapp_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
auth_lti_linked_login
Description
Accounts linked to a users Moodle account.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
issuer
LONGTEXT
Yes
issuer256
VARCHAR
64
Yes
Default value
''
sub
VARCHAR
255
Yes
Default value
''
sub256
VARCHAR
64
Yes
Default value
''
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
authltilinklogi_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
authltilinklogi_useisssub_uix
Column in authltilinklogi_useisssub_uix
userid
Column in authltilinklogi_useisssub_uix
issuer256
Column in authltilinklogi_useisssub_uix
sub256
Name
auth_oauth2_linked_login
Description
Accounts linked to a users Moodle account.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
userid
BIGINT
10
Yes
issuerid
BIGINT
10
Yes
username
VARCHAR
255
Yes
Default value
''
email
LONGTEXT
Yes
confirmtoken
VARCHAR
64
Yes
Default value
''
confirmtokenexpires
BIGINT
10
Indexes
authoautlinklogi_issuse_ix
Column name
issuerid
Column name
username
authoautlinklogi_use_ix
Column name
usermodified
authoautlinklogi_use2_ix
Column name
userid
authoautlinklogi_iss_ix
Column name
issuerid
Keys
PRIMARY
Column in PRIMARY
id
authoautlinklogi_useissuse_uix
Column in authoautlinklogi_useissuse_uix
userid
Column in authoautlinklogi_useissuse_uix
issuerid
Column in authoautlinklogi_useissuse_uix
username
Name
backup_controllers
Description
To store the backup_controllers as they are used
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
backupid
VARCHAR
32
Yes
Default value
''
operation
VARCHAR
20
Yes
Default value
'backup'
type
VARCHAR
10
Yes
Default value
''
itemid
BIGINT
10
Yes
format
VARCHAR
20
Yes
Default value
''
interactive
SMALLINT
4
Yes
purpose
SMALLINT
4
Yes
userid
BIGINT
10
Yes
status
SMALLINT
4
Yes
execution
SMALLINT
4
Yes
executiontime
BIGINT
10
Yes
checksum
VARCHAR
32
Yes
Default value
''
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
progress
DECIMAL
15,14
Yes
Default value
0.00000000000000
controller
LONGTEXT
Yes
Indexes
backcont_typite_ix
Column name
type
Column name
itemid
backcont_useite_ix
Column name
userid
Column name
itemid
backcont_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
backcont_bac_uix
Column in backcont_bac_uix
backupid
Name
backup_courses
Description
To store every course backup status
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
laststarttime
BIGINT
10
Yes
Default value
0
lastendtime
BIGINT
10
Yes
Default value
0
laststatus
VARCHAR
1
Yes
Default value
'5'
nextstarttime
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
backcour_cou_uix
Column in backcour_cou_uix
courseid
Name
backup_logs
Description
To store all the logs from backup and restore operations (by
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
backupid
VARCHAR
32
Yes
Default value
''
loglevel
SMALLINT
4
Yes
message
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
Indexes
backlogs_bac_ix
Column name
backupid
Keys
PRIMARY
Column in PRIMARY
id
backlogs_bacid_uix
Column in backlogs_bacid_uix
backupid
Column in backlogs_bacid_uix
id
Name
badge
Description
Defines badge
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
description
LONGTEXT
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
usercreated
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
issuername
VARCHAR
255
Yes
Default value
''
issuerurl
VARCHAR
255
Yes
Default value
''
issuercontact
VARCHAR
255
expiredate
BIGINT
10
expireperiod
BIGINT
10
type
TINYINT
1
Yes
Default value
1
courseid
BIGINT
10
message
LONGTEXT
Yes
messagesubject
LONGTEXT
Yes
attachment
TINYINT
1
Yes
Default value
1
notification
TINYINT
1
Yes
Default value
1
status
TINYINT
1
Yes
Default value
0
nextcron
BIGINT
10
version
VARCHAR
255
language
VARCHAR
255
imageauthorname
VARCHAR
255
imageauthoremail
VARCHAR
255
imageauthorurl
VARCHAR
255
imagecaption
LONGTEXT
Indexes
badg_typ_ix
Column name
type
badg_cou_ix
Column name
courseid
badg_use_ix
Column name
usermodified
badg_use2_ix
Column name
usercreated
Keys
PRIMARY
Column in PRIMARY
id
Name
badge_alignment
Description
Defines alignment for badges
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
badgeid
BIGINT
10
Yes
Default value
0
targetname
VARCHAR
255
Yes
Default value
''
targeturl
VARCHAR
255
Yes
Default value
''
targetdescription
LONGTEXT
targetframework
VARCHAR
255
targetcode
VARCHAR
255
Indexes
badgalig_bad_ix
Column name
badgeid
Keys
PRIMARY
Column in PRIMARY
id
Name
badge_backpack
Description
Defines settings for connecting external backpack
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
email
VARCHAR
100
Yes
Default value
''
backpackuid
BIGINT
10
Yes
autosync
TINYINT
1
Yes
Default value
0
password
VARCHAR
50
externalbackpackid
BIGINT
10
Indexes
badgback_use_ix
Column name
userid
badgback_ext_ix
Column name
externalbackpackid
Keys
PRIMARY
Column in PRIMARY
id
badgback_useext_uix
Column in badgback_useext_uix
userid
Column in badgback_useext_uix
externalbackpackid
Name
badge_backpack_oauth2
Description
Default comment for the table, please edit me
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
issuerid
BIGINT
10
Yes
externalbackpackid
BIGINT
10
Yes
token
LONGTEXT
Yes
refreshtoken
LONGTEXT
Yes
expires
BIGINT
10
scope
LONGTEXT
Indexes
badgbackoaut_use_ix
Column name
usermodified
badgbackoaut_use2_ix
Column name
userid
badgbackoaut_iss_ix
Column name
issuerid
badgbackoaut_ext_ix
Column name
externalbackpackid
Keys
PRIMARY
Column in PRIMARY
id
Name
badge_criteria
Description
Defines criteria for issuing badges
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
badgeid
BIGINT
10
Yes
Default value
0
criteriatype
BIGINT
10
method
TINYINT
1
Yes
Default value
1
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
0
Indexes
badgcrit_cri_ix
Column name
criteriatype
badgcrit_bad_ix
Column name
badgeid
Keys
PRIMARY
Column in PRIMARY
id
badgcrit_badcri_uix
Column in badgcrit_badcri_uix
badgeid
Column in badgcrit_badcri_uix
criteriatype
Name
badge_criteria_met
Description
Defines criteria that were met for an issued badge
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
issuedid
BIGINT
10
critid
BIGINT
10
Yes
userid
BIGINT
10
Yes
datemet
BIGINT
10
Yes
Indexes
badgcritmet_cri_ix
Column name
critid
badgcritmet_use_ix
Column name
userid
badgcritmet_iss_ix
Column name
issuedid
Keys
PRIMARY
Column in PRIMARY
id
Name
badge_criteria_param
Description
Defines parameters for badges criteria
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
critid
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
value
VARCHAR
255
Indexes
badgcritpara_cri_ix
Column name
critid
Keys
PRIMARY
Column in PRIMARY
id
Name
badge_endorsement
Description
Defines endorsement for badge
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
badgeid
BIGINT
10
Yes
Default value
0
issuername
VARCHAR
255
Yes
Default value
''
issuerurl
VARCHAR
255
Yes
Default value
''
issueremail
VARCHAR
255
Yes
Default value
''
claimid
VARCHAR
255
claimcomment
LONGTEXT
dateissued
BIGINT
10
Yes
Default value
0
Indexes
badgendo_bad_ix
Column name
badgeid
Keys
PRIMARY
Column in PRIMARY
id
Name
badge_external
Description
Setting for external badges display
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
backpackid
BIGINT
10
Yes
collectionid
BIGINT
10
Yes
entityid
VARCHAR
255
assertion
LONGTEXT
Indexes
badgexte_bac_ix
Column name
backpackid
Keys
PRIMARY
Column in PRIMARY
id
Name
badge_external_backpack
Description
Defines settings for site level backpacks that a user can co
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
backpackapiurl
VARCHAR
255
Yes
Default value
''
backpackweburl
VARCHAR
255
Yes
Default value
''
apiversion
VARCHAR
12
Yes
Default value
'1.0'
sortorder
BIGINT
10
Yes
Default value
0
oauth2_issuerid
BIGINT
10
Indexes
badgexteback_oau_ix
Column name
oauth2_issuerid
Keys
PRIMARY
Column in PRIMARY
id
badgexteback_bac_uix
Column in badgexteback_bac_uix
backpackapiurl
badgexteback_bac2_uix
Column in badgexteback_bac2_uix
backpackweburl
Name
badge_external_identifier
Description
Setting for external badges mappings
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
sitebackpackid
BIGINT
10
Yes
internalid
VARCHAR
128
Yes
Default value
''
externalid
VARCHAR
128
Yes
Default value
''
type
VARCHAR
16
Yes
Default value
''
Indexes
badgexteiden_sit_ix
Column name
sitebackpackid
Keys
PRIMARY
Column in PRIMARY
id
badgexteiden_sitintexttyp_uix
Column in badgexteiden_sitintexttyp_uix
sitebackpackid
Column in badgexteiden_sitintexttyp_uix
internalid
Column in badgexteiden_sitintexttyp_uix
externalid
Column in badgexteiden_sitintexttyp_uix
type
Name
badge_issued
Description
Defines issued badges
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
badgeid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
uniquehash
LONGTEXT
Yes
dateissued
BIGINT
10
Yes
Default value
0
dateexpire
BIGINT
10
visible
TINYINT
1
Yes
Default value
0
issuernotified
BIGINT
10
Indexes
badgissu_bad_ix
Column name
badgeid
badgissu_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
badgissu_baduse_uix
Column in badgissu_baduse_uix
badgeid
Column in badgissu_baduse_uix
userid
Name
badge_manual_award
Description
Track manual award criteria for badges
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
badgeid
BIGINT
10
Yes
recipientid
BIGINT
10
Yes
issuerid
BIGINT
10
Yes
issuerrole
BIGINT
10
Yes
datemet
BIGINT
10
Yes
Indexes
badgmanuawar_bad_ix
Column name
badgeid
badgmanuawar_rec_ix
Column name
recipientid
badgmanuawar_iss_ix
Column name
issuerid
badgmanuawar_iss2_ix
Column name
issuerrole
Keys
PRIMARY
Column in PRIMARY
id
Name
badge_related
Description
Defines badge related for badges
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
badgeid
BIGINT
10
Yes
Default value
0
relatedbadgeid
BIGINT
10
Indexes
badgrela_bad_ix
Column name
badgeid
badgrela_rel_ix
Column name
relatedbadgeid
Keys
PRIMARY
Column in PRIMARY
id
badgrela_badrel_uix
Column in badgrela_badrel_uix
badgeid
Column in badgrela_badrel_uix
relatedbadgeid
Name
bigbluebuttonbn
Description
The bigbluebuttonbn table to store information about a meeti
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
type
TINYINT
2
Yes
Default value
0
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
1
meetingid
VARCHAR
255
Yes
Default value
''
moderatorpass
VARCHAR
255
Yes
Default value
''
viewerpass
VARCHAR
255
Yes
Default value
''
wait
TINYINT
1
Yes
Default value
0
record
TINYINT
1
Yes
Default value
0
recordallfromstart
TINYINT
1
Yes
Default value
0
recordhidebutton
TINYINT
1
Yes
Default value
0
welcome
LONGTEXT
voicebridge
MEDIUMINT
5
Yes
Default value
0
openingtime
BIGINT
10
Yes
Default value
0
closingtime
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
presentation
LONGTEXT
participants
LONGTEXT
userlimit
SMALLINT
3
Yes
Default value
0
recordings_html
TINYINT
1
Yes
Default value
0
recordings_deleted
TINYINT
1
Yes
Default value
1
recordings_imported
TINYINT
1
Yes
Default value
0
recordings_preview
TINYINT
1
Yes
Default value
0
clienttype
TINYINT
1
Yes
Default value
0
muteonstart
TINYINT
1
Yes
Default value
0
disablecam
TINYINT
1
Yes
Default value
0
disablemic
TINYINT
1
Yes
Default value
0
disableprivatechat
TINYINT
1
Yes
Default value
0
disablepublicchat
TINYINT
1
Yes
Default value
0
disablenote
TINYINT
1
Yes
Default value
0
hideuserlist
TINYINT
1
Yes
Default value
0
completionattendance
INT
9
Yes
Default value
0
completionengagementchats
INT
9
Yes
Default value
0
completionengagementtalks
INT
9
Yes
Default value
0
completionengagementraisehand
INT
9
Yes
Default value
0
completionengagementpollvotes
INT
9
Yes
Default value
0
completionengagementemojis
INT
9
Yes
Default value
0
guestallowed
TINYINT
2
Default value
0
mustapproveuser
TINYINT
2
Default value
1
guestlinkuid
VARCHAR
1024
guestpassword
VARCHAR
255
Keys
PRIMARY
Column in PRIMARY
id
Name
bigbluebuttonbn_logs
Description
The bigbluebuttonbn table to store meeting activity events
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
bigbluebuttonbnid
BIGINT
10
Yes
userid
BIGINT
10
timecreated
BIGINT
10
Yes
Default value
0
meetingid
VARCHAR
256
Yes
Default value
''
log
VARCHAR
32
Yes
Default value
''
meta
LONGTEXT
Indexes
bigblogs_cou_ix
Column name
courseid
bigblogs_log_ix
Column name
log
bigblogs_coubiguselog_ix
Column name
courseid
Column name
bigbluebuttonbnid
Column name
userid
Column name
log
bigblogs_uselog_ix
Column name
userid
Column name
log
bigblogs_coubig_ix
Column name
courseid
Column name
bigbluebuttonbnid
Keys
PRIMARY
Column in PRIMARY
id
Name
bigbluebuttonbn_recordings
Description
The bigbluebuttonbn table to store references to recordings
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
bigbluebuttonbnid
BIGINT
10
Yes
groupid
BIGINT
10
recordingid
VARCHAR
64
Yes
Default value
''
headless
TINYINT
1
Yes
Default value
0
imported
TINYINT
1
Yes
Default value
0
status
TINYINT
1
Yes
Default value
0
importeddata
LONGTEXT
timecreated
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
bigbreco_cou_ix
Column name
courseid
bigbreco_rec_ix
Column name
recordingid
bigbreco_big_ix
Column name
bigbluebuttonbnid
bigbreco_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
block
Description
contains all installed blocks
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
40
Yes
Default value
''
cron
BIGINT
10
Yes
Default value
0
lastcron
BIGINT
10
Yes
Default value
0
visible
TINYINT
1
Yes
Default value
1
Keys
PRIMARY
Column in PRIMARY
id
bloc_nam_uix
Column in bloc_nam_uix
name
Name
block_instances
Description
This table stores block instances. The type of block this is
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
blockname
VARCHAR
40
Yes
Default value
''
parentcontextid
BIGINT
10
Yes
showinsubcontexts
SMALLINT
4
Yes
requiredbytheme
SMALLINT
4
Yes
Default value
0
pagetypepattern
VARCHAR
64
Yes
Default value
''
subpagepattern
VARCHAR
16
defaultregion
VARCHAR
16
Yes
Default value
''
defaultweight
BIGINT
10
Yes
configdata
LONGTEXT
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
blocinst_parshopagsub_ix
Column name
parentcontextid
Column name
showinsubcontexts
Column name
pagetypepattern
Column name
subpagepattern
blocinst_tim_ix
Column name
timemodified
blocinst_blo_ix
Column name
blockname
blocinst_par_ix
Column name
parentcontextid
Keys
PRIMARY
Column in PRIMARY
id
Name
block_positions
Description
Stores the position of a sticky block_instance on a another
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
blockinstanceid
BIGINT
10
Yes
contextid
BIGINT
10
Yes
pagetype
VARCHAR
64
Yes
Default value
''
subpage
VARCHAR
16
Yes
Default value
''
visible
SMALLINT
4
Yes
region
VARCHAR
16
Yes
Default value
''
weight
BIGINT
10
Yes
Indexes
blocposi_blo_ix
Column name
blockinstanceid
blocposi_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
blocposi_bloconpagsub_uix
Column in blocposi_bloconpagsub_uix
blockinstanceid
Column in blocposi_bloconpagsub_uix
contextid
Column in blocposi_bloconpagsub_uix
pagetype
Column in blocposi_bloconpagsub_uix
subpage
Name
block_recentlyaccesseditems
Description
Most recently accessed items accessed by a user
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
cmid
BIGINT
10
Yes
userid
BIGINT
10
Yes
timeaccess
BIGINT
10
Yes
Indexes
blocrece_use_ix
Column name
userid
blocrece_cou_ix
Column name
courseid
blocrece_cmi_ix
Column name
cmid
Keys
PRIMARY
Column in PRIMARY
id
blocrece_usecoucmi_uix
Column in blocrece_usecoucmi_uix
userid
Column in blocrece_usecoucmi_uix
courseid
Column in blocrece_usecoucmi_uix
cmid
Name
block_recent_activity
Description
Recent activity block
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
cmid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
userid
BIGINT
10
Yes
action
TINYINT
1
Yes
modname
VARCHAR
20
Indexes
blocreceacti_coutim_ix
Column name
courseid
Column name
timecreated
Keys
PRIMARY
Column in PRIMARY
id
Name
block_rss_client
Description
Remote news feed information. Contains the news feed id, the
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
title
LONGTEXT
Yes
preferredtitle
VARCHAR
64
Yes
Default value
''
description
LONGTEXT
Yes
shared
TINYINT
2
Yes
Default value
0
url
VARCHAR
255
Yes
Default value
''
skiptime
BIGINT
10
Yes
Default value
0
skipuntil
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
blog_association
Description
Associations of blog entries with courses and module instanc
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
blogid
BIGINT
10
Yes
Indexes
blogasso_con_ix
Column name
contextid
blogasso_blo_ix
Column name
blogid
Keys
PRIMARY
Column in PRIMARY
id
Name
blog_external
Description
External blog links used for RSS copying of blog entries to
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
description
LONGTEXT
url
LONGTEXT
Yes
filtertags
VARCHAR
255
failedlastsync
TINYINT
1
Yes
Default value
0
timemodified
BIGINT
10
timefetched
BIGINT
10
Yes
Default value
0
Indexes
blogexte_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
book
Description
Defines book
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
numbering
SMALLINT
4
Yes
Default value
0
navstyle
SMALLINT
4
Yes
Default value
1
customtitles
TINYINT
2
Yes
Default value
0
revision
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
book_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
book_chapters
Description
Defines book_chapters
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
bookid
BIGINT
10
Yes
Default value
0
pagenum
BIGINT
10
Yes
Default value
0
subchapter
BIGINT
10
Yes
Default value
0
title
VARCHAR
255
Yes
Default value
''
content
LONGTEXT
Yes
contentformat
SMALLINT
4
Yes
Default value
0
hidden
TINYINT
2
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
importsrc
VARCHAR
255
Yes
Default value
''
Indexes
bookchap_boo_ix
Column name
bookid
Keys
PRIMARY
Column in PRIMARY
id
Name
cache_filters
Description
For keeping information about cached data
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
filter
VARCHAR
32
Yes
Default value
''
version
BIGINT
10
Yes
Default value
0
md5key
VARCHAR
32
Yes
Default value
''
rawtext
LONGTEXT
Yes
timemodified
BIGINT
10
Yes
Default value
0
Indexes
cachfilt_filmd5_ix
Column name
filter
Column name
md5key
Keys
PRIMARY
Column in PRIMARY
id
Name
cache_flags
Description
Cache of time-sensitive flags
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
flagtype
VARCHAR
255
Yes
Default value
''
name
VARCHAR
255
Yes
Default value
''
timemodified
BIGINT
10
Yes
Default value
0
value
LONGTEXT
Yes
expiry
BIGINT
10
Yes
Indexes
cachflag_fla_ix
Column name
flagtype
cachflag_nam_ix
Column name
name
Keys
PRIMARY
Column in PRIMARY
id
Name
capabilities
Description
this defines all capabilities
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
captype
VARCHAR
50
Yes
Default value
''
contextlevel
BIGINT
10
Yes
Default value
0
component
VARCHAR
100
Yes
Default value
''
riskbitmask
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
capa_nam_uix
Column in capa_nam_uix
name
Name
chat
Description
Each of these is a chat room
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
keepdays
BIGINT
11
Yes
Default value
0
studentlogs
SMALLINT
4
Yes
Default value
0
chattime
BIGINT
10
Yes
Default value
0
schedule
SMALLINT
4
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
chat_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
chat_messages
Description
Stores all the actual chat messages
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
chatid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
0
issystem
TINYINT
1
Yes
Default value
0
message
LONGTEXT
Yes
timestamp
BIGINT
10
Yes
Default value
0
Indexes
chatmess_use_ix
Column name
userid
chatmess_gro_ix
Column name
groupid
chatmess_timcha_ix
Column name
timestamp
Column name
chatid
chatmess_cha_ix
Column name
chatid
Keys
PRIMARY
Column in PRIMARY
id
Name
chat_messages_current
Description
Stores current session
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
chatid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
0
issystem
TINYINT
1
Yes
Default value
0
message
LONGTEXT
Yes
timestamp
BIGINT
10
Yes
Default value
0
Indexes
chatmesscurr_use_ix
Column name
userid
chatmesscurr_gro_ix
Column name
groupid
chatmesscurr_timcha_ix
Column name
timestamp
Column name
chatid
chatmesscurr_cha_ix
Column name
chatid
Keys
PRIMARY
Column in PRIMARY
id
Name
chat_users
Description
Keeps track of which users are in which chat rooms
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
chatid
BIGINT
11
Yes
Default value
0
userid
BIGINT
11
Yes
Default value
0
groupid
BIGINT
11
Yes
Default value
0
version
VARCHAR
16
Yes
Default value
''
ip
VARCHAR
45
Yes
Default value
''
firstping
BIGINT
10
Yes
Default value
0
lastping
BIGINT
10
Yes
Default value
0
lastmessageping
BIGINT
10
Yes
Default value
0
sid
VARCHAR
32
Yes
Default value
''
course
BIGINT
10
Yes
Default value
0
lang
VARCHAR
30
Yes
Default value
''
Indexes
chatuser_use_ix
Column name
userid
chatuser_las_ix
Column name
lastping
chatuser_gro_ix
Column name
groupid
chatuser_cha_ix
Column name
chatid
chatuser_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
choice
Description
Available choices are stored here
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
publish
TINYINT
2
Yes
Default value
0
showresults
TINYINT
2
Yes
Default value
0
display
SMALLINT
4
Yes
Default value
0
allowupdate
TINYINT
2
Yes
Default value
0
allowmultiple
TINYINT
2
Yes
Default value
0
showunanswered
TINYINT
2
Yes
Default value
0
includeinactive
TINYINT
2
Yes
Default value
1
limitanswers
TINYINT
2
Yes
Default value
0
timeopen
BIGINT
10
Yes
Default value
0
timeclose
BIGINT
10
Yes
Default value
0
showpreview
TINYINT
2
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
completionsubmit
TINYINT
1
Yes
Default value
0
showavailable
TINYINT
1
Yes
Default value
0
Indexes
choi_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
choice_answers
Description
choices performed by users
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
choiceid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
optionid
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
choiansw_use_ix
Column name
userid
choiansw_cho_ix
Column name
choiceid
choiansw_opt_ix
Column name
optionid
Keys
PRIMARY
Column in PRIMARY
id
Name
choice_options
Description
available options to choice
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
choiceid
BIGINT
10
Yes
Default value
0
text
LONGTEXT
maxanswers
BIGINT
10
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
choiopti_cho_ix
Column name
choiceid
Keys
PRIMARY
Column in PRIMARY
id
Name
cohort
Description
Each record represents one cohort (aka site-wide group).
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
name
VARCHAR
254
Yes
Default value
''
idnumber
VARCHAR
100
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
visible
TINYINT
1
Yes
Default value
1
component
VARCHAR
100
Yes
Default value
''
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
theme
VARCHAR
50
Indexes
coho_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
cohort_members
Description
Link a user to a cohort.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
cohortid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
timeadded
BIGINT
10
Yes
Default value
0
Indexes
cohomemb_coh_ix
Column name
cohortid
cohomemb_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
cohomemb_cohuse_uix
Column in cohomemb_cohuse_uix
cohortid
Column in cohomemb_cohuse_uix
userid
Name
comments
Description
moodle comments module
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
component
VARCHAR
255
commentarea
VARCHAR
255
Yes
Default value
''
itemid
BIGINT
10
Yes
content
LONGTEXT
Yes
format
TINYINT
2
Yes
Default value
0
userid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
Indexes
comm_concomite_ix
Column name
contextid
Column name
commentarea
Column name
itemid
comm_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
competency
Description
This table contains the master record of each competency in
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
shortname
VARCHAR
100
description
LONGTEXT
descriptionformat
SMALLINT
4
Yes
Default value
0
idnumber
VARCHAR
100
competencyframeworkid
BIGINT
10
Yes
parentid
BIGINT
10
Yes
Default value
0
path
VARCHAR
255
Yes
Default value
''
sortorder
BIGINT
10
Yes
ruletype
VARCHAR
100
ruleoutcome
TINYINT
2
Yes
Default value
0
ruleconfig
LONGTEXT
scaleid
BIGINT
10
scaleconfiguration
LONGTEXT
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Indexes
comp_rul_ix
Column name
ruleoutcome
comp_sca_ix
Column name
scaleid
comp_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
comp_comidn_uix
Column in comp_comidn_uix
competencyframeworkid
Column in comp_comidn_uix
idnumber
Name
competency_coursecomp
Description
Link a competency to a course.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
competencyid
BIGINT
10
Yes
ruleoutcome
TINYINT
2
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
sortorder
BIGINT
10
Yes
Indexes
compcour_courul_ix
Column name
courseid
Column name
ruleoutcome
compcour_cou2_ix
Column name
courseid
compcour_com_ix
Column name
competencyid
compcour_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compcour_coucom_uix
Column in compcour_coucom_uix
courseid
Column in compcour_coucom_uix
competencyid
Name
competency_coursecompsetting
Description
This table contains the course specific settings for compete
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
pushratingstouserplans
TINYINT
2
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Indexes
compcour_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compcour_cou_uix
Column in compcour_cou_uix
courseid
Name
competency_evidence
Description
The evidence linked to a user competency
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
usercompetencyid
BIGINT
10
Yes
contextid
BIGINT
10
Yes
action
TINYINT
2
Yes
actionuserid
BIGINT
10
descidentifier
VARCHAR
255
Yes
Default value
''
desccomponent
VARCHAR
255
Yes
Default value
''
desca
LONGTEXT
url
VARCHAR
255
grade
BIGINT
10
note
LONGTEXT
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
Indexes
compevid_use_ix
Column name
usercompetencyid
compevid_con_ix
Column name
contextid
compevid_act_ix
Column name
actionuserid
compevid_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
competency_framework
Description
List of competency frameworks.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
shortname
VARCHAR
100
contextid
BIGINT
10
Yes
idnumber
VARCHAR
100
description
LONGTEXT
descriptionformat
SMALLINT
4
Yes
Default value
0
scaleid
BIGINT
11
scaleconfiguration
LONGTEXT
Yes
visible
TINYINT
2
Yes
Default value
1
taxonomies
VARCHAR
255
Yes
Default value
''
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Indexes
compfram_con_ix
Column name
contextid
compfram_sca_ix
Column name
scaleid
compfram_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compfram_idn_uix
Column in compfram_idn_uix
idnumber
Name
competency_modulecomp
Description
Link a competency to a module.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
cmid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
sortorder
BIGINT
10
Yes
competencyid
BIGINT
10
Yes
ruleoutcome
TINYINT
2
Yes
overridegrade
TINYINT
1
Yes
Default value
0
Indexes
compmodu_cmirul_ix
Column name
cmid
Column name
ruleoutcome
compmodu_cmi_ix
Column name
cmid
compmodu_com_ix
Column name
competencyid
compmodu_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compmodu_cmicom_uix
Column in compmodu_cmicom_uix
cmid
Column in compmodu_cmicom_uix
competencyid
Name
competency_plan
Description
Learning plans
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
100
Yes
Default value
''
description
LONGTEXT
descriptionformat
SMALLINT
4
Yes
Default value
0
userid
BIGINT
10
Yes
templateid
BIGINT
10
origtemplateid
BIGINT
10
status
TINYINT
1
Yes
duedate
BIGINT
10
Default value
0
reviewerid
BIGINT
10
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Yes
Indexes
compplan_usesta_ix
Column name
userid
Column name
status
compplan_tem_ix
Column name
templateid
compplan_stadue_ix
Column name
status
Column name
duedate
compplan_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
competency_plancomp
Description
Plan competencies
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
planid
BIGINT
10
Yes
competencyid
BIGINT
10
Yes
sortorder
BIGINT
10
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
usermodified
BIGINT
10
Yes
Indexes
compplan_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compplan_placom_uix
Column in compplan_placom_uix
planid
Column in compplan_placom_uix
competencyid
Name
competency_relatedcomp
Description
Related competencies
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
competencyid
BIGINT
10
Yes
relatedcompetencyid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
usermodified
BIGINT
10
Yes
Indexes
comprela_com_ix
Column name
competencyid
comprela_rel_ix
Column name
relatedcompetencyid
comprela_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
competency_template
Description
Learning plan templates.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
shortname
VARCHAR
100
contextid
BIGINT
10
Yes
description
LONGTEXT
descriptionformat
SMALLINT
4
Yes
Default value
0
visible
TINYINT
2
Yes
Default value
1
duedate
BIGINT
10
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Indexes
comptemp_con_ix
Column name
contextid
comptemp_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
competency_templatecohort
Description
Default comment for the table, please edit me
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
templateid
BIGINT
10
Yes
cohortid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
Indexes
comptemp_tem2_ix
Column name
templateid
comptemp_use3_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
comptemp_temcoh_uix
Column in comptemp_temcoh_uix
templateid
Column in comptemp_temcoh_uix
cohortid
Name
competency_templatecomp
Description
Link a competency to a learning plan template.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
templateid
BIGINT
10
Yes
competencyid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
sortorder
BIGINT
10
Indexes
comptemp_tem_ix
Column name
templateid
comptemp_com_ix
Column name
competencyid
comptemp_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
competency_usercomp
Description
User competencies
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
competencyid
BIGINT
10
Yes
status
TINYINT
2
Yes
Default value
0
reviewerid
BIGINT
10
proficiency
TINYINT
2
grade
BIGINT
10
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
usermodified
BIGINT
10
Yes
Indexes
compuser_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compuser_usecom_uix
Column in compuser_usecom_uix
userid
Column in compuser_usecom_uix
competencyid
Name
competency_usercompcourse
Description
User competencies in a course
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
courseid
BIGINT
10
Yes
competencyid
BIGINT
10
Yes
proficiency
TINYINT
2
grade
BIGINT
10
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
usermodified
BIGINT
10
Yes
Indexes
compuser_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compuser_usecoucom_uix
Column in compuser_usecoucom_uix
userid
Column in compuser_usecoucom_uix
courseid
Column in compuser_usecoucom_uix
competencyid
Name
competency_usercompplan
Description
User competencies plans
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
competencyid
BIGINT
10
Yes
planid
BIGINT
10
Yes
proficiency
TINYINT
2
grade
BIGINT
10
sortorder
BIGINT
10
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
usermodified
BIGINT
10
Yes
Indexes
compuser_use3_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compuser_usecompla_uix
Column in compuser_usecompla_uix
userid
Column in compuser_usecompla_uix
competencyid
Column in compuser_usecompla_uix
planid
Name
competency_userevidence
Description
The evidence of prior learning
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
name
VARCHAR
100
Yes
Default value
''
description
LONGTEXT
Yes
descriptionformat
TINYINT
1
Yes
url
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
Indexes
compuser_use4_ix
Column name
userid
compuser_use5_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
competency_userevidencecomp
Description
Relationship between user evidence and competencies
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userevidenceid
BIGINT
10
Yes
competencyid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
Indexes
compuser_use6_ix
Column name
userevidenceid
compuser_use7_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
compuser_usecom2_uix
Column in compuser_usecom2_uix
userevidenceid
Column in compuser_usecom2_uix
competencyid
Name
config
Description
Moodle configuration variables
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
value
LONGTEXT
Yes
Keys
PRIMARY
Column in PRIMARY
id
conf_nam_uix
Column in conf_nam_uix
name
Name
config_log
Description
Changes done in server configuration through admin UI
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
plugin
VARCHAR
100
name
VARCHAR
100
Yes
Default value
''
value
LONGTEXT
oldvalue
LONGTEXT
Indexes
conflog_tim_ix
Column name
timemodified
conflog_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
config_plugins
Description
Moodle modules and plugins configuration variables
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
plugin
VARCHAR
100
Yes
Default value
'core'
name
VARCHAR
100
Yes
Default value
''
value
LONGTEXT
Yes
Keys
PRIMARY
Column in PRIMARY
id
confplug_plunam_uix
Column in confplug_plunam_uix
plugin
Column in confplug_plunam_uix
name
Name
contentbank_content
Description
This table stores content data in the content bank.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
contenttype
VARCHAR
100
Yes
Default value
''
contextid
BIGINT
10
Yes
visibility
TINYINT
1
Yes
Default value
1
instanceid
BIGINT
10
configdata
LONGTEXT
usercreated
BIGINT
10
Yes
usermodified
BIGINT
10
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Default value
0
Indexes
contcont_nam_ix
Column name
name
contcont_conconins_ix
Column name
contextid
Column name
contenttype
Column name
instanceid
contcont_con_ix
Column name
contextid
contcont_use_ix
Column name
usermodified
contcont_use2_ix
Column name
usercreated
Keys
PRIMARY
Column in PRIMARY
id
Name
context
Description
one of these must be set
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextlevel
BIGINT
10
Yes
Default value
0
instanceid
BIGINT
10
Yes
Default value
0
path
VARCHAR
255
depth
TINYINT
2
Yes
Default value
0
locked
TINYINT
2
Yes
Default value
0
Indexes
cont_ins_ix
Column name
instanceid
cont_pat_ix
Column name
path
Keys
PRIMARY
Column in PRIMARY
id
cont_conins_uix
Column in cont_conins_uix
contextlevel
Column in cont_conins_uix
instanceid
Name
context_temp
Description
Used by build_context_path() in upgrade and cron to keep con
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
path
VARCHAR
255
Yes
Default value
''
depth
TINYINT
2
Yes
locked
TINYINT
2
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
course
Description
Central course table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
category
BIGINT
10
Yes
Default value
0
sortorder
BIGINT
10
Yes
Default value
0
fullname
VARCHAR
254
Yes
Default value
''
shortname
VARCHAR
255
Yes
Default value
''
idnumber
VARCHAR
100
Yes
Default value
''
summary
LONGTEXT
summaryformat
TINYINT
2
Yes
Default value
0
format
VARCHAR
21
Yes
Default value
'topics'
showgrades
TINYINT
2
Yes
Default value
1
newsitems
MEDIUMINT
5
Yes
Default value
1
startdate
BIGINT
10
Yes
Default value
0
enddate
BIGINT
10
Yes
Default value
0
relativedatesmode
TINYINT
1
Yes
Default value
0
marker
BIGINT
10
Yes
Default value
0
maxbytes
BIGINT
10
Yes
Default value
0
legacyfiles
SMALLINT
4
Yes
Default value
0
showreports
SMALLINT
4
Yes
Default value
0
visible
TINYINT
1
Yes
Default value
1
visibleold
TINYINT
1
Yes
Default value
1
downloadcontent
TINYINT
1
groupmode
SMALLINT
4
Yes
Default value
0
groupmodeforce
SMALLINT
4
Yes
Default value
0
defaultgroupingid
BIGINT
10
Yes
Default value
0
lang
VARCHAR
30
Yes
Default value
''
calendartype
VARCHAR
30
Yes
Default value
''
theme
VARCHAR
50
Yes
Default value
''
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
requested
TINYINT
1
Yes
Default value
0
enablecompletion
TINYINT
1
Yes
Default value
0
completionnotify
TINYINT
1
Yes
Default value
0
cacherev
BIGINT
10
Yes
Default value
0
originalcourseid
BIGINT
10
showactivitydates
TINYINT
1
Yes
Default value
0
showcompletionconditions
TINYINT
1
pdfexportfont
VARCHAR
50
Indexes
cour_cat_ix
Column name
category
cour_idn_ix
Column name
idnumber
cour_sho_ix
Column name
shortname
cour_sor_ix
Column name
sortorder
cour_ori_ix
Column name
originalcourseid
Keys
PRIMARY
Column in PRIMARY
id
Name
course_categories
Description
Course categories
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
idnumber
VARCHAR
100
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
0
parent
BIGINT
10
Yes
Default value
0
sortorder
BIGINT
10
Yes
Default value
0
coursecount
BIGINT
10
Yes
Default value
0
visible
TINYINT
1
Yes
Default value
1
visibleold
TINYINT
1
Yes
Default value
1
timemodified
BIGINT
10
Yes
Default value
0
depth
BIGINT
10
Yes
Default value
0
path
VARCHAR
255
Yes
Default value
''
theme
VARCHAR
50
Indexes
courcate_par_ix
Column name
parent
Keys
PRIMARY
Column in PRIMARY
id
Name
course_completions
Description
Course completion records
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
course
BIGINT
10
Yes
Default value
0
timeenrolled
BIGINT
10
Yes
Default value
0
timestarted
BIGINT
10
Yes
Default value
0
timecompleted
BIGINT
10
reaggregate
BIGINT
10
Yes
Default value
0
Indexes
courcomp_use_ix
Column name
userid
courcomp_cou_ix
Column name
course
courcomp_tim_ix
Column name
timecompleted
Keys
PRIMARY
Column in PRIMARY
id
courcomp_usecou_uix
Column in courcomp_usecou_uix
userid
Column in courcomp_usecou_uix
course
Name
course_completion_aggr_methd
Description
Course completion aggregation methods for criteria
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
criteriatype
BIGINT
10
method
TINYINT
1
Yes
Default value
0
value
DECIMAL
10,5
Indexes
courcompaggrmeth_cou_ix
Column name
course
courcompaggrmeth_cri_ix
Column name
criteriatype
Keys
PRIMARY
Column in PRIMARY
id
courcompaggrmeth_coucri_uix
Column in courcompaggrmeth_coucri_uix
course
Column in courcompaggrmeth_coucri_uix
criteriatype
Name
course_completion_criteria
Description
Course completion criteria
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
criteriatype
BIGINT
10
Yes
Default value
0
module
VARCHAR
100
moduleinstance
BIGINT
10
courseinstance
BIGINT
10
enrolperiod
BIGINT
10
timeend
BIGINT
10
gradepass
DECIMAL
10,5
role
BIGINT
10
Indexes
courcompcrit_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
course_completion_crit_compl
Description
Course completion user records
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
course
BIGINT
10
Yes
Default value
0
criteriaid
BIGINT
10
Yes
Default value
0
gradefinal
DECIMAL
10,5
unenroled
BIGINT
10
timecompleted
BIGINT
10
Indexes
courcompcritcomp_use_ix
Column name
userid
courcompcritcomp_cou_ix
Column name
course
courcompcritcomp_cri_ix
Column name
criteriaid
courcompcritcomp_tim_ix
Column name
timecompleted
Keys
PRIMARY
Column in PRIMARY
id
courcompcritcomp_usecoucri_uix
Column in courcompcritcomp_usecoucri_uix
userid
Column in courcompcritcomp_usecoucri_uix
course
Column in courcompcritcomp_usecoucri_uix
criteriaid
Name
course_completion_defaults
Description
Default settings for activities completion
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
module
BIGINT
10
Yes
completion
TINYINT
1
Yes
Default value
0
completionview
TINYINT
1
Yes
Default value
0
completionusegrade
TINYINT
1
Yes
Default value
0
completionpassgrade
TINYINT
1
Yes
Default value
0
completionexpected
BIGINT
10
Yes
Default value
0
customrules
LONGTEXT
Indexes
courcompdefa_mod_ix
Column name
module
courcompdefa_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
courcompdefa_coumod_uix
Column in courcompdefa_coumod_uix
course
Column in courcompdefa_coumod_uix
module
Name
course_format_options
Description
Stores format-specific options for the course or course sect
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
format
VARCHAR
21
Yes
Default value
''
sectionid
BIGINT
10
Yes
Default value
0
name
VARCHAR
100
Yes
Default value
''
value
LONGTEXT
Indexes
courformopti_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
courformopti_couforsecnam_uix
Column in courformopti_couforsecnam_uix
courseid
Column in courformopti_couforsecnam_uix
format
Column in courformopti_couforsecnam_uix
sectionid
Column in courformopti_couforsecnam_uix
name
Name
course_modules
Description
course_modules table retrofitted from MySQL
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
module
BIGINT
10
Yes
Default value
0
instance
BIGINT
10
Yes
Default value
0
section
BIGINT
10
Yes
Default value
0
idnumber
VARCHAR
100
added
BIGINT
10
Yes
Default value
0
score
SMALLINT
4
Yes
Default value
0
indent
MEDIUMINT
5
Yes
Default value
0
visible
TINYINT
1
Yes
Default value
1
visibleoncoursepage
TINYINT
1
Yes
Default value
1
visibleold
TINYINT
1
Yes
Default value
1
groupmode
SMALLINT
4
Yes
Default value
0
groupingid
BIGINT
10
Yes
Default value
0
completion
TINYINT
1
Yes
Default value
0
completiongradeitemnumber
BIGINT
10
completionview
TINYINT
1
Yes
Default value
0
completionexpected
BIGINT
10
Yes
Default value
0
completionpassgrade
TINYINT
1
Yes
Default value
0
showdescription
TINYINT
1
Yes
Default value
0
availability
LONGTEXT
deletioninprogress
TINYINT
1
Yes
Default value
0
downloadcontent
TINYINT
1
Default value
1
lang
VARCHAR
30
Indexes
courmodu_vis_ix
Column name
visible
courmodu_cou_ix
Column name
course
courmodu_mod_ix
Column name
module
courmodu_ins_ix
Column name
instance
courmodu_idncou_ix
Column name
idnumber
Column name
course
courmodu_gro_ix
Column name
groupingid
Keys
PRIMARY
Column in PRIMARY
id
Name
course_modules_completion
Description
Stores the completion state (completed or not completed, etc
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
coursemoduleid
BIGINT
10
Yes
userid
BIGINT
10
Yes
completionstate
TINYINT
1
Yes
overrideby
BIGINT
10
timemodified
BIGINT
10
Yes
Indexes
courmoducomp_cou_ix
Column name
coursemoduleid
Keys
PRIMARY
Column in PRIMARY
id
courmoducomp_usecou_uix
Column in courmoducomp_usecou_uix
userid
Column in courmoducomp_usecou_uix
coursemoduleid
Name
course_modules_viewed
Description
Tracks the completion viewed (viewed with cmid/userid and ot
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
coursemoduleid
BIGINT
10
Yes
userid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
Indexes
courmoduview_cou_ix
Column name
coursemoduleid
Keys
PRIMARY
Column in PRIMARY
id
courmoduview_usecou_uix
Column in courmoduview_usecou_uix
userid
Column in courmoduview_usecou_uix
coursemoduleid
Name
course_published
Description
Information about how and when an local courses were publish
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
huburl
VARCHAR
255
courseid
BIGINT
10
Yes
timepublished
BIGINT
10
Yes
enrollable
TINYINT
1
Yes
Default value
1
hubcourseid
BIGINT
10
Yes
status
TINYINT
1
Default value
0
timechecked
BIGINT
10
Indexes
courpubl_hub_ix
Column name
hubcourseid
courpubl_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
course_request
Description
course requests
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
fullname
VARCHAR
254
Yes
Default value
''
shortname
VARCHAR
100
Yes
Default value
''
summary
LONGTEXT
Yes
summaryformat
TINYINT
2
Yes
Default value
0
category
BIGINT
10
Yes
Default value
0
reason
LONGTEXT
Yes
requester
BIGINT
10
Yes
Default value
0
password
VARCHAR
50
Yes
Default value
''
Indexes
courrequ_sho_ix
Column name
shortname
Keys
PRIMARY
Column in PRIMARY
id
Name
course_sections
Description
to define the sections for each course
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
section
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
summary
LONGTEXT
summaryformat
TINYINT
2
Yes
Default value
0
sequence
LONGTEXT
visible
TINYINT
1
Yes
Default value
1
availability
LONGTEXT
timemodified
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
coursect_cousec_uix
Column in coursect_cousec_uix
course
Column in coursect_cousec_uix
section
Name
customfield_category
Description
core_customfield category table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
400
Yes
Default value
''
description
LONGTEXT
descriptionformat
BIGINT
10
sortorder
BIGINT
10
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
component
VARCHAR
100
Yes
Default value
''
area
VARCHAR
100
Yes
Default value
''
itemid
BIGINT
10
Yes
Default value
0
contextid
BIGINT
10
Indexes
custcate_comareitesor_ix
Column name
component
Column name
area
Column name
itemid
Column name
sortorder
custcate_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
customfield_data
Description
core_customfield data table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
fieldid
BIGINT
10
Yes
instanceid
BIGINT
10
Yes
intvalue
BIGINT
10
decvalue
DECIMAL
10,5
shortcharvalue
VARCHAR
255
charvalue
VARCHAR
1333
value
LONGTEXT
Yes
valueformat
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
contextid
BIGINT
10
Indexes
custdata_fieint_ix
Column name
fieldid
Column name
intvalue
custdata_fiesho_ix
Column name
fieldid
Column name
shortcharvalue
custdata_fiedec_ix
Column name
fieldid
Column name
decvalue
custdata_fie_ix
Column name
fieldid
custdata_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
custdata_insfie_uix
Column in custdata_insfie_uix
instanceid
Column in custdata_insfie_uix
fieldid
Name
customfield_field
Description
core_customfield field table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
shortname
VARCHAR
100
Yes
Default value
''
name
VARCHAR
400
Yes
Default value
''
type
VARCHAR
100
Yes
Default value
''
description
LONGTEXT
descriptionformat
BIGINT
10
sortorder
BIGINT
10
categoryid
BIGINT
10
configdata
LONGTEXT
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
custfiel_catsor_ix
Column name
categoryid
Column name
sortorder
custfiel_cat_ix
Column name
categoryid
Keys
PRIMARY
Column in PRIMARY
id
Name
data
Description
all database activities
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
comments
SMALLINT
4
Yes
Default value
0
timeavailablefrom
BIGINT
10
Yes
Default value
0
timeavailableto
BIGINT
10
Yes
Default value
0
timeviewfrom
BIGINT
10
Yes
Default value
0
timeviewto
BIGINT
10
Yes
Default value
0
requiredentries
INT
8
Yes
Default value
0
requiredentriestoview
INT
8
Yes
Default value
0
maxentries
INT
8
Yes
Default value
0
rssarticles
SMALLINT
4
Yes
Default value
0
singletemplate
LONGTEXT
listtemplate
LONGTEXT
listtemplateheader
LONGTEXT
listtemplatefooter
LONGTEXT
addtemplate
LONGTEXT
rsstemplate
LONGTEXT
rsstitletemplate
LONGTEXT
csstemplate
LONGTEXT
jstemplate
LONGTEXT
asearchtemplate
LONGTEXT
approval
SMALLINT
4
Yes
Default value
0
manageapproved
SMALLINT
4
Yes
Default value
1
scale
BIGINT
10
Yes
Default value
0
assessed
BIGINT
10
Yes
Default value
0
assesstimestart
BIGINT
10
Yes
Default value
0
assesstimefinish
BIGINT
10
Yes
Default value
0
defaultsort
BIGINT
10
Yes
Default value
0
defaultsortdir
SMALLINT
4
Yes
Default value
0
editany
SMALLINT
4
Yes
Default value
0
notification
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
config
LONGTEXT
completionentries
BIGINT
10
Default value
0
Indexes
data_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
data_content
Description
the content introduced in each record/fields
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
fieldid
BIGINT
10
Yes
Default value
0
recordid
BIGINT
10
Yes
Default value
0
content
LONGTEXT
content1
LONGTEXT
content2
LONGTEXT
content3
LONGTEXT
content4
LONGTEXT
Indexes
datacont_rec_ix
Column name
recordid
datacont_fie_ix
Column name
fieldid
Keys
PRIMARY
Column in PRIMARY
id
Name
data_fields
Description
every field available
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
dataid
BIGINT
10
Yes
Default value
0
type
VARCHAR
255
Yes
Default value
''
name
VARCHAR
255
Yes
Default value
''
description
LONGTEXT
Yes
required
TINYINT
1
Yes
Default value
0
param1
LONGTEXT
param2
LONGTEXT
param3
LONGTEXT
param4
LONGTEXT
param5
LONGTEXT
param6
LONGTEXT
param7
LONGTEXT
param8
LONGTEXT
param9
LONGTEXT
param10
LONGTEXT
Indexes
datafiel_typdat_ix
Column name
type
Column name
dataid
datafiel_dat_ix
Column name
dataid
Keys
PRIMARY
Column in PRIMARY
id
Name
data_records
Description
every record introduced
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
0
dataid
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
approved
SMALLINT
4
Yes
Default value
0
Indexes
datareco_dat_ix
Column name
dataid
datareco_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
editor_atto_autosave
Description
Draft text that is auto-saved every 5 seconds while an edito
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
elementid
VARCHAR
255
Yes
Default value
''
contextid
BIGINT
10
Yes
pagehash
VARCHAR
64
Yes
Default value
''
userid
BIGINT
10
Yes
drafttext
LONGTEXT
Yes
draftid
BIGINT
10
pageinstance
VARCHAR
64
Yes
Default value
''
timemodified
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
editattoauto_eleconusepag_uix
Column in editattoauto_eleconusepag_uix
elementid
Column in editattoauto_eleconusepag_uix
contextid
Column in editattoauto_eleconusepag_uix
userid
Column in editattoauto_eleconusepag_uix
pagehash
Name
enrol
Description
Instances of enrolment plugins used in courses, fields marke
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
enrol
VARCHAR
20
Yes
Default value
''
status
BIGINT
10
Yes
Default value
0
courseid
BIGINT
10
Yes
sortorder
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
enrolperiod
BIGINT
10
Default value
0
enrolstartdate
BIGINT
10
Default value
0
enrolenddate
BIGINT
10
Default value
0
expirynotify
TINYINT
1
Default value
0
expirythreshold
BIGINT
10
Default value
0
notifyall
TINYINT
1
Default value
0
password
VARCHAR
50
cost
VARCHAR
20
currency
VARCHAR
3
roleid
BIGINT
10
Default value
0
customint1
BIGINT
10
customint2
BIGINT
10
customint3
BIGINT
10
customint4
BIGINT
10
customint5
BIGINT
10
customint6
BIGINT
10
customint7
BIGINT
10
customint8
BIGINT
10
customchar1
VARCHAR
255
customchar2
VARCHAR
255
customchar3
VARCHAR
1333
customdec1
DECIMAL
12,7
customdec2
DECIMAL
12,7
customtext1
LONGTEXT
customtext2
LONGTEXT
customtext3
LONGTEXT
customtext4
LONGTEXT
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
enro_enr_ix
Column name
enrol
enro_cou_ix
Column name
courseid
enro_rol_ix
Column name
roleid
Keys
PRIMARY
Column in PRIMARY
id
Name
enrol_flatfile
Description
enrol_flatfile table retrofitted from MySQL
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
action
VARCHAR
30
Yes
Default value
''
roleid
BIGINT
10
Yes
userid
BIGINT
10
Yes
courseid
BIGINT
10
Yes
timestart
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
enroflat_cou_ix
Column name
courseid
enroflat_use_ix
Column name
userid
enroflat_rol_ix
Column name
roleid
Keys
PRIMARY
Column in PRIMARY
id
Name
enrol_lti_app_registration
Description
Details of each application that has been registered with th
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
platformid
LONGTEXT
clientid
VARCHAR
1333
uniqueid
VARCHAR
255
Yes
Default value
''
platformclienthash
VARCHAR
64
platformuniqueidhash
VARCHAR
64
authenticationrequesturl
LONGTEXT
jwksurl
LONGTEXT
accesstokenurl
LONGTEXT
status
TINYINT
1
Yes
Default value
0
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Keys
PRIMARY
Column in PRIMARY
id
enroltiappregi_uni_uix
Column in enroltiappregi_uni_uix
uniqueid
enroltiappregi_pla_uix
Column in enroltiappregi_pla_uix
platformclienthash
enroltiappregi_pla2_uix
Column in enroltiappregi_pla2_uix
platformuniqueidhash
Name
enrol_lti_context
Description
Each row represents a context in the platform, where resourc
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
VARCHAR
255
Yes
Default value
''
ltideploymentid
BIGINT
10
Yes
type
LONGTEXT
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
enrolticont_lti_ix
Column name
ltideploymentid
Keys
PRIMARY
Column in PRIMARY
id
enrolticont_lticon_uix
Column in enrolticont_lticon_uix
ltideploymentid
Column in enrolticont_lticon_uix
contextid
Name
enrol_lti_deployment
Description
Each row represents a deployment of a tool within a platform
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
deploymentid
VARCHAR
255
Yes
Default value
''
platformid
BIGINT
10
Yes
legacyconsumerkey
VARCHAR
255
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
enroltidepl_pla_ix
Column name
platformid
Keys
PRIMARY
Column in PRIMARY
id
enroltidepl_pladep_uix
Column in enroltidepl_pladep_uix
platformid
Column in enroltidepl_pladep_uix
deploymentid
Name
enrol_lti_lti2_consumer
Description
LTI consumers interacting with moodle
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
11
Yes
Yes
Autoincrement
Yes
name
VARCHAR
50
Yes
Default value
''
consumerkey256
VARCHAR
255
Yes
Default value
''
consumerkey
LONGTEXT
secret
VARCHAR
1024
Yes
Default value
''
ltiversion
VARCHAR
10
consumername
VARCHAR
255
consumerversion
VARCHAR
255
consumerguid
VARCHAR
1024
profile
LONGTEXT
toolproxy
LONGTEXT
settings
LONGTEXT
protected
TINYINT
1
Yes
enabled
TINYINT
1
Yes
enablefrom
BIGINT
10
enableuntil
BIGINT
10
lastaccess
BIGINT
10
created
BIGINT
10
Yes
updated
BIGINT
10
Yes
Keys
PRIMARY
Column in PRIMARY
id
enroltilti2cons_con_uix
Column in enroltilti2cons_con_uix
consumerkey256
Name
enrol_lti_lti2_context
Description
Information about a specific LTI contexts from the consumers
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
11
Yes
Yes
Autoincrement
Yes
consumerid
BIGINT
11
Yes
lticontextkey
VARCHAR
255
Yes
Default value
''
type
VARCHAR
100
settings
LONGTEXT
created
BIGINT
10
Yes
updated
BIGINT
10
Yes
Indexes
enroltilti2cont_con_ix
Column name
consumerid
Keys
PRIMARY
Column in PRIMARY
id
Name
enrol_lti_lti2_nonce
Description
Nonce used for authentication between moodle and a consumer
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
11
Yes
Yes
Autoincrement
Yes
consumerid
BIGINT
11
Yes
value
VARCHAR
64
Yes
Default value
''
expires
BIGINT
10
Yes
Indexes
enroltilti2nonc_con_ix
Column name
consumerid
Keys
PRIMARY
Column in PRIMARY
id
Name
enrol_lti_lti2_resource_link
Description
Link from the consumer to the tool
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
11
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
11
consumerid
BIGINT
11
ltiresourcelinkkey
VARCHAR
255
Yes
Default value
''
settings
LONGTEXT
primaryresourcelinkid
BIGINT
11
shareapproved
TINYINT
1
created
BIGINT
10
Yes
updated
BIGINT
10
Yes
Indexes
enroltilti2resolink_con_ix
Column name
contextid
enroltilti2resolink_pri_ix
Column name
primaryresourcelinkid
enroltilti2resolink_con2_ix
Column name
consumerid
Keys
PRIMARY
Column in PRIMARY
id
Name
enrol_lti_lti2_share_key
Description
Resource link share key
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
11
Yes
Yes
Autoincrement
Yes
sharekey
VARCHAR
32
Yes
Default value
''
resourcelinkid
BIGINT
11
Yes
autoapprove
TINYINT
1
Yes
expires
BIGINT
10
Yes
Keys
PRIMARY
Column in PRIMARY
id
enroltilti2sharkey_sha_uix
Column in enroltilti2sharkey_sha_uix
sharekey
enroltilti2sharkey_res_uix
Column in enroltilti2sharkey_res_uix
resourcelinkid
Name
enrol_lti_lti2_tool_proxy
Description
A tool proxy between moodle and a consumer
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
11
Yes
Yes
Autoincrement
Yes
toolproxykey
VARCHAR
32
Yes
Default value
''
consumerid
BIGINT
11
Yes
toolproxy
LONGTEXT
Yes
created
BIGINT
10
Yes
updated
BIGINT
10
Yes
Indexes
enroltilti2toolprox_con_ix
Column name
consumerid
Keys
PRIMARY
Column in PRIMARY
id
enroltilti2toolprox_too_uix
Column in enroltilti2toolprox_too_uix
toolproxykey
Name
enrol_lti_lti2_user_result
Description
Results for each user for each resource link
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
11
Yes
Yes
Autoincrement
Yes
resourcelinkid
BIGINT
11
Yes
ltiuserkey
VARCHAR
255
Yes
Default value
''
ltiresultsourcedid
VARCHAR
1024
Yes
Default value
''
created
BIGINT
10
Yes
updated
BIGINT
10
Yes
Indexes
enroltilti2userresu_res_ix
Column name
resourcelinkid
Keys
PRIMARY
Column in PRIMARY
id
Name
enrol_lti_resource_link
Description
Each row represents a resource link for a platform and deplo
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
resourcelinkid
VARCHAR
255
Yes
Default value
''
ltideploymentid
BIGINT
10
Yes
resourceid
BIGINT
10
Yes
lticontextid
BIGINT
10
lineitemsservice
VARCHAR
1333
lineitemservice
VARCHAR
1333
lineitemscope
VARCHAR
255
resultscope
VARCHAR
255
scorescope
VARCHAR
255
contextmembershipsurl
VARCHAR
1333
nrpsserviceversions
VARCHAR
255
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
enroltiresolink_lti_ix
Column name
ltideploymentid
enroltiresolink_lti2_ix
Column name
lticontextid
Keys
PRIMARY
Column in PRIMARY
id
enroltiresolink_reslti_uix
Column in enroltiresolink_reslti_uix
resourcelinkid
Column in enroltiresolink_reslti_uix
ltideploymentid
Name
enrol_lti_tools
Description
List of tools provided to the remote system
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
enrolid
BIGINT
10
Yes
contextid
BIGINT
10
Yes
ltiversion
VARCHAR
15
Yes
Default value
'LTI-1p3'
institution
VARCHAR
40
Yes
Default value
''
lang
VARCHAR
30
Yes
Default value
'en'
timezone
VARCHAR
100
Yes
Default value
'99'
maxenrolled
BIGINT
10
Yes
Default value
0
maildisplay
TINYINT
2
Yes
Default value
2
city
VARCHAR
120
Yes
Default value
''
country
VARCHAR
2
Yes
Default value
''
gradesync
TINYINT
1
Yes
Default value
0
gradesynccompletion
TINYINT
1
Yes
Default value
0
membersync
TINYINT
1
Yes
Default value
0
membersyncmode
TINYINT
1
Yes
Default value
0
roleinstructor
BIGINT
10
Yes
rolelearner
BIGINT
10
Yes
secret
LONGTEXT
uuid
VARCHAR
36
provisioningmodelearner
TINYINT
2
provisioningmodeinstructor
TINYINT
2
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
enroltitool_enr_ix
Column name
enrolid
enroltitool_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
enroltitool_uui_uix
Column in enroltitool_uui_uix
uuid
Name
enrol_lti_tool_consumer_map
Description
Table that maps the published tool to tool consumers.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
toolid
BIGINT
11
Yes
consumerid
BIGINT
11
Yes
Indexes
enroltitoolconsmap_too_ix
Column name
toolid
enroltitoolconsmap_con_ix
Column name
consumerid
Keys
PRIMARY
Column in PRIMARY
id
Name
enrol_lti_users
Description
User access log and gradeback data
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
toolid
BIGINT
10
Yes
serviceurl
LONGTEXT
sourceid
LONGTEXT
ltideploymentid
BIGINT
10
consumerkey
LONGTEXT
consumersecret
LONGTEXT
membershipsurl
LONGTEXT
membershipsid
LONGTEXT
lastgrade
DECIMAL
10,5
lastaccess
BIGINT
10
timecreated
BIGINT
10
Indexes
enroltiuser_use_ix
Column name
userid
enroltiuser_too_ix
Column name
toolid
enroltiuser_lti_ix
Column name
ltideploymentid
Keys
PRIMARY
Column in PRIMARY
id
Name
enrol_lti_user_resource_link
Description
Join table mapping users to resource links as this is a many
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
ltiuserid
BIGINT
10
Yes
resourcelinkid
BIGINT
10
Yes
Indexes
enroltiuserresolink_lti_ix
Column name
ltiuserid
enroltiuserresolink_res_ix
Column name
resourcelinkid
Keys
PRIMARY
Column in PRIMARY
id
enroltiuserresolink_ltires_uix
Column in enroltiuserresolink_ltires_uix
ltiuserid
Column in enroltiuserresolink_ltires_uix
resourcelinkid
Name
enrol_paypal
Description
Holds all known information about PayPal transactions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
business
VARCHAR
255
Yes
Default value
''
receiver_email
VARCHAR
255
Yes
Default value
''
receiver_id
VARCHAR
255
Yes
Default value
''
item_name
VARCHAR
255
Yes
Default value
''
courseid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
instanceid
BIGINT
10
Yes
Default value
0
memo
VARCHAR
255
Yes
Default value
''
tax
VARCHAR
255
Yes
Default value
''
option_name1
VARCHAR
255
Yes
Default value
''
option_selection1_x
VARCHAR
255
Yes
Default value
''
option_name2
VARCHAR
255
Yes
Default value
''
option_selection2_x
VARCHAR
255
Yes
Default value
''
payment_status
VARCHAR
255
Yes
Default value
''
pending_reason
VARCHAR
255
Yes
Default value
''
reason_code
VARCHAR
30
Yes
Default value
''
txn_id
VARCHAR
255
Yes
Default value
''
parent_txn_id
VARCHAR
255
Yes
Default value
''
payment_type
VARCHAR
30
Yes
Default value
''
timeupdated
BIGINT
10
Yes
Default value
0
Indexes
enropayp_bus_ix
Column name
business
enropayp_rec_ix
Column name
receiver_email
enropayp_cou_ix
Column name
courseid
enropayp_use_ix
Column name
userid
enropayp_ins_ix
Column name
instanceid
Keys
PRIMARY
Column in PRIMARY
id
Name
event
Description
For everything with a time associated to it
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
LONGTEXT
Yes
description
LONGTEXT
Yes
format
SMALLINT
4
Yes
Default value
0
categoryid
BIGINT
10
Yes
Default value
0
courseid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
repeatid
BIGINT
10
Yes
Default value
0
component
VARCHAR
100
modulename
VARCHAR
20
Yes
Default value
''
instance
BIGINT
10
Yes
Default value
0
type
SMALLINT
4
Yes
Default value
0
eventtype
VARCHAR
20
Yes
Default value
''
timestart
BIGINT
10
Yes
Default value
0
timeduration
BIGINT
10
Yes
Default value
0
timesort
BIGINT
10
visible
SMALLINT
4
Yes
Default value
1
uuid
VARCHAR
255
Yes
Default value
''
sequence
BIGINT
10
Yes
Default value
1
timemodified
BIGINT
10
Yes
Default value
0
subscriptionid
BIGINT
10
priority
BIGINT
10
location
LONGTEXT
Indexes
even_cou_ix
Column name
courseid
even_use_ix
Column name
userid
even_tim_ix
Column name
timestart
even_tim2_ix
Column name
timeduration
even_uui_ix
Column name
uuid
even_typtim_ix
Column name
type
Column name
timesort
even_grocoucatvisuse_ix
Column name
groupid
Column name
courseid
Column name
categoryid
Column name
visible
Column name
userid
even_eve_ix
Column name
eventtype
even_comeveins_ix
Column name
component
Column name
eventtype
Column name
instance
even_modinseve_ix
Column name
modulename
Column name
instance
Column name
eventtype
even_cat_ix
Column name
categoryid
even_sub_ix
Column name
subscriptionid
Keys
PRIMARY
Column in PRIMARY
id
Name
events_handlers
Description
This table is for storing which components requests what typ
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
eventname
VARCHAR
166
Yes
Default value
''
component
VARCHAR
166
Yes
Default value
''
handlerfile
VARCHAR
255
Yes
Default value
''
handlerfunction
LONGTEXT
schedule
VARCHAR
255
status
BIGINT
10
Yes
Default value
0
internal
TINYINT
2
Yes
Default value
1
Keys
PRIMARY
Column in PRIMARY
id
evenhand_evecom_uix
Column in evenhand_evecom_uix
eventname
Column in evenhand_evecom_uix
component
Name
events_queue
Description
This table is for storing queued events. It stores only one
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
eventdata
LONGTEXT
Yes
stackdump
LONGTEXT
userid
BIGINT
10
timecreated
BIGINT
10
Yes
Indexes
evenqueu_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
events_queue_handlers
Description
This is the list of queued handlers for processing. The even
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
queuedeventid
BIGINT
10
Yes
handlerid
BIGINT
10
Yes
status
BIGINT
10
errormessage
LONGTEXT
timemodified
BIGINT
10
Yes
Indexes
evenqueuhand_que_ix
Column name
queuedeventid
evenqueuhand_han_ix
Column name
handlerid
Keys
PRIMARY
Column in PRIMARY
id
Name
event_subscriptions
Description
Tracks subscriptions to remote calendars.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
url
VARCHAR
255
Yes
Default value
''
categoryid
BIGINT
10
Yes
Default value
0
courseid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
eventtype
VARCHAR
20
Yes
Default value
''
pollinterval
BIGINT
10
Yes
Default value
0
lastupdated
BIGINT
10
name
VARCHAR
255
Yes
Default value
''
Indexes
evensubs_cou_ix
Column name
courseid
evensubs_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
external_functions
Description
list of all external functions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
200
Yes
Default value
''
classname
VARCHAR
100
Yes
Default value
''
methodname
VARCHAR
100
Yes
Default value
''
classpath
VARCHAR
255
component
VARCHAR
100
Yes
Default value
''
capabilities
VARCHAR
255
services
VARCHAR
1333
Keys
PRIMARY
Column in PRIMARY
id
extefunc_nam_uix
Column in extefunc_nam_uix
name
Name
external_services
Description
built in and custom external services
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
200
Yes
Default value
''
enabled
TINYINT
1
Yes
requiredcapability
VARCHAR
150
restrictedusers
TINYINT
1
Yes
component
VARCHAR
100
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
shortname
VARCHAR
255
downloadfiles
TINYINT
1
Yes
Default value
0
uploadfiles
TINYINT
1
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
exteserv_nam_uix
Column in exteserv_nam_uix
name
Name
external_services_functions
Description
lists functions available in each service group
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
externalserviceid
BIGINT
10
Yes
functionname
VARCHAR
200
Yes
Default value
''
Indexes
exteservfunc_ext_ix
Column name
externalserviceid
Keys
PRIMARY
Column in PRIMARY
id
Name
external_services_users
Description
users allowed to use services with restricted users flag
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
externalserviceid
BIGINT
10
Yes
userid
BIGINT
10
Yes
iprestriction
VARCHAR
255
validuntil
BIGINT
10
timecreated
BIGINT
10
Indexes
exteservuser_ext_ix
Column name
externalserviceid
exteservuser_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
external_tokens
Description
Security tokens for accessing of external services
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
token
VARCHAR
128
Yes
Default value
''
privatetoken
VARCHAR
64
tokentype
SMALLINT
4
Yes
userid
BIGINT
10
Yes
externalserviceid
BIGINT
10
Yes
sid
VARCHAR
128
contextid
BIGINT
10
Yes
creatorid
BIGINT
10
Yes
Default value
1
iprestriction
VARCHAR
255
validuntil
BIGINT
10
timecreated
BIGINT
10
Yes
lastaccess
BIGINT
10
Indexes
extetoke_tok_ix
Column name
token
extetoke_sid_ix
Column name
sid
extetoke_use_ix
Column name
userid
extetoke_ext_ix
Column name
externalserviceid
extetoke_con_ix
Column name
contextid
extetoke_cre_ix
Column name
creatorid
Keys
PRIMARY
Column in PRIMARY
id
Name
favourite
Description
Stores the relationship between an arbitrary item (itemtype,
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
component
VARCHAR
100
Yes
Default value
''
itemtype
VARCHAR
100
Yes
Default value
''
itemid
BIGINT
10
Yes
contextid
BIGINT
10
Yes
userid
BIGINT
10
Yes
ordering
BIGINT
10
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
favo_con_ix
Column name
contextid
favo_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
favo_comiteiteconuse_uix
Column in favo_comiteiteconuse_uix
component
Column in favo_comiteiteconuse_uix
itemtype
Column in favo_comiteiteconuse_uix
itemid
Column in favo_comiteiteconuse_uix
contextid
Column in favo_comiteiteconuse_uix
userid
Name
feedback
Description
all feedbacks
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
anonymous
TINYINT
1
Yes
Default value
1
email_notification
TINYINT
1
Yes
Default value
1
multiple_submit
TINYINT
1
Yes
Default value
1
autonumbering
TINYINT
1
Yes
Default value
1
site_after_submit
VARCHAR
255
Yes
Default value
''
page_after_submit
LONGTEXT
Yes
page_after_submitformat
TINYINT
2
Yes
Default value
0
publish_stats
TINYINT
1
Yes
Default value
0
timeopen
BIGINT
10
Yes
Default value
0
timeclose
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
completionsubmit
TINYINT
1
Yes
Default value
0
Indexes
feed_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
feedback_completed
Description
filled out feedback
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
feedback
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
random_response
BIGINT
10
Yes
Default value
0
anonymous_response
TINYINT
1
Yes
Default value
0
courseid
BIGINT
10
Yes
Default value
0
Indexes
feedcomp_use_ix
Column name
userid
feedcomp_fee_ix
Column name
feedback
feedcomp_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
feedback_completedtmp
Description
filled out feedback
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
feedback
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
guestid
VARCHAR
255
Yes
Default value
''
timemodified
BIGINT
10
Yes
Default value
0
random_response
BIGINT
10
Yes
Default value
0
anonymous_response
TINYINT
1
Yes
Default value
0
courseid
BIGINT
10
Yes
Default value
0
Indexes
feedcomp_use2_ix
Column name
userid
feedcomp_fee2_ix
Column name
feedback
Keys
PRIMARY
Column in PRIMARY
id
Name
feedback_item
Description
feedback_items
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
feedback
BIGINT
10
Yes
Default value
0
template
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
label
VARCHAR
255
Yes
Default value
''
presentation
LONGTEXT
Yes
typ
VARCHAR
255
Yes
Default value
''
hasvalue
TINYINT
1
Yes
Default value
0
position
SMALLINT
3
Yes
Default value
0
required
TINYINT
1
Yes
Default value
0
dependitem
BIGINT
10
Yes
Default value
0
dependvalue
VARCHAR
255
Yes
Default value
''
options
VARCHAR
255
Yes
Default value
''
Indexes
feeditem_fee_ix
Column name
feedback
feeditem_tem_ix
Column name
template
Keys
PRIMARY
Column in PRIMARY
id
Name
feedback_sitecourse_map
Description
feedback sitecourse map
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
feedbackid
BIGINT
10
Yes
Default value
0
courseid
BIGINT
10
Yes
Default value
0
Indexes
feedsitemap_cou_ix
Column name
courseid
feedsitemap_fee_ix
Column name
feedbackid
Keys
PRIMARY
Column in PRIMARY
id
Name
feedback_template
Description
templates of feedbackstructures
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
ispublic
TINYINT
1
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
Indexes
feedtemp_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
feedback_value
Description
values of the completeds
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course_id
BIGINT
10
Yes
Default value
0
item
BIGINT
10
Yes
Default value
0
completed
BIGINT
10
Yes
Default value
0
tmp_completed
BIGINT
10
Yes
Default value
0
value
LONGTEXT
Yes
Indexes
feedvalu_cou_ix
Column name
course_id
feedvalu_ite_ix
Column name
item
Keys
PRIMARY
Column in PRIMARY
id
feedvalu_comitecou_uix
Column in feedvalu_comitecou_uix
completed
Column in feedvalu_comitecou_uix
item
Column in feedvalu_comitecou_uix
course_id
Name
feedback_valuetmp
Description
values of the completedstmp
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course_id
BIGINT
10
Yes
Default value
0
item
BIGINT
10
Yes
Default value
0
completed
BIGINT
10
Yes
Default value
0
tmp_completed
BIGINT
10
Yes
Default value
0
value
LONGTEXT
Yes
Indexes
feedvalu_cou2_ix
Column name
course_id
feedvalu_ite2_ix
Column name
item
Keys
PRIMARY
Column in PRIMARY
id
feedvalu_comitecou2_uix
Column in feedvalu_comitecou2_uix
completed
Column in feedvalu_comitecou2_uix
item
Column in feedvalu_comitecou2_uix
course_id
Name
files
Description
description of files, content is stored in sha1 file pool
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contenthash
VARCHAR
40
Yes
Default value
''
pathnamehash
VARCHAR
40
Yes
Default value
''
contextid
BIGINT
10
Yes
component
VARCHAR
100
Yes
Default value
''
filearea
VARCHAR
50
Yes
Default value
''
itemid
BIGINT
10
Yes
filepath
VARCHAR
255
Yes
Default value
''
filename
VARCHAR
255
Yes
Default value
''
userid
BIGINT
10
filesize
BIGINT
10
Yes
mimetype
VARCHAR
100
status
BIGINT
10
Yes
Default value
0
source
LONGTEXT
author
VARCHAR
255
license
VARCHAR
255
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
sortorder
BIGINT
10
Yes
Default value
0
referencefileid
BIGINT
10
Indexes
file_comfilconite_ix
Column name
component
Column name
filearea
Column name
contextid
Column name
itemid
file_con_ix
Column name
contenthash
file_lic_ix
Column name
license
file_fil_ix
Column name
filename
file_con2_ix
Column name
contextid
file_use_ix
Column name
userid
file_ref_ix
Column name
referencefileid
Keys
PRIMARY
Column in PRIMARY
id
file_pat_uix
Column in file_pat_uix
pathnamehash
Name
files_reference
Description
Store files references
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
repositoryid
BIGINT
10
Yes
lastsync
BIGINT
10
reference
LONGTEXT
referencehash
VARCHAR
40
Yes
Default value
''
Indexes
filerefe_rep_ix
Column name
repositoryid
Keys
PRIMARY
Column in PRIMARY
id
filerefe_refrep_uix
Column in filerefe_refrep_uix
referencehash
Column in filerefe_refrep_uix
repositoryid
Name
file_conversion
Description
Table to track file conversions.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
sourcefileid
BIGINT
10
Yes
targetformat
VARCHAR
100
Yes
Default value
''
status
BIGINT
10
Default value
0
statusmessage
LONGTEXT
converter
VARCHAR
255
destfileid
BIGINT
10
data
LONGTEXT
Indexes
fileconv_sou_ix
Column name
sourcefileid
fileconv_des_ix
Column name
destfileid
fileconv_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
filter_active
Description
Stores information about which filters are active in which c
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
filter
VARCHAR
32
Yes
Default value
''
contextid
BIGINT
10
Yes
active
SMALLINT
4
Yes
sortorder
BIGINT
10
Yes
Default value
0
Indexes
filtacti_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
filtacti_confil_uix
Column in filtacti_confil_uix
contextid
Column in filtacti_confil_uix
filter
Name
filter_config
Description
Stores per-context configuration settings for filters which
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
filter
VARCHAR
32
Yes
Default value
''
contextid
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
value
LONGTEXT
Indexes
filtconf_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
filtconf_confilnam_uix
Column in filtconf_confilnam_uix
contextid
Column in filtconf_confilnam_uix
filter
Column in filtconf_confilnam_uix
name
Name
folder
Description
each record is one folder resource
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
revision
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
display
SMALLINT
4
Yes
Default value
0
showexpanded
TINYINT
1
Yes
Default value
1
showdownloadfolder
TINYINT
1
Yes
Default value
1
forcedownload
TINYINT
1
Yes
Default value
1
Indexes
fold_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
forum
Description
Forums contain and structure discussion
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
type
VARCHAR
20
Yes
Default value
'general'
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
duedate
BIGINT
10
Yes
Default value
0
cutoffdate
BIGINT
10
Yes
Default value
0
assessed
BIGINT
10
Yes
Default value
0
assesstimestart
BIGINT
10
Yes
Default value
0
assesstimefinish
BIGINT
10
Yes
Default value
0
scale
BIGINT
10
Yes
Default value
0
grade_forum
BIGINT
10
Yes
Default value
0
grade_forum_notify
SMALLINT
4
Yes
Default value
0
maxbytes
BIGINT
10
Yes
Default value
0
maxattachments
BIGINT
10
Yes
Default value
1
forcesubscribe
TINYINT
1
Yes
Default value
0
trackingtype
TINYINT
2
Yes
Default value
1
rsstype
TINYINT
2
Yes
Default value
0
rssarticles
TINYINT
2
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
warnafter
BIGINT
10
Yes
Default value
0
blockafter
BIGINT
10
Yes
Default value
0
blockperiod
BIGINT
10
Yes
Default value
0
completiondiscussions
INT
9
Yes
Default value
0
completionreplies
INT
9
Yes
Default value
0
completionposts
INT
9
Yes
Default value
0
displaywordcount
TINYINT
1
Yes
Default value
0
lockdiscussionafter
BIGINT
10
Yes
Default value
0
Indexes
foru_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
forum_digests
Description
Keeps track of user mail delivery preferences for each forum
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
forum
BIGINT
10
Yes
maildigest
TINYINT
1
Yes
Default value
-1
Indexes
forudige_use_ix
Column name
userid
forudige_for_ix
Column name
forum
Keys
PRIMARY
Column in PRIMARY
id
forudige_forusemai_uix
Column in forudige_forusemai_uix
forum
Column in forudige_forusemai_uix
userid
Column in forudige_forusemai_uix
maildigest
Name
forum_discussions
Description
Forums are composed of discussions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
forum
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
firstpost
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
-1
assessed
TINYINT
1
Yes
Default value
1
timemodified
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Yes
Default value
0
timestart
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
0
pinned
TINYINT
1
Yes
Default value
0
timelocked
BIGINT
10
Yes
Default value
0
Indexes
forudisc_use_ix
Column name
userid
forudisc_cou_ix
Column name
course
forudisc_for_ix
Column name
forum
forudisc_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
forum_discussion_subs
Description
Users may choose to subscribe and unsubscribe from specific
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
forum
BIGINT
10
Yes
userid
BIGINT
10
Yes
discussion
BIGINT
10
Yes
preference
BIGINT
10
Yes
Default value
1
Indexes
forudiscsubs_for_ix
Column name
forum
forudiscsubs_use_ix
Column name
userid
forudiscsubs_dis_ix
Column name
discussion
Keys
PRIMARY
Column in PRIMARY
id
forudiscsubs_usedis_uix
Column in forudiscsubs_usedis_uix
userid
Column in forudiscsubs_usedis_uix
discussion
Name
forum_grades
Description
Grading data for forum instances
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
forum
BIGINT
10
Yes
itemnumber
BIGINT
10
Yes
userid
BIGINT
10
Yes
grade
DECIMAL
10,5
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
forugrad_use_ix
Column name
userid
forugrad_for_ix
Column name
forum
Keys
PRIMARY
Column in PRIMARY
id
forugrad_foriteuse_uix
Column in forugrad_foriteuse_uix
forum
Column in forugrad_foriteuse_uix
itemnumber
Column in forugrad_foriteuse_uix
userid
Name
forum_posts
Description
All posts are stored in this table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
discussion
BIGINT
10
Yes
Default value
0
parent
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
created
BIGINT
10
Yes
Default value
0
modified
BIGINT
10
Yes
Default value
0
mailed
TINYINT
2
Yes
Default value
0
subject
VARCHAR
255
Yes
Default value
''
message
LONGTEXT
Yes
messageformat
TINYINT
2
Yes
Default value
0
messagetrust
TINYINT
2
Yes
Default value
0
attachment
VARCHAR
100
Yes
Default value
''
totalscore
SMALLINT
4
Yes
Default value
0
mailnow
BIGINT
10
Yes
Default value
0
deleted
TINYINT
1
Yes
Default value
0
privatereplyto
BIGINT
10
Yes
Default value
0
wordcount
BIGINT
20
charcount
BIGINT
20
Indexes
forupost_use_ix
Column name
userid
forupost_cre_ix
Column name
created
forupost_mai_ix
Column name
mailed
forupost_pri_ix
Column name
privatereplyto
forupost_dis_ix
Column name
discussion
forupost_par_ix
Column name
parent
Keys
PRIMARY
Column in PRIMARY
id
Name
forum_queue
Description
For keeping track of posts that will be mailed in digest for
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
discussionid
BIGINT
10
Yes
Default value
0
postid
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
foruqueu_use_ix
Column name
userid
foruqueu_dis_ix
Column name
discussionid
foruqueu_pos_ix
Column name
postid
Keys
PRIMARY
Column in PRIMARY
id
Name
forum_read
Description
Tracks each users read posts
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
forumid
BIGINT
10
Yes
Default value
0
discussionid
BIGINT
10
Yes
Default value
0
postid
BIGINT
10
Yes
Default value
0
firstread
BIGINT
10
Yes
Default value
0
lastread
BIGINT
10
Yes
Default value
0
Indexes
foruread_foruse_ix
Column name
forumid
Column name
userid
foruread_disuse_ix
Column name
discussionid
Column name
userid
foruread_posuse_ix
Column name
postid
Column name
userid
foruread_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
forum_subscriptions
Description
Keeps track of who is subscribed to what forum
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
forum
BIGINT
10
Yes
Default value
0
Indexes
forusubs_use_ix
Column name
userid
forusubs_for_ix
Column name
forum
Keys
PRIMARY
Column in PRIMARY
id
forusubs_usefor_uix
Column in forusubs_usefor_uix
userid
Column in forusubs_usefor_uix
forum
Name
forum_track_prefs
Description
Tracks each users untracked forums
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
forumid
BIGINT
10
Yes
Default value
0
Indexes
forutracpref_usefor_ix
Column name
userid
Column name
forumid
Keys
PRIMARY
Column in PRIMARY
id
Name
glossary
Description
all glossaries
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
allowduplicatedentries
TINYINT
2
Yes
Default value
0
displayformat
VARCHAR
50
Yes
Default value
'dictionary'
mainglossary
TINYINT
2
Yes
Default value
0
showspecial
TINYINT
2
Yes
Default value
1
showalphabet
TINYINT
2
Yes
Default value
1
showall
TINYINT
2
Yes
Default value
1
allowcomments
TINYINT
2
Yes
Default value
0
allowprintview
TINYINT
2
Yes
Default value
1
usedynalink
TINYINT
2
Yes
Default value
1
defaultapproval
TINYINT
2
Yes
Default value
1
approvaldisplayformat
VARCHAR
50
Yes
Default value
'default'
globalglossary
TINYINT
2
Yes
Default value
0
entbypage
SMALLINT
3
Yes
Default value
10
editalways
TINYINT
2
Yes
Default value
0
rsstype
TINYINT
2
Yes
Default value
0
rssarticles
TINYINT
2
Yes
Default value
0
assessed
BIGINT
10
Yes
Default value
0
assesstimestart
BIGINT
10
Yes
Default value
0
assesstimefinish
BIGINT
10
Yes
Default value
0
scale
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
completionentries
INT
9
Yes
Default value
0
Indexes
glos_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
glossary_alias
Description
entries alias
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
entryid
BIGINT
10
Yes
Default value
0
alias
VARCHAR
255
Yes
Default value
''
Indexes
glosalia_ent_ix
Column name
entryid
Keys
PRIMARY
Column in PRIMARY
id
Name
glossary_categories
Description
all categories for glossary entries
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
glossaryid
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
usedynalink
TINYINT
2
Yes
Default value
1
Indexes
gloscate_glo_ix
Column name
glossaryid
Keys
PRIMARY
Column in PRIMARY
id
Name
glossary_entries
Description
all glossary entries
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
glossaryid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
concept
VARCHAR
255
Yes
Default value
''
definition
LONGTEXT
Yes
definitionformat
TINYINT
2
Yes
Default value
0
definitiontrust
TINYINT
2
Yes
Default value
0
attachment
VARCHAR
100
Yes
Default value
''
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
teacherentry
TINYINT
2
Yes
Default value
0
sourceglossaryid
BIGINT
10
Yes
Default value
0
usedynalink
TINYINT
2
Yes
Default value
1
casesensitive
TINYINT
2
Yes
Default value
0
fullmatch
TINYINT
2
Yes
Default value
1
approved
TINYINT
2
Yes
Default value
1
Indexes
glosentr_use_ix
Column name
userid
glosentr_con_ix
Column name
concept
glosentr_glo_ix
Column name
glossaryid
Keys
PRIMARY
Column in PRIMARY
id
Name
glossary_entries_categories
Description
categories of each glossary entry
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
categoryid
BIGINT
10
Yes
Default value
0
entryid
BIGINT
10
Yes
Default value
0
Indexes
glosentrcate_cat_ix
Column name
categoryid
glosentrcate_ent_ix
Column name
entryid
Keys
PRIMARY
Column in PRIMARY
id
Name
glossary_formats
Description
Setting of the display formats
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
50
Yes
Default value
''
popupformatname
VARCHAR
50
Yes
Default value
''
visible
TINYINT
2
Yes
Default value
1
showgroup
TINYINT
2
Yes
Default value
1
showtabs
VARCHAR
100
defaultmode
VARCHAR
50
Yes
Default value
''
defaulthook
VARCHAR
50
Yes
Default value
''
sortkey
VARCHAR
50
Yes
Default value
''
sortorder
VARCHAR
50
Yes
Default value
''
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_categories
Description
This table keeps information about categories, used for grou
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
parent
BIGINT
10
depth
BIGINT
10
Yes
Default value
0
path
VARCHAR
255
fullname
VARCHAR
255
Yes
Default value
''
aggregation
BIGINT
10
Yes
Default value
0
keephigh
BIGINT
10
Yes
Default value
0
droplow
BIGINT
10
Yes
Default value
0
aggregateonlygraded
TINYINT
1
Yes
Default value
0
aggregateoutcomes
TINYINT
1
Yes
Default value
0
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
hidden
BIGINT
10
Yes
Default value
0
Indexes
gradcate_cou_ix
Column name
courseid
gradcate_par_ix
Column name
parent
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_categories_history
Description
History of grade_categories
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
action
BIGINT
10
Yes
Default value
0
oldid
BIGINT
10
Yes
source
VARCHAR
255
timemodified
BIGINT
10
loggeduser
BIGINT
10
courseid
BIGINT
10
Yes
parent
BIGINT
10
depth
BIGINT
10
Yes
Default value
0
path
VARCHAR
255
fullname
VARCHAR
255
Yes
Default value
''
aggregation
BIGINT
10
Yes
Default value
0
keephigh
BIGINT
10
Yes
Default value
0
droplow
BIGINT
10
Yes
Default value
0
aggregateonlygraded
TINYINT
1
Yes
Default value
0
aggregateoutcomes
TINYINT
1
Yes
Default value
0
aggregatesubcats
TINYINT
1
Yes
Default value
0
hidden
BIGINT
10
Yes
Default value
0
Indexes
gradcatehist_act_ix
Column name
action
gradcatehist_tim_ix
Column name
timemodified
gradcatehist_old_ix
Column name
oldid
gradcatehist_cou_ix
Column name
courseid
gradcatehist_par_ix
Column name
parent
gradcatehist_log_ix
Column name
loggeduser
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_grades
Description
grade_grades This table keeps individual grades for each us
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
itemid
BIGINT
10
Yes
userid
BIGINT
10
Yes
rawgrade
DECIMAL
10,5
rawgrademax
DECIMAL
10,5
Yes
Default value
100.00000
rawgrademin
DECIMAL
10,5
Yes
Default value
0.00000
rawscaleid
BIGINT
10
usermodified
BIGINT
10
finalgrade
DECIMAL
10,5
hidden
BIGINT
10
Yes
Default value
0
locked
BIGINT
10
Yes
Default value
0
locktime
BIGINT
10
Yes
Default value
0
exported
BIGINT
10
Yes
Default value
0
overridden
BIGINT
10
Yes
Default value
0
excluded
BIGINT
10
Yes
Default value
0
feedback
LONGTEXT
feedbackformat
BIGINT
10
Yes
Default value
0
information
LONGTEXT
informationformat
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
timemodified
BIGINT
10
aggregationstatus
VARCHAR
10
Yes
Default value
'unknown'
aggregationweight
DECIMAL
10,5
Indexes
gradgrad_locloc_ix
Column name
locked
Column name
locktime
gradgrad_ite_ix
Column name
itemid
gradgrad_use_ix
Column name
userid
gradgrad_raw_ix
Column name
rawscaleid
gradgrad_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
gradgrad_useite_uix
Column in gradgrad_useite_uix
userid
Column in gradgrad_useite_uix
itemid
Name
grade_grades_history
Description
History table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
action
BIGINT
10
Yes
Default value
0
oldid
BIGINT
10
Yes
source
VARCHAR
255
timemodified
BIGINT
10
loggeduser
BIGINT
10
itemid
BIGINT
10
Yes
userid
BIGINT
10
Yes
rawgrade
DECIMAL
10,5
rawgrademax
DECIMAL
10,5
Yes
Default value
100.00000
rawgrademin
DECIMAL
10,5
Yes
Default value
0.00000
rawscaleid
BIGINT
10
usermodified
BIGINT
10
finalgrade
DECIMAL
10,5
hidden
BIGINT
10
Yes
Default value
0
locked
BIGINT
10
Yes
Default value
0
locktime
BIGINT
10
Yes
Default value
0
exported
BIGINT
10
Yes
Default value
0
overridden
BIGINT
10
Yes
Default value
0
excluded
BIGINT
10
Yes
Default value
0
feedback
LONGTEXT
feedbackformat
BIGINT
10
Yes
Default value
0
information
LONGTEXT
informationformat
BIGINT
10
Yes
Default value
0
Indexes
gradgradhist_act_ix
Column name
action
gradgradhist_tim_ix
Column name
timemodified
gradgradhist_useitetim_ix
Column name
userid
Column name
itemid
Column name
timemodified
gradgradhist_old_ix
Column name
oldid
gradgradhist_ite_ix
Column name
itemid
gradgradhist_use_ix
Column name
userid
gradgradhist_raw_ix
Column name
rawscaleid
gradgradhist_use2_ix
Column name
usermodified
gradgradhist_log_ix
Column name
loggeduser
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_import_newitem
Description
temporary table for storing new grade_item names from grade
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
itemname
VARCHAR
255
Yes
Default value
''
importcode
BIGINT
10
Yes
importer
BIGINT
10
Yes
Indexes
gradimponewi_imp_ix
Column name
importer
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_import_values
Description
Temporary table for importing grades
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
itemid
BIGINT
10
newgradeitem
BIGINT
10
userid
BIGINT
10
Yes
finalgrade
DECIMAL
10,5
feedback
LONGTEXT
importcode
BIGINT
10
Yes
importer
BIGINT
10
importonlyfeedback
TINYINT
1
Default value
0
Indexes
gradimpovalu_ite_ix
Column name
itemid
gradimpovalu_new_ix
Column name
newgradeitem
gradimpovalu_imp_ix
Column name
importer
gradimpovalu_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_items
Description
This table keeps information about gradeable items (ie colum
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
categoryid
BIGINT
10
itemname
VARCHAR
255
itemtype
VARCHAR
30
Yes
Default value
''
itemmodule
VARCHAR
30
iteminstance
BIGINT
10
itemnumber
BIGINT
10
iteminfo
LONGTEXT
idnumber
VARCHAR
255
calculation
LONGTEXT
gradetype
SMALLINT
4
Yes
Default value
1
grademax
DECIMAL
10,5
Yes
Default value
100.00000
grademin
DECIMAL
10,5
Yes
Default value
0.00000
scaleid
BIGINT
10
outcomeid
BIGINT
10
gradepass
DECIMAL
10,5
Yes
Default value
0.00000
multfactor
DECIMAL
10,5
Yes
Default value
1.00000
plusfactor
DECIMAL
10,5
Yes
Default value
0.00000
aggregationcoef
DECIMAL
10,5
Yes
Default value
0.00000
aggregationcoef2
DECIMAL
10,5
Yes
Default value
0.00000
sortorder
BIGINT
10
Yes
Default value
0
display
BIGINT
10
Yes
Default value
0
decimals
TINYINT
1
hidden
BIGINT
10
Yes
Default value
0
locked
BIGINT
10
Yes
Default value
0
locktime
BIGINT
10
Yes
Default value
0
needsupdate
BIGINT
10
Yes
Default value
0
weightoverride
TINYINT
1
Yes
Default value
0
timecreated
BIGINT
10
timemodified
BIGINT
10
Indexes
graditem_locloc_ix
Column name
locked
Column name
locktime
graditem_itenee_ix
Column name
itemtype
Column name
needsupdate
graditem_gra_ix
Column name
gradetype
graditem_idncou_ix
Column name
idnumber
Column name
courseid
graditem_iteiteitecou_ix
Column name
itemtype
Column name
itemmodule
Column name
iteminstance
Column name
courseid
graditem_cou_ix
Column name
courseid
graditem_cat_ix
Column name
categoryid
graditem_sca_ix
Column name
scaleid
graditem_out_ix
Column name
outcomeid
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_items_history
Description
History of grade_items
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
action
BIGINT
10
Yes
Default value
0
oldid
BIGINT
10
Yes
source
VARCHAR
255
timemodified
BIGINT
10
loggeduser
BIGINT
10
courseid
BIGINT
10
categoryid
BIGINT
10
itemname
VARCHAR
255
itemtype
VARCHAR
30
Yes
Default value
''
itemmodule
VARCHAR
30
iteminstance
BIGINT
10
itemnumber
BIGINT
10
iteminfo
LONGTEXT
idnumber
VARCHAR
255
calculation
LONGTEXT
gradetype
SMALLINT
4
Yes
Default value
1
grademax
DECIMAL
10,5
Yes
Default value
100.00000
grademin
DECIMAL
10,5
Yes
Default value
0.00000
scaleid
BIGINT
10
outcomeid
BIGINT
10
gradepass
DECIMAL
10,5
Yes
Default value
0.00000
multfactor
DECIMAL
10,5
Yes
Default value
1.00000
plusfactor
DECIMAL
10,5
Yes
Default value
0.00000
aggregationcoef
DECIMAL
10,5
Yes
Default value
0.00000
aggregationcoef2
DECIMAL
10,5
Yes
Default value
0.00000
sortorder
BIGINT
10
Yes
Default value
0
hidden
BIGINT
10
Yes
Default value
0
locked
BIGINT
10
Yes
Default value
0
locktime
BIGINT
10
Yes
Default value
0
needsupdate
BIGINT
10
Yes
Default value
0
display
BIGINT
10
Yes
Default value
0
decimals
TINYINT
1
weightoverride
TINYINT
1
Yes
Default value
0
Indexes
graditemhist_act_ix
Column name
action
graditemhist_tim_ix
Column name
timemodified
graditemhist_old_ix
Column name
oldid
graditemhist_cou_ix
Column name
courseid
graditemhist_cat_ix
Column name
categoryid
graditemhist_sca_ix
Column name
scaleid
graditemhist_out_ix
Column name
outcomeid
graditemhist_log_ix
Column name
loggeduser
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_letters
Description
Repository for grade letters, for courses and other moodle e
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
lowerboundary
DECIMAL
10,5
Yes
letter
VARCHAR
255
Yes
Default value
''
Keys
PRIMARY
Column in PRIMARY
id
gradlett_conlowlet_uix
Column in gradlett_conlowlet_uix
contextid
Column in gradlett_conlowlet_uix
lowerboundary
Column in gradlett_conlowlet_uix
letter
Name
grade_outcomes
Description
This table describes the outcomes used in the system. An out
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
shortname
VARCHAR
255
Yes
Default value
''
fullname
LONGTEXT
Yes
scaleid
BIGINT
10
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
0
timecreated
BIGINT
10
timemodified
BIGINT
10
usermodified
BIGINT
10
Indexes
gradoutc_cou_ix
Column name
courseid
gradoutc_sca_ix
Column name
scaleid
gradoutc_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
gradoutc_cousho_uix
Column in gradoutc_cousho_uix
courseid
Column in gradoutc_cousho_uix
shortname
Name
grade_outcomes_courses
Description
stores what outcomes are used in what courses.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
outcomeid
BIGINT
10
Yes
Indexes
gradoutccour_cou_ix
Column name
courseid
gradoutccour_out_ix
Column name
outcomeid
Keys
PRIMARY
Column in PRIMARY
id
gradoutccour_couout_uix
Column in gradoutccour_couout_uix
courseid
Column in gradoutccour_couout_uix
outcomeid
Name
grade_outcomes_history
Description
History table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
action
BIGINT
10
Yes
Default value
0
oldid
BIGINT
10
Yes
source
VARCHAR
255
timemodified
BIGINT
10
loggeduser
BIGINT
10
courseid
BIGINT
10
shortname
VARCHAR
255
Yes
Default value
''
fullname
LONGTEXT
Yes
scaleid
BIGINT
10
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
0
Indexes
gradoutchist_act_ix
Column name
action
gradoutchist_tim_ix
Column name
timemodified
gradoutchist_old_ix
Column name
oldid
gradoutchist_cou_ix
Column name
courseid
gradoutchist_sca_ix
Column name
scaleid
gradoutchist_log_ix
Column name
loggeduser
Keys
PRIMARY
Column in PRIMARY
id
Name
grade_settings
Description
gradebook settings
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
value
LONGTEXT
Indexes
gradsett_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
gradsett_counam_uix
Column in gradsett_counam_uix
courseid
Column in gradsett_counam_uix
name
Name
gradingform_guide_comments
Description
frequently used comments used in marking guide
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
definitionid
BIGINT
10
Yes
sortorder
BIGINT
10
Yes
description
LONGTEXT
descriptionformat
TINYINT
2
Indexes
gradguidcomm_def_ix
Column name
definitionid
Keys
PRIMARY
Column in PRIMARY
id
Name
gradingform_guide_criteria
Description
Stores the rows of the criteria grid.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
definitionid
BIGINT
10
Yes
sortorder
BIGINT
10
Yes
shortname
VARCHAR
255
Yes
Default value
''
description
LONGTEXT
descriptionformat
TINYINT
2
descriptionmarkers
LONGTEXT
descriptionmarkersformat
TINYINT
2
maxscore
DECIMAL
10,5
Yes
Indexes
gradguidcrit_def_ix
Column name
definitionid
Keys
PRIMARY
Column in PRIMARY
id
Name
gradingform_guide_fillings
Description
Stores the data of how the guide is filled by a particular r
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
instanceid
BIGINT
10
Yes
criterionid
BIGINT
10
Yes
remark
LONGTEXT
remarkformat
TINYINT
2
score
DECIMAL
10,5
Yes
Indexes
gradguidfill_ins_ix
Column name
instanceid
gradguidfill_cri_ix
Column name
criterionid
Keys
PRIMARY
Column in PRIMARY
id
gradguidfill_inscri_uix
Column in gradguidfill_inscri_uix
instanceid
Column in gradguidfill_inscri_uix
criterionid
Name
gradingform_rubric_criteria
Description
Stores the rows of the rubric grid.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
definitionid
BIGINT
10
Yes
sortorder
BIGINT
10
Yes
description
LONGTEXT
descriptionformat
TINYINT
2
Indexes
gradrubrcrit_def_ix
Column name
definitionid
Keys
PRIMARY
Column in PRIMARY
id
Name
gradingform_rubric_fillings
Description
Stores the data of how the rubric is filled by a particular
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
instanceid
BIGINT
10
Yes
criterionid
BIGINT
10
Yes
levelid
BIGINT
10
remark
LONGTEXT
remarkformat
TINYINT
2
Indexes
gradrubrfill_lev_ix
Column name
levelid
gradrubrfill_ins_ix
Column name
instanceid
gradrubrfill_cri_ix
Column name
criterionid
Keys
PRIMARY
Column in PRIMARY
id
gradrubrfill_inscri_uix
Column in gradrubrfill_inscri_uix
instanceid
Column in gradrubrfill_inscri_uix
criterionid
Name
gradingform_rubric_levels
Description
Stores the columns of the rubric grid.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
criterionid
BIGINT
10
Yes
score
DECIMAL
10,5
Yes
definition
LONGTEXT
definitionformat
BIGINT
10
Indexes
gradrubrleve_cri_ix
Column name
criterionid
Keys
PRIMARY
Column in PRIMARY
id
Name
grading_areas
Description
Identifies gradable areas where advanced grading can happen.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
component
VARCHAR
100
Yes
Default value
''
areaname
VARCHAR
100
Yes
Default value
''
activemethod
VARCHAR
100
Indexes
gradarea_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
gradarea_concomare_uix
Column in gradarea_concomare_uix
contextid
Column in gradarea_concomare_uix
component
Column in gradarea_concomare_uix
areaname
Name
grading_definitions
Description
Contains the basic information about an advanced grading for
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
areaid
BIGINT
10
Yes
method
VARCHAR
100
Yes
Default value
''
name
VARCHAR
255
Yes
Default value
''
description
LONGTEXT
descriptionformat
TINYINT
2
status
BIGINT
10
Yes
Default value
0
copiedfromid
BIGINT
10
timecreated
BIGINT
10
Yes
usercreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
timecopied
BIGINT
10
Default value
0
options
LONGTEXT
Indexes
graddefi_are_ix
Column name
areaid
graddefi_use_ix
Column name
usermodified
graddefi_use2_ix
Column name
usercreated
Keys
PRIMARY
Column in PRIMARY
id
graddefi_aremet_uix
Column in graddefi_aremet_uix
areaid
Column in graddefi_aremet_uix
method
Name
grading_instances
Description
Grading form instance is an assessment record for one gradab
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
definitionid
BIGINT
10
Yes
raterid
BIGINT
10
Yes
itemid
BIGINT
10
rawgrade
DECIMAL
10,5
status
BIGINT
10
Yes
Default value
0
feedback
LONGTEXT
feedbackformat
TINYINT
2
timemodified
BIGINT
10
Yes
Indexes
gradinst_def_ix
Column name
definitionid
gradinst_rat_ix
Column name
raterid
Keys
PRIMARY
Column in PRIMARY
id
Name
groupings
Description
A grouping is a collection of groups. WAS: groups_groupings
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
idnumber
VARCHAR
100
Yes
Default value
''
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
0
configdata
LONGTEXT
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
grou_idn2_ix
Column name
idnumber
grou_cou2_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
groupings_groups
Description
Link a grouping to a group (note, groups can be in multiple
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
groupingid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
0
timeadded
BIGINT
10
Yes
Default value
0
Indexes
grougrou_gro_ix
Column name
groupingid
grougrou_gro2_ix
Column name
groupid
Keys
PRIMARY
Column in PRIMARY
id
Name
groups
Description
Each record represents a group.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
idnumber
VARCHAR
100
Yes
Default value
''
name
VARCHAR
254
Yes
Default value
''
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
0
enrolmentkey
VARCHAR
50
picture
BIGINT
10
Yes
Default value
0
visibility
TINYINT
1
Yes
Default value
0
participation
TINYINT
1
Yes
Default value
1
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
grou_idn_ix
Column name
idnumber
grou_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
groups_members
Description
Link a user to a group.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
groupid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
timeadded
BIGINT
10
Yes
Default value
0
component
VARCHAR
100
Yes
Default value
''
itemid
BIGINT
10
Yes
Default value
0
Indexes
groumemb_gro_ix
Column name
groupid
groumemb_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
groumemb_usegro_uix
Column in groumemb_usegro_uix
userid
Column in groumemb_usegro_uix
groupid
Name
h5p
Description
Stores H5P content information
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
jsoncontent
LONGTEXT
Yes
mainlibraryid
BIGINT
10
Yes
displayoptions
SMALLINT
4
pathnamehash
VARCHAR
40
Yes
Default value
''
contenthash
VARCHAR
40
Yes
Default value
''
filtered
LONGTEXT
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
h5p_pat_ix
Column name
pathnamehash
h5p_mai_ix
Column name
mainlibraryid
Keys
PRIMARY
Column in PRIMARY
id
Name
h5pactivity
Description
Stores the h5pactivity activity module instances.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
grade
BIGINT
10
Default value
0
displayoptions
SMALLINT
4
Yes
Default value
0
enabletracking
TINYINT
1
Yes
Default value
1
grademethod
SMALLINT
4
Yes
Default value
1
reviewmode
SMALLINT
4
Default value
1
Indexes
h5pa_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
h5pactivity_attempts
Description
Users attempts inside H5P activities
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
h5pactivityid
BIGINT
10
Yes
userid
BIGINT
20
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
attempt
MEDIUMINT
6
Yes
Default value
1
rawscore
BIGINT
10
Default value
0
maxscore
BIGINT
10
Default value
0
scaled
DECIMAL
10,5
Yes
Default value
0.00000
duration
BIGINT
10
Default value
0
completion
TINYINT
1
success
TINYINT
1
Indexes
h5paatte_tim_ix
Column name
timecreated
h5paatte_h5ptim_ix
Column name
h5pactivityid
Column name
timecreated
h5paatte_h5puse_ix
Column name
h5pactivityid
Column name
userid
h5paatte_h5p_ix
Column name
h5pactivityid
Keys
PRIMARY
Column in PRIMARY
id
h5paatte_h5puseatt_uix
Column in h5paatte_h5puseatt_uix
h5pactivityid
Column in h5paatte_h5puseatt_uix
userid
Column in h5paatte_h5puseatt_uix
attempt
Name
h5pactivity_attempts_results
Description
H5Pactivities_attempts tracking info
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
attemptid
BIGINT
10
Yes
subcontent
VARCHAR
128
timecreated
BIGINT
10
Yes
interactiontype
VARCHAR
128
description
LONGTEXT
correctpattern
LONGTEXT
response
LONGTEXT
Yes
additionals
LONGTEXT
rawscore
BIGINT
10
Yes
Default value
0
maxscore
BIGINT
10
Yes
Default value
0
duration
BIGINT
10
Default value
0
completion
TINYINT
1
success
TINYINT
1
Indexes
h5paatteresu_atttim_ix
Column name
attemptid
Column name
timecreated
h5paatteresu_att_ix
Column name
attemptid
Keys
PRIMARY
Column in PRIMARY
id
Name
h5p_contents_libraries
Description
Store which library is used in which content.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
h5pid
BIGINT
10
Yes
libraryid
BIGINT
10
Yes
dependencytype
VARCHAR
10
Yes
Default value
''
dropcss
TINYINT
1
Yes
weight
BIGINT
10
Yes
Indexes
h5pcontlibr_h5p_ix
Column name
h5pid
h5pcontlibr_lib_ix
Column name
libraryid
Keys
PRIMARY
Column in PRIMARY
id
Name
h5p_libraries
Description
Stores information about libraries used by H5P content.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
machinename
VARCHAR
255
Yes
Default value
''
title
VARCHAR
255
Yes
Default value
''
majorversion
SMALLINT
4
Yes
minorversion
SMALLINT
4
Yes
patchversion
SMALLINT
4
Yes
runnable
TINYINT
1
Yes
fullscreen
TINYINT
1
Yes
Default value
0
embedtypes
VARCHAR
255
Yes
Default value
''
preloadedjs
LONGTEXT
preloadedcss
LONGTEXT
droplibrarycss
LONGTEXT
semantics
LONGTEXT
addto
LONGTEXT
coremajor
SMALLINT
4
coreminor
SMALLINT
4
metadatasettings
LONGTEXT
tutorial
LONGTEXT
example
LONGTEXT
enabled
TINYINT
1
Default value
1
Indexes
h5plibr_macmajminpatrun_ix
Column name
machinename
Column name
majorversion
Column name
minorversion
Column name
patchversion
Column name
runnable
Keys
PRIMARY
Column in PRIMARY
id
Name
h5p_libraries_cachedassets
Description
H5P cached library assets
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
libraryid
BIGINT
10
Yes
hash
VARCHAR
255
Yes
Default value
''
Indexes
h5plibrcach_lib_ix
Column name
libraryid
Keys
PRIMARY
Column in PRIMARY
id
Name
h5p_library_dependencies
Description
Stores H5P library dependencies
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
libraryid
BIGINT
10
Yes
requiredlibraryid
BIGINT
10
Yes
dependencytype
VARCHAR
255
Yes
Default value
''
Indexes
h5plibrdepe_lib_ix
Column name
libraryid
h5plibrdepe_req_ix
Column name
requiredlibraryid
Keys
PRIMARY
Column in PRIMARY
id
Name
imscp
Description
each record is one imscp resource
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
revision
BIGINT
10
Yes
Default value
0
keepold
BIGINT
10
Yes
Default value
-1
structure
LONGTEXT
timemodified
BIGINT
10
Yes
Default value
0
Indexes
imsc_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
infected_files
Description
Table to store infected file details.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
filename
LONGTEXT
Yes
quarantinedfile
LONGTEXT
userid
BIGINT
10
Yes
reason
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
Default value
0
Indexes
infefile_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
label
Description
Defines labels
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
labe_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
lesson
Description
Defines lesson
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
practice
SMALLINT
3
Yes
Default value
0
modattempts
SMALLINT
3
Yes
Default value
0
usepassword
SMALLINT
3
Yes
Default value
0
password
VARCHAR
32
Yes
Default value
''
dependency
BIGINT
10
Yes
Default value
0
conditions
LONGTEXT
Yes
grade
BIGINT
10
Yes
Default value
0
custom
SMALLINT
3
Yes
Default value
0
ongoing
SMALLINT
3
Yes
Default value
0
usemaxgrade
SMALLINT
3
Yes
Default value
0
maxanswers
SMALLINT
3
Yes
Default value
4
maxattempts
SMALLINT
3
Yes
Default value
5
review
SMALLINT
3
Yes
Default value
0
nextpagedefault
SMALLINT
3
Yes
Default value
0
feedback
SMALLINT
3
Yes
Default value
1
minquestions
SMALLINT
3
Yes
Default value
0
maxpages
SMALLINT
3
Yes
Default value
0
timelimit
BIGINT
10
Yes
Default value
0
retake
SMALLINT
3
Yes
Default value
1
activitylink
BIGINT
10
Yes
Default value
0
mediafile
VARCHAR
255
Yes
Default value
''
mediaheight
BIGINT
10
Yes
Default value
100
mediawidth
BIGINT
10
Yes
Default value
650
mediaclose
SMALLINT
3
Yes
Default value
0
slideshow
SMALLINT
3
Yes
Default value
0
width
BIGINT
10
Yes
Default value
640
height
BIGINT
10
Yes
Default value
480
bgcolor
VARCHAR
7
Yes
Default value
'#FFFFFF'
displayleft
SMALLINT
3
Yes
Default value
0
displayleftif
SMALLINT
3
Yes
Default value
0
progressbar
SMALLINT
3
Yes
Default value
0
available
BIGINT
10
Yes
Default value
0
deadline
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
completionendreached
TINYINT
1
Default value
0
completiontimespent
BIGINT
11
Default value
0
allowofflineattempts
TINYINT
1
Default value
0
Indexes
less_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
lesson_answers
Description
Defines lesson_answers
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
lessonid
BIGINT
10
Yes
Default value
0
pageid
BIGINT
10
Yes
Default value
0
jumpto
BIGINT
11
Yes
Default value
0
grade
SMALLINT
4
Yes
Default value
0
score
BIGINT
10
Yes
Default value
0
flags
SMALLINT
3
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
answer
LONGTEXT
answerformat
TINYINT
2
Yes
Default value
0
response
LONGTEXT
responseformat
TINYINT
2
Yes
Default value
0
Indexes
lessansw_les_ix
Column name
lessonid
lessansw_pag_ix
Column name
pageid
Keys
PRIMARY
Column in PRIMARY
id
Name
lesson_attempts
Description
Defines lesson_attempts
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
lessonid
BIGINT
10
Yes
Default value
0
pageid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
answerid
BIGINT
10
Yes
Default value
0
retry
SMALLINT
3
Yes
Default value
0
correct
BIGINT
10
Yes
Default value
0
useranswer
LONGTEXT
timeseen
BIGINT
10
Yes
Default value
0
Indexes
lessatte_use_ix
Column name
userid
lessatte_les_ix
Column name
lessonid
lessatte_pag_ix
Column name
pageid
lessatte_ans_ix
Column name
answerid
Keys
PRIMARY
Column in PRIMARY
id
Name
lesson_branch
Description
branches for each lesson/user
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
lessonid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
pageid
BIGINT
10
Yes
Default value
0
retry
BIGINT
10
Yes
Default value
0
flag
SMALLINT
3
Yes
Default value
0
timeseen
BIGINT
10
Yes
Default value
0
nextpageid
BIGINT
10
Yes
Default value
0
Indexes
lessbran_use_ix
Column name
userid
lessbran_les_ix
Column name
lessonid
lessbran_pag_ix
Column name
pageid
Keys
PRIMARY
Column in PRIMARY
id
Name
lesson_grades
Description
Defines lesson_grades
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
lessonid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
grade
DOUBLE
Yes
Default value
0
late
SMALLINT
3
Yes
Default value
0
completed
BIGINT
10
Yes
Default value
0
Indexes
lessgrad_use_ix
Column name
userid
lessgrad_les_ix
Column name
lessonid
Keys
PRIMARY
Column in PRIMARY
id
Name
lesson_overrides
Description
The overrides to lesson settings.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
lessonid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
userid
BIGINT
10
available
BIGINT
10
deadline
BIGINT
10
timelimit
BIGINT
10
review
SMALLINT
3
maxattempts
SMALLINT
3
retake
SMALLINT
3
password
VARCHAR
32
Indexes
lessover_les_ix
Column name
lessonid
lessover_gro_ix
Column name
groupid
lessover_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
lesson_pages
Description
Defines lesson_pages
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
lessonid
BIGINT
10
Yes
Default value
0
prevpageid
BIGINT
10
Yes
Default value
0
nextpageid
BIGINT
10
Yes
Default value
0
qtype
SMALLINT
3
Yes
Default value
0
qoption
SMALLINT
3
Yes
Default value
0
layout
SMALLINT
3
Yes
Default value
1
display
SMALLINT
3
Yes
Default value
1
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
title
VARCHAR
255
Yes
Default value
''
contents
LONGTEXT
Yes
contentsformat
TINYINT
2
Yes
Default value
0
Indexes
lesspage_les_ix
Column name
lessonid
Keys
PRIMARY
Column in PRIMARY
id
Name
lesson_timer
Description
lesson timer for each lesson
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
lessonid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
starttime
BIGINT
10
Yes
Default value
0
lessontime
BIGINT
10
Yes
Default value
0
completed
TINYINT
1
Default value
0
timemodifiedoffline
BIGINT
10
Yes
Default value
0
Indexes
lesstime_use_ix
Column name
userid
lesstime_les_ix
Column name
lessonid
Keys
PRIMARY
Column in PRIMARY
id
Name
license
Description
store licenses used by moodle
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
shortname
VARCHAR
255
fullname
LONGTEXT
source
VARCHAR
255
enabled
TINYINT
1
Yes
Default value
1
version
BIGINT
10
Yes
Default value
0
custom
TINYINT
1
Yes
Default value
0
sortorder
MEDIUMINT
5
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
lock_db
Description
Stores active and inactive lock types for db locking method.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
resourcekey
VARCHAR
255
Yes
Default value
''
expires
BIGINT
10
owner
VARCHAR
36
Indexes
lockdb_exp_ix
Column name
expires
lockdb_own_ix
Column name
owner
Keys
PRIMARY
Column in PRIMARY
id
lockdb_res_uix
Column in lockdb_res_uix
resourcekey
Name
log
Description
Every action is logged as far as possible
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
time
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
ip
VARCHAR
45
Yes
Default value
''
course
BIGINT
10
Yes
Default value
0
module
VARCHAR
20
Yes
Default value
''
cmid
BIGINT
10
Yes
Default value
0
action
VARCHAR
40
Yes
Default value
''
url
VARCHAR
100
Yes
Default value
''
info
VARCHAR
255
Yes
Default value
''
Indexes
log_coumodact_ix
Column name
course
Column name
module
Column name
action
log_tim_ix
Column name
time
log_act_ix
Column name
action
log_usecou_ix
Column name
userid
Column name
course
log_cmi_ix
Column name
cmid
Keys
PRIMARY
Column in PRIMARY
id
Name
logstore_standard_log
Description
Standard log table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
eventname
VARCHAR
255
Yes
Default value
''
component
VARCHAR
100
Yes
Default value
''
action
VARCHAR
100
Yes
Default value
''
target
VARCHAR
100
Yes
Default value
''
objecttable
VARCHAR
50
objectid
BIGINT
10
crud
VARCHAR
1
Yes
Default value
''
edulevel
TINYINT
1
Yes
contextid
BIGINT
10
Yes
contextlevel
BIGINT
10
Yes
contextinstanceid
BIGINT
10
Yes
userid
BIGINT
10
Yes
courseid
BIGINT
10
relateduserid
BIGINT
10
anonymous
TINYINT
1
Yes
Default value
0
other
LONGTEXT
timecreated
BIGINT
10
Yes
origin
VARCHAR
10
ip
VARCHAR
45
realuserid
BIGINT
10
Indexes
logsstanlog_tim_ix
Column name
timecreated
logsstanlog_couanotim_ix
Column name
courseid
Column name
anonymous
Column name
timecreated
logsstanlog_useconconcruedu_ix
Column name
userid
Column name
contextlevel
Column name
contextinstanceid
Column name
crud
Column name
edulevel
Column name
timecreated
logsstanlog_con_ix
Column name
contextid
logsstanlog_use_ix
Column name
userid
logsstanlog_cou_ix
Column name
courseid
logsstanlog_rea_ix
Column name
realuserid
logsstanlog_rel_ix
Column name
relateduserid
Keys
PRIMARY
Column in PRIMARY
id
Name
log_display
Description
For a particular module/action, specifies a moodle table/fie
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
module
VARCHAR
20
Yes
Default value
''
action
VARCHAR
40
Yes
Default value
''
mtable
VARCHAR
30
Yes
Default value
''
field
VARCHAR
200
Yes
Default value
''
component
VARCHAR
100
Yes
Default value
''
Keys
PRIMARY
Column in PRIMARY
id
logdisp_modact_uix
Column in logdisp_modact_uix
module
Column in logdisp_modact_uix
action
Name
log_queries
Description
Logged database queries.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
qtype
MEDIUMINT
5
Yes
sqltext
LONGTEXT
Yes
sqlparams
LONGTEXT
error
MEDIUMINT
5
Yes
Default value
0
info
LONGTEXT
backtrace
LONGTEXT
exectime
DECIMAL
10,5
Yes
timelogged
BIGINT
10
Yes
Keys
PRIMARY
Column in PRIMARY
id
Name
lti
Description
This table contains Basic LTI activities instances
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
typeid
BIGINT
10
toolurl
LONGTEXT
Yes
securetoolurl
LONGTEXT
instructorchoicesendname
TINYINT
1
instructorchoicesendemailaddr
TINYINT
1
instructorchoiceallowroster
TINYINT
1
instructorchoiceallowsetting
TINYINT
1
instructorcustomparameters
LONGTEXT
instructorchoiceacceptgrades
TINYINT
1
grade
BIGINT
10
Yes
Default value
100
launchcontainer
TINYINT
2
Yes
Default value
1
resourcekey
VARCHAR
255
password
VARCHAR
255
debuglaunch
TINYINT
1
Yes
Default value
0
showtitlelaunch
TINYINT
1
Yes
Default value
0
showdescriptionlaunch
TINYINT
1
Yes
Default value
0
servicesalt
VARCHAR
40
icon
LONGTEXT
secureicon
LONGTEXT
Indexes
lti_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
ltiservice_gradebookservices
Description
This file records the grade items created by the LTI Gradebo
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
gradeitemid
BIGINT
10
Yes
courseid
BIGINT
10
Yes
toolproxyid
BIGINT
10
typeid
BIGINT
10
baseurl
LONGTEXT
ltilinkid
BIGINT
10
resourceid
VARCHAR
512
tag
VARCHAR
255
subreviewurl
LONGTEXT
subreviewparams
LONGTEXT
Indexes
ltisgrad_lti_ix
Column name
ltilinkid
ltisgrad_gracou_ix
Column name
gradeitemid
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
lti_access_tokens
Description
Security tokens for accessing of LTI services
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
typeid
BIGINT
10
Yes
scope
LONGTEXT
Yes
token
VARCHAR
128
Yes
Default value
''
validuntil
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
lastaccess
BIGINT
10
Indexes
ltiaccetoke_typ_ix
Column name
typeid
Keys
PRIMARY
Column in PRIMARY
id
ltiaccetoke_tok_uix
Column in ltiaccetoke_tok_uix
token
Name
lti_submission
Description
Keeps track of individual submissions for LTI activities.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
ltiid
BIGINT
10
Yes
userid
BIGINT
10
Yes
datesubmitted
BIGINT
10
Yes
dateupdated
BIGINT
10
Yes
gradepercent
DECIMAL
10,5
Yes
originalgrade
DECIMAL
10,5
Yes
launchid
BIGINT
10
Yes
state
TINYINT
2
Yes
Indexes
ltisubm_lti_ix
Column name
ltiid
Keys
PRIMARY
Column in PRIMARY
id
Name
lti_tool_proxies
Description
LTI tool proxy registrations
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
'Tool Provider'
regurl
LONGTEXT
state
TINYINT
2
Yes
Default value
1
guid
VARCHAR
255
secret
VARCHAR
255
vendorcode
VARCHAR
255
capabilityoffered
LONGTEXT
Yes
serviceoffered
LONGTEXT
Yes
toolproxy
LONGTEXT
createdby
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Keys
PRIMARY
Column in PRIMARY
id
ltitoolprox_gui_uix
Column in ltitoolprox_gui_uix
guid
Name
lti_tool_settings
Description
LTI tool setting values
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
toolproxyid
BIGINT
10
Yes
typeid
BIGINT
10
course
BIGINT
10
coursemoduleid
BIGINT
10
settings
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
ltitoolsett_too_ix
Column name
toolproxyid
ltitoolsett_typ_ix
Column name
typeid
ltitoolsett_cou_ix
Column name
course
ltitoolsett_cou2_ix
Column name
coursemoduleid
Keys
PRIMARY
Column in PRIMARY
id
Name
lti_types
Description
Basic LTI pre-configured activities
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
'basiclti Activity'
baseurl
LONGTEXT
Yes
tooldomain
VARCHAR
255
Yes
Default value
''
state
TINYINT
2
Yes
Default value
2
course
BIGINT
10
Yes
coursevisible
TINYINT
1
Yes
Default value
0
ltiversion
VARCHAR
10
Yes
Default value
''
clientid
VARCHAR
255
toolproxyid
BIGINT
10
enabledcapability
LONGTEXT
parameter
LONGTEXT
icon
LONGTEXT
secureicon
LONGTEXT
createdby
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
description
LONGTEXT
Indexes
ltitype_cou_ix
Column name
course
ltitype_too_ix
Column name
tooldomain
Keys
PRIMARY
Column in PRIMARY
id
ltitype_cli_uix
Column in ltitype_cli_uix
clientid
Name
lti_types_config
Description
Basic LTI types configuration
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
typeid
BIGINT
10
Yes
name
VARCHAR
100
Yes
Default value
''
value
LONGTEXT
Yes
Indexes
ltitypeconf_typ_ix
Column name
typeid
Keys
PRIMARY
Column in PRIMARY
id
Name
message
Description
Stores all unread messages
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
useridfrom
BIGINT
10
Yes
Default value
0
useridto
BIGINT
10
Yes
Default value
0
subject
LONGTEXT
fullmessage
LONGTEXT
fullmessageformat
SMALLINT
4
Default value
0
fullmessagehtml
LONGTEXT
smallmessage
LONGTEXT
notification
TINYINT
1
Default value
0
contexturl
LONGTEXT
contexturlname
LONGTEXT
timecreated
BIGINT
10
Yes
Default value
0
timeuserfromdeleted
BIGINT
10
Yes
Default value
0
timeusertodeleted
BIGINT
10
Yes
Default value
0
component
VARCHAR
100
eventtype
VARCHAR
100
customdata
LONGTEXT
Indexes
mess_useusetimtim_ix
Column name
useridfrom
Column name
useridto
Column name
timeuserfromdeleted
Column name
timeusertodeleted
mess_usetimnot_ix
Column name
useridfrom
Column name
timeuserfromdeleted
Column name
notification
mess_usetimnot2_ix
Column name
useridto
Column name
timeusertodeleted
Column name
notification
Keys
PRIMARY
Column in PRIMARY
id
Name
messageinbound_datakeys
Description
Inbound Message data item secret keys.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
handler
BIGINT
10
Yes
datavalue
BIGINT
10
Yes
datakey
VARCHAR
64
timecreated
BIGINT
10
Yes
expires
BIGINT
10
Indexes
messdata_han_ix
Column name
handler
Keys
PRIMARY
Column in PRIMARY
id
messdata_handat_uix
Column in messdata_handat_uix
handler
Column in messdata_handat_uix
datavalue
Name
messageinbound_handlers
Description
Inbound Message Handler definitions.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
component
VARCHAR
100
Yes
Default value
''
classname
VARCHAR
255
Yes
Default value
''
defaultexpiration
BIGINT
10
Yes
Default value
86400
validateaddress
TINYINT
1
Yes
Default value
1
enabled
TINYINT
1
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
messhand_cla_uix
Column in messhand_cla_uix
classname
Name
messageinbound_messagelist
Description
A list of message IDs for existing replies
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
messageid
LONGTEXT
Yes
userid
BIGINT
10
Yes
address
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
Indexes
messmess_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
messages
Description
Stores all messages
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
useridfrom
BIGINT
10
Yes
conversationid
BIGINT
10
Yes
subject
LONGTEXT
fullmessage
LONGTEXT
fullmessageformat
TINYINT
1
Yes
Default value
0
fullmessagehtml
LONGTEXT
smallmessage
LONGTEXT
timecreated
BIGINT
10
Yes
fullmessagetrust
TINYINT
2
Yes
Default value
0
customdata
LONGTEXT
Indexes
mess_contim_ix
Column name
conversationid
Column name
timecreated
mess_use_ix
Column name
useridfrom
mess_con_ix
Column name
conversationid
Keys
PRIMARY
Column in PRIMARY
id
Name
message_airnotifier_devices
Description
Store information about the devices registered in Airnotifie
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userdeviceid
BIGINT
10
Yes
enable
TINYINT
1
Yes
Default value
1
Keys
PRIMARY
Column in PRIMARY
id
messairndevi_use_uix
Column in messairndevi_use_uix
userdeviceid
Name
message_contacts
Description
Maintains lists of contacts between users
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
contactid
BIGINT
10
Yes
timecreated
BIGINT
10
Indexes
messcont_use_ix
Column name
userid
messcont_con_ix
Column name
contactid
Keys
PRIMARY
Column in PRIMARY
id
messcont_usecon_uix
Column in messcont_usecon_uix
userid
Column in messcont_usecon_uix
contactid
Name
message_contact_requests
Description
Maintains list of contact requests between users
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
requesteduserid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
Indexes
messcontrequ_use_ix
Column name
userid
messcontrequ_req_ix
Column name
requesteduserid
Keys
PRIMARY
Column in PRIMARY
id
messcontrequ_usereq_uix
Column in messcontrequ_usereq_uix
userid
Column in messcontrequ_usereq_uix
requesteduserid
Name
message_conversations
Description
Stores all message conversations
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
type
BIGINT
10
Yes
Default value
1
name
VARCHAR
255
convhash
VARCHAR
40
component
VARCHAR
100
itemtype
VARCHAR
100
itemid
BIGINT
10
contextid
BIGINT
10
enabled
TINYINT
1
Yes
Default value
0
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Indexes
messconv_typ_ix
Column name
type
messconv_con_ix
Column name
convhash
messconv_comiteitecon_ix
Column name
component
Column name
itemtype
Column name
itemid
Column name
contextid
messconv_con2_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
message_conversation_actions
Description
Stores all per-user actions on individual conversations
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
conversationid
BIGINT
10
Yes
action
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
Indexes
messconvacti_use_ix
Column name
userid
messconvacti_con_ix
Column name
conversationid
Keys
PRIMARY
Column in PRIMARY
id
Name
message_conversation_members
Description
Stores all members in a conversations
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
conversationid
BIGINT
10
Yes
userid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
Indexes
messconvmemb_con_ix
Column name
conversationid
messconvmemb_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
message_email_messages
Description
Keeps track of what emails to send in an email digest
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
useridto
BIGINT
10
Yes
conversationid
BIGINT
10
Yes
messageid
BIGINT
10
Yes
Indexes
messemaimess_use_ix
Column name
useridto
messemaimess_con_ix
Column name
conversationid
messemaimess_mes_ix
Column name
messageid
Keys
PRIMARY
Column in PRIMARY
id
Name
message_popup
Description
Keep state of notifications for the popup message processor
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
messageid
BIGINT
10
Yes
isread
TINYINT
1
Yes
Default value
0
Indexes
messpopu_isr_ix
Column name
isread
Keys
PRIMARY
Column in PRIMARY
id
messpopu_mesisr_uix
Column in messpopu_mesisr_uix
messageid
Column in messpopu_mesisr_uix
isread
Name
message_popup_notifications
Description
List of notifications to display in the message output popup
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
notificationid
BIGINT
10
Yes
Indexes
messpopunoti_not_ix
Column name
notificationid
Keys
PRIMARY
Column in PRIMARY
id
Name
message_processors
Description
List of message output plugins
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
166
Yes
Default value
''
enabled
TINYINT
1
Yes
Default value
1
Keys
PRIMARY
Column in PRIMARY
id
Name
message_providers
Description
This table stores the message providers (modules and core sy
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
100
Yes
Default value
''
component
VARCHAR
200
Yes
Default value
''
capability
VARCHAR
255
Keys
PRIMARY
Column in PRIMARY
id
messprov_comnam_uix
Column in messprov_comnam_uix
component
Column in messprov_comnam_uix
name
Name
message_read
Description
Stores all messages that have been read
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
useridfrom
BIGINT
10
Yes
Default value
0
useridto
BIGINT
10
Yes
Default value
0
subject
LONGTEXT
fullmessage
LONGTEXT
fullmessageformat
SMALLINT
4
Default value
0
fullmessagehtml
LONGTEXT
smallmessage
LONGTEXT
notification
TINYINT
1
Default value
0
contexturl
LONGTEXT
contexturlname
LONGTEXT
timecreated
BIGINT
10
Yes
Default value
0
timeread
BIGINT
10
Yes
Default value
0
timeuserfromdeleted
BIGINT
10
Yes
Default value
0
timeusertodeleted
BIGINT
10
Yes
Default value
0
component
VARCHAR
100
eventtype
VARCHAR
100
Indexes
messread_useusetimtim_ix
Column name
useridfrom
Column name
useridto
Column name
timeuserfromdeleted
Column name
timeusertodeleted
messread_nottim_ix
Column name
notification
Column name
timeread
messread_usetimnot_ix
Column name
useridfrom
Column name
timeuserfromdeleted
Column name
notification
messread_usetimnot2_ix
Column name
useridto
Column name
timeusertodeleted
Column name
notification
Keys
PRIMARY
Column in PRIMARY
id
Name
message_users_blocked
Description
Maintains lists of blocked users
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
blockeduserid
BIGINT
10
Yes
timecreated
BIGINT
10
Indexes
messuserbloc_use_ix
Column name
userid
messuserbloc_blo_ix
Column name
blockeduserid
Keys
PRIMARY
Column in PRIMARY
id
messuserbloc_useblo_uix
Column in messuserbloc_useblo_uix
userid
Column in messuserbloc_useblo_uix
blockeduserid
Name
message_user_actions
Description
Stores all per-user actions on individual messages
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
messageid
BIGINT
10
Yes
action
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
Indexes
messuseracti_use_ix
Column name
userid
messuseracti_mes_ix
Column name
messageid
Keys
PRIMARY
Column in PRIMARY
id
messuseracti_usemesact_uix
Column in messuseracti_usemesact_uix
userid
Column in messuseracti_usemesact_uix
messageid
Column in messuseracti_usemesact_uix
action
Name
mnetservice_enrol_courses
Description
Caches the information fetched via XML-RPC about courses on
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
hostid
BIGINT
10
Yes
remoteid
BIGINT
10
Yes
categoryid
BIGINT
10
Yes
categoryname
VARCHAR
255
Yes
Default value
''
sortorder
BIGINT
10
Yes
Default value
0
fullname
VARCHAR
254
Yes
Default value
''
shortname
VARCHAR
100
Yes
Default value
''
idnumber
VARCHAR
100
Yes
Default value
''
summary
LONGTEXT
Yes
summaryformat
SMALLINT
3
Default value
0
startdate
BIGINT
10
Yes
roleid
BIGINT
10
Yes
rolename
VARCHAR
255
Yes
Default value
''
Keys
PRIMARY
Column in PRIMARY
id
mnetenrocour_hosrem_uix
Column in mnetenrocour_hosrem_uix
hostid
Column in mnetenrocour_hosrem_uix
remoteid
Name
mnetservice_enrol_enrolments
Description
Caches the information about enrolments of our local users i
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
hostid
BIGINT
10
Yes
userid
BIGINT
10
Yes
remotecourseid
BIGINT
10
Yes
rolename
VARCHAR
255
Yes
Default value
''
enroltime
BIGINT
10
Yes
Default value
0
enroltype
VARCHAR
20
Yes
Default value
''
Indexes
mnetenroenro_use_ix
Column name
userid
mnetenroenro_hos_ix
Column name
hostid
Keys
PRIMARY
Column in PRIMARY
id
Name
mnet_application
Description
Information about applications on remote hosts
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
50
Yes
Default value
''
display_name
VARCHAR
50
Yes
Default value
''
xmlrpc_server_url
VARCHAR
255
Yes
Default value
''
sso_land_url
VARCHAR
255
Yes
Default value
''
sso_jump_url
VARCHAR
255
Yes
Default value
''
Keys
PRIMARY
Column in PRIMARY
id
Name
mnet_host
Description
Information about the local and remote hosts for RPC
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
deleted
TINYINT
1
Yes
Default value
0
wwwroot
VARCHAR
255
Yes
Default value
''
ip_address
VARCHAR
45
Yes
Default value
''
name
VARCHAR
80
Yes
Default value
''
public_key
LONGTEXT
Yes
public_key_expires
BIGINT
10
Yes
Default value
0
transport
TINYINT
2
Yes
Default value
0
portno
MEDIUMINT
5
Yes
Default value
0
last_connect_time
BIGINT
10
Yes
Default value
0
last_log_id
BIGINT
10
Yes
Default value
0
force_theme
TINYINT
1
Yes
Default value
0
theme
VARCHAR
100
applicationid
BIGINT
10
Yes
Default value
1
sslverification
TINYINT
1
Yes
Default value
0
Indexes
mnethost_las_ix
Column name
last_log_id
mnethost_app_ix
Column name
applicationid
Keys
PRIMARY
Column in PRIMARY
id
Name
mnet_host2service
Description
Information about the services for a given host
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
hostid
BIGINT
10
Yes
Default value
0
serviceid
BIGINT
10
Yes
Default value
0
publish
TINYINT
1
Yes
Default value
0
subscribe
TINYINT
1
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
mnethost_hosser_uix
Column in mnethost_hosser_uix
hostid
Column in mnethost_hosser_uix
serviceid
Name
mnet_log
Description
Store session data from users migrating to other sites
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
hostid
BIGINT
10
Yes
Default value
0
remoteid
BIGINT
10
Yes
Default value
0
time
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
ip
VARCHAR
45
Yes
Default value
''
course
BIGINT
10
Yes
Default value
0
coursename
VARCHAR
40
Yes
Default value
''
module
VARCHAR
20
Yes
Default value
''
cmid
BIGINT
10
Yes
Default value
0
action
VARCHAR
40
Yes
Default value
''
url
VARCHAR
100
Yes
Default value
''
info
VARCHAR
255
Yes
Default value
''
Indexes
mnetlog_hosusecou_ix
Column name
hostid
Column name
userid
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
mnet_remote_rpc
Description
This table describes functions that might be called remotely
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
functionname
VARCHAR
40
Yes
Default value
''
xmlrpcpath
VARCHAR
80
Yes
Default value
''
plugintype
VARCHAR
20
Yes
Default value
''
pluginname
VARCHAR
20
Yes
Default value
''
enabled
TINYINT
1
Yes
Keys
PRIMARY
Column in PRIMARY
id
Name
mnet_remote_service2rpc
Description
Group functions or methods under a service
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
serviceid
BIGINT
10
Yes
Default value
0
rpcid
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
mnetremoserv_rpcser_uix
Column in mnetremoserv_rpcser_uix
rpcid
Column in mnetremoserv_rpcser_uix
serviceid
Name
mnet_rpc
Description
Functions or methods that we may publish or subscribe to
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
functionname
VARCHAR
40
Yes
Default value
''
xmlrpcpath
VARCHAR
80
Yes
Default value
''
plugintype
VARCHAR
20
Yes
Default value
''
pluginname
VARCHAR
20
Yes
Default value
''
enabled
TINYINT
1
Yes
Default value
0
help
LONGTEXT
Yes
profile
LONGTEXT
Yes
filename
VARCHAR
100
Yes
Default value
''
classname
VARCHAR
150
static
TINYINT
1
Indexes
mnetrpc_enaxml_ix
Column name
enabled
Column name
xmlrpcpath
Keys
PRIMARY
Column in PRIMARY
id
Name
mnet_service
Description
A service is a group of functions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
40
Yes
Default value
''
description
VARCHAR
40
Yes
Default value
''
apiversion
VARCHAR
10
Yes
Default value
''
offer
TINYINT
1
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
mnet_service2rpc
Description
Group functions or methods under a service
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
serviceid
BIGINT
10
Yes
Default value
0
rpcid
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
mnetserv_rpcser_uix
Column in mnetserv_rpcser_uix
rpcid
Column in mnetserv_rpcser_uix
serviceid
Name
mnet_session
Description
Store session data from users migrating to other sites
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
username
VARCHAR
100
Yes
Default value
''
token
VARCHAR
40
Yes
Default value
''
mnethostid
BIGINT
10
Yes
Default value
0
useragent
VARCHAR
40
Yes
Default value
''
confirm_timeout
BIGINT
10
Yes
Default value
0
session_id
VARCHAR
40
Yes
Default value
''
expires
BIGINT
10
Yes
Default value
0
Indexes
mnetsess_use_ix
Column name
userid
mnetsess_mne_ix
Column name
mnethostid
Keys
PRIMARY
Column in PRIMARY
id
mnetsess_tok_uix
Column in mnetsess_tok_uix
token
Name
mnet_sso_access_control
Description
Users by host permitted (or not) to login from a remote prov
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
username
VARCHAR
100
Yes
Default value
''
mnet_host_id
BIGINT
10
Yes
Default value
0
accessctrl
VARCHAR
20
Yes
Default value
'allow'
Keys
PRIMARY
Column in PRIMARY
id
mnetssoaccecont_mneuse_uix
Column in mnetssoaccecont_mneuse_uix
mnet_host_id
Column in mnetssoaccecont_mneuse_uix
username
Name
modules
Description
modules available in the site
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
20
Yes
Default value
''
cron
BIGINT
10
Yes
Default value
0
lastcron
BIGINT
10
Yes
Default value
0
search
VARCHAR
255
Yes
Default value
''
visible
TINYINT
1
Yes
Default value
1
Indexes
modu_nam_ix
Column name
name
Keys
PRIMARY
Column in PRIMARY
id
Name
my_pages
Description
Extra user pages for the My Moodle system
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Default value
0
name
VARCHAR
200
Yes
Default value
''
private
TINYINT
1
Yes
Default value
1
sortorder
MEDIUMINT
6
Yes
Default value
0
Indexes
mypage_usepri_ix
Column name
userid
Column name
private
Keys
PRIMARY
Column in PRIMARY
id
Name
notifications
Description
Stores all notifications
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
useridfrom
BIGINT
10
Yes
useridto
BIGINT
10
Yes
subject
LONGTEXT
fullmessage
LONGTEXT
fullmessageformat
TINYINT
1
Yes
Default value
0
fullmessagehtml
LONGTEXT
smallmessage
LONGTEXT
component
VARCHAR
100
eventtype
VARCHAR
100
contexturl
LONGTEXT
contexturlname
LONGTEXT
timeread
BIGINT
10
timecreated
BIGINT
10
Yes
customdata
LONGTEXT
Indexes
noti_use_ix
Column name
useridfrom
noti_use2_ix
Column name
useridto
Keys
PRIMARY
Column in PRIMARY
id
Name
oauth2_access_token
Description
Stores access tokens for system accounts in order to be able
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
issuerid
BIGINT
10
Yes
token
LONGTEXT
Yes
expires
BIGINT
10
Yes
scope
LONGTEXT
Yes
Indexes
oautaccetoke_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
oautaccetoke_iss_uix
Column in oautaccetoke_iss_uix
issuerid
Name
oauth2_endpoint
Description
Describes the named endpoint for an oauth2 service.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
url
LONGTEXT
Yes
issuerid
BIGINT
10
Yes
Indexes
oautendp_iss_ix
Column name
issuerid
oautendp_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
oauth2_issuer
Description
Details for an oauth 2 connect identity issuer.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
image
LONGTEXT
Yes
baseurl
LONGTEXT
Yes
clientid
LONGTEXT
Yes
clientsecret
LONGTEXT
Yes
loginscopes
LONGTEXT
Yes
loginscopesoffline
LONGTEXT
Yes
loginparams
LONGTEXT
Yes
loginparamsoffline
LONGTEXT
Yes
alloweddomains
LONGTEXT
Yes
scopessupported
LONGTEXT
enabled
TINYINT
2
Yes
Default value
1
showonloginpage
TINYINT
2
Yes
Default value
1
basicauth
TINYINT
2
Yes
Default value
0
sortorder
BIGINT
10
Yes
requireconfirmation
TINYINT
2
Yes
Default value
1
servicetype
VARCHAR
255
loginpagename
VARCHAR
255
Keys
PRIMARY
Column in PRIMARY
id
Name
oauth2_refresh_token
Description
Stores refresh tokens which can be exchanged for access toke
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
userid
BIGINT
10
Yes
issuerid
BIGINT
10
Yes
token
LONGTEXT
Yes
scopehash
VARCHAR
40
Yes
Default value
''
Indexes
oautrefrtoke_iss_ix
Column name
issuerid
oautrefrtoke_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
oautrefrtoke_useisssco_uix
Column in oautrefrtoke_useisssco_uix
userid
Column in oautrefrtoke_useisssco_uix
issuerid
Column in oautrefrtoke_useisssco_uix
scopehash
Name
oauth2_system_account
Description
Stored details used to get an access token as a system user
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
issuerid
BIGINT
10
Yes
refreshtoken
LONGTEXT
Yes
grantedscopes
LONGTEXT
Yes
email
LONGTEXT
username
LONGTEXT
Yes
Indexes
oautsystacco_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
oautsystacco_iss_uix
Column in oautsystacco_iss_uix
issuerid
Name
oauth2_user_field_mapping
Description
Mapping of oauth user fields to moodle fields.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
timemodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
issuerid
BIGINT
10
Yes
externalfield
VARCHAR
500
Yes
Default value
''
internalfield
VARCHAR
64
Yes
Default value
''
Indexes
oautuserfielmapp_iss_ix
Column name
issuerid
oautuserfielmapp_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
oautuserfielmapp_issint_uix
Column in oautuserfielmapp_issint_uix
issuerid
Column in oautuserfielmapp_issint_uix
internalfield
Name
page
Description
Each record is one page and its config data
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
content
LONGTEXT
contentformat
SMALLINT
4
Yes
Default value
0
legacyfiles
SMALLINT
4
Yes
Default value
0
legacyfileslast
BIGINT
10
display
SMALLINT
4
Yes
Default value
0
displayoptions
LONGTEXT
revision
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
page_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
paygw_paypal
Description
Stores PayPal related information
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
paymentid
BIGINT
10
Yes
pp_orderid
VARCHAR
255
Yes
Default value
'The ID of the order in PayPal'
Keys
PRIMARY
Column in PRIMARY
id
paygpayp_pay_uix
Column in paygpayp_pay_uix
paymentid
Name
payments
Description
Stores information about payments
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
component
VARCHAR
100
Yes
Default value
''
paymentarea
VARCHAR
50
Yes
Default value
''
itemid
BIGINT
10
Yes
userid
BIGINT
10
Yes
amount
VARCHAR
20
Yes
Default value
''
currency
VARCHAR
3
Yes
Default value
''
accountid
BIGINT
10
Yes
gateway
VARCHAR
100
Yes
Default value
''
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
paym_gat_ix
Column name
gateway
paym_compayite_ix
Column name
component
Column name
paymentarea
Column name
itemid
paym_use_ix
Column name
userid
paym_acc_ix
Column name
accountid
Keys
PRIMARY
Column in PRIMARY
id
Name
payment_accounts
Description
Payment accounts
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
idnumber
VARCHAR
100
contextid
BIGINT
10
Yes
enabled
TINYINT
1
Yes
Default value
0
archived
TINYINT
1
Yes
Default value
0
timecreated
BIGINT
10
timemodified
BIGINT
10
Indexes
paymacco_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
payment_gateways
Description
Configuration for one gateway for one payment account
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
accountid
BIGINT
10
Yes
gateway
VARCHAR
100
Yes
Default value
''
enabled
TINYINT
1
Yes
Default value
1
config
LONGTEXT
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
paymgate_acc_ix
Column name
accountid
Keys
PRIMARY
Column in PRIMARY
id
Name
portfolio_instance
Description
base table (not including config data) for instances of port
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
plugin
VARCHAR
50
Yes
Default value
''
name
VARCHAR
255
Yes
Default value
''
visible
TINYINT
1
Yes
Default value
1
Keys
PRIMARY
Column in PRIMARY
id
Name
portfolio_instance_config
Description
config for portfolio plugin instances
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
instance
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
value
LONGTEXT
Indexes
portinstconf_nam_ix
Column name
name
portinstconf_ins_ix
Column name
instance
Keys
PRIMARY
Column in PRIMARY
id
Name
portfolio_instance_user
Description
user data for portfolio instances.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
instance
BIGINT
10
Yes
userid
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
value
LONGTEXT
Indexes
portinstuser_ins_ix
Column name
instance
portinstuser_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
portfolio_log
Description
log of portfolio transfers (used to later check for duplicat
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
time
BIGINT
10
Yes
portfolio
BIGINT
10
Yes
caller_class
VARCHAR
150
Yes
Default value
''
caller_file
VARCHAR
255
Yes
Default value
''
caller_component
VARCHAR
255
caller_sha1
VARCHAR
255
Yes
Default value
''
tempdataid
BIGINT
10
Yes
Default value
0
returnurl
VARCHAR
255
Yes
Default value
''
continueurl
VARCHAR
255
Yes
Default value
''
Indexes
portlog_use_ix
Column name
userid
portlog_por_ix
Column name
portfolio
portlog_tem_ix
Column name
tempdataid
Keys
PRIMARY
Column in PRIMARY
id
Name
portfolio_mahara_queue
Description
maps mahara tokens to transfer ids
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
transferid
BIGINT
10
Yes
token
VARCHAR
50
Yes
Default value
''
Indexes
portmahaqueu_tok_ix
Column name
token
portmahaqueu_tra_ix
Column name
transferid
Keys
PRIMARY
Column in PRIMARY
id
Name
portfolio_tempdata
Description
stores temporary data for portfolio exports. the id of this
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
data
LONGTEXT
expirytime
BIGINT
10
Yes
userid
BIGINT
10
Yes
instance
BIGINT
10
Default value
0
queued
TINYINT
1
Yes
Default value
0
Indexes
porttemp_use_ix
Column name
userid
porttemp_ins_ix
Column name
instance
Keys
PRIMARY
Column in PRIMARY
id
Name
post
Description
Generic post table to hold data blog entries etc in differen
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
module
VARCHAR
20
Yes
Default value
''
userid
BIGINT
10
Yes
Default value
0
courseid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
0
moduleid
BIGINT
10
Yes
Default value
0
coursemoduleid
BIGINT
10
Yes
Default value
0
subject
VARCHAR
128
Yes
Default value
''
summary
LONGTEXT
content
LONGTEXT
uniquehash
VARCHAR
255
Yes
Default value
''
rating
BIGINT
10
Yes
Default value
0
format
BIGINT
10
Yes
Default value
0
summaryformat
TINYINT
2
Yes
Default value
0
attachment
VARCHAR
100
publishstate
VARCHAR
20
Yes
Default value
'draft'
lastmodified
BIGINT
10
Yes
Default value
0
created
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Indexes
post_las_ix
Column name
lastmodified
post_mod_ix
Column name
module
post_sub_ix
Column name
subject
post_use_ix
Column name
usermodified
post_cou_ix
Column name
courseid
post_cou2_ix
Column name
coursemoduleid
Keys
PRIMARY
Column in PRIMARY
id
post_iduse_uix
Column in post_iduse_uix
id
Column in post_iduse_uix
userid
Name
profiling
Description
Stores the results of all the profiling runs
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
runid
VARCHAR
32
Yes
Default value
''
url
VARCHAR
255
Yes
Default value
''
data
LONGTEXT
Yes
totalexecutiontime
BIGINT
10
Yes
totalcputime
BIGINT
10
Yes
totalcalls
BIGINT
10
Yes
totalmemory
BIGINT
10
Yes
runreference
TINYINT
2
Yes
Default value
0
runcomment
VARCHAR
255
Yes
Default value
''
timecreated
BIGINT
10
Yes
Indexes
prof_urlrun_ix
Column name
url
Column name
runreference
prof_timrun_ix
Column name
timecreated
Column name
runreference
Keys
PRIMARY
Column in PRIMARY
id
prof_run_uix
Column in prof_run_uix
runid
Name
qtype_ddimageortext
Description
Defines drag and drop (text or images onto a background imag
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
shuffleanswers
SMALLINT
4
Yes
Default value
1
correctfeedback
LONGTEXT
Yes
correctfeedbackformat
TINYINT
2
Yes
Default value
0
partiallycorrectfeedback
LONGTEXT
Yes
partiallycorrectfeedbackformat
TINYINT
2
Yes
Default value
0
incorrectfeedback
LONGTEXT
Yes
incorrectfeedbackformat
TINYINT
2
Yes
Default value
0
shownumcorrect
TINYINT
2
Yes
Default value
0
Indexes
qtypddim_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
qtype_ddimageortext_drags
Description
Images to drag. Actual file names are not stored here we use
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
no
BIGINT
10
Yes
Default value
0
draggroup
BIGINT
10
Yes
Default value
0
infinite
SMALLINT
4
Yes
Default value
0
label
LONGTEXT
Yes
Indexes
qtypddimdrag_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
qtype_ddimageortext_drops
Description
Drop boxes
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
no
BIGINT
10
Yes
Default value
0
xleft
BIGINT
10
Yes
Default value
0
ytop
BIGINT
10
Yes
Default value
0
choice
BIGINT
10
Yes
Default value
0
label
LONGTEXT
Yes
Indexes
qtypddimdrop_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
qtype_ddmarker
Description
Defines drag and drop (text or images onto a background imag
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
shuffleanswers
SMALLINT
4
Yes
Default value
1
correctfeedback
LONGTEXT
Yes
correctfeedbackformat
TINYINT
2
Yes
Default value
0
partiallycorrectfeedback
LONGTEXT
Yes
partiallycorrectfeedbackformat
TINYINT
2
Yes
Default value
0
incorrectfeedback
LONGTEXT
Yes
incorrectfeedbackformat
TINYINT
2
Yes
Default value
0
shownumcorrect
TINYINT
2
Yes
Default value
0
showmisplaced
SMALLINT
4
Yes
Default value
0
Indexes
qtypddma_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
qtype_ddmarker_drags
Description
Labels for markers to drag.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
no
BIGINT
10
Yes
Default value
0
label
LONGTEXT
Yes
infinite
SMALLINT
4
Yes
Default value
0
noofdrags
BIGINT
10
Yes
Default value
1
Indexes
qtypddmadrag_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
qtype_ddmarker_drops
Description
drop regions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
no
BIGINT
10
Yes
Default value
0
shape
VARCHAR
255
coords
LONGTEXT
Yes
choice
BIGINT
10
Yes
Default value
0
Indexes
qtypddmadrop_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
qtype_essay_options
Description
Extra options for essay questions.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
responseformat
VARCHAR
16
Yes
Default value
'editor'
responserequired
TINYINT
2
Yes
Default value
1
responsefieldlines
SMALLINT
4
Yes
Default value
15
minwordlimit
BIGINT
10
maxwordlimit
BIGINT
10
attachments
SMALLINT
4
Yes
Default value
0
attachmentsrequired
SMALLINT
4
Yes
Default value
0
graderinfo
LONGTEXT
graderinfoformat
SMALLINT
4
Yes
Default value
0
responsetemplate
LONGTEXT
responsetemplateformat
SMALLINT
4
Yes
Default value
0
maxbytes
BIGINT
10
Yes
Default value
0
filetypeslist
LONGTEXT
Keys
PRIMARY
Column in PRIMARY
id
qtypessaopti_que_uix
Column in qtypessaopti_que_uix
questionid
Name
qtype_match_options
Description
Defines the question-type specific options for matching ques
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
shuffleanswers
SMALLINT
4
Yes
Default value
1
correctfeedback
LONGTEXT
Yes
correctfeedbackformat
TINYINT
2
Yes
Default value
0
partiallycorrectfeedback
LONGTEXT
Yes
partiallycorrectfeedbackformat
TINYINT
2
Yes
Default value
0
incorrectfeedback
LONGTEXT
Yes
incorrectfeedbackformat
TINYINT
2
Yes
Default value
0
shownumcorrect
TINYINT
2
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
qtypmatcopti_que_uix
Column in qtypmatcopti_que_uix
questionid
Name
qtype_match_subquestions
Description
The subquestions that make up a matching question
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
questiontext
LONGTEXT
Yes
questiontextformat
TINYINT
2
Yes
Default value
0
answertext
VARCHAR
255
Yes
Default value
''
Indexes
qtypmatcsubq_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
qtype_multichoice_options
Description
Options for multiple choice questions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
layout
SMALLINT
4
Yes
Default value
0
single
SMALLINT
4
Yes
Default value
0
shuffleanswers
SMALLINT
4
Yes
Default value
1
correctfeedback
LONGTEXT
Yes
correctfeedbackformat
TINYINT
2
Yes
Default value
0
partiallycorrectfeedback
LONGTEXT
Yes
partiallycorrectfeedbackformat
TINYINT
2
Yes
Default value
0
incorrectfeedback
LONGTEXT
Yes
incorrectfeedbackformat
TINYINT
2
Yes
Default value
0
answernumbering
VARCHAR
10
Yes
Default value
'abc'
shownumcorrect
TINYINT
2
Yes
Default value
0
showstandardinstruction
TINYINT
2
Yes
Default value
1
Keys
PRIMARY
Column in PRIMARY
id
qtypmultopti_que_uix
Column in qtypmultopti_que_uix
questionid
Name
qtype_randomsamatch_options
Description
Info about a random short-answer matching question
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
choose
BIGINT
10
Yes
Default value
4
subcats
TINYINT
2
Yes
Default value
1
correctfeedback
LONGTEXT
Yes
correctfeedbackformat
TINYINT
2
Yes
Default value
0
partiallycorrectfeedback
LONGTEXT
Yes
partiallycorrectfeedbackformat
TINYINT
2
Yes
Default value
0
incorrectfeedback
LONGTEXT
Yes
incorrectfeedbackformat
TINYINT
2
Yes
Default value
0
shownumcorrect
TINYINT
2
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
qtyprandopti_que_uix
Column in qtyprandopti_que_uix
questionid
Name
qtype_shortanswer_options
Description
Options for short answer questions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
usecase
TINYINT
2
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
qtypshoropti_que_uix
Column in qtypshoropti_que_uix
questionid
Name
question
Description
This table stores the definition of one version of a questio
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
parent
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
questiontext
LONGTEXT
Yes
questiontextformat
TINYINT
2
Yes
Default value
0
generalfeedback
LONGTEXT
Yes
generalfeedbackformat
TINYINT
2
Yes
Default value
0
defaultmark
DECIMAL
12,7
Yes
Default value
1.0000000
penalty
DECIMAL
12,7
Yes
Default value
0.3333333
qtype
VARCHAR
20
Yes
Default value
''
length
BIGINT
10
Yes
Default value
1
stamp
VARCHAR
255
Yes
Default value
''
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
createdby
BIGINT
10
modifiedby
BIGINT
10
Indexes
ques_qty_ix
Column name
qtype
ques_par_ix
Column name
parent
ques_cre_ix
Column name
createdby
ques_mod_ix
Column name
modifiedby
Keys
PRIMARY
Column in PRIMARY
id
Name
question_answers
Description
Answers, with a fractional grade (0-1) and feedback
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
answer
LONGTEXT
Yes
answerformat
TINYINT
2
Yes
Default value
0
fraction
DECIMAL
12,7
Yes
Default value
0.0000000
feedback
LONGTEXT
Yes
feedbackformat
TINYINT
2
Yes
Default value
0
Indexes
quesansw_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
Name
question_attempts
Description
Each row here corresponds to an attempt at one question, as
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionusageid
BIGINT
10
Yes
slot
BIGINT
10
Yes
behaviour
VARCHAR
32
Yes
Default value
''
questionid
BIGINT
10
Yes
variant
BIGINT
10
Yes
Default value
1
maxmark
DECIMAL
12,7
Yes
minfraction
DECIMAL
12,7
Yes
maxfraction
DECIMAL
12,7
Yes
Default value
1.0000000
flagged
TINYINT
1
Yes
Default value
0
questionsummary
LONGTEXT
rightanswer
LONGTEXT
responsesummary
LONGTEXT
timemodified
BIGINT
10
Yes
Indexes
quesatte_beh_ix
Column name
behaviour
quesatte_que_ix
Column name
questionid
quesatte_que2_ix
Column name
questionusageid
Keys
PRIMARY
Column in PRIMARY
id
quesatte_queslo_uix
Column in quesatte_queslo_uix
questionusageid
Column in quesatte_queslo_uix
slot
Name
question_attempt_steps
Description
Stores one step in in a question attempt. As well as the dat
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionattemptid
BIGINT
10
Yes
sequencenumber
BIGINT
10
Yes
state
VARCHAR
13
Yes
Default value
''
fraction
DECIMAL
12,7
timecreated
BIGINT
10
Yes
userid
BIGINT
10
Indexes
quesattestep_que_ix
Column name
questionattemptid
quesattestep_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
quesattestep_queseq_uix
Column in quesattestep_queseq_uix
questionattemptid
Column in quesattestep_queseq_uix
sequencenumber
Name
question_attempt_step_data
Description
Each question_attempt_step has an associative array of the d
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
attemptstepid
BIGINT
10
Yes
name
VARCHAR
32
Yes
Default value
''
value
LONGTEXT
Indexes
quesattestepdata_att_ix
Column name
attemptstepid
Keys
PRIMARY
Column in PRIMARY
id
Name
question_bank_entries
Description
Each question bank entry. This table has one row for each qu
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questioncategoryid
BIGINT
10
Yes
Default value
0
idnumber
VARCHAR
100
ownerid
BIGINT
10
Indexes
quesbankentr_que_ix
Column name
questioncategoryid
quesbankentr_own_ix
Column name
ownerid
Keys
PRIMARY
Column in PRIMARY
id
quesbankentr_queidn_uix
Column in quesbankentr_queidn_uix
questioncategoryid
Column in quesbankentr_queidn_uix
idnumber
Name
question_calculated
Description
Options for questions of type calculated
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
answer
BIGINT
10
Yes
Default value
0
tolerance
VARCHAR
20
Yes
Default value
'0.0'
tolerancetype
BIGINT
10
Yes
Default value
1
correctanswerlength
BIGINT
10
Yes
Default value
2
correctanswerformat
BIGINT
10
Yes
Default value
2
Indexes
quescalc_ans_ix
Column name
answer
quescalc_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
Name
question_calculated_options
Description
Options for questions of type calculated
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
synchronize
TINYINT
2
Yes
Default value
0
single
SMALLINT
4
Yes
Default value
0
shuffleanswers
SMALLINT
4
Yes
Default value
0
correctfeedback
LONGTEXT
correctfeedbackformat
TINYINT
2
Yes
Default value
0
partiallycorrectfeedback
LONGTEXT
partiallycorrectfeedbackformat
TINYINT
2
Yes
Default value
0
incorrectfeedback
LONGTEXT
incorrectfeedbackformat
TINYINT
2
Yes
Default value
0
answernumbering
VARCHAR
10
Yes
Default value
'abc'
shownumcorrect
TINYINT
2
Yes
Default value
0
Indexes
quescalcopti_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
Name
question_categories
Description
Categories are for grouping questions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
contextid
BIGINT
10
Yes
Default value
0
info
LONGTEXT
Yes
infoformat
TINYINT
2
Yes
Default value
0
stamp
VARCHAR
255
Yes
Default value
''
parent
BIGINT
10
Yes
Default value
0
sortorder
BIGINT
10
Yes
Default value
999
idnumber
VARCHAR
100
Indexes
quescate_con_ix
Column name
contextid
quescate_par_ix
Column name
parent
Keys
PRIMARY
Column in PRIMARY
id
quescate_consta_uix
Column in quescate_consta_uix
contextid
Column in quescate_consta_uix
stamp
quescate_conidn_uix
Column in quescate_conidn_uix
contextid
Column in quescate_conidn_uix
idnumber
Name
question_datasets
Description
Many-many relation between questions and dataset definitions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
datasetdefinition
BIGINT
10
Yes
Default value
0
Indexes
quesdata_quedat_ix
Column name
question
Column name
datasetdefinition
quesdata_que_ix
Column name
question
quesdata_dat_ix
Column name
datasetdefinition
Keys
PRIMARY
Column in PRIMARY
id
Name
question_dataset_definitions
Description
Organises and stores properties for dataset items
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
category
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
type
BIGINT
10
Yes
Default value
0
options
VARCHAR
255
Yes
Default value
''
itemcount
BIGINT
10
Yes
Default value
0
Indexes
quesdatadefi_cat_ix
Column name
category
Keys
PRIMARY
Column in PRIMARY
id
Name
question_dataset_items
Description
Individual dataset items
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
definition
BIGINT
10
Yes
Default value
0
itemnumber
BIGINT
10
Yes
Default value
0
value
VARCHAR
255
Yes
Default value
''
Indexes
quesdataitem_def_ix
Column name
definition
Keys
PRIMARY
Column in PRIMARY
id
Name
question_ddwtos
Description
Defines drag and drop (words into sentences) questions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
shuffleanswers
SMALLINT
4
Yes
Default value
1
correctfeedback
LONGTEXT
Yes
correctfeedbackformat
TINYINT
2
Yes
Default value
0
partiallycorrectfeedback
LONGTEXT
Yes
partiallycorrectfeedbackformat
TINYINT
2
Yes
Default value
0
incorrectfeedback
LONGTEXT
Yes
incorrectfeedbackformat
TINYINT
2
Yes
Default value
0
shownumcorrect
TINYINT
2
Yes
Default value
0
Indexes
quesddwt_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
question_gapselect
Description
Defines select missing words questions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
Default value
0
shuffleanswers
SMALLINT
4
Yes
Default value
1
correctfeedback
LONGTEXT
Yes
correctfeedbackformat
TINYINT
2
Yes
Default value
0
partiallycorrectfeedback
LONGTEXT
Yes
partiallycorrectfeedbackformat
TINYINT
2
Yes
Default value
0
incorrectfeedback
LONGTEXT
Yes
incorrectfeedbackformat
TINYINT
2
Yes
Default value
0
shownumcorrect
TINYINT
2
Yes
Default value
0
Indexes
quesgaps_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
question_hints
Description
Stores the the part of the question definition that gives di
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionid
BIGINT
10
Yes
hint
LONGTEXT
Yes
hintformat
SMALLINT
4
Yes
Default value
0
shownumcorrect
TINYINT
1
clearwrong
TINYINT
1
options
VARCHAR
255
Indexes
queshint_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
question_multianswer
Description
Options for multianswer questions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
sequence
LONGTEXT
Yes
Indexes
quesmult_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
Name
question_numerical
Description
Options for numerical questions.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
answer
BIGINT
10
Yes
Default value
0
tolerance
VARCHAR
255
Yes
Default value
'0.0'
Indexes
quesnume_ans_ix
Column name
answer
quesnume_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
Name
question_numerical_options
Description
Options for questions of type numerical This table is also u
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
showunits
SMALLINT
4
Yes
Default value
0
unitsleft
SMALLINT
4
Yes
Default value
0
unitgradingtype
SMALLINT
4
Yes
Default value
0
unitpenalty
DECIMAL
12,7
Yes
Default value
0.1000000
Indexes
quesnumeopti_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
Name
question_numerical_units
Description
Optional unit options for numerical questions. This table is
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
multiplier
DECIMAL
38,19
Yes
Default value
1.0000000000000000000
unit
VARCHAR
50
Yes
Default value
''
Indexes
quesnumeunit_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
quesnumeunit_queuni_uix
Column in quesnumeunit_queuni_uix
question
Column in quesnumeunit_queuni_uix
unit
Name
question_references
Description
Records where a specific question is used.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
usingcontextid
BIGINT
10
Yes
Default value
0
component
VARCHAR
100
questionarea
VARCHAR
50
itemid
BIGINT
10
questionbankentryid
BIGINT
10
Yes
Default value
0
version
BIGINT
10
Indexes
quesrefe_usi_ix
Column name
usingcontextid
quesrefe_que_ix
Column name
questionbankentryid
Keys
PRIMARY
Column in PRIMARY
id
quesrefe_usicomqueite_uix
Column in quesrefe_usicomqueite_uix
usingcontextid
Column in quesrefe_usicomqueite_uix
component
Column in quesrefe_usicomqueite_uix
questionarea
Column in quesrefe_usicomqueite_uix
itemid
Name
question_response_analysis
Description
Analysis of student responses given to questions.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
hashcode
VARCHAR
40
Yes
Default value
''
whichtries
VARCHAR
255
Yes
Default value
''
timemodified
BIGINT
10
Yes
questionid
BIGINT
10
Yes
variant
BIGINT
10
subqid
VARCHAR
100
Yes
Default value
''
aid
VARCHAR
100
response
LONGTEXT
credit
DECIMAL
15,5
Yes
Indexes
quesrespanal_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
question_response_count
Description
Count for each responses for each try at a question.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
analysisid
BIGINT
10
Yes
try
BIGINT
10
Yes
rcount
BIGINT
10
Yes
Indexes
quesrespcoun_ana_ix
Column name
analysisid
Keys
PRIMARY
Column in PRIMARY
id
Name
question_set_references
Description
Records where groups of questions are used.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
usingcontextid
BIGINT
10
Yes
Default value
0
component
VARCHAR
100
questionarea
VARCHAR
50
itemid
BIGINT
10
questionscontextid
BIGINT
10
Yes
Default value
0
filtercondition
LONGTEXT
Indexes
quessetrefe_usi_ix
Column name
usingcontextid
quessetrefe_que_ix
Column name
questionscontextid
Keys
PRIMARY
Column in PRIMARY
id
quessetrefe_usicomqueite_uix
Column in quessetrefe_usicomqueite_uix
usingcontextid
Column in quessetrefe_usicomqueite_uix
component
Column in quessetrefe_usicomqueite_uix
questionarea
Column in quessetrefe_usicomqueite_uix
itemid
Name
question_statistics
Description
Statistics for individual questions used in an activity.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
hashcode
VARCHAR
40
Yes
Default value
''
timemodified
BIGINT
10
Yes
questionid
BIGINT
10
Yes
slot
BIGINT
10
subquestion
SMALLINT
4
Yes
variant
BIGINT
10
s
BIGINT
10
Yes
Default value
0
effectiveweight
DECIMAL
15,5
negcovar
TINYINT
2
Yes
Default value
0
discriminationindex
DECIMAL
15,5
discriminativeefficiency
DECIMAL
15,5
sd
DECIMAL
15,10
facility
DECIMAL
15,10
subquestions
LONGTEXT
maxmark
DECIMAL
12,7
positions
LONGTEXT
randomguessscore
DECIMAL
12,7
Indexes
quesstat_que_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
question_truefalse
Description
Options for True-False questions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
question
BIGINT
10
Yes
Default value
0
trueanswer
BIGINT
10
Yes
Default value
0
falseanswer
BIGINT
10
Yes
Default value
0
showstandardinstruction
TINYINT
2
Yes
Default value
1
Indexes
questrue_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
Name
question_usages
Description
This table's main purpose it to assign a unique id to each a
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
component
VARCHAR
255
Yes
Default value
''
preferredbehaviour
VARCHAR
32
Yes
Default value
''
Indexes
quesusag_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
question_versions
Description
A join table linking the different question version definiti
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionbankentryid
BIGINT
10
Yes
Default value
0
version
BIGINT
10
Yes
Default value
1
questionid
BIGINT
10
Yes
Default value
0
status
VARCHAR
10
Yes
Default value
'ready'
Indexes
quesvers_que_ix
Column name
questionbankentryid
quesvers_que2_ix
Column name
questionid
Keys
PRIMARY
Column in PRIMARY
id
Name
quiz
Description
The settings for each quiz.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
timeopen
BIGINT
10
Yes
Default value
0
timeclose
BIGINT
10
Yes
Default value
0
timelimit
BIGINT
10
Yes
Default value
0
overduehandling
VARCHAR
16
Yes
Default value
'autoabandon'
graceperiod
BIGINT
10
Yes
Default value
0
preferredbehaviour
VARCHAR
32
Yes
Default value
''
canredoquestions
SMALLINT
4
Yes
Default value
0
attempts
MEDIUMINT
6
Yes
Default value
0
attemptonlast
SMALLINT
4
Yes
Default value
0
grademethod
SMALLINT
4
Yes
Default value
1
decimalpoints
SMALLINT
4
Yes
Default value
2
questiondecimalpoints
SMALLINT
4
Yes
Default value
-1
reviewattempt
MEDIUMINT
6
Yes
Default value
0
reviewcorrectness
MEDIUMINT
6
Yes
Default value
0
reviewmarks
MEDIUMINT
6
Yes
Default value
0
reviewspecificfeedback
MEDIUMINT
6
Yes
Default value
0
reviewgeneralfeedback
MEDIUMINT
6
Yes
Default value
0
reviewrightanswer
MEDIUMINT
6
Yes
Default value
0
reviewoverallfeedback
MEDIUMINT
6
Yes
Default value
0
questionsperpage
BIGINT
10
Yes
Default value
0
navmethod
VARCHAR
16
Yes
Default value
'free'
shuffleanswers
SMALLINT
4
Yes
Default value
0
sumgrades
DECIMAL
10,5
Yes
Default value
0.00000
grade
DECIMAL
10,5
Yes
Default value
0.00000
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
password
VARCHAR
255
Yes
Default value
''
subnet
VARCHAR
255
Yes
Default value
''
browsersecurity
VARCHAR
32
Yes
Default value
''
delay1
BIGINT
10
Yes
Default value
0
delay2
BIGINT
10
Yes
Default value
0
showuserpicture
SMALLINT
4
Yes
Default value
0
showblocks
SMALLINT
4
Yes
Default value
0
completionattemptsexhausted
TINYINT
1
Default value
0
completionminattempts
BIGINT
10
Yes
Default value
0
allowofflineattempts
TINYINT
1
Default value
0
Indexes
quiz_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
quizaccess_seb_quizsettings
Description
Stores the quiz level Safe Exam Browser configuration.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
quizid
BIGINT
10
Yes
cmid
BIGINT
10
Yes
templateid
BIGINT
10
Yes
requiresafeexambrowser
TINYINT
1
Yes
showsebtaskbar
TINYINT
1
showwificontrol
TINYINT
1
showreloadbutton
TINYINT
1
showtime
TINYINT
1
showkeyboardlayout
TINYINT
1
allowuserquitseb
TINYINT
1
quitpassword
LONGTEXT
linkquitseb
LONGTEXT
userconfirmquit
TINYINT
1
enableaudiocontrol
TINYINT
1
muteonstartup
TINYINT
1
allowspellchecking
TINYINT
1
allowreloadinexam
TINYINT
1
activateurlfiltering
TINYINT
1
filterembeddedcontent
TINYINT
1
expressionsallowed
LONGTEXT
regexallowed
LONGTEXT
expressionsblocked
LONGTEXT
regexblocked
LONGTEXT
allowedbrowserexamkeys
LONGTEXT
showsebdownloadlink
TINYINT
1
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
quizsebquiz_tem_ix
Column name
templateid
quizsebquiz_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
quizsebquiz_qui_uix
Column in quizsebquiz_qui_uix
quizid
quizsebquiz_cmi_uix
Column in quizsebquiz_cmi_uix
cmid
Name
quizaccess_seb_template
Description
Templates for Safe Exam Browser configuration.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
description
LONGTEXT
Yes
content
LONGTEXT
Yes
enabled
TINYINT
1
Yes
sortorder
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
quizsebtemp_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
quiz_attempts
Description
Stores users attempts at quizzes.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
quiz
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
attempt
MEDIUMINT
6
Yes
Default value
0
uniqueid
BIGINT
10
Yes
Default value
0
layout
LONGTEXT
Yes
currentpage
BIGINT
10
Yes
Default value
0
preview
SMALLINT
3
Yes
Default value
0
state
VARCHAR
16
Yes
Default value
'inprogress'
timestart
BIGINT
10
Yes
Default value
0
timefinish
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
timemodifiedoffline
BIGINT
10
Yes
Default value
0
timecheckstate
BIGINT
10
Default value
0
sumgrades
DECIMAL
10,5
gradednotificationsenttime
BIGINT
10
Indexes
quizatte_statim_ix
Column name
state
Column name
timecheckstate
quizatte_qui_ix
Column name
quiz
quizatte_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
quizatte_quiuseatt_uix
Column in quizatte_quiuseatt_uix
quiz
Column in quizatte_quiuseatt_uix
userid
Column in quizatte_quiuseatt_uix
attempt
quizatte_uni_uix
Column in quizatte_uni_uix
uniqueid
Name
quiz_feedback
Description
Feedback given to students based on which grade band their o
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
quizid
BIGINT
10
Yes
Default value
0
feedbacktext
LONGTEXT
Yes
feedbacktextformat
TINYINT
2
Yes
Default value
0
mingrade
DECIMAL
10,5
Yes
Default value
0.00000
maxgrade
DECIMAL
10,5
Yes
Default value
0.00000
Indexes
quizfeed_qui_ix
Column name
quizid
Keys
PRIMARY
Column in PRIMARY
id
Name
quiz_grades
Description
Stores the overall grade for each user on the quiz, based on
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
quiz
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
grade
DECIMAL
10,5
Yes
Default value
0.00000
timemodified
BIGINT
10
Yes
Default value
0
Indexes
quizgrad_use_ix
Column name
userid
quizgrad_qui_ix
Column name
quiz
Keys
PRIMARY
Column in PRIMARY
id
Name
quiz_overrides
Description
The overrides to quiz settings on a per-user and per-group b
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
quiz
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
userid
BIGINT
10
timeopen
BIGINT
10
timeclose
BIGINT
10
timelimit
BIGINT
10
attempts
MEDIUMINT
6
password
VARCHAR
255
Indexes
quizover_qui_ix
Column name
quiz
quizover_gro_ix
Column name
groupid
quizover_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
quiz_overview_regrades
Description
This table records which question attempts need regrading an
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
questionusageid
BIGINT
10
Yes
slot
BIGINT
10
Yes
newfraction
DECIMAL
12,7
oldfraction
DECIMAL
12,7
regraded
SMALLINT
4
Yes
timemodified
BIGINT
10
Yes
Indexes
quizoverregr_queslo_ix
Column name
questionusageid
Column name
slot
Keys
PRIMARY
Column in PRIMARY
id
Name
quiz_reports
Description
Lists all the installed quiz reports and their display order
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
displayorder
BIGINT
10
Yes
capability
VARCHAR
255
Keys
PRIMARY
Column in PRIMARY
id
quizrepo_nam_uix
Column in quizrepo_nam_uix
name
Name
quiz_sections
Description
Stores sections of a quiz with section name (heading), from
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
quizid
BIGINT
10
Yes
firstslot
BIGINT
10
Yes
heading
VARCHAR
1333
shufflequestions
SMALLINT
4
Yes
Default value
0
Indexes
quizsect_qui_ix
Column name
quizid
Keys
PRIMARY
Column in PRIMARY
id
quizsect_quifir_uix
Column in quizsect_quifir_uix
quizid
Column in quizsect_quifir_uix
firstslot
Name
quiz_slots
Description
Stores the question used in a quiz, with the order, and for
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
slot
BIGINT
10
Yes
quizid
BIGINT
10
Yes
Default value
0
page
BIGINT
10
Yes
displaynumber
VARCHAR
16
requireprevious
SMALLINT
4
Yes
Default value
0
maxmark
DECIMAL
12,7
Yes
Default value
0.0000000
Indexes
quizslot_qui_ix
Column name
quizid
Keys
PRIMARY
Column in PRIMARY
id
quizslot_quislo_uix
Column in quizslot_quislo_uix
quizid
Column in quizslot_quislo_uix
slot
Name
quiz_statistics
Description
table to cache results from analysis done in statistics repo
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
hashcode
VARCHAR
40
Yes
Default value
''
whichattempts
SMALLINT
4
Yes
timemodified
BIGINT
10
Yes
firstattemptscount
BIGINT
10
Yes
highestattemptscount
BIGINT
10
Yes
lastattemptscount
BIGINT
10
Yes
allattemptscount
BIGINT
10
Yes
firstattemptsavg
DECIMAL
15,5
highestattemptsavg
DECIMAL
15,5
lastattemptsavg
DECIMAL
15,5
allattemptsavg
DECIMAL
15,5
median
DECIMAL
15,5
standarddeviation
DECIMAL
15,5
skewness
DECIMAL
15,10
kurtosis
DECIMAL
15,5
cic
DECIMAL
15,10
errorratio
DECIMAL
15,10
standarderror
DECIMAL
15,10
Keys
PRIMARY
Column in PRIMARY
id
Name
rating
Description
moodle ratings
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
component
VARCHAR
100
Yes
Default value
''
ratingarea
VARCHAR
50
Yes
Default value
''
itemid
BIGINT
10
Yes
scaleid
BIGINT
10
Yes
rating
BIGINT
10
Yes
userid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
rati_comratconite_ix
Column name
component
Column name
ratingarea
Column name
contextid
Column name
itemid
rati_con_ix
Column name
contextid
rati_use_ix
Column name
userid
rati_sca_ix
Column name
scaleid
Keys
PRIMARY
Column in PRIMARY
id
Name
registration_hubs
Description
hub where the site is registered on with their associated to
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
token
VARCHAR
255
Yes
Default value
''
hubname
VARCHAR
255
Yes
Default value
''
huburl
VARCHAR
255
Yes
Default value
''
confirmed
TINYINT
1
Yes
Default value
0
secret
VARCHAR
255
timemodified
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
reportbuilder_audience
Description
Defines report audience
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
reportid
BIGINT
10
Yes
heading
VARCHAR
255
classname
VARCHAR
255
Yes
Default value
''
configdata
LONGTEXT
Yes
usercreated
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
repoaudi_rep_ix
Column name
reportid
repoaudi_use_ix
Column name
usercreated
repoaudi_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
reportbuilder_column
Description
Table to represent a report column
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
reportid
BIGINT
10
Yes
Default value
0
uniqueidentifier
VARCHAR
255
Yes
Default value
''
aggregation
VARCHAR
32
heading
VARCHAR
255
columnorder
BIGINT
10
Yes
sortenabled
TINYINT
1
Yes
Default value
0
sortdirection
TINYINT
1
Yes
sortorder
BIGINT
10
usercreated
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
repocolu_rep_ix
Column name
reportid
repocolu_use_ix
Column name
usercreated
repocolu_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
reportbuilder_filter
Description
Table to represent a report filter/condition
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
reportid
BIGINT
10
Yes
Default value
0
uniqueidentifier
VARCHAR
255
Yes
Default value
''
heading
VARCHAR
255
iscondition
TINYINT
1
Yes
Default value
0
filterorder
BIGINT
10
Yes
usercreated
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
repofilt_rep_ix
Column name
reportid
repofilt_use_ix
Column name
usercreated
repofilt_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
reportbuilder_report
Description
Table to represent a report
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
source
VARCHAR
255
Yes
Default value
''
type
TINYINT
2
Yes
Default value
0
uniquerows
TINYINT
1
Yes
Default value
0
conditiondata
LONGTEXT
settingsdata
LONGTEXT
contextid
BIGINT
10
Yes
component
VARCHAR
100
Yes
Default value
''
area
VARCHAR
100
Yes
Default value
''
itemid
BIGINT
10
Yes
Default value
0
usercreated
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
reporepo_use_ix
Column name
usercreated
reporepo_use2_ix
Column name
usermodified
reporepo_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
reportbuilder_schedule
Description
Table to represent a report schedule
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
reportid
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
enabled
TINYINT
1
Yes
Default value
1
audiences
LONGTEXT
Yes
format
VARCHAR
255
Yes
Default value
''
subject
VARCHAR
255
Yes
Default value
''
message
LONGTEXT
Yes
messageformat
BIGINT
10
Yes
userviewas
BIGINT
10
Yes
Default value
0
timescheduled
BIGINT
10
Yes
Default value
0
recurrence
BIGINT
10
Yes
Default value
0
reportempty
BIGINT
10
Yes
Default value
0
timelastsent
BIGINT
10
Yes
Default value
0
timenextsend
BIGINT
10
Yes
Default value
0
usercreated
BIGINT
10
Yes
Default value
0
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
reposche_rep_ix
Column name
reportid
reposche_use_ix
Column name
userviewas
reposche_use2_ix
Column name
usercreated
reposche_use3_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
repository
Description
This table contains one entry for every configured external
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
type
VARCHAR
255
Yes
Default value
''
visible
TINYINT
1
Default value
1
sortorder
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
repository_instances
Description
This table contains one entry for every configured external
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
typeid
BIGINT
10
Yes
userid
BIGINT
10
Yes
Default value
0
contextid
BIGINT
10
Yes
username
VARCHAR
255
password
VARCHAR
255
timecreated
BIGINT
10
timemodified
BIGINT
10
readonly
TINYINT
1
Yes
Default value
0
Indexes
repoinst_use_ix
Column name
userid
repoinst_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
repository_instance_config
Description
The config for intances
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
instanceid
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
value
LONGTEXT
Keys
PRIMARY
Column in PRIMARY
id
Name
repository_onedrive_access
Description
List of temporary access grants.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
timemodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
usermodified
BIGINT
10
Yes
permissionid
VARCHAR
255
Yes
Default value
''
itemid
VARCHAR
255
Yes
Default value
''
Indexes
repoonedacce_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
resource
Description
Each record is one resource and its config data
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
tobemigrated
SMALLINT
4
Yes
Default value
0
legacyfiles
SMALLINT
4
Yes
Default value
0
legacyfileslast
BIGINT
10
display
SMALLINT
4
Yes
Default value
0
displayoptions
LONGTEXT
filterfiles
SMALLINT
4
Yes
Default value
0
revision
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
reso_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
resource_old
Description
backup of all old resource instances from 1.9
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
type
VARCHAR
30
Yes
Default value
''
reference
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
alltext
LONGTEXT
Yes
popup
LONGTEXT
Yes
options
VARCHAR
255
Yes
Default value
''
timemodified
BIGINT
10
Yes
Default value
0
oldid
BIGINT
10
Yes
cmid
BIGINT
10
newmodule
VARCHAR
50
newid
BIGINT
10
migrated
BIGINT
10
Yes
Default value
0
Indexes
resoold_cmi_ix
Column name
cmid
Keys
PRIMARY
Column in PRIMARY
id
resoold_old_uix
Column in resoold_old_uix
oldid
Name
role
Description
moodle roles
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
shortname
VARCHAR
100
Yes
Default value
''
description
LONGTEXT
Yes
sortorder
BIGINT
10
Yes
Default value
0
archetype
VARCHAR
30
Yes
Default value
''
Keys
PRIMARY
Column in PRIMARY
id
role_sor_uix
Column in role_sor_uix
sortorder
role_sho_uix
Column in role_sho_uix
shortname
Name
role_allow_assign
Description
this defines what role can assign what role
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
roleid
BIGINT
10
Yes
Default value
0
allowassign
BIGINT
10
Yes
Default value
0
Indexes
rolealloassi_rol_ix
Column name
roleid
rolealloassi_all_ix
Column name
allowassign
Keys
PRIMARY
Column in PRIMARY
id
rolealloassi_rolall_uix
Column in rolealloassi_rolall_uix
roleid
Column in rolealloassi_rolall_uix
allowassign
Name
role_allow_override
Description
this defines what role can override what role
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
roleid
BIGINT
10
Yes
Default value
0
allowoverride
BIGINT
10
Yes
Default value
0
Indexes
rolealloover_rol_ix
Column name
roleid
rolealloover_all_ix
Column name
allowoverride
Keys
PRIMARY
Column in PRIMARY
id
rolealloover_rolall_uix
Column in rolealloover_rolall_uix
roleid
Column in rolealloover_rolall_uix
allowoverride
Name
role_allow_switch
Description
This table stores which which other roles a user is allowed
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
roleid
BIGINT
10
Yes
allowswitch
BIGINT
10
Yes
Indexes
rolealloswit_rol_ix
Column name
roleid
rolealloswit_all_ix
Column name
allowswitch
Keys
PRIMARY
Column in PRIMARY
id
rolealloswit_rolall_uix
Column in rolealloswit_rolall_uix
roleid
Column in rolealloswit_rolall_uix
allowswitch
Name
role_allow_view
Description
This table stores which which other roles a user is allowed
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
roleid
BIGINT
10
Yes
allowview
BIGINT
10
Yes
Indexes
rolealloview_rol_ix
Column name
roleid
rolealloview_all_ix
Column name
allowview
Keys
PRIMARY
Column in PRIMARY
id
rolealloview_rolall_uix
Column in rolealloview_rolall_uix
roleid
Column in rolealloview_rolall_uix
allowview
Name
role_assignments
Description
assigning roles in different context
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
roleid
BIGINT
10
Yes
Default value
0
contextid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
modifierid
BIGINT
10
Yes
Default value
0
component
VARCHAR
100
Yes
Default value
''
itemid
BIGINT
10
Yes
Default value
0
sortorder
BIGINT
10
Yes
Default value
0
Indexes
roleassi_sor_ix
Column name
sortorder
roleassi_rolcon_ix
Column name
roleid
Column name
contextid
roleassi_useconrol_ix
Column name
userid
Column name
contextid
Column name
roleid
roleassi_comiteuse_ix
Column name
component
Column name
itemid
Column name
userid
roleassi_rol_ix
Column name
roleid
roleassi_con_ix
Column name
contextid
roleassi_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
role_capabilities
Description
permission has to be signed, overriding a capability for a p
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
Default value
0
roleid
BIGINT
10
Yes
Default value
0
capability
VARCHAR
255
Yes
Default value
''
permission
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
modifierid
BIGINT
10
Yes
Default value
0
Indexes
rolecapa_rol_ix
Column name
roleid
rolecapa_con_ix
Column name
contextid
rolecapa_mod_ix
Column name
modifierid
rolecapa_cap_ix
Column name
capability
Keys
PRIMARY
Column in PRIMARY
id
rolecapa_rolconcap_uix
Column in rolecapa_rolconcap_uix
roleid
Column in rolecapa_rolconcap_uix
contextid
Column in rolecapa_rolconcap_uix
capability
Name
role_context_levels
Description
Lists which roles can be assigned at which context levels. T
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
roleid
BIGINT
10
Yes
contextlevel
BIGINT
10
Yes
Indexes
rolecontleve_rol_ix
Column name
roleid
Keys
PRIMARY
Column in PRIMARY
id
rolecontleve_conrol_uix
Column in rolecontleve_conrol_uix
contextlevel
Column in rolecontleve_conrol_uix
roleid
Name
role_names
Description
role names in native strings
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
roleid
BIGINT
10
Yes
Default value
0
contextid
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
Indexes
rolename_rol_ix
Column name
roleid
rolename_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
rolename_rolcon_uix
Column in rolename_rolcon_uix
roleid
Column in rolename_rolcon_uix
contextid
Name
scale
Description
Defines grading scales
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
scale
LONGTEXT
Yes
description
LONGTEXT
Yes
descriptionformat
TINYINT
2
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
scal_cou_ix
Column name
courseid
scal_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
scale_history
Description
History table
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
action
BIGINT
10
Yes
Default value
0
oldid
BIGINT
10
Yes
source
VARCHAR
255
timemodified
BIGINT
10
loggeduser
BIGINT
10
courseid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
scale
LONGTEXT
Yes
description
LONGTEXT
Yes
Indexes
scalhist_act_ix
Column name
action
scalhist_tim_ix
Column name
timemodified
scalhist_old_ix
Column name
oldid
scalhist_cou_ix
Column name
courseid
scalhist_log_ix
Column name
loggeduser
scalhist_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
scorm
Description
each table is one SCORM module and its configuration
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
scormtype
VARCHAR
50
Yes
Default value
'local'
reference
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
version
VARCHAR
9
Yes
Default value
''
maxgrade
DOUBLE
Yes
Default value
0
grademethod
TINYINT
2
Yes
Default value
0
whatgrade
BIGINT
10
Yes
Default value
0
maxattempt
BIGINT
10
Yes
Default value
1
forcecompleted
TINYINT
1
Yes
Default value
0
forcenewattempt
TINYINT
1
Yes
Default value
0
lastattemptlock
TINYINT
1
Yes
Default value
0
masteryoverride
TINYINT
1
Yes
Default value
1
displayattemptstatus
TINYINT
1
Yes
Default value
1
displaycoursestructure
TINYINT
1
Yes
Default value
0
updatefreq
TINYINT
1
Yes
Default value
0
sha1hash
VARCHAR
40
md5hash
VARCHAR
32
Yes
Default value
''
revision
BIGINT
10
Yes
Default value
0
launch
BIGINT
10
Yes
Default value
0
skipview
TINYINT
1
Yes
Default value
1
hidebrowse
TINYINT
1
Yes
Default value
0
hidetoc
TINYINT
1
Yes
Default value
0
nav
TINYINT
1
Yes
Default value
1
navpositionleft
BIGINT
10
Default value
-100
navpositiontop
BIGINT
10
Default value
-100
auto
TINYINT
1
Yes
Default value
0
popup
TINYINT
1
Yes
Default value
0
options
VARCHAR
255
Yes
Default value
''
width
BIGINT
10
Yes
Default value
100
height
BIGINT
10
Yes
Default value
600
timeopen
BIGINT
10
Yes
Default value
0
timeclose
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
completionstatusrequired
TINYINT
1
completionscorerequired
BIGINT
10
completionstatusallscos
TINYINT
1
autocommit
TINYINT
1
Yes
Default value
0
Indexes
scor_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
scorm_aicc_session
Description
Used by AICC HACP to store session information
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
scormid
BIGINT
10
Yes
Default value
0
hacpsession
VARCHAR
255
Yes
Default value
''
scoid
BIGINT
10
Default value
0
scormmode
VARCHAR
50
scormstatus
VARCHAR
255
attempt
BIGINT
10
lessonstatus
VARCHAR
255
sessiontime
VARCHAR
255
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
scoraiccsess_sco_ix
Column name
scormid
scoraiccsess_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
scorm_scoes
Description
each SCO part of the SCORM module
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
scorm
BIGINT
10
Yes
Default value
0
manifest
VARCHAR
255
Yes
Default value
''
organization
VARCHAR
255
Yes
Default value
''
parent
VARCHAR
255
Yes
Default value
''
identifier
VARCHAR
255
Yes
Default value
''
launch
LONGTEXT
Yes
scormtype
VARCHAR
5
Yes
Default value
''
title
VARCHAR
255
Yes
Default value
''
sortorder
BIGINT
10
Yes
Default value
0
Indexes
scorscoe_sco_ix
Column name
scorm
Keys
PRIMARY
Column in PRIMARY
id
Name
scorm_scoes_data
Description
Contains variable data get from packages
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
scoid
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
value
LONGTEXT
Yes
Indexes
scorscoedata_sco_ix
Column name
scoid
Keys
PRIMARY
Column in PRIMARY
id
Name
scorm_scoes_track
Description
to track SCOes
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
scormid
BIGINT
10
Yes
Default value
0
scoid
BIGINT
10
Yes
Default value
0
attempt
BIGINT
10
Yes
Default value
1
element
VARCHAR
255
Yes
Default value
''
value
LONGTEXT
Yes
timemodified
BIGINT
10
Yes
Default value
0
Indexes
scorscoetrac_use_ix
Column name
userid
scorscoetrac_sco_ix
Column name
scormid
scorscoetrac_sco2_ix
Column name
scoid
Keys
PRIMARY
Column in PRIMARY
id
scorscoetrac_usescoscoatte_uix
Column in scorscoetrac_usescoscoatte_uix
userid
Column in scorscoetrac_usescoscoatte_uix
scormid
Column in scorscoetrac_usescoscoatte_uix
scoid
Column in scorscoetrac_usescoscoatte_uix
attempt
Column in scorscoetrac_usescoscoatte_uix
element
Name
scorm_seq_mapinfo
Description
SCORM2004 objective mapinfo description
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
scoid
BIGINT
10
Yes
Default value
0
objectiveid
BIGINT
10
Yes
Default value
0
targetobjectiveid
BIGINT
10
Yes
Default value
0
readsatisfiedstatus
TINYINT
1
Yes
Default value
1
readnormalizedmeasure
TINYINT
1
Yes
Default value
1
writesatisfiedstatus
TINYINT
1
Yes
Default value
0
writenormalizedmeasure
TINYINT
1
Yes
Default value
0
Indexes
scorseqmapi_sco_ix
Column name
scoid
scorseqmapi_obj_ix
Column name
objectiveid
Keys
PRIMARY
Column in PRIMARY
id
scorseqmapi_scoidobj_uix
Column in scorseqmapi_scoidobj_uix
scoid
Column in scorseqmapi_scoidobj_uix
id
Column in scorseqmapi_scoidobj_uix
objectiveid
Name
scorm_seq_objective
Description
SCORM2004 objective description
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
scoid
BIGINT
10
Yes
Default value
0
primaryobj
TINYINT
1
Yes
Default value
0
objectiveid
VARCHAR
255
Yes
Default value
''
satisfiedbymeasure
TINYINT
1
Yes
Default value
1
minnormalizedmeasure
FLOAT
11,4
Yes
Default value
0.0000
Indexes
scorseqobje_sco_ix
Column name
scoid
Keys
PRIMARY
Column in PRIMARY
id
scorseqobje_scoid_uix
Column in scorseqobje_scoid_uix
scoid
Column in scorseqobje_scoid_uix
id
Name
scorm_seq_rolluprule
Description
SCORM2004 sequencing rule
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
scoid
BIGINT
10
Yes
Default value
0
childactivityset
VARCHAR
15
Yes
Default value
''
minimumcount
BIGINT
10
Yes
Default value
0
minimumpercent
FLOAT
11,4
Yes
Default value
0.0000
conditioncombination
VARCHAR
3
Yes
Default value
'all'
action
VARCHAR
15
Yes
Default value
''
Indexes
scorseqroll_sco_ix
Column name
scoid
Keys
PRIMARY
Column in PRIMARY
id
scorseqroll_scoid_uix
Column in scorseqroll_scoid_uix
scoid
Column in scorseqroll_scoid_uix
id
Name
scorm_seq_rolluprulecond
Description
SCORM2004 sequencing rule
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
scoid
BIGINT
10
Yes
Default value
0
rollupruleid
BIGINT
10
Yes
Default value
0
operator
VARCHAR
5
Yes
Default value
'noOp'
cond
VARCHAR
25
Yes
Default value
''
Indexes
scorseqroll_sco2_ix
Column name
scoid
scorseqroll_rol_ix
Column name
rollupruleid
Keys
PRIMARY
Column in PRIMARY
id
scorseqroll_scorolid_uix
Column in scorseqroll_scorolid_uix
scoid
Column in scorseqroll_scorolid_uix
rollupruleid
Column in scorseqroll_scorolid_uix
id
Name
scorm_seq_rulecond
Description
SCORM2004 rule condition
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
scoid
BIGINT
10
Yes
Default value
0
ruleconditionsid
BIGINT
10
Yes
Default value
0
refrencedobjective
VARCHAR
255
Yes
Default value
''
measurethreshold
FLOAT
11,4
Yes
Default value
0.0000
operator
VARCHAR
5
Yes
Default value
'noOp'
cond
VARCHAR
30
Yes
Default value
'always'
Indexes
scorseqrule_sco2_ix
Column name
scoid
scorseqrule_rul_ix
Column name
ruleconditionsid
Keys
PRIMARY
Column in PRIMARY
id
scorseqrule_idscorul_uix
Column in scorseqrule_idscorul_uix
id
Column in scorseqrule_idscorul_uix
scoid
Column in scorseqrule_idscorul_uix
ruleconditionsid
Name
scorm_seq_ruleconds
Description
SCORM2004 rule conditions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
scoid
BIGINT
10
Yes
Default value
0
conditioncombination
VARCHAR
3
Yes
Default value
'all'
ruletype
TINYINT
2
Yes
Default value
0
action
VARCHAR
25
Yes
Default value
''
Indexes
scorseqrule_sco_ix
Column name
scoid
Keys
PRIMARY
Column in PRIMARY
id
scorseqrule_scoid_uix
Column in scorseqrule_scoid_uix
scoid
Column in scorseqrule_scoid_uix
id
Name
search_index_requests
Description
Records requests for (re)indexing of specific contexts. Entr
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
searcharea
VARCHAR
255
Yes
Default value
''
timerequested
BIGINT
10
Yes
partialarea
VARCHAR
255
Yes
Default value
''
partialtime
BIGINT
10
Yes
indexpriority
BIGINT
10
Yes
Indexes
searinderequ_indtim_ix
Column name
indexpriority
Column name
timerequested
searinderequ_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
search_simpledb_index
Description
search_simpledb table containing the index data.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
docid
VARCHAR
255
Yes
Default value
''
itemid
BIGINT
10
Yes
title
LONGTEXT
content
LONGTEXT
contextid
BIGINT
10
Yes
areaid
VARCHAR
255
Yes
Default value
''
type
TINYINT
1
Yes
courseid
BIGINT
10
Yes
owneruserid
BIGINT
10
modified
BIGINT
10
Yes
userid
BIGINT
10
description1
LONGTEXT
description2
LONGTEXT
Indexes
searsimpinde_owncon_ix
Column name
owneruserid
Column name
contextid
searsimpinde_con_ix
Column name
contextid
searsimpinde_cou_ix
Column name
courseid
searsimpinde_are_ix
Column name
areaid
search_simpledb_index_index
Column name
title
Column name
content
Column name
description1
Column name
description2
Fulltext
Yes
Keys
PRIMARY
Column in PRIMARY
id
searsimpinde_doc_uix
Column in searsimpinde_doc_uix
docid
Name
sessions
Description
Database based session storage - now recommended
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
state
BIGINT
10
Yes
Default value
0
sid
VARCHAR
128
Yes
Default value
''
userid
BIGINT
10
Yes
sessdata
LONGTEXT
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
firstip
VARCHAR
45
lastip
VARCHAR
45
Indexes
sess_sta_ix
Column name
state
sess_tim_ix
Column name
timecreated
sess_tim2_ix
Column name
timemodified
sess_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
sess_sid_uix
Column in sess_sid_uix
sid
Name
stats_daily
Description
to accumulate daily stats
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
0
roleid
BIGINT
10
Yes
Default value
0
stattype
VARCHAR
20
Yes
Default value
'activity'
stat1
BIGINT
10
Yes
Default value
0
stat2
BIGINT
10
Yes
Default value
0
Indexes
statdail_cou_ix
Column name
courseid
statdail_tim_ix
Column name
timeend
statdail_rol_ix
Column name
roleid
Keys
PRIMARY
Column in PRIMARY
id
Name
stats_monthly
Description
To accumulate monthly stats
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
0
roleid
BIGINT
10
Yes
Default value
0
stattype
VARCHAR
20
Yes
Default value
'activity'
stat1
BIGINT
10
Yes
Default value
0
stat2
BIGINT
10
Yes
Default value
0
Indexes
statmont_cou_ix
Column name
courseid
statmont_tim_ix
Column name
timeend
statmont_rol_ix
Column name
roleid
Keys
PRIMARY
Column in PRIMARY
id
Name
stats_user_daily
Description
To accumulate daily stats per course/user
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
roleid
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
0
statsreads
BIGINT
10
Yes
Default value
0
statswrites
BIGINT
10
Yes
Default value
0
stattype
VARCHAR
30
Yes
Default value
''
Indexes
statuserdail_cou_ix
Column name
courseid
statuserdail_use_ix
Column name
userid
statuserdail_rol_ix
Column name
roleid
statuserdail_tim_ix
Column name
timeend
Keys
PRIMARY
Column in PRIMARY
id
Name
stats_user_monthly
Description
To accumulate monthly stats per course/user
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
roleid
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
0
statsreads
BIGINT
10
Yes
Default value
0
statswrites
BIGINT
10
Yes
Default value
0
stattype
VARCHAR
30
Yes
Default value
''
Indexes
statusermont_cou_ix
Column name
courseid
statusermont_use_ix
Column name
userid
statusermont_rol_ix
Column name
roleid
statusermont_tim_ix
Column name
timeend
Keys
PRIMARY
Column in PRIMARY
id
Name
stats_user_weekly
Description
To accumulate weekly stats per course/user
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
roleid
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
0
statsreads
BIGINT
10
Yes
Default value
0
statswrites
BIGINT
10
Yes
Default value
0
stattype
VARCHAR
30
Yes
Default value
''
Indexes
statuserweek_cou_ix
Column name
courseid
statuserweek_use_ix
Column name
userid
statuserweek_rol_ix
Column name
roleid
statuserweek_tim_ix
Column name
timeend
Keys
PRIMARY
Column in PRIMARY
id
Name
stats_weekly
Description
To accumulate weekly stats
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
0
roleid
BIGINT
10
Yes
Default value
0
stattype
VARCHAR
20
Yes
Default value
'activity'
stat1
BIGINT
10
Yes
Default value
0
stat2
BIGINT
10
Yes
Default value
0
Indexes
statweek_cou_ix
Column name
courseid
statweek_tim_ix
Column name
timeend
statweek_rol_ix
Column name
roleid
Keys
PRIMARY
Column in PRIMARY
id
Name
survey
Description
Each record is one SURVEY module with its configuration
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
template
BIGINT
10
Yes
Default value
0
days
MEDIUMINT
6
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
Yes
introformat
SMALLINT
4
Yes
Default value
0
questions
VARCHAR
255
Yes
Default value
''
completionsubmit
TINYINT
1
Yes
Default value
0
Indexes
surv_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
survey_analysis
Description
text about each survey submission
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
survey
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
notes
LONGTEXT
Yes
Indexes
survanal_use_ix
Column name
userid
survanal_sur_ix
Column name
survey
Keys
PRIMARY
Column in PRIMARY
id
Name
survey_answers
Description
the answers to each questions filled by the users
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
survey
BIGINT
10
Yes
Default value
0
question
BIGINT
10
Yes
Default value
0
time
BIGINT
10
Yes
Default value
0
answer1
LONGTEXT
Yes
answer2
LONGTEXT
Yes
Indexes
survansw_use_ix
Column name
userid
survansw_sur_ix
Column name
survey
survansw_que_ix
Column name
question
Keys
PRIMARY
Column in PRIMARY
id
Name
survey_questions
Description
the questions conforming one survey
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
text
VARCHAR
255
Yes
Default value
''
shorttext
VARCHAR
30
Yes
Default value
''
multi
VARCHAR
100
Yes
Default value
''
intro
VARCHAR
50
Yes
Default value
''
type
SMALLINT
3
Yes
Default value
0
options
LONGTEXT
Keys
PRIMARY
Column in PRIMARY
id
Name
tag
Description
Tag table - this generic table will replace the old "tags" t
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
tagcollid
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
rawname
VARCHAR
255
Yes
Default value
''
isstandard
TINYINT
1
Yes
Default value
0
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
0
flag
SMALLINT
4
Default value
0
timemodified
BIGINT
10
Indexes
tag_tagiss_ix
Column name
tagcollid
Column name
isstandard
tag_use_ix
Column name
userid
tag_tag_ix
Column name
tagcollid
Keys
PRIMARY
Column in PRIMARY
id
tag_tagnam_uix
Column in tag_tagnam_uix
tagcollid
Column in tag_tagnam_uix
name
Name
tag_area
Description
Defines various tag areas, one area is identified by compone
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
component
VARCHAR
100
Yes
Default value
''
itemtype
VARCHAR
100
Yes
Default value
''
enabled
TINYINT
1
Yes
Default value
1
tagcollid
BIGINT
10
Yes
callback
VARCHAR
100
callbackfile
VARCHAR
100
showstandard
TINYINT
1
Yes
Default value
0
multiplecontexts
TINYINT
1
Yes
Default value
0
Indexes
tagarea_tag_ix
Column name
tagcollid
Keys
PRIMARY
Column in PRIMARY
id
tagarea_comite_uix
Column in tagarea_comite_uix
component
Column in tagarea_comite_uix
itemtype
Name
tag_coll
Description
Defines different set of tags
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
isdefault
TINYINT
2
Yes
Default value
0
component
VARCHAR
100
sortorder
MEDIUMINT
5
Yes
Default value
0
searchable
TINYINT
2
Yes
Default value
1
customurl
VARCHAR
255
Keys
PRIMARY
Column in PRIMARY
id
Name
tag_correlation
Description
The rationale for the 'tag_correlation' table is performance
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
tagid
BIGINT
10
Yes
correlatedtags
LONGTEXT
Yes
Indexes
tagcorr_tag_ix
Column name
tagid
Keys
PRIMARY
Column in PRIMARY
id
Name
tag_instance
Description
tag_instance table holds the information of associations bet
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
tagid
BIGINT
10
Yes
component
VARCHAR
100
Yes
Default value
''
itemtype
VARCHAR
100
Yes
Default value
''
itemid
BIGINT
10
Yes
contextid
BIGINT
10
tiuserid
BIGINT
10
Yes
Default value
0
ordering
BIGINT
10
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
taginst_itecomtagcon_ix
Column name
itemtype
Column name
component
Column name
tagid
Column name
contextid
taginst_tag_ix
Column name
tagid
taginst_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
taginst_comiteitecontiutag_uix
Column in taginst_comiteitecontiutag_uix
component
Column in taginst_comiteitecontiutag_uix
itemtype
Column in taginst_comiteitecontiutag_uix
itemid
Column in taginst_comiteitecontiutag_uix
contextid
Column in taginst_comiteitecontiutag_uix
tiuserid
Column in taginst_comiteitecontiutag_uix
tagid
Name
task_adhoc
Description
List of adhoc tasks waiting to run.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
component
VARCHAR
255
Yes
Default value
''
classname
VARCHAR
255
Yes
Default value
''
nextruntime
BIGINT
10
Yes
faildelay
BIGINT
10
customdata
LONGTEXT
userid
BIGINT
10
blocking
TINYINT
2
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timestarted
BIGINT
10
hostname
VARCHAR
255
pid
BIGINT
10
Indexes
taskadho_nex_ix
Column name
nextruntime
taskadho_tim_ix
Column name
timestarted
taskadho_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
task_log
Description
The log table for all tasks
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
type
SMALLINT
4
Yes
component
VARCHAR
255
Yes
Default value
''
classname
VARCHAR
255
Yes
Default value
''
userid
BIGINT
10
Yes
timestart
DECIMAL
20,10
Yes
timeend
DECIMAL
20,10
Yes
dbreads
BIGINT
10
Yes
dbwrites
BIGINT
10
Yes
result
TINYINT
2
Yes
output
LONGTEXT
Yes
hostname
VARCHAR
255
pid
BIGINT
10
Indexes
tasklog_cla_ix
Column name
classname
tasklog_tim_ix
Column name
timestart
tasklog_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
task_scheduled
Description
List of scheduled tasks to be run by cron.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
component
VARCHAR
255
Yes
Default value
''
classname
VARCHAR
255
Yes
Default value
''
lastruntime
BIGINT
10
nextruntime
BIGINT
10
blocking
TINYINT
2
Yes
Default value
0
minute
VARCHAR
200
Yes
Default value
''
hour
VARCHAR
70
Yes
Default value
''
day
VARCHAR
90
Yes
Default value
''
month
VARCHAR
30
Yes
Default value
''
dayofweek
VARCHAR
25
Yes
Default value
''
faildelay
BIGINT
10
customised
TINYINT
2
Yes
Default value
0
disabled
TINYINT
1
Yes
Default value
0
timestarted
BIGINT
10
hostname
VARCHAR
255
pid
BIGINT
10
Keys
PRIMARY
Column in PRIMARY
id
tasksche_cla_uix
Column in tasksche_cla_uix
classname
Name
tiny_autosave
Description
The content of the textarea saved during autosave operations
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
elementid
VARCHAR
255
Yes
Default value
''
contextid
BIGINT
10
Yes
pagehash
VARCHAR
64
Yes
Default value
''
userid
BIGINT
10
Yes
drafttext
LONGTEXT
Yes
draftid
BIGINT
10
pageinstance
VARCHAR
64
Yes
Default value
''
timemodified
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
tinyauto_eleconusepag_uix
Column in tinyauto_eleconusepag_uix
elementid
Column in tinyauto_eleconusepag_uix
contextid
Column in tinyauto_eleconusepag_uix
userid
Column in tinyauto_eleconusepag_uix
pagehash
Name
tool_brickfield_areas
Description
Areas that have been checked for accessibility problems
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
type
TINYINT
2
Yes
Default value
0
contextid
BIGINT
10
component
VARCHAR
100
tablename
VARCHAR
40
fieldorarea
VARCHAR
50
itemid
BIGINT
10
filename
VARCHAR
1333
reftable
VARCHAR
40
refid
BIGINT
10
cmid
BIGINT
10
courseid
BIGINT
10
categoryid
BIGINT
10
Indexes
toolbricarea_coucmi_ix
Column name
courseid
Column name
cmid
toolbricarea_typtabitefie_ix
Column name
type
Column name
tablename
Column name
itemid
Column name
fieldorarea
toolbricarea_typconcomfieit_ix
Column name
type
Column name
contextid
Column name
component
Column name
fieldorarea
Column name
itemid
toolbricarea_refreftyp_ix
Column name
reftable
Column name
refid
Column name
type
toolbricarea_cou_ix
Column name
courseid
toolbricarea_cmi_ix
Column name
cmid
toolbricarea_cat_ix
Column name
categoryid
toolbricarea_con_ix
Column name
contextid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_brickfield_cache_acts
Description
Contains accessibility summary information per activity.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
status
TINYINT
1
component
VARCHAR
64
totalactivities
BIGINT
10
failedactivities
BIGINT
10
passedactivities
BIGINT
10
errorcount
BIGINT
10
Indexes
toolbriccachacts_sta_ix
Column name
status
toolbriccachacts_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_brickfield_cache_check
Description
Contains accessibility summary information per check.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
status
TINYINT
1
checkid
BIGINT
10
checkcount
BIGINT
10
errorcount
BIGINT
10
Indexes
toolbriccachchec_sta_ix
Column name
status
toolbriccachchec_err_ix
Column name
errorcount
toolbriccachchec_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_brickfield_checks
Description
Checks details
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
checktype
VARCHAR
64
shortname
VARCHAR
64
checkgroup
BIGINT
16
Default value
0
status
SMALLINT
4
Yes
severity
TINYINT
2
Yes
Default value
0
Indexes
toolbricchec_che_ix
Column name
checktype
toolbricchec_che2_ix
Column name
checkgroup
toolbricchec_sta_ix
Column name
status
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_brickfield_content
Description
Content of an area at a particular time (recognised by a has
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
areaid
BIGINT
10
Yes
contenthash
VARCHAR
40
Yes
Default value
''
iscurrent
TINYINT
1
Yes
Default value
0
status
TINYINT
2
Yes
Default value
0
timecreated
BIGINT
10
Yes
timechecked
BIGINT
10
Indexes
toolbriccont_sta_ix
Column name
status
toolbriccont_iscare_ix
Column name
iscurrent
Column name
areaid
toolbriccont_are_ix
Column name
areaid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_brickfield_errors
Description
Errors during the accessibility checks
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
resultid
BIGINT
10
Yes
linenumber
BIGINT
10
Yes
Default value
0
errordata
LONGTEXT
htmlcode
LONGTEXT
Indexes
toolbricerro_res_ix
Column name
resultid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_brickfield_process
Description
Queued records to initiate new processing of specific target
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
item
VARCHAR
64
contextid
BIGINT
10
innercontextid
BIGINT
10
timecreated
BIGINT
16
timecompleted
BIGINT
16
Indexes
toolbricproc_tim_ix
Column name
timecompleted
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_brickfield_results
Description
Results of the accessibility checks
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contentid
BIGINT
10
checkid
BIGINT
10
Yes
errorcount
BIGINT
10
Yes
Default value
0
Indexes
toolbricresu_conche_ix
Column name
contentid
Column name
checkid
toolbricresu_con_ix
Column name
contentid
toolbricresu_che_ix
Column name
checkid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_brickfield_schedule
Description
Keeps the per course content analysis schedule.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextlevel
BIGINT
10
Yes
Default value
50
instanceid
BIGINT
10
Yes
contextid
BIGINT
10
status
TINYINT
2
Yes
Default value
0
timeanalyzed
BIGINT
10
Default value
0
timemodified
BIGINT
10
Default value
0
Indexes
toolbricsche_sta_ix
Column name
status
Keys
PRIMARY
Column in PRIMARY
id
toolbricsche_conins_uix
Column in toolbricsche_conins_uix
contextlevel
Column in toolbricsche_conins_uix
instanceid
Name
tool_brickfield_summary
Description
Contains accessibility check results summary information.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
status
TINYINT
1
activities
BIGINT
10
activitiespassed
BIGINT
10
activitiesfailed
BIGINT
10
errorschecktype1
BIGINT
10
errorschecktype2
BIGINT
10
errorschecktype3
BIGINT
10
errorschecktype4
BIGINT
10
errorschecktype5
BIGINT
10
errorschecktype6
BIGINT
10
errorschecktype7
BIGINT
10
failedchecktype1
BIGINT
10
failedchecktype2
BIGINT
10
failedchecktype3
BIGINT
10
failedchecktype4
BIGINT
10
failedchecktype5
BIGINT
10
failedchecktype6
BIGINT
10
failedchecktype7
BIGINT
10
percentchecktype1
BIGINT
10
percentchecktype2
BIGINT
10
percentchecktype3
BIGINT
10
percentchecktype4
BIGINT
10
percentchecktype5
BIGINT
10
percentchecktype6
BIGINT
10
percentchecktype7
BIGINT
10
Indexes
toolbricsumm_sta_ix
Column name
status
toolbricsumm_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_cohortroles
Description
Mapping of users to cohort role assignments.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
cohortid
BIGINT
10
Yes
roleid
BIGINT
10
Yes
userid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
usermodified
BIGINT
10
Keys
PRIMARY
Column in PRIMARY
id
toolcoho_cohroluse_uix
Column in toolcoho_cohroluse_uix
cohortid
Column in toolcoho_cohroluse_uix
roleid
Column in toolcoho_cohroluse_uix
userid
Name
tool_customlang
Description
Contains the working checkout of all strings and their custo
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
lang
VARCHAR
20
Yes
Default value
''
componentid
BIGINT
10
Yes
stringid
VARCHAR
255
Yes
Default value
''
original
LONGTEXT
Yes
master
LONGTEXT
local
LONGTEXT
timemodified
BIGINT
10
Yes
timecustomized
BIGINT
10
outdated
SMALLINT
3
Default value
0
modified
SMALLINT
3
Default value
0
Indexes
toolcust_com_ix
Column name
componentid
Keys
PRIMARY
Column in PRIMARY
id
toolcust_lancomstr_uix
Column in toolcust_lancomstr_uix
lang
Column in toolcust_lancomstr_uix
componentid
Column in toolcust_lancomstr_uix
stringid
Name
tool_customlang_components
Description
Contains the list of all installed plugins that provide thei
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
version
VARCHAR
255
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_dataprivacy_category
Description
Data categories
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
100
Yes
Default value
''
description
LONGTEXT
descriptionformat
TINYINT
1
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_dataprivacy_ctxexpired
Description
Default comment for the table, please edit me
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
unexpiredroles
LONGTEXT
expiredroles
LONGTEXT
defaultexpired
TINYINT
1
Yes
status
TINYINT
2
Yes
Default value
0
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Keys
PRIMARY
Column in PRIMARY
id
tooldatactxe_con_uix
Column in tooldatactxe_con_uix
contextid
Name
tool_dataprivacy_ctxinstance
Description
Default comment for the table, please edit me
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextid
BIGINT
10
Yes
purposeid
BIGINT
10
categoryid
BIGINT
10
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
tooldatactxi_pur_ix
Column name
purposeid
tooldatactxi_cat_ix
Column name
categoryid
Keys
PRIMARY
Column in PRIMARY
id
tooldatactxi_con_uix
Column in tooldatactxi_con_uix
contextid
Name
tool_dataprivacy_ctxlevel
Description
Default comment for the table, please edit me
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
contextlevel
SMALLINT
3
Yes
purposeid
BIGINT
10
categoryid
BIGINT
10
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
tooldatactxl_cat_ix
Column name
categoryid
tooldatactxl_pur_ix
Column name
purposeid
Keys
PRIMARY
Column in PRIMARY
id
tooldatactxl_con_uix
Column in tooldatactxl_con_uix
contextlevel
Name
tool_dataprivacy_purpose
Description
Data purposes
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
100
Yes
Default value
''
description
LONGTEXT
descriptionformat
TINYINT
1
lawfulbases
LONGTEXT
Yes
sensitivedatareasons
LONGTEXT
retentionperiod
VARCHAR
255
Yes
Default value
''
protected
TINYINT
1
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_dataprivacy_purposerole
Description
Data purpose overrides for a specific role
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
purposeid
BIGINT
10
Yes
roleid
BIGINT
10
Yes
lawfulbases
LONGTEXT
sensitivedatareasons
LONGTEXT
retentionperiod
VARCHAR
255
Yes
Default value
''
protected
TINYINT
1
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
tooldatapurp_pur_ix
Column name
purposeid
tooldatapurp_rol_ix
Column name
roleid
tooldatapurp_use_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
tooldatapurp_purrol_uix
Column in tooldatapurp_purrol_uix
purposeid
Column in tooldatapurp_purrol_uix
roleid
Name
tool_dataprivacy_request
Description
Table for data requests
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
type
BIGINT
10
Yes
Default value
0
comments
LONGTEXT
commentsformat
TINYINT
2
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
requestedby
BIGINT
10
Yes
Default value
0
status
TINYINT
2
Yes
Default value
0
dpo
BIGINT
10
Default value
0
dpocomment
LONGTEXT
dpocommentformat
TINYINT
2
Yes
Default value
0
systemapproved
SMALLINT
4
Yes
Default value
0
usermodified
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
creationmethod
BIGINT
10
Yes
Default value
0
Indexes
tooldatarequ_use_ix
Column name
userid
tooldatarequ_req_ix
Column name
requestedby
tooldatarequ_dpo_ix
Column name
dpo
tooldatarequ_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_monitor_events
Description
A table that keeps a log of events related to subscriptions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
eventname
VARCHAR
254
Yes
Default value
''
contextid
BIGINT
10
Yes
contextlevel
BIGINT
10
Yes
contextinstanceid
BIGINT
10
Yes
link
VARCHAR
254
Yes
Default value
''
courseid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
Indexes
toolmonieven_cou_ix
Column name
courseid
toolmonieven_con_ix
Column name
contextid
toolmonieven_con2_ix
Column name
contextinstanceid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_monitor_history
Description
Table to store history of message notifications sent
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
sid
BIGINT
10
Yes
userid
BIGINT
10
Yes
timesent
BIGINT
10
Yes
Indexes
toolmonihist_sid_ix
Column name
sid
Keys
PRIMARY
Column in PRIMARY
id
toolmonihist_sidusetim_uix
Column in toolmonihist_sidusetim_uix
sid
Column in toolmonihist_sidusetim_uix
userid
Column in toolmonihist_sidusetim_uix
timesent
Name
tool_monitor_rules
Description
Table to store rules
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
description
LONGTEXT
descriptionformat
TINYINT
1
Yes
name
VARCHAR
254
Yes
Default value
''
userid
BIGINT
10
Yes
courseid
BIGINT
10
Yes
plugin
VARCHAR
254
Yes
Default value
''
eventname
VARCHAR
254
Yes
Default value
''
template
LONGTEXT
Yes
templateformat
TINYINT
1
Yes
frequency
SMALLINT
4
Yes
timewindow
MEDIUMINT
5
Yes
timemodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
Indexes
toolmonirule_couuse_ix
Column name
courseid
Column name
userid
toolmonirule_eve_ix
Column name
eventname
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_monitor_subscriptions
Description
Table to store user subscriptions to various rules
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
ruleid
BIGINT
10
Yes
cmid
BIGINT
10
Yes
userid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
lastnotificationsent
BIGINT
10
Yes
Default value
0
inactivedate
BIGINT
10
Yes
Default value
0
Indexes
toolmonisubs_couuse_ix
Column name
courseid
Column name
userid
toolmonisubs_rul_ix
Column name
ruleid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_policy
Description
Contains the list of policy documents defined on the site.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
sortorder
MEDIUMINT
5
Yes
Default value
999
currentversionid
BIGINT
10
Indexes
toolpoli_cur_ix
Column name
currentversionid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_policy_acceptances
Description
Tracks users accepting the policy versions
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
policyversionid
BIGINT
10
Yes
userid
BIGINT
10
Yes
status
TINYINT
1
lang
VARCHAR
30
Yes
Default value
''
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
note
LONGTEXT
Indexes
toolpoliacce_pol_ix
Column name
policyversionid
toolpoliacce_use_ix
Column name
userid
toolpoliacce_use2_ix
Column name
usermodified
Keys
PRIMARY
Column in PRIMARY
id
toolpoliacce_poluse_uix
Column in toolpoliacce_poluse_uix
policyversionid
Column in toolpoliacce_poluse_uix
userid
Name
tool_policy_versions
Description
Holds versions of the policy documents
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
1333
Yes
Default value
''
type
SMALLINT
3
Yes
Default value
0
audience
SMALLINT
3
Yes
Default value
0
archived
SMALLINT
3
Yes
Default value
0
usermodified
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
policyid
BIGINT
10
Yes
agreementstyle
SMALLINT
3
Yes
Default value
0
optional
SMALLINT
3
Yes
Default value
0
revision
VARCHAR
1333
Yes
Default value
''
summary
LONGTEXT
Yes
summaryformat
SMALLINT
3
Yes
content
LONGTEXT
Yes
contentformat
SMALLINT
3
Yes
Indexes
toolpolivers_use_ix
Column name
usermodified
toolpolivers_pol_ix
Column name
policyid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_recyclebin_category
Description
A list of items in the category recycle bin
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
categoryid
BIGINT
10
Yes
shortname
VARCHAR
255
Yes
Default value
''
fullname
VARCHAR
255
Yes
Default value
''
timecreated
BIGINT
10
Yes
Indexes
toolrecycate_tim_ix
Column name
timecreated
toolrecycate_cat_ix
Column name
categoryid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_recyclebin_course
Description
A list of items in the course recycle bin
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
courseid
BIGINT
10
Yes
section
BIGINT
10
Yes
module
BIGINT
10
Yes
name
VARCHAR
255
timecreated
BIGINT
10
Yes
Default value
0
Indexes
toolrecycour_tim_ix
Column name
timecreated
toolrecycour_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_usertours_steps
Description
Steps in an tour
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
tourid
BIGINT
10
Yes
title
LONGTEXT
content
LONGTEXT
contentformat
SMALLINT
4
Yes
Default value
0
targettype
TINYINT
2
Yes
targetvalue
LONGTEXT
Yes
sortorder
BIGINT
10
Yes
Default value
0
configdata
LONGTEXT
Yes
Indexes
tooluserstep_tousor_ix
Column name
tourid
Column name
sortorder
tooluserstep_tou_ix
Column name
tourid
Keys
PRIMARY
Column in PRIMARY
id
Name
tool_usertours_tours
Description
List of tours
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
description
LONGTEXT
pathmatch
VARCHAR
255
enabled
TINYINT
1
Yes
Default value
0
sortorder
BIGINT
10
Yes
Default value
0
endtourlabel
VARCHAR
255
configdata
LONGTEXT
Yes
displaystepnumbers
TINYINT
1
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
upgrade_log
Description
Upgrade logging
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
type
BIGINT
10
Yes
plugin
VARCHAR
100
version
VARCHAR
100
targetversion
VARCHAR
100
info
VARCHAR
255
Yes
Default value
''
details
LONGTEXT
backtrace
LONGTEXT
userid
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
upgrlog_tim_ix
Column name
timemodified
upgrlog_typtim_ix
Column name
type
Column name
timemodified
upgrlog_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
url
Description
each record is one url resource
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
externalurl
LONGTEXT
Yes
display
SMALLINT
4
Yes
Default value
0
displayoptions
LONGTEXT
parameters
LONGTEXT
timemodified
BIGINT
10
Yes
Default value
0
Indexes
url_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
user
Description
One record for each person
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
auth
VARCHAR
20
Yes
Default value
'manual'
confirmed
TINYINT
1
Yes
Default value
0
policyagreed
TINYINT
1
Yes
Default value
0
deleted
TINYINT
1
Yes
Default value
0
suspended
TINYINT
1
Yes
Default value
0
mnethostid
BIGINT
10
Yes
Default value
0
username
VARCHAR
100
Yes
Default value
''
password
VARCHAR
255
Yes
Default value
''
idnumber
VARCHAR
255
Yes
Default value
''
firstname
VARCHAR
100
Yes
Default value
''
lastname
VARCHAR
100
Yes
Default value
''
email
VARCHAR
100
Yes
Default value
''
emailstop
TINYINT
1
Yes
Default value
0
phone1
VARCHAR
20
Yes
Default value
''
phone2
VARCHAR
20
Yes
Default value
''
institution
VARCHAR
255
Yes
Default value
''
department
VARCHAR
255
Yes
Default value
''
address
VARCHAR
255
Yes
Default value
''
city
VARCHAR
120
Yes
Default value
''
country
VARCHAR
2
Yes
Default value
''
lang
VARCHAR
30
Yes
Default value
'en'
calendartype
VARCHAR
30
Yes
Default value
'gregorian'
theme
VARCHAR
50
Yes
Default value
''
timezone
VARCHAR
100
Yes
Default value
'99'
firstaccess
BIGINT
10
Yes
Default value
0
lastaccess
BIGINT
10
Yes
Default value
0
lastlogin
BIGINT
10
Yes
Default value
0
currentlogin
BIGINT
10
Yes
Default value
0
lastip
VARCHAR
45
Yes
Default value
''
secret
VARCHAR
15
Yes
Default value
''
picture
BIGINT
10
Yes
Default value
0
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
1
mailformat
TINYINT
1
Yes
Default value
1
maildigest
TINYINT
1
Yes
Default value
0
maildisplay
TINYINT
2
Yes
Default value
2
autosubscribe
TINYINT
1
Yes
Default value
1
trackforums
TINYINT
1
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
trustbitmask
BIGINT
10
Yes
Default value
0
imagealt
VARCHAR
255
lastnamephonetic
VARCHAR
255
firstnamephonetic
VARCHAR
255
middlename
VARCHAR
255
alternatename
VARCHAR
255
moodlenetprofile
VARCHAR
255
Indexes
user_del_ix
Column name
deleted
user_con_ix
Column name
confirmed
user_fir_ix
Column name
firstname
user_las_ix
Column name
lastname
user_cit_ix
Column name
city
user_cou_ix
Column name
country
user_las2_ix
Column name
lastaccess
user_ema_ix
Column name
email
user_aut_ix
Column name
auth
user_idn_ix
Column name
idnumber
user_fir2_ix
Column name
firstnamephonetic
user_las3_ix
Column name
lastnamephonetic
user_mid_ix
Column name
middlename
user_alt_ix
Column name
alternatename
Keys
PRIMARY
Column in PRIMARY
id
user_mneuse_uix
Column in user_mneuse_uix
mnethostid
Column in user_mneuse_uix
username
Name
user_devices
Description
This table stores user's mobile devices information in order
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
appid
VARCHAR
128
Yes
Default value
''
name
VARCHAR
32
Yes
Default value
''
model
VARCHAR
32
Yes
Default value
''
platform
VARCHAR
32
Yes
Default value
''
version
VARCHAR
32
Yes
Default value
''
pushid
VARCHAR
255
Yes
Default value
''
uuid
VARCHAR
255
Yes
Default value
''
publickey
LONGTEXT
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
Indexes
userdevi_uuiuse_ix
Column name
uuid
Column name
userid
userdevi_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
userdevi_pususe_uix
Column in userdevi_pususe_uix
pushid
Column in userdevi_pususe_uix
userid
Name
user_enrolments
Description
Users participating in courses (aka enrolled users) - everyb
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
status
BIGINT
10
Yes
Default value
0
enrolid
BIGINT
10
Yes
userid
BIGINT
10
Yes
timestart
BIGINT
10
Yes
Default value
0
timeend
BIGINT
10
Yes
Default value
2147483647
modifierid
BIGINT
10
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
Indexes
userenro_enr_ix
Column name
enrolid
userenro_use_ix
Column name
userid
userenro_mod_ix
Column name
modifierid
Keys
PRIMARY
Column in PRIMARY
id
userenro_enruse_uix
Column in userenro_enruse_uix
enrolid
Column in userenro_enruse_uix
userid
Name
user_info_category
Description
Customisable fields categories
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
name
VARCHAR
255
Yes
Default value
''
sortorder
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
user_info_data
Description
Data for the customisable user fields
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
fieldid
BIGINT
10
Yes
Default value
0
data
LONGTEXT
Yes
dataformat
TINYINT
2
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
userinfodata_usefie_uix
Column in userinfodata_usefie_uix
userid
Column in userinfodata_usefie_uix
fieldid
Name
user_info_field
Description
Customisable user profile fields
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
shortname
VARCHAR
255
Yes
Default value
'shortname'
name
LONGTEXT
Yes
datatype
VARCHAR
255
Yes
Default value
''
description
LONGTEXT
descriptionformat
TINYINT
2
Yes
Default value
0
categoryid
BIGINT
10
Yes
Default value
0
sortorder
BIGINT
10
Yes
Default value
0
required
TINYINT
2
Yes
Default value
0
locked
TINYINT
2
Yes
Default value
0
visible
SMALLINT
4
Yes
Default value
0
forceunique
TINYINT
2
Yes
Default value
0
signup
TINYINT
2
Yes
Default value
0
defaultdata
LONGTEXT
defaultdataformat
TINYINT
2
Yes
Default value
0
param1
LONGTEXT
param2
LONGTEXT
param3
LONGTEXT
param4
LONGTEXT
param5
LONGTEXT
Keys
PRIMARY
Column in PRIMARY
id
Name
user_lastaccess
Description
To keep track of course page access times, used in online pa
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
courseid
BIGINT
10
Yes
Default value
0
timeaccess
BIGINT
10
Yes
Default value
0
Indexes
userlast_use_ix
Column name
userid
userlast_cou_ix
Column name
courseid
Keys
PRIMARY
Column in PRIMARY
id
userlast_usecou_uix
Column in userlast_usecou_uix
userid
Column in userlast_usecou_uix
courseid
Name
user_password_history
Description
A rotating log of hashes of previously used passwords for ea
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
hash
VARCHAR
255
Yes
Default value
''
timecreated
BIGINT
10
Yes
Indexes
userpasshist_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
user_password_resets
Description
table tracking password reset confirmation tokens
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
timerequested
BIGINT
10
Yes
timererequested
BIGINT
10
Yes
Default value
0
token
VARCHAR
32
Yes
Default value
''
Indexes
userpassrese_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
user_preferences
Description
Allows modules to store arbitrary user preferences
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
userid
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
''
value
VARCHAR
1333
Yes
Default value
''
Indexes
userpref_nam_ix
Column name
name
Keys
PRIMARY
Column in PRIMARY
id
userpref_usenam_uix
Column in userpref_usenam_uix
userid
Column in userpref_usenam_uix
name
Name
user_private_key
Description
access keys used in cookieless scripts - rss, etc.
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
script
VARCHAR
128
Yes
Default value
''
value
VARCHAR
128
Yes
Default value
''
userid
BIGINT
10
Yes
instance
BIGINT
10
iprestriction
VARCHAR
255
validuntil
BIGINT
10
timecreated
BIGINT
10
Indexes
userprivkey_scrval_ix
Column name
script
Column name
value
userprivkey_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
Name
wiki
Description
Stores Wiki activity configuration
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
Default value
0
name
VARCHAR
255
Yes
Default value
'Wiki'
intro
LONGTEXT
introformat
SMALLINT
4
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
firstpagetitle
VARCHAR
255
Yes
Default value
'First Page'
wikimode
VARCHAR
20
Yes
Default value
'collaborative'
defaultformat
VARCHAR
20
Yes
Default value
'creole'
forceformat
TINYINT
1
Yes
Default value
1
editbegin
BIGINT
10
Yes
Default value
0
editend
BIGINT
10
Default value
0
Indexes
wiki_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
wiki_links
Description
Page wiki links
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
subwikiid
BIGINT
10
Yes
Default value
0
frompageid
BIGINT
10
Yes
Default value
0
topageid
BIGINT
10
Yes
Default value
0
tomissingpage
VARCHAR
255
Indexes
wikilink_fro_ix
Column name
frompageid
wikilink_sub_ix
Column name
subwikiid
Keys
PRIMARY
Column in PRIMARY
id
Name
wiki_locks
Description
Manages page locks
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
pageid
BIGINT
10
Yes
Default value
0
sectionname
VARCHAR
255
userid
BIGINT
10
Yes
Default value
0
lockedat
BIGINT
10
Yes
Default value
0
Keys
PRIMARY
Column in PRIMARY
id
Name
wiki_pages
Description
Stores wiki pages
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
subwikiid
BIGINT
10
Yes
Default value
0
title
VARCHAR
255
Yes
Default value
'title'
cachedcontent
LONGTEXT
Yes
timecreated
BIGINT
10
Yes
Default value
0
timemodified
BIGINT
10
Yes
Default value
0
timerendered
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
pageviews
BIGINT
10
Yes
Default value
0
readonly
TINYINT
1
Yes
Default value
0
Indexes
wikipage_sub_ix
Column name
subwikiid
Keys
PRIMARY
Column in PRIMARY
id
wikipage_subtituse_uix
Column in wikipage_subtituse_uix
subwikiid
Column in wikipage_subtituse_uix
title
Column in wikipage_subtituse_uix
userid
Name
wiki_subwikis
Description
Stores subwiki instances
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
wikiid
BIGINT
10
Yes
Default value
0
groupid
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
Indexes
wikisubw_wik_ix
Column name
wikiid
Keys
PRIMARY
Column in PRIMARY
id
wikisubw_wikgrouse_uix
Column in wikisubw_wikgrouse_uix
wikiid
Column in wikisubw_wikgrouse_uix
groupid
Column in wikisubw_wikgrouse_uix
userid
Name
wiki_synonyms
Description
Stores wiki pages synonyms
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
subwikiid
BIGINT
10
Yes
Default value
0
pageid
BIGINT
10
Yes
Default value
0
pagesynonym
VARCHAR
255
Yes
Default value
'Pagesynonym'
Keys
PRIMARY
Column in PRIMARY
id
wikisyno_pagpag_uix
Column in wikisyno_pagpag_uix
pageid
Column in wikisyno_pagpag_uix
pagesynonym
Name
wiki_versions
Description
Stores wiki page history
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
pageid
BIGINT
10
Yes
Default value
0
content
LONGTEXT
Yes
contentformat
VARCHAR
20
Yes
Default value
'creole'
version
MEDIUMINT
5
Yes
Default value
0
timecreated
BIGINT
10
Yes
Default value
0
userid
BIGINT
10
Yes
Default value
0
Indexes
wikivers_pag_ix
Column name
pageid
Keys
PRIMARY
Column in PRIMARY
id
Name
workshop
Description
This table keeps information about the module instances and
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
course
BIGINT
10
Yes
name
VARCHAR
255
Yes
Default value
''
intro
LONGTEXT
introformat
SMALLINT
3
Yes
Default value
0
instructauthors
LONGTEXT
instructauthorsformat
SMALLINT
3
Yes
Default value
0
instructreviewers
LONGTEXT
instructreviewersformat
SMALLINT
3
Yes
Default value
0
timemodified
BIGINT
10
Yes
phase
SMALLINT
3
Default value
0
useexamples
TINYINT
2
Default value
0
usepeerassessment
TINYINT
2
Default value
0
useselfassessment
TINYINT
2
Default value
0
grade
DECIMAL
10,5
Default value
80.00000
gradinggrade
DECIMAL
10,5
Default value
20.00000
strategy
VARCHAR
30
Yes
Default value
''
evaluation
VARCHAR
30
Yes
Default value
''
gradedecimals
SMALLINT
3
Default value
0
submissiontypetext
TINYINT
1
Yes
Default value
1
submissiontypefile
TINYINT
1
Yes
Default value
1
nattachments
SMALLINT
3
Default value
1
submissionfiletypes
VARCHAR
255
latesubmissions
TINYINT
2
Default value
0
maxbytes
BIGINT
10
Default value
100000
examplesmode
SMALLINT
3
Default value
0
submissionstart
BIGINT
10
Default value
0
submissionend
BIGINT
10
Default value
0
assessmentstart
BIGINT
10
Default value
0
assessmentend
BIGINT
10
Default value
0
phaseswitchassessment
TINYINT
2
Yes
Default value
0
conclusion
LONGTEXT
conclusionformat
SMALLINT
3
Yes
Default value
1
overallfeedbackmode
SMALLINT
3
Default value
1
overallfeedbackfiles
SMALLINT
3
Default value
0
overallfeedbackfiletypes
VARCHAR
255
overallfeedbackmaxbytes
BIGINT
10
Default value
100000
Indexes
work_cou_ix
Column name
course
Keys
PRIMARY
Column in PRIMARY
id
Name
workshopallocation_scheduled
Description
Stores the allocation settings for the scheduled allocator
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
enabled
TINYINT
2
Yes
Default value
0
submissionend
BIGINT
10
Yes
timeallocated
BIGINT
10
settings
LONGTEXT
resultstatus
BIGINT
10
resultmessage
VARCHAR
1333
resultlog
LONGTEXT
Keys
PRIMARY
Column in PRIMARY
id
worksche_wor_uix
Column in worksche_wor_uix
workshopid
Name
workshopeval_best_settings
Description
Settings for the grading evaluation subplugin Comparison wit
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
comparison
SMALLINT
3
Default value
5
Keys
PRIMARY
Column in PRIMARY
id
workbestsett_wor_uix
Column in workbestsett_wor_uix
workshopid
Name
workshopform_accumulative
Description
The assessment dimensions definitions of Accumulative gradin
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
sort
BIGINT
10
Default value
0
description
LONGTEXT
descriptionformat
SMALLINT
3
Default value
0
grade
BIGINT
10
Yes
weight
MEDIUMINT
5
Default value
1
Indexes
workaccu_wor_ix
Column name
workshopid
Keys
PRIMARY
Column in PRIMARY
id
Name
workshopform_comments
Description
The assessment dimensions definitions of Comments strategy f
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
sort
BIGINT
10
Default value
0
description
LONGTEXT
descriptionformat
SMALLINT
3
Default value
0
Indexes
workcomm_wor_ix
Column name
workshopid
Keys
PRIMARY
Column in PRIMARY
id
Name
workshopform_numerrors
Description
The assessment dimensions definitions of Number of errors gr
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
sort
BIGINT
10
Default value
0
description
LONGTEXT
descriptionformat
SMALLINT
3
Default value
0
descriptiontrust
BIGINT
10
grade0
VARCHAR
50
grade1
VARCHAR
50
weight
MEDIUMINT
5
Default value
1
Indexes
worknume_wor_ix
Column name
workshopid
Keys
PRIMARY
Column in PRIMARY
id
Name
workshopform_numerrors_map
Description
This maps the number of errors to a percentual grade for sub
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
nonegative
BIGINT
10
Yes
grade
DECIMAL
10,5
Yes
Indexes
worknumemap_wor_ix
Column name
workshopid
Keys
PRIMARY
Column in PRIMARY
id
worknumemap_wornon_uix
Column in worknumemap_wornon_uix
workshopid
Column in worknumemap_wornon_uix
nonegative
Name
workshopform_rubric
Description
The assessment dimensions definitions of Rubric grading stra
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
sort
BIGINT
10
Default value
0
description
LONGTEXT
descriptionformat
SMALLINT
3
Default value
0
Indexes
workrubr_wor_ix
Column name
workshopid
Keys
PRIMARY
Column in PRIMARY
id
Name
workshopform_rubric_config
Description
Configuration table for the Rubric grading strategy
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
layout
VARCHAR
30
Default value
'list'
Keys
PRIMARY
Column in PRIMARY
id
workrubrconf_wor_uix
Column in workrubrconf_wor_uix
workshopid
Name
workshopform_rubric_levels
Description
The definition of rubric rating scales
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
dimensionid
BIGINT
10
Yes
grade
DECIMAL
10,5
Yes
definition
LONGTEXT
definitionformat
SMALLINT
3
Default value
0
Indexes
workrubrleve_dim_ix
Column name
dimensionid
Keys
PRIMARY
Column in PRIMARY
id
Name
workshop_aggregations
Description
Aggregated grades for assessment are stored here. The aggreg
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
userid
BIGINT
10
Yes
gradinggrade
DECIMAL
10,5
timegraded
BIGINT
10
Indexes
workaggr_wor_ix
Column name
workshopid
workaggr_use_ix
Column name
userid
Keys
PRIMARY
Column in PRIMARY
id
workaggr_woruse_uix
Column in workaggr_woruse_uix
workshopid
Column in workaggr_woruse_uix
userid
Name
workshop_assessments
Description
Info about the made assessment and automatically calculated
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
submissionid
BIGINT
10
Yes
reviewerid
BIGINT
10
Yes
weight
BIGINT
10
Yes
Default value
1
timecreated
BIGINT
10
Default value
0
timemodified
BIGINT
10
Default value
0
grade
DECIMAL
10,5
gradinggrade
DECIMAL
10,5
gradinggradeover
DECIMAL
10,5
gradinggradeoverby
BIGINT
10
feedbackauthor
LONGTEXT
feedbackauthorformat
SMALLINT
3
Default value
0
feedbackauthorattachment
SMALLINT
3
Default value
0
feedbackreviewer
LONGTEXT
feedbackreviewerformat
SMALLINT
3
Default value
0
Indexes
workasse_sub_ix
Column name
submissionid
workasse_gra_ix
Column name
gradinggradeoverby
workasse_rev_ix
Column name
reviewerid
Keys
PRIMARY
Column in PRIMARY
id
Name
workshop_grades
Description
How the reviewers filled-up the grading forms, given grades
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
assessmentid
BIGINT
10
Yes
strategy
VARCHAR
30
Yes
Default value
''
dimensionid
BIGINT
10
Yes
grade
DECIMAL
10,5
peercomment
LONGTEXT
peercommentformat
SMALLINT
3
Default value
0
Indexes
workgrad_ass_ix
Column name
assessmentid
Keys
PRIMARY
Column in PRIMARY
id
workgrad_assstrdim_uix
Column in workgrad_assstrdim_uix
assessmentid
Column in workgrad_assstrdim_uix
strategy
Column in workgrad_assstrdim_uix
dimensionid
Name
workshop_submissions
Description
Info about the submission and the aggregation of the grade f
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
workshopid
BIGINT
10
Yes
example
TINYINT
2
Default value
0
authorid
BIGINT
10
Yes
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Yes
title
VARCHAR
255
Yes
Default value
''
content
LONGTEXT
contentformat
SMALLINT
3
Yes
Default value
0
contenttrust
SMALLINT
3
Yes
Default value
0
attachment
TINYINT
2
Default value
0
grade
DECIMAL
10,5
gradeover
DECIMAL
10,5
gradeoverby
BIGINT
10
feedbackauthor
LONGTEXT
feedbackauthorformat
SMALLINT
3
Default value
0
timegraded
BIGINT
10
published
TINYINT
2
Default value
0
late
TINYINT
2
Yes
Default value
0
Indexes
worksubm_wor_ix
Column name
workshopid
worksubm_gra_ix
Column name
gradeoverby
worksubm_aut_ix
Column name
authorid
Keys
PRIMARY
Column in PRIMARY
id
Name
xapi_states
Description
The stored xAPI states
Properties
Database
moodle
Engine
InnoDB
Row format
Compressed
Collation
utf8mb4_general_ci
Char set
utf8mb4
Columns
Name
Data type
Param
Key
Not Null
id
BIGINT
10
Yes
Yes
Autoincrement
Yes
component
VARCHAR
255
Yes
Default value
''
userid
BIGINT
10
itemid
BIGINT
10
Yes
stateid
VARCHAR
255
Yes
Default value
''
statedata
LONGTEXT
registration
VARCHAR
255
timecreated
BIGINT
10
Yes
timemodified
BIGINT
10
Indexes
xapistat_comite_ix
Column name
component
Column name
itemid
xapistat_use_ix
Column name
userid
xapistat_tim_ix
Column name
timemodified
Keys
PRIMARY
Column in PRIMARY
id
Notes
Name
note1
Note

Entity Relationship Diagram

Name
note3
Note

Name
note2
Note

LUNA MODELER

WWW.DATENSEN.COM

Name
note4
Note

Moodle - MariaDB

Name
License
Note

License

Copyright in the Moodle software and documentation

The overall Moodle software package is Copyright © 1999 onwards, Martin Dougiamas with portions contributed/copyrighted by many others (see the Developer credits and the source code itself) and all of it is provided under the terms of the GPL. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License (for Moodle 1.x), version 3 of the License (for Moodle 2.x) or (at your option) any later version.


Use of Moodle Marks

The word Moodle and associated Moodle logos are trademarks or registered trademarks of Moodle Pty Ltd or its related affiliates. Permitted uses are stated on our website at http://moodle.com/trademarks and the Trademark Guidelines available there. Most importantly, without prior written permission from Moodle, you cannot use the word "Moodle" or any Moodle logos (nor any derivatives thereof, or any words or marks that are deceptively or confusingly similar) for any commercial purposes, or in ways that are likely to confuse consumers about the origin of the software, or to suggest that you are in any way associated with or endorsed by Moodle.

Name
GNU GENERAL PUBLIC LICENSE
Note
GNU General Public License version 3 (GPLv3) Tue, 2007-10-23 03:13 — nelson GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org/ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. “This License” refers to version 3 of the GNU General Public License. “Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. “The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations. To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. A “covered work” means either the unmodified Program or a work based on the Program. To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. Source Code. The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”. c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. “Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. Additional Terms. “Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. Patents. A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”. A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS