Columns

Columns

Table Type Column Type Size Nulls Auto Default Comments
task_scheduled Table lastruntime BIGINT 19 null
file_conversion Table converter VARCHAR 255 null
backup_courses Table laststarttime BIGINT 19 0
totara_userdata_export Table exporttypeid BIGINT 19 null
course_request Table reason LONGTEXT 2147483647 null
comp_template Table usermodified BIGINT 19 null
facetoface Table reservecanceldays INT 10 1

Number days before the session when all unconfirmed reservations are deleted

mnet_log Table action VARCHAR 40
filter_active Table filter VARCHAR 32

The filter internal name, like 'tex'.

chat_messages_current Table message LONGTEXT 2147483647 null
workshopallocation_scheduled Table settings LONGTEXT 2147483647 null

The pre-defined settings for the underlying random allocation to run it with

context_map Table parentid BIGINT 19 null

ID of parent context

totara_compl_import_cert Table customfields LONGTEXT 2147483647 null

Any custom field data

qtype_essay_options Table attachmentsrequired SMALLINT 5 0

The number of attachments that should be required

groupings_groups Table id BIGINT 19 null
question_answers Table feedback LONGTEXT 2147483647 null
course_completion_criteria Table courseinstance BIGINT 19 null

Course instance id (if using course criteria type)

pos_type_info_data_param Table id BIGINT 19 null
gradingform_rubric_fillings Table remark LONGTEXT 2147483647 null

Side note feedback regarding this particular criterion

goal_framework Table visible TINYINT 3 null
block_positions Table weight BIGINT 19 null

Used to order the blocks within a block region.

message_read Table id BIGINT 19 null
certificate Table printseal VARCHAR 255 0
totara_connect_sso_sessions Table sid VARCHAR 128

Session id of the user session on the TC server

events_queue_handlers Table handlerid BIGINT 19 null

foreign key id corresponding to the id of the event_handlers table

question_numerical_units Table unit VARCHAR 50

The unit. For example 'm' or 'kg'.

user Table timemodified BIGINT 19 0
profiling Table totalmemory BIGINT 19 null

Total memory used byt the run

rating Table userid BIGINT 19 null
facetoface_session_info_field Table hidden TINYINT 3 null
event Table modulename VARCHAR 20
data Table rssarticles SMALLINT 5 0
event_subscriptions Table pollinterval BIGINT 19 0

Frequency of checks for new/changed events

scorm Table id BIGINT 19 null
scorm_scoes Table parent VARCHAR 255
dp_plan_evidence_info_field Table defaultdata LONGTEXT 2147483647 null
quiz_statistics Table firstattemptsavg DECIMAL 15 null
feedback_completed_history Table anonymous_response BIT 1 0
grade_grades Table finalgrade DECIMAL 10 null

The final grade (cached) after all calculations are made

repository_opensesame_bps Table packageid BIGINT 19 null
repository_opensesame_pkgs Table visible BIT 1 1

Is this course package visible?

block_totara_featured_links_tiles Table parentid BIGINT 19 0

The tile that is the parent of this tile

block_totara_featured_links_tiles Table timecreated BIGINT 19 0

The tile that the tile was created

prog Table visible BIT 1 1
competency_coursecomp Table competencyid BIGINT 19 null

The competency that is linked to this course.

quiz Table timelimit BIGINT 19 0

The time limit for quiz attempts, in seconds.

facetoface_asset_info_field Table hidden TINYINT 3 null
dp_plan_course_assign Table completionstatus BIGINT 19 null

Stores the course completion status at the moment the plan is marked as complete. Set to null before the plan is complete.

course_modules Table course BIGINT 19 0
tool_monitor_events Table courseid BIGINT 19 null

course id

grade_outcomes_history Table descriptionformat TINYINT 3 0
block_zoola_reports Table type VARCHAR 20

Resource type: reportUnit or reportOptions

oauth2_system_account Table id BIGINT 19 null
mnet_host Table transport TINYINT 3 0
lesson_grades Table grade DOUBLE 22 0
comp_type_info_data Table id BIGINT 19 null
pos_competencies Table timecreated BIGINT 19 null
assignfeedback_editpdf_queue Table submissionid BIGINT 19 null
user Table msn VARCHAR 50
enrol_lti_users Table timecreated BIGINT 19 null

The time the user was created

lti_submission_history Table userid BIGINT 19 null
glossary_categories Table name VARCHAR 255
mnetservice_enrol_enrolments Table remotecourseid BIGINT 19 null

ID of the course at the remote server. Note that this may and may not be cached in our mnetservice_enrol_courses table, depends of whether the course is opened for remote enrolments or our student is the enrolled there via other plugin

goal_grp_org Table goalid BIGINT 19 null
grade_grades_history Table itemid BIGINT 19 null

The item this grade belongs to

qtype_match_options Table correctfeedback LONGTEXT 2147483647 null

Feedback shown for any correct response.

appraisal_user_assignment Table appraisalid BIGINT 19 null
scorm_seq_objective Table id BIGINT 19 null
auth_connect_ids Table timecreated BIGINT 19 null
tool_monitor_rules Table frequency SMALLINT 5 null

Frequency

course_categories Table path VARCHAR 255
user Table policyagreed BIT 1 0
dp_priority_scale_value Table sortorder BIGINT 19 null

Identifies the order scale values appear in

label Table introformat SMALLINT 5 0
mnet_session Table token VARCHAR 40

Unique SHA1 Token

reportbuilder_grp_org_user Table id BIGINT 19 null
qtype_ddimageortext Table questionid BIGINT 19 0
questionnaire_survey Table info LONGTEXT 2147483647 null
scorm Table scormtype VARCHAR 50 local

local, external or repository

dp_priority_scale_value Table timemodified BIGINT 19 null

Identifies the last time a scale value was modified

facetoface_notification Table scheduleamount BIT 1 null
pos Table shortname VARCHAR 100 null
competency Table timemodified BIGINT 19 null

The time this competency was last modified.

org_framework Table timemodified BIGINT 19 null
errorlog Table hash VARCHAR 32 null
local_ld_lastactivity Table id BIGINT 19 null
feedback360_scale_data Table feedback360questfieldid BIGINT 19 null
forum_read Table lastread BIGINT 19 0
gradingform_guide_criteria Table description LONGTEXT 2147483647 null

The criterion description for students

mnet_remote_rpc Table pluginname VARCHAR 20
qtype_essay_options Table responsetemplate LONGTEXT 2147483647 null

The template to pre-populate student's response field during attempt.

goal_scale Table usermodified BIGINT 19 null
event_subscriptions Table groupid BIGINT 19 0
cohort Table draftcollectionid BIGINT 19 null

Totara draft collection id from totara_cohort

goal_type_info_data Table data LONGTEXT 2147483647 null
auth_approved_request Table extradata LONGTEXT 2147483647 null
lesson_pages Table layout SMALLINT 5 1
course_info_data_param Table value VARCHAR 32
filter_config Table filter VARCHAR 32

The filter internal name, like 'tex'.

cohort Table calculationstatus TINYINT 3 1

Totara calculatio nstatus flag from totara_cohort

dp_plan_evidence_relation Table itemid BIGINT 19 null

Component ID

chat Table course BIGINT 19 0
competency_templatecohort Table usermodified BIGINT 19 null
block_community Table imageurl VARCHAR 255
feedback360_resp_assignment Table id BIGINT 19 null
post Table summary LONGTEXT 2147483647 null
appraisal_stage_role_setting Table locked BIT 1 0
grade_categories_history Table source VARCHAR 255 null

What caused the modification? manual/module/import/...

post Table attachment VARCHAR 100 null

attachment

report_builder Table embedded SMALLINT 5 0

Indicates whether the report is an embedded report. Set to 1 for embedded, 0 otherwise.

enrol Table customchar1 VARCHAR 255 null

Custom - general short name

totara_connect_clients Table clientcomment LONGTEXT 2147483647 null

Comment related to this client system

assignment_upgrade Table newcmid BIGINT 19 0
feedback360_grp_org Table feedback360id BIGINT 19 null
facetoface_signup_info_field Table datatype VARCHAR 255 null
facetoface_asset_info_data_param Table dataid BIGINT 19 null
lesson_pages Table qtype SMALLINT 5 0
totara_userdata_purge Table usercontextid BIGINT 19 null

User context id, we need the value here because user deletion removes user context record

wiki Table editbegin BIGINT 19 0

editbegin

grade_grades Table timecreated BIGINT 19 null

the time this grade was first created

page Table intro LONGTEXT 2147483647 null
course_completion_crit_compl Table id BIGINT 19 null
enrol_lti_users Table consumersecret LONGTEXT 2147483647 null
workshopform_numerrors Table descriptionformat SMALLINT 5 0

The format of the description field

course_modules Table indent MEDIUMINT 7 0
badge_backpack Table password VARCHAR 50 null
survey_answers Table question BIGINT 19 0
workshop Table maxbytes BIGINT 19 100000

Maximum size of the one attached file

dp_plan_evidence Table name VARCHAR 255

Name for this item of evidence

files Table license VARCHAR 255 null

license of the file to guide reuse

grade_grades_history Table rawscaleid BIGINT 19 null

If this grade is based on a scale, which one was it?

scorm Table md5hash VARCHAR 32

MD5 Hash of package file

prog_info_data Table data LONGTEXT 2147483647 null
workshopform_numerrors_map Table nonegative BIGINT 19 null

Number of negative responses given by the reviewer

facetoface_cancellation_info_field Table hidden TINYINT 3 null
glossary_formats Table showtabs VARCHAR 100 null
user Table calendartype VARCHAR 30 gregorian
reminder_sent Table timesent BIGINT 19 null
assign Table duedate BIGINT 19 0

The due date for the assignment. Displayed to students.

grade_items_history Table outcomeid BIGINT 19 null

If this grade is related to an outcome, which one is it?

competency_usercompplan Table proficiency TINYINT 3 null

Indicate if the competency is proficient not.

auth_approved_request Table firstnamephonetic VARCHAR 255 null

First name phonetic

portfolio_log Table returnurl VARCHAR 255

the original "returnurl" of the export - takes us to the moodle page we started from

role_capabilities Table capability VARCHAR 255
lti_submission Table state TINYINT 3 null
questionnaire_quest_choice Table content LONGTEXT 2147483647 null
mnet_service2rpc Table id BIGINT 19 null

Required ID field

block_quicklinks Table displaypos SMALLINT 5 0
tool_recyclebin_course Table timecreated BIGINT 19 0
grade_items Table plusfactor DECIMAL 10 0.00000

Add this to all grades

lti Table servicesalt VARCHAR 40 null
tool_sitepolicy_consent_options Table id BIGINT 19 null
qtype_randomsamatch_options Table correctfeedbackformat TINYINT 3 0
qtype_shortanswer_options Table id BIGINT 19 null
badge Table issuercontact VARCHAR 255 null
log Table id BIGINT 19 null
forum_discussions Table timeend BIGINT 19 0
grade_items_history Table loggeduser BIGINT 19 null

the userid of the person who last modified this outcome

lesson_attempts Table correct BIGINT 19 0
glossary_entries Table definition LONGTEXT 2147483647 null
facetoface_signup_info_field Table id BIGINT 19 null
page Table displayoptions LONGTEXT 2147483647 null
wiki_versions Table timecreated BIGINT 19 0

Page edition timestamp

assignfeedback_editpdf_queue Table submissionattempt BIGINT 19 null
tool_monitor_subscriptions Table id BIGINT 19 null
block_totara_featured_links_tiles Table visibility SMALLINT 5 0

What the base visibility option is

org_type_info_field Table param5 LONGTEXT 2147483647 null
workshopallocation_scheduled Table timeallocated BIGINT 19 null

When was the last scheduled allocation executed

grade_grades Table timemodified BIGINT 19 null

the time this grade was last modified

scorm_seq_mapinfo Table writenormalizedmeasure BIT 1 0
comp Table usermodified BIGINT 19 null
oauth2_issuer Table basicauth TINYINT 3 0

Use HTTP Basic authentication scheme when sending client ID and password

appraisal_scale_data Table appraisalroleassignmentid BIGINT 19 null
lesson_overrides Table lessonid BIGINT 19 0

Foreign key references lesson.id

question_ddwtos Table partiallycorrectfeedbackformat TINYINT 3 0
messageinbound_handlers Table validateaddress BIT 1 1

Whether to validate the sender address against the user record.

course Table coursetype SMALLINT 5 0

Totara course type from totara_core

question_calculated Table correctanswerformat BIGINT 19 2
competency_coursecompsetting Table timemodified BIGINT 19 null

The time this setting was last modified.

appraisal_event Table triggered BIT 1 0
glossary Table allowcomments TINYINT 3 0
wiki_versions Table version MEDIUMINT 7 0

Wiki page version

dp_plan_program_assign Table id BIGINT 19 null
competency_modulecomp Table sortorder BIGINT 19 null

The field used to naturally sort this link.

grade_items_history Table multfactor DECIMAL 10 1.00000

Multiply all grades by this

choice Table showunanswered TINYINT 3 0
org Table shortname VARCHAR 100 null
facetoface_sessioncancel_info_field Table locked TINYINT 3 null
mnet_session Table session_id VARCHAR 40

The PHP Session ID

workshopform_numerrors Table sort BIGINT 19 0

Defines the dimension order within the assessment form

totara_userdata_purge_type Table description LONGTEXT 2147483647 null

HTML text with description of purging type

goal_item_history Table timemodified BIGINT 19 null
tool_monitor_events Table id BIGINT 19 null
feedback_completedtmp Table userid BIGINT 19 0
lti Table intro LONGTEXT 2147483647 null

General introduction of the basiclti activity

my_pages Table sortorder MEDIUMINT 7 0

The order of the pages for a user

feedback360_quest_field Table defaultdata LONGTEXT 2147483647 null
event Table subscriptionid BIGINT 19 null

The event_subscription id this event is associated with.

lti_tool_settings Table timemodified BIGINT 19 null

Date/time at which the record was last modified

question_calculated_options Table question BIGINT 19 0
scorm_seq_rulecond Table ruleconditionsid BIGINT 19 0
competency_userevidencecomp Table competencyid BIGINT 19 null
questionnaire_question_type Table response_table VARCHAR 32 null
wiki_versions Table userid BIGINT 19 0

Edition autor

comp_scale_values Table sortorder BIGINT 19 null
totara_userdata_purge_type_item Table purgedata BIT 1 null

0 means item skipped during purging, 1 means data to be purged

competency_usercomp Table competencyid BIGINT 19 null

Competency associated to the user.

course_categories Table theme VARCHAR 50 null

Theme for the category

course_info_field Table hidden BIT 1 null
report_builder_graph Table timemodified BIGINT 19 0

udpated when graph changes

totara_compl_import_cert Table importerrormsg LONGTEXT 2147483647 null

Any error messages for this record

prog_exception Table programid BIGINT 19 0
enrol_lti_lti2_share_key Table autoapprove BIT 1 null
badge_criteria Table id BIGINT 19 null
assignfeedback_editpdf_annot Table type VARCHAR 10 line

line, oval, rect, etc.

comp_criteria Table competencyid BIGINT 19 null
lti_tool_proxies Table serviceoffered LONGTEXT 2147483647 null

List of services offered, one per line

workshop Table overallfeedbackmaxbytes BIGINT 19 100000

Maximum size of one file attached to the overall feedback.

files Table filesize BIGINT 19 null
block_zoola_reports_schedule Table id BIGINT 19 null
enrol_lti_lti2_consumer Table protected BIT 1 null
question_attempts Table timemodified BIGINT 19 null

The time this record was last changed.

events_handlers Table status BIGINT 19 0

number of failed attempts to process this handler

quiz_statistics Table whichattempts SMALLINT 5 null

bool used to indicate whether these stats are for all attempts or just for the first.

workshopform_rubric_levels Table id BIGINT 19 null
lti_tool_proxies Table id BIGINT 19 null
repository Table visible BIT 1 1
prog_courseset Table nextsetoperator SMALLINT 5 0
mnet_host2service Table serviceid BIGINT 19 0
facetoface_notification_tpl Table id BIGINT 19 null
cache_filters Table filter VARCHAR 32
grade_categories Table aggregation BIGINT 19 0

A constant pointing to one of the predefined aggregation strategies (none, mean,median,sum, etc)

dp_plan_history Table timemodified BIGINT 19 null

Modification time

quiz_statistics Table standarddeviation DECIMAL 15 null
questionnaire_survey Table courseid BIGINT 19 null
wiki Table forceformat BIT 1 1

Forces the default editor

dp_objective_scale_value Table sortorder BIGINT 19 null

Defines the order of the priority scale values

dp_plan Table id BIGINT 19 null
repository_opensesame_pkgs Table id BIGINT 19 null
course_categories Table programcount BIGINT 19 0

Totara program count from totara_program

certificate_issues_history Table timecreated BIGINT 19 0
facetoface_signups Table notificationtype BIGINT 19 null
report_builder_global_restriction Table timemodified BIGINT 19 null
cache_flags Table flagtype VARCHAR 255
dp_competency_settings Table autoassignpos SMALLINT 5 0
workshop Table nattachments SMALLINT 5 0

Number of required submission attachments

report_builder_filters Table advanced SMALLINT 5 0

If none zero then the filter is an advanced option

course_sections Table summaryformat TINYINT 3 0
choice Table allowupdate TINYINT 3 0
questionnaire_question Table length BIGINT 19 0
totara_userdata_user Table timesuspended BIGINT 19 null

Best guess when user was actually deleted

local_activityvisibility_que Table id BIGINT 19 null
totara_connect_client_pos_frameworks Table timecreated BIGINT 19 null
badge_backpack Table userid BIGINT 19 0
events_queue_handlers Table id BIGINT 19 null
enrol_lti_lti2_resource_link Table updated BIGINT 19 null
certificate Table gradefmt BIGINT 19 0
goal_record Table userid BIGINT 19 null
logstore_standard_log Table objectid BIGINT 19 null
course_request Table fullname VARCHAR 1333
questionnaire_fb_sections Table scorecalculation LONGTEXT 2147483647 null
workshop_submissions Table content LONGTEXT 2147483647 null

Submission text

facetoface_room_info_data_param Table id BIGINT 19 null
quiz_slots Table maxmark DECIMAL 12 0.0000000

How many marks this question contributes to quiz.sumgrades.

org Table usermodified BIGINT 19 null
competency_userevidencecomp Table timecreated BIGINT 19 null
modules Table id BIGINT 19 null
questionnaire_response_other Table response LONGTEXT 2147483647 null
feedback Table page_after_submitformat TINYINT 3 0
cohort_plan_history Table auto BIT 1 0
data Table notification BIGINT 19 0

Notify people when things change

dp_objective_settings Table priorityscale BIGINT 19 null
tool_monitor_subscriptions Table ruleid BIGINT 19 null

Rule id

capabilities Table captype VARCHAR 50
tool_sitepolicy_policy_version Table publisherid BIGINT 19 null

Who published the policy

course_completion_criteria Table criteriatype BIGINT 19 0

Type of criteria

dp_plan_objective Table timemodified BIGINT 19 null
mnet_remote_rpc Table id BIGINT 19 null
report_builder_cache Table frequency BIGINT 19 null
portfolio_instance_config Table id BIGINT 19 null
user_info_field Table param4 LONGTEXT 2147483647 null

General parameter field

facetoface_interest Table userid BIGINT 19 0
goal_grp_org Table id BIGINT 19 null
appraisal_stage Table timedue BIGINT 19 null
dp_plan_course_assign Table courseid BIGINT 19 null

Identifies the course being assigned

block_community Table coursename VARCHAR 255
forum Table rssarticles TINYINT 3 0
grading_instances Table feedbackformat TINYINT 3 null

The format of the feedback field

wiki_pages Table timecreated BIGINT 19 0

Wiki page creation timestamp

grade_categories Table hidden BIT 1 0
course_completions Table timestarted BIGINT 19 0
forum Table assessed BIGINT 19 0
tool_customlang Table lang VARCHAR 20

The code of the language this string belongs to. Like en, cs or es

dp_plan_course_assign Table manual BIT 1 0

Was this assignment made manually

scorm_scoes Table organization VARCHAR 255
wiki_subwikis Table userid BIGINT 19 0

Owner of that subwiki

block_instances Table id BIGINT 19 null
wiki_locks Table userid BIGINT 19 0

Locking user

gap_aspirational Table timecreated BIGINT 19 null
grade_grades_history Table usermodified BIGINT 19 null

the userid of the person who last modified this grade

enrol_lti_lti2_tool_proxy Table toolproxy LONGTEXT 2147483647 null
task_scheduled Table hour VARCHAR 25
goal_type Table shortname VARCHAR 100 null
goal_scale Table defaultid BIGINT 19 null
org_type_info_data Table organisationid BIGINT 19 null
prog_message Table id BIGINT 19 null
workshop_assessments Table feedbackreviewerformat SMALLINT 5 0
grade_items_history Table iteminstance BIGINT 19 null

id of the item module

user_devices Table pushid VARCHAR 255

the device PUSH token/key/identifier/registration id

message_metadata Table onreject LONGTEXT 2147483647 null

serialised action on message rejection

course Table fullname VARCHAR 1333
questionnaire_question Table precise BIGINT 19 0
workshopeval_best_settings Table workshopid BIGINT 19 null
question Table length BIGINT 19 1
report_builder_global_restriction Table active BIT 1 0
questionnaire_response_date Table response LONGTEXT 2147483647 null
competency Table shortname VARCHAR 100 null

Shortname of a competency

grade_grades_history Table userid BIGINT 19 null

The user who this grade is for

grade_grades_history Table feedbackformat BIGINT 19 0

format of feedback text

report_builder_settings Table reportid BIGINT 19 null

ID of the report the setting belongs to

facetoface_session_info_data_param Table dataid BIGINT 19 null
course_modules_completion Table userid BIGINT 19 null

ID of user who has (or hasn't) completed the activity.

assignment Table name VARCHAR 255
report_builder_settings Table name VARCHAR 100

Name of the setting

user_info_field Table param5 LONGTEXT 2147483647 null

General parameter field

question Table version VARCHAR 255
comp_record Table proficiency BIGINT 19 null
reportbuilder_grp_user_user Table userid BIGINT 19 null
sessions Table userid BIGINT 19 null
logstore_standard_log Table timecreated BIGINT 19 null
qtype_ddimageortext_drops Table label LONGTEXT 2147483647 null

Alt label for drop box

org_framework Table idnumber VARCHAR 100 null
tool_monitor_subscriptions Table lastnotificationsent BIGINT 19 0

Timestamp of the time when a notification was last sent for this subscription.

reportbuilder_grp_org_user Table orgid BIGINT 19 null
org Table sortthread VARCHAR 255 null
enrol_lti_lti2_consumer Table enabled BIT 1 null
enrol Table customchar2 VARCHAR 255 null

Custom - general short name

external_tokens Table timecreated BIGINT 19 null

created timestamp

badge_issued Table userid BIGINT 19 0
course Table category BIGINT 19 0
goal_grp_pos Table posid BIGINT 19 null
local_ld_module_day Table dedication BIGINT 19 0

Time spent on module within this day

totara_compl_import_cert Table completiondate VARCHAR 10 null

completiondate

assign Table name VARCHAR 255

The name of the instance of the assignment. Displayed at the top of each page.

external_tokens Table userid BIGINT 19 null

owner of the token

book Table timemodified BIGINT 19 0
certificate Table course BIGINT 19 0
role_allow_assign Table allowassign BIGINT 19 0
report_builder_schedule Table schedule BIGINT 19 null
workshop Table overallfeedbackfiletypes VARCHAR 255 null

comma separated liat of file extensions

tag_instance Table tagid BIGINT 19 null
competency_coursecomp Table timemodified BIGINT 19 null

The time this link was modified.

auth_oauth2_linked_login Table timecreated BIGINT 19 null
lesson_pages Table nextpageid BIGINT 19 0
facetoface_sessions Table allowcancellations BIT 1 1
choice_options Table id BIGINT 19 null
message_popup Table id BIGINT 19 null
lti Table timecreated BIGINT 19 0
quiz_overview_regrades Table regraded SMALLINT 5 null

set to 0 if element has just been regraded. Set to 1 if element has been marked as needing regrading.

goal_grp_pos Table goalid BIGINT 19 null
grade_outcomes Table id BIGINT 19 null

id of the table

stats_monthly Table roleid BIGINT 19 0

id of role for the aggregates

question_statistics Table s BIGINT 19 0
competency_relatedcomp Table usermodified BIGINT 19 null
job_assignment Table idnumber VARCHAR 100

Unique within each user's set of job assignments, required for all job assignments.

block_positions Table contextid BIGINT 19 null

With pagetype and subpage, defines the page we are setting the position for.

survey_answers Table id BIGINT 19 null
cohort_msg_queue Table userid BIGINT 19 null
upgrade_log Table info VARCHAR 255
message_contacts Table blocked BIT 1 0
block_zoola_module_name Table name VARCHAR 1333

Module name

cohort_rulesets Table id BIGINT 19 null
block_zoola_schedule_rcp Table id BIGINT 19 null
goal_personal Table scalevalueid BIGINT 19 null
enrol Table enrol VARCHAR 20
message_read Table contexturlname LONGTEXT 2147483647 null

Display text for the contexturl

workshopform_numerrors Table workshopid BIGINT 19 null

Workshop ID

grade_items Table itemmodule VARCHAR 30 null

'forum', 'quiz', 'csv', etc

course_info_data_param Table dataid BIGINT 19 null
totara_userdata_export_item Table timestarted BIGINT 19 null

Start time of purging method

question_categories Table id BIGINT 19 null
messageinbound_datakeys Table datakey VARCHAR 64 null

The secret key for this data item.

course Table lang VARCHAR 30
user Table firstname VARCHAR 100
totara_userdata_export_type_item Table exporttypeid BIGINT 19 null
course_completion_aggr_methd Table value DECIMAL 10 null

NULL = all/any, 0..1 for method 'fraction', > 0 for method 'unit'

grade_grades_history Table locktime BIGINT 19 0

automatic locking of final grade, 0 means none, date otherwise

pos_type_info_data Table positionid BIGINT 19 null
course_sections Table name VARCHAR 255 null
facetoface_room_info_field Table datatype VARCHAR 255 null
workshopform_rubric_config Table layout VARCHAR 30 list

How should the rubric be displayed for reviewers

qtype_multichoice_options Table incorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any incorrect response.

mnet_host2service Table hostid BIGINT 19 0
assignment_submissions Table format SMALLINT 5 0
data_fields Table name VARCHAR 255
files Table timemodified BIGINT 19 null
facetoface_room Table description LONGTEXT 2147483647 null
totara_sync_log Table info VARCHAR 255 null

log entry info message

block_rss_client Table skipuntil BIGINT 19 0

Do not query this RSS feed again until this time

enrol_lti_tools Table institution VARCHAR 40
course_info_field Table fullname LONGTEXT 2147483647 null
question_dataset_items Table definition BIGINT 19 0
course_published Table huburl VARCHAR 255 null

the url of the "registered on" hub

prog_info_data Table id BIGINT 19 null
course_completion_defaults Table customrules LONGTEXT 2147483647 null
competency_usercomp Table reviewerid BIGINT 19 null

User that reviewed the competency.

quiz_overrides Table timeclose BIGINT 19 null

Time by which students must have completed their attempt. Can be null, in which case the quiz default is used.

feedback360_grp_pos Table feedback360id BIGINT 19 null
grade_categories_history Table oldid BIGINT 19 null
glossary_entries_categories Table categoryid BIGINT 19 0
external_tokens Table lastaccess BIGINT 19 null

last access timestamp

user Table yahoo VARCHAR 50
appraisal_review_data Table content LONGTEXT 2147483647 null
auth_connect_sso_requests Table id BIGINT 19 null
cohort_members Table timeadded BIGINT 19 0
facetoface_signup_info_field Table defaultdata LONGTEXT 2147483647 null
gradingform_guide_criteria Table descriptionmarkersformat TINYINT 3 null
blog_external Table timemodified BIGINT 19 null
questionnaire_survey Table title VARCHAR 255
prog_completion_log Table description LONGTEXT 2147483647 null

Description of what changed, English only

cohort_msg_queue Table action VARCHAR 255
feedback360_scale_value Table score BIGINT 19 null
external_services Table timemodified BIGINT 19 null
assign_submission Table attemptnumber BIGINT 19 0

Used to track attempts for an assignment

workshopallocation_scheduled Table submissionend BIGINT 19 null

What was the workshop's submissionend when this record was created or modified

gradingform_rubric_criteria Table description LONGTEXT 2147483647 null

The criterion description

workshopform_rubric Table description LONGTEXT 2147483647 null

The description of the dimension

message_contacts Table contactid BIGINT 19 0
question_dataset_definitions Table type BIGINT 19 0
grade_grades Table excluded BIGINT 19 0

grade excluded from aggregation functions, date means when excluded

enrol_lti_tool_consumer_map Table toolid BIGINT 19 null

The tool ID.

user Table skype VARCHAR 50
course_modules Table visible BIT 1 1
comments Table timecreated BIGINT 19 null
assignment_submissions Table assignment BIGINT 19 0
config Table name VARCHAR 255
org_type_info_field Table id BIGINT 19 null
grade_items_history Table gradetype SMALLINT 5 1

0 = none, 1 = value, 2 = scale, 3 = text

facetoface_notification Table body LONGTEXT 2147483647 null
workshop_submissions Table late TINYINT 3 0

Has this submission been submitted after the deadline or during the assessment phase?

quiz_statistics Table errorratio DECIMAL 15 null
feedback360_scale_data Table feedback360respassignmentid BIGINT 19 null
comp_scale_values Table idnumber VARCHAR 100 null
certificate_issues Table timecreated BIGINT 19 0
grade_outcomes_history Table shortname VARCHAR 255

The short name or code for this outcome statement

files Table filearea VARCHAR 50

Like "coursefiles". "submission", "intro" and "content" (images and swf linked from summaries), etc.

lti_tool_proxies Table state TINYINT 3 1

Configured = 1, Pending = 2, Accepted = 3, Rejected = 4, Cancelled = 5

oauth2_issuer Table timemodified BIGINT 19 null

Time this record was modified.

assign_grades Table grade DECIMAL 10 0.00000

The numerical grade for this assignment submission. Can be determined by scales/advancedgradingforms etc but will always be converted back to a floating point number.

comp_framework Table visible TINYINT 3 null
role_capabilities Table timemodified BIGINT 19 0
files Table itemid BIGINT 19 null

Optional - some plugin specific item id (eg. forum post, blog entry or assignment submission, user id for user files)

quiz Table introformat SMALLINT 5 0

Quiz intro text format.

facetoface_sessions Table cancelledstatus BIT 1 0

Session cancelled status

local_activityvisibility_que Table courseid BIGINT 19 null
question_calculated_options Table correctfeedback LONGTEXT 2147483647 null

Feedback shown for any correct response.

quiz_feedback Table id BIGINT 19 null
questionnaire_attempts Table userid BIGINT 19 0
comp_record Table timecreated BIGINT 19 null
totara_userdata_export Table result BIGINT 19 null

null means not finished, -1 completed ok, -2 means error, -3 means skipped, -4 cancelled, -5 timed out

feedback Table course BIGINT 19 0
wiki_versions Table id BIGINT 19 null
assignment Table var1 BIGINT 19 0
facetoface Table display BIGINT 19 0
competency_plan Table name VARCHAR 100
role_allow_switch Table id BIGINT 19 null
question_calculated_options Table shuffleanswers SMALLINT 5 0

Whether the choices can be randomly shuffled.

qtype_ddimageortext_drags Table label LONGTEXT 2147483647 null

Alt text label for drag-able image.

questionnaire_feedback Table feedbacktext LONGTEXT 2147483647 null
pos_type_info_field Table defaultdata LONGTEXT 2147483647 null
feedback_completedtmp Table guestid VARCHAR 255
course Table groupmodeforce SMALLINT 5 0
data Table timeviewfrom BIGINT 19 0
competency_usercompplan Table timecreated BIGINT 19 null
prog_info_field Table param5 LONGTEXT 2147483647 null
dp_plan_evidence_info_field Table param5 LONGTEXT 2147483647 null
feedback_item Table hasvalue BIT 1 0
enrol_paypal Table business VARCHAR 255
question_attempt_step_data Table attemptstepid BIGINT 19 null

Foreign key, references question_attempt_steps.id

lesson Table introformat SMALLINT 5 0
tag_area Table tagcollid BIGINT 19 null
catalog Table sorttext LONGTEXT 2147483647 null

Field used for alphabetical sorting

mnet_log Table coursename VARCHAR 40
qtype_ddimageortext Table partiallycorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any partially correct response.

facetoface_asset_info_field Table required TINYINT 3 null
question Table id BIGINT 19 null
assignfeedback_comments Table commentformat SMALLINT 5 0

The feedback text format

dp_course_settings Table priorityscale BIGINT 19 null

Identifies the scale used by this component

qtype_match_options Table shownumcorrect TINYINT 3 0

If true, then when the user gets the question partially correct, tell them how many choices they got correct alongside the feedback.

data Table defaultsortdir SMALLINT 5 0
grade_import_values Table importcode BIGINT 19 null

similar to backup_code, a unique batch code for identifying one batch of imports

question_calculated_options Table partiallycorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any partially correct response.

enrol_paypal Table option_selection1_x VARCHAR 255
user_password_resets Table token VARCHAR 32

secret set and emailed to user

badge_criteria_met Table issuedid BIGINT 19 null
local_ld_course Table id BIGINT 19 null
block_zoola_reports_schreps Table thiscourse TINYINT 3 0

if 1 reports will be filtered course in which block is placed in

course Table showgrades TINYINT 3 1
facetoface_room Table allowconflicts BIT 1 0
wiki_synonyms Table subwikiid BIGINT 19 0

Subwiki instance

badge_backpack Table autosync BIT 1 0
assign_user_flags Table assignment BIGINT 19 0

The assignment these flags apply to.

tool_monitor_rules Table template LONGTEXT 2147483647 null

Message template

portfolio_log Table tempdataid BIGINT 19 0

old id from portfolio_tempdata. This is so that we can gracefully catch a race condition between an external system requesting a file and causing the tempdata to be deleted, before the user gets the "your transfer is requested" page

totara_connect_clients Table syncjobs BIT 1 0

Send job assignments data to clients

pos Table depthlevel BIGINT 19 null
competency_usercomp Table usermodified BIGINT 19 null
assignfeedback_editpdf_annot Table path LONGTEXT 2147483647 null

SVG path describing the freehand line

prog Table allowextensionrequests BIT 1 1

Indicates if the program allows extension requests

comp_type_info_field Table sortorder BIGINT 19 null
user_preferences Table userid BIGINT 19 0
appraisal_review_data Table appraisalscalevalueid BIGINT 19 null
reminder Table modifierid BIGINT 19 null
certif_completion Table baselinetimeexpires BIGINT 19 null
page Table legacyfileslast BIGINT 19 null
event Table visible SMALLINT 5 1
enrol_lti_users Table userid BIGINT 19 null
goal_type_info_field Table hidden TINYINT 3 null
lesson Table ongoing SMALLINT 5 0
question_response_analysis Table credit DECIMAL 15 null
log Table url VARCHAR 100
mnet_remote_service2rpc Table serviceid BIGINT 19 0

Unique service ID

groupings Table courseid BIGINT 19 0
glossary_alias Table alias VARCHAR 255
totara_connect_clients Table clientsecret VARCHAR 64

Shared secret, used in client requests

grading_instances Table status BIGINT 19 0

The status of the assessment. By default the instance is under-assessment state

logstore_standard_log Table other LONGTEXT 2147483647 null
folder Table showdownloadfolder BIT 1 1

1 = show download folder button

appraisal_scale_value Table score BIGINT 19 null
appraisal_event_rcpt Table appraisalrole SMALLINT 5 null
enrol_lti_users Table lastaccess BIGINT 19 null

The time the user last accessed

questionnaire_resp_single Table id BIGINT 19 null
course_sections Table summary LONGTEXT 2147483647 null
prog_user_assignment Table userid BIGINT 19 0
quiz_sections Table shufflequestions SMALLINT 5 0

Whether the question order within this section should be shuffled for each attempt.

rating Table id BIGINT 19 null
goal_type Table timemodified BIGINT 19 null
grade_grades_history Table rawgrade DECIMAL 10 null

If the grade is a float value (or has been converted to one)

auth_connect_ids Table serverid BIGINT 19 null
tool_recyclebin_category Table fullname VARCHAR 255
questionnaire_survey Table email VARCHAR 255 null
enrol_lti_lti2_tool_proxy Table toolproxykey VARCHAR 32
block_community Table id BIGINT 19 null
tag_area Table callback VARCHAR 100 null
scorm Table displaycoursestructure BIT 1 0
question_calculated_options Table answernumbering VARCHAR 10 abc

Indicates how and whether the choices should be numbered.

facetoface_sessions Table id BIGINT 19 null
course_request Table summaryformat TINYINT 3 0
certificate Table timemodified BIGINT 19 0
prog_message Table notifymanager BIT 1 0
block_recent_activity Table timecreated BIGINT 19 null
block_zoola_reports_eventcfg Table sendtoteacher BIT 1 0

Add course teachers email to recipient list

user_info_field Table param1 LONGTEXT 2147483647 null

General parameter field

message_read Table fullmessage LONGTEXT 2147483647 null
questionnaire_feedback Table section_id BIGINT 19 0
comp_record Table userid BIGINT 19 null
org_relations Table description LONGTEXT 2147483647 null
certificate_issues_history Table outcome VARCHAR 300 null

Outcome at time of archive

dp_plan Table templateid BIGINT 19 null

Identifies the template used by this plan.

report_builder_graph Table stacked BIT 1 0

Stack data series? Only some types support this.

questionnaire_quest_choice Table id BIGINT 19 null
data_content Table content3 LONGTEXT 2147483647 null
question_response_analysis Table variant BIGINT 19 null
pos_relations Table description LONGTEXT 2147483647 null
user Table phone2 VARCHAR 20
workshop Table latesubmissions TINYINT 3 0

Allow submitting the work after the deadline

block_quicklinks Table block_instance_id BIGINT 19 null
lti_tool_proxies Table capabilityoffered LONGTEXT 2147483647 null

List of capabilities offered, one per line

grade_items Table idnumber VARCHAR 255 null

Arbitrary idnumber provided by the module responsible

auth_connect_users Table timecreated BIGINT 19 null
tool_recyclebin_category Table timecreated BIGINT 19 null
facetoface_session_info_field Table param5 LONGTEXT 2147483647 null
survey Table id BIGINT 19 null
message Table useridfrom BIGINT 19 0
tool_usertours_tours Table enabled BIT 1 0
workshopform_rubric_config Table workshopid BIGINT 19 null

The id of workshop this configuartion applies for

user Table secret VARCHAR 15
questionnaire_feedback Table feedbacktextformat TINYINT 3 1
user Table totarasync BIT 1 0

Totara sync flag from totara_sync

groups_members Table itemid BIGINT 19 0

If the 'component' field is set, this can be used to define the instance of the component that created the entry. Otherwise should be left as default (0).

assign_user_flags Table locked BIGINT 19 0

Student cannot make any changes to their submission if this flag is set.

enrol Table password VARCHAR 50 null

Custom - enrolment or access password

task_adhoc Table id BIGINT 19 null
appraisal_quest_field Table appraisalscaleid BIGINT 19 null
grading_instances Table rawgrade DECIMAL 10 null

The raw normalized grade 0.00000 - 100.00000 as a result of the most recent assessment

comments Table itemid BIGINT 19 null
resource_old Table intro LONGTEXT 2147483647 null
lti Table toolurl LONGTEXT 2147483647 null

Remote tool url

auth_connect_sso_sessions Table userid BIGINT 19 null
assignfeedback_editpdf_cmnt Table colour VARCHAR 10 black

Can be red, yellow, green, blue, white, black

prog_completion Table status SMALLINT 5 0
my_pages Table private BIT 1 1

Whether or not the page is private (dashboard) or public (profile)

quiz_sections Table heading VARCHAR 1333 null

The text of the heading. May be an empty string/null. Multilang format.

resource_old Table alltext LONGTEXT 2147483647 null
pos_competencies Table id BIGINT 19 null
reportbuilder_grp_cohort_user Table timecreated BIGINT 19 0
scale Table description LONGTEXT 2147483647 null
quiz Table browsersecurity VARCHAR 32

Restriciton on the browser the student must use. E.g. 'securewindow'.

course Table timemodified BIGINT 19 0
facetoface_room Table timecreated BIGINT 19 0
assign_grades Table userid BIGINT 19 0
totara_userdata_export_type Table timecreated BIGINT 19 null

When was this type added

dp_priority_scale Table defaultid BIGINT 19 null

Identifies the id of the default scale value

enrol Table customint1 BIGINT 19 null

Custom - general int

competency_usercompplan Table grade BIGINT 19 null

Grade assigned to the competency.

lesson_overrides Table groupid BIGINT 19 null

Foreign key references groups.id. Can be null if this is a per-user override.

grading_definitions Table copiedfromid BIGINT 19 null

The id of the original definition that this was initially copied from or null if it was from scratch

totara_connect_clients Table clientname VARCHAR 255

Name of the client system

feedback360 Table description LONGTEXT 2147483647 null
auth_approved_request Table lang VARCHAR 30

User language during signup, we need to send them emails in this same language

choice Table completionsubmit BIT 1 0

If this field is set to 1, then the activity will be automatically marked as 'complete' once the user submits their choice.

report_builder Table defaultsortcolumn VARCHAR 255 null

Name of the column (type_value) to use to initially sort the report

tool_usertours_steps Table title LONGTEXT 2147483647 null

Title of the step

feedback_sitecourse_map Table id BIGINT 19 null
question_dataset_definitions Table id BIGINT 19 null
reportbuilder_grp_user_record Table id BIGINT 19 null
appraisal_scale_data Table appraisalquestfieldid BIGINT 19 null
question_statistics Table sd DECIMAL 15 null
rating Table rating BIGINT 19 null
goal_type_info_data Table goalid BIGINT 19 null
tool_sitepolicy_policy_version Table id BIGINT 19 null
tag_correlation Table tagid BIGINT 19 null
forum_posts Table attachment VARCHAR 100
glossary_entries_categories Table entryid BIGINT 19 0
goal_grp_cohort Table usermodified BIGINT 19 null
tag Table userid BIGINT 19 null
assignment Table var2 BIGINT 19 0
user Table descriptionformat TINYINT 3 1
auth_approved_request Table id BIGINT 19 null
grade_items Table aggregationcoef2 DECIMAL 10 0.00000

Aggregation coefficient used for weights in aggregation types with both extra credit and weight

comp_relations Table id1 BIGINT 19 null
forum_discussions Table userid BIGINT 19 0
gradingform_rubric_fillings Table criterionid BIGINT 19 null

The ID of the criterion (row) in the rubric

certif_completion_history Table certifid BIGINT 19 null

Certification ID

org Table path VARCHAR 255
scorm_seq_rolluprule Table minimumpercent FLOAT 11 0.0000
backup_controllers Table format VARCHAR 20

format of the backup (moodle/imscc...)

events_handlers Table handlerfunction LONGTEXT 2147483647 null

serialized string or array describing function, suitable to be passed to call_user_func()

facetoface_room_info_field Table forceunique TINYINT 3 null
org_type_info_field Table param1 LONGTEXT 2147483647 null
message Table useridto BIGINT 19 0
message Table subject LONGTEXT 2147483647 null

The message subject

facetoface_signups_status Table grade DECIMAL 10 null
questionnaire_fb_sections Table sectionheading LONGTEXT 2147483647 null
job_assignment Table organisationid BIGINT 19 null

The ID of the organisation the user belongs to as part of this job assignment

cohort_rulesets Table sortorder BIGINT 19 null
cohort Table visible BIT 1 1

Visibility to teachers - Totara may be using different logic

competency Table ruletype VARCHAR 100 null
block_zoola_reports_user Table userid BIGINT 19 null

User ID

certificate Table requiredtime BIGINT 19 0
totara_core_course_vis_map Table id BIGINT 19 null
prog_recurrence Table nextcourseid BIGINT 19 0
goal_scale_assignments Table id BIGINT 19 null
comp_template_assignment Table timecreated BIGINT 19 null
grading_instances Table raterid BIGINT 19 null

The ID of the user who did the assessment

facetoface_notification_hist Table notificationid BIGINT 19 null

FK of notification

totara_userdata_export Table usercreated BIGINT 19 null

Usually the user that request the export

backup_controllers Table controller LONGTEXT 2147483647 null

serialised backup_controller object

facetoface_asset Table id BIGINT 19 null
auth_approved_request_snapshots Table organisationid BIGINT 19 null
prog_completion Table timecreated BIGINT 19 0
scorm_seq_mapinfo Table id BIGINT 19 null
glossary_formats Table id BIGINT 19 null
grade_outcomes_history Table id BIGINT 19 null
prog Table endnote LONGTEXT 2147483647 null
log_queries Table sqltext LONGTEXT 2147483647 null

query sql

portfolio_instance_user Table id BIGINT 19 null
enrol_lti_lti2_user_result Table ltiuserkey VARCHAR 255
facetoface_sessions Table waitlisteveryone BIT 1 0

Will everyone be added to the waiting list

glossary Table displayformat VARCHAR 50 dictionary
prog_user_assignment Table assignmentid BIGINT 19 0
questionnaire_response_other Table response_id BIGINT 19 0
files Table filename VARCHAR 255

The full Unicode name of this file (case sensitive) - some chars are not allowed though

config_log Table name VARCHAR 100
question_gapselect Table incorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any incorrect response.

grade_grades_history Table rawgrademax DECIMAL 10 100.00000

The maximum allowable grade when this was created

data Table id BIGINT 19 null
questionnaire_resp_multiple Table choice_id BIGINT 19 0
competency_templatecohort Table timecreated BIGINT 19 null
forum Table assesstimestart BIGINT 19 0
enrol Table customtext2 LONGTEXT 2147483647 null

Custom - general text

facetoface_sessioncancel_info_field Table datatype VARCHAR 255 null
course_modules_completion Table timemodified BIGINT 19 null

Time at which the completion state last changed.

badge_issued Table dateissued BIGINT 19 0
oauth2_issuer Table loginparamsoffline LONGTEXT 2147483647 null

Additional parameters sent for a login attempt to generate a refresh token.

forum Table rsstype TINYINT 3 0
reminder Table timemodified BIGINT 19 null
qtype_multichoice_options Table partiallycorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any partially correct response.

glossary Table timemodified BIGINT 19 0
portfolio_mahara_queue Table id BIGINT 19 null
auth_approved_request_snapshots Table email VARCHAR 100 null
file_conversion Table data LONGTEXT 2147483647 null
certificate Table printdate BIGINT 19 0
user_lastaccess Table courseid BIGINT 19 0
scale_history Table id BIGINT 19 null
report_builder Table defaultsortorder BIGINT 19 4

Integer representing the direction that default sorting should be done

dp_competency_settings Table id BIGINT 19 null
quiz Table timecreated BIGINT 19 0

The time when the quiz was added to the course.

repository_instance_config Table name VARCHAR 255
question_truefalse Table id BIGINT 19 null
scale_history Table scale LONGTEXT 2147483647 null
cohort_rule_collections Table id BIGINT 19 null
block_zoola_reports_eventcfg Table bodyformat SMALLINT 5 0
totara_compl_import_course Table evidenceid BIGINT 19 null

The evidence table id

goal_grp_pos Table usermodified BIGINT 19 null
goal_record Table goalid BIGINT 19 null
grade_import_newitem Table id BIGINT 19 null
forum Table forcesubscribe BIT 1 0
competency_usercompplan Table usermodified BIGINT 19 null
facetoface_room_info_data_param Table value VARCHAR 32
facetoface_room_info_field Table description LONGTEXT 2147483647 null
workshop Table useexamples TINYINT 3 0

optional feature: students practise evaluating on example submissions from teacher

mnetservice_enrol_enrolments Table id BIGINT 19 null

Unique enrollment ID

auth_approved_request_snapshots Table timemodified BIGINT 19 null
external_services_functions Table functionname VARCHAR 200
comp_record_history Table competencyid BIGINT 19 null
folder Table course BIGINT 19 0
facetoface_signup_info_field Table required TINYINT 3 null
messageinbound_messagelist Table messageid LONGTEXT 2147483647 null
enrol_flatfile Table timeend BIGINT 19 0
post Table content LONGTEXT 2147483647 null
enrol_lti_tools Table rolelearner BIGINT 19 null
groups Table courseid BIGINT 19 null
lti_tool_proxies Table toolproxy LONGTEXT 2147483647 null

JSON string representing tool proxy returned by tool provider

appraisal_stage_data Table id BIGINT 19 null
message_airnotifier_devices Table id BIGINT 19 null
block_zoola_reports_schreps Table emails VARCHAR 1333

Comma separated list of emails to send the report to.

oauth2_issuer Table enabled TINYINT 3 1
tool_usertours_steps Table targettype TINYINT 3 null

Type of the target (e.g. block, CSS selector, etc.)

certif_completion_history Table userid BIGINT 19 null

Users id

registration_hubs Table confirmed BIT 1 0
enrol_paypal Table option_selection2_x VARCHAR 255
quiz_sections Table quizid BIGINT 19 null

Foreign key references quiz.id.

oauth2_issuer Table image LONGTEXT 2147483647 null
files Table source LONGTEXT 2147483647 null

contains the reference if the file is imported from external sites

competency_evidence Table action TINYINT 3 null
catalog Table sorttime BIGINT 19 0

Field used for 'Latest' sorting

auth_approved_request Table profilefields LONGTEXT 2147483647 null

The JSON encoded string containing all custom profile fields data

auth_approved_request Table password VARCHAR 255

Hashed user password

badge Table usercreated BIGINT 19 null
portfolio_log Table time BIGINT 19 null

time of transfer (in the case of a queued transfer this is the time the actual transfer ran, not when the user started)

feedback360_scale_value Table name VARCHAR 255 null
oauth2_issuer Table loginscopesoffline LONGTEXT 2147483647 null

The scopes requested for a login attempt to generate a refresh token.

block_positions Table blockinstanceid BIGINT 19 null

The block_instance this position relates to.

workshopform_rubric_levels Table definitionformat SMALLINT 5 0

The format of the definition field

goal Table targetdate BIGINT 19 null
appraisal Table timefinished BIGINT 19 null

timestamp

prog_info_field Table forceunique TINYINT 3 null
scale_history Table courseid BIGINT 19 0
tool_sitepolicy_user_consent Table hasconsented BIT 1 null

Has the user consented to this option

blog_external Table name VARCHAR 255
oauth2_issuer Table alloweddomains LONGTEXT 2147483647 null

Allowed domains for this issuer.

goal_personal Table timemodified BIGINT 19 null
block_zoola_reports_schreps Table filters LONGTEXT 2147483647 null

Filter values used to run the report, in JSON format

data_content Table id BIGINT 19 null
quiz_grades Table grade DECIMAL 10 0.00000

The overall grade from the quiz. Not affected by overrides in the gradebook.

assignsubmission_onlinetext Table submission BIGINT 19 0
groups Table id BIGINT 19 null
cohort_role Table cohortid BIGINT 19 0
grade_grades Table overridden BIGINT 19 0

indicates grade overridden from gradebook, 0 means none, date means overridden

role_assignments Table component VARCHAR 100

plugin responsible responsible for role assignment, empty when manually assigned

qtype_match_subquestions Table questionid BIGINT 19 0

Foreign key link to question.id.

block_totara_stats Table timestamp BIGINT 19 null
repository_instances Table password VARCHAR 255 null
course_modules Table score SMALLINT 5 0
competency_evidence Table desca LONGTEXT 2147483647 null
facetoface_asset Table timemodified BIGINT 19 0
totara_connect_client_cohorts Table cohortid BIGINT 19 null
competency_userevidencecomp Table usermodified BIGINT 19 null
cohort Table timemodified BIGINT 19 null
prog_completion Table timedue BIGINT 19 0
chat_messages Table message LONGTEXT 2147483647 null
facetoface_session_info_field Table description LONGTEXT 2147483647 null
data_records Table id BIGINT 19 null
pos_framework Table sortorder BIGINT 19 null
grade_categories_history Table aggregatesubcats BIT 1 0

This setting was removed from grade_categories. It is kept here only to preserve history.

competency_plan Table usermodified BIGINT 19 null
comp_scale_values Table name LONGTEXT 2147483647 null
comp_scale Table id BIGINT 19 null
badge Table expiredate BIGINT 19 null
grade_categories_history Table path VARCHAR 255 null

shows the path as /1/2/3 (like course_categories)

facetoface_sessioncancel_info_field Table forceunique TINYINT 3 null
org_type_info_field Table datatype VARCHAR 255 null
survey Table course BIGINT 19 0
quiz Table timeopen BIGINT 19 0

The time when this quiz opens. (0 = no restriction.)

user_info_field Table sortorder BIGINT 19 0

order within the category

block_zoola_reports_cohort Table cohortid BIGINT 19 null

Cohort ID

prog_message Table mainmessage LONGTEXT 2147483647 null
sessions Table id BIGINT 19 null
lti_tool_settings Table coursemoduleid BIGINT 19 null

Primary key of course module - tool link added to course (null for system-wide and context-wide settings)

external_services Table shortname VARCHAR 255 null

a unique shortname

groups_members Table userid BIGINT 19 0
workshop Table useselfassessment TINYINT 3 0

optional feature: students perform self assessment of their own work

totara_dashboard Table published BIT 1 0
totara_navigation Table depth BIT 1 1

Deprecated since Totara 12.0

course_format_options Table id BIGINT 19 null
cache_flags Table expiry BIGINT 19 null
dp_evidence_type Table sortorder BIGINT 19 null
scorm_aicc_session Table scormstatus VARCHAR 255 null
comp_type_info_field Table param5 LONGTEXT 2147483647 null
grade_grades Table feedbackformat BIGINT 19 0

format of feedback text

mnet_remote_rpc Table enabled BIT 1 null
lesson_answers Table jumpto BIGINT 19 0
course_completion_defaults Table completion BIT 1 0
feedback_valuetmp Table id BIGINT 19 null
stats_user_daily Table timeend BIGINT 19 0
mnet_rpc Table enabled BIT 1 0
mnet_rpc Table functionname VARCHAR 40
quiz_grades Table quiz BIGINT 19 0

Foreign key references quiz.id.

comments Table userid BIGINT 19 null
question_numerical_options Table unitpenalty DECIMAL 12 0.1000000

Penalty for getting the unit wrong, when they are being graded.

repository_opensesame_bdls Table id BIGINT 19 null
portfolio_mahara_queue Table token VARCHAR 50

the token mahara sent us to use for this transfer.

dp_priority_scale Table description LONGTEXT 2147483647 null

Description of the priority scale

url Table id BIGINT 19 null
prog_extension Table extensiondate BIGINT 19 0
competency_usercomp Table proficiency TINYINT 3 null

Indicate if the competency is proficient not.

totara_navigation Table customtitle BIT 1 1
certif_completion Table certifpath TINYINT 3 null

CERT/RECET

external_services Table timecreated BIGINT 19 null
page Table revision BIGINT 19 0

incremented when after each file changes, solves browser caching issues

goal_user_type Table idnumber VARCHAR 100 null
groups Table name VARCHAR 254

Short human readable unique name for the group.

questionnaire Table navigate TINYINT 3 0

Questionnaire can have page branching.

feedback Table multiple_submit BIT 1 1
feedback_item Table template BIGINT 19 0
feedback360 Table name VARCHAR 255
competency_plancomp Table competencyid BIGINT 19 null
facetoface_room_info_field Table locked TINYINT 3 null
report_builder_global_restriction Table id BIGINT 19 null
config Table value LONGTEXT 2147483647 null
facetoface_asset_info_field Table datatype VARCHAR 255 null
grade_grades Table rawgrademin DECIMAL 10 0.00000

The minimum allowable grade when this was created

assign_plugin_config Table plugin VARCHAR 28
book_chapters Table id BIGINT 19 null
lesson_branch Table pageid BIGINT 19 0
competency_templatecomp Table usermodified BIGINT 19 null

The user who modified this link.

wiki Table defaultformat VARCHAR 20 creole

Wiki's default editor

feedback_item Table required BIT 1 0
cohort_plan_config Table planstatus BIGINT 19 null

Learning plan status

resource Table legacyfileslast BIGINT 19 null
auth_approved_request_snapshots Table password VARCHAR 255 null
quiz_overrides Table password VARCHAR 255 null

Quiz password. Can be null, in which case the quiz default is used.

upgrade_log Table targetversion VARCHAR 100 null

version of plugin or core specified in version.php at the time of upgrade loggging

comp_record Table timeproficient BIGINT 19 null
course_completions Table status TINYINT 3 0

Totara status from totara_core

oauth2_endpoint Table url LONGTEXT 2147483647 null

The url to the endpoint

questionnaire_fb_sections Table sectionlabel VARCHAR 50 null
role_assignments Table userid BIGINT 19 0
facetoface_asset_info_data Table data LONGTEXT 2147483647 null
auth_approved_request_snapshots Table city VARCHAR 120 null
questionnaire_response_rank Table choice_id BIGINT 19 0
grading_definitions Table status BIGINT 19 0

Status of the form definition, by default in the under-construction state

dp_plan_evidence_info_field Table sortorder BIGINT 19 null
user Table department VARCHAR 255
cohort_rule_params Table id BIGINT 19 null
dp_plan_evidence Table evidencetypeid BIGINT 19 null

Integer representing the type of this evidence item

prog_message Table messagesubject VARCHAR 255
gradingform_guide_comments Table descriptionformat TINYINT 3 null

The format of the description field

question_ddwtos Table incorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any incorrect response.

course_completion_crit_compl Table userid BIGINT 19 0
enrol Table timemodified BIGINT 19 0
enrol_paypal Table payment_status VARCHAR 255
scorm Table height BIGINT 19 600
totara_navigation Table parentid BIGINT 19 0
facetoface Table timecreated BIGINT 19 0
tool_sitepolicy_localised_policy Table language VARCHAR 30

Language of the policy

block_instances Table defaultweight BIGINT 19 null

Used to order the blocks within a block region. Again, may be overridden by the block_positions table for a specific page where this block appears.

dp_objective_settings Table templateid BIGINT 19 null
prog_courseset Table coursesumfield BIGINT 19 0
qtype_multichoice_options Table id BIGINT 19 null
workshop Table evaluation VARCHAR 30

The recently used grading evaluation method

totara_dashboard Table name VARCHAR 1333
report_builder_settings Table type VARCHAR 100

Component of report builder that the setting is for

report_builder_columns Table customheading SMALLINT 5 0

Indicates whether the user has customised a heading or if they are still using the default column heading value

goal_grp_org Table usermodified BIGINT 19 null
message_read Table timecreated BIGINT 19 0
files_reference Table lastsync BIGINT 19 null

Last time the proxy file was synced with repository

goal_user_assignment Table timemodified BIGINT 19 null
facetoface_sessions Table sendcapacityemail BIT 1 0

Notification flag for minimum bookings capactiy email.

question_hints Table id BIGINT 19 null
dp_plan_objective Table id BIGINT 19 null
imscp Table structure LONGTEXT 2147483647 null
cohort_plan_history Table id BIGINT 19 null
scorm Table forcenewattempt BIT 1 0
facetoface_sessioncancel_info_data_param Table dataid BIGINT 19 null
certif_completion Table timemodified BIGINT 19 null
assignment Table introformat SMALLINT 5 0
goal_scale_assignments Table timemodified BIGINT 19 null
grade_outcomes Table usermodified BIGINT 19 null

the userid of the person who last modified this outcome

dp_plan_evidence_relation Table component VARCHAR 255

component name - competency, objective, course

qtype_ddimageortext Table correctfeedback LONGTEXT 2147483647 null

Feedback shown for any correct response.

resource_old Table cmid BIGINT 19 null
message Table eventtype VARCHAR 100 null
facetoface_signups_status Table id BIGINT 19 null
appraisal_grp_cohort Table cohortid BIGINT 19 null
course_completion_defaults Table course BIGINT 19 null
enrol Table customdec2 DECIMAL 12 null

Custom - general decimal

scorm Table completionscorerequired BIGINT 19 null
external_tokens Table token VARCHAR 128

security token, aka private access key

facetoface_notification_hist Table userid BIGINT 19 null

FK of user

facetoface_sessioncancel_info_data_param Table value VARCHAR 32
feedback360_grp_org Table id BIGINT 19 null
org_type Table idnumber VARCHAR 100 null
repository_opensesame_pkgs Table expirationdate VARCHAR 20

Date the license is valid until as text

goal_type Table timecreated BIGINT 19 null
dp_evidence_type Table id BIGINT 19 null
pos_competencies Table competencyid BIGINT 19 null
facetoface Table approvaltype BIGINT 19 0
wiki_versions Table pageid BIGINT 19 0

Page id

workshopform_rubric_levels Table definition LONGTEXT 2147483647 null

The definition of this level

comp_framework Table timecreated BIGINT 19 null
quiz_slots Table page BIGINT 19 null

The page number that this questions appears on. If the question in slot n appears on page p, then the question in slot n+1 must appear on page p or p+1. Well, except that when a quiz is being created, there may be empty pages, which would cause the page number to jump here.

backup_controllers Table timemodified BIGINT 19 null

last time the controller was modified

mnetservice_enrol_enrolments Table enroltime BIGINT 19 0
goal_scale Table timemodified BIGINT 19 null
course_categories Table parent BIGINT 19 0
competency_templatecohort Table id BIGINT 19 null
goal_framework Table id BIGINT 19 null
external_tokens Table tokentype SMALLINT 5 null

type of token: 0=permanent, no session; 1=linked to current browser session via sid; 2=permanent, with emulated session

messageinbound_datakeys Table id BIGINT 19 null
badge Table usermodified BIGINT 19 null
report_builder_graph Table category VARCHAR 255

none,reversed or name of one column

dp_permissions Table action VARCHAR 255 null

Shortname of the permission to be set

course_info_field Table id BIGINT 19 null
facetoface_asset_dates Table sessionsdateid BIGINT 19 null
grade_categories_history Table loggeduser BIGINT 19 null

the userid of the person who last modified this outcome

question_categories Table parent BIGINT 19 0
grade_grades Table rawscaleid BIGINT 19 null

If this grade is based on a scale, which one was it?

competency_plan Table timemodified BIGINT 19 0
assign_submission Table latest TINYINT 3 0

Greatly simplifies queries wanting to know information about only the latest attempt.

tool_sitepolicy_user_consent Table timeconsented BIGINT 19 null

Timestamp of when the user answered

course_modules Table showdescription BIT 1 0

Some module types support a 'description' which shows within the module pages. This option controls whether it also displays on the course main page. 0 = does not display (default), 1 = displays

messageinbound_datakeys Table expires BIGINT 19 null

The expiry time of this key.

scale Table descriptionformat TINYINT 3 0
lti Table course BIGINT 19 0

Course basiclti activity belongs to

config_log Table id BIGINT 19 null
tool_monitor_subscriptions Table inactivedate BIGINT 19 0
course_sections Table section BIGINT 19 0
grade_categories_history Table parent BIGINT 19 null

Categories can be hierarchical

question_hints Table questionid BIGINT 19 null
mnet_log Table hostid BIGINT 19 0

Unique host ID

workshop_assessments Table feedbackauthor LONGTEXT 2147483647 null

The comment/feedback from the reviewer for the author.

facetoface_cancellation_info_field Table id BIGINT 19 null
config_plugins Table value LONGTEXT 2147483647 null
facetoface_notification Table usermodified BIGINT 19 null
enrol Table sortorder BIGINT 19 0

order of enrol plugins in each course

tool_recyclebin_course Table id BIGINT 19 null
dp_priority_scale Table name VARCHAR 255 null

Defines the name of the priority scale

messageinbound_handlers Table defaultexpiration BIGINT 19 86400

The default expiration period to use when creating a new key

appraisal_scale_value Table id BIGINT 19 null
facetoface_notification Table scheduleunit BIT 1 null
course_categories Table id BIGINT 19 null
user_devices Table model VARCHAR 32

the device model, Nexus 4 or iPad 1,1

totara_connect_client_pos_frameworks Table id BIGINT 19 null
comp_type_info_data_param Table dataid BIGINT 19 null
facetoface_room Table id BIGINT 19 null
prog Table fullname VARCHAR 254
quiz_statistics Table allattemptsavg DECIMAL 15 null
feedback360_scale Table userid BIGINT 19 null
feedback_value Table tmp_completed BIGINT 19 0
course_categories Table visible BIT 1 1
block_zoola_reports_eventcfg Table body LONGTEXT 2147483647 null

Email body

reminder Table id BIGINT 19 null
dp_plan_objective Table manual BIT 1 0

Was this assignment made manually

folder Table revision BIGINT 19 0

incremented when after each file changes, solves browser caching issues

auth_approved_request_snapshots Table confirmed BIT 1 null
lesson Table grade BIGINT 19 0
question_ddwtos Table id BIGINT 19 null
tool_monitor_history Table sid BIGINT 19 null

Subscription id

oauth2_issuer Table id BIGINT 19 null
forum_track_prefs Table userid BIGINT 19 0
enrol_lti_lti2_nonce Table expires BIGINT 19 null
facetoface_notification Table issent BIT 1 0
goal_user_info_field Table param1 LONGTEXT 2147483647 null
competency_coursecomp Table sortorder BIGINT 19 null

The display order for this link.

qtype_ddmarker Table partiallycorrectfeedbackformat TINYINT 3 0
message_providers Table name VARCHAR 100

The full name of the message provider in standard form

lesson_overrides Table retake SMALLINT 5 null
totara_compl_import_cert Table certificationidnumber VARCHAR 100 null

certification id number

totara_userdata_purge_type Table timecreated BIGINT 19 null

When was this type added

feedback360_quest_field Table sortorder BIGINT 19 null
auth_approved_request_snapshots Table positionid BIGINT 19 null
gradingform_rubric_criteria Table id BIGINT 19 null
grade_outcomes_history Table action BIGINT 19 0

created/modified/deleted constants

repository_opensesame_pkgs Table title VARCHAR 1333

OpenSesame course title

comp_type_info_field Table param2 LONGTEXT 2147483647 null
assign_submission Table userid BIGINT 19 0
grade_items Table needsupdate BIGINT 19 0

If this flag is set, then the whole column will be recalculated

comp_criteria Table usermodified BIGINT 19 null
questionnaire_response Table submitted BIGINT 19 0
competency_evidence Table grade BIGINT 19 null
competency_relatedcomp Table id BIGINT 19 null
mnet_remote_rpc Table xmlrpcpath VARCHAR 80
assignment_submissions Table numfiles BIGINT 19 0
workshop Table instructauthors LONGTEXT 2147483647 null

Instructions for the submission phase

lesson Table id BIGINT 19 null
comp_record_history Table proficiency BIGINT 19 null
backup_logs Table timecreated BIGINT 19 null

timestamp this log entry was created

data Table intro LONGTEXT 2147483647 null
modules Table lastcron BIGINT 19 0
comp_scale_values Table id BIGINT 19 null
cohort_members Table cohortid BIGINT 19 0
enrol_lti_tools Table maildisplay TINYINT 3 2
auth_connect_sso_requests Table serverid BIGINT 19 null
block_totara_featured_links_tiles Table sortorder BIGINT 19 1

The order which the tile will be displayed in the block uses blockid-sortorder

report_builder_cache Table changed BIT 1 null
grade_grades Table locked BIGINT 19 0

not locked 0, locked from date

scorm Table displayattemptstatus BIT 1 1
goal_framework Table timemodified BIGINT 19 null
scorm_scoes_track Table scormid BIGINT 19 0
grade_categories_history Table droplow BIGINT 19 0

Drop the X lowest items

block_zoola_schedule_rcp Table schrepsid BIGINT 19 null

schedule id

feedback Table id BIGINT 19 null
assignfeedback_editpdf_annot Table draft TINYINT 3 1

Is this a draft annotation?

tool_monitor_rules Table templateformat BIT 1 null

Template format

persistent_login Table id BIGINT 19 null
goal_user_assignment Table assigntype TINYINT 3 null
lesson_answers Table answer LONGTEXT 2147483647 null
goal_framework Table usermodified BIGINT 19 null
question_numerical Table id BIGINT 19 null
comp_record_history Table timeproficient BIGINT 19 null
facetoface_sessioncancel_info_field Table defaultdata LONGTEXT 2147483647 null
facetoface_signups Table sessionid BIGINT 19 null
oauth2_user_field_mapping Table usermodified BIGINT 19 null

The user who modified this record.

totara_dashboard_user Table userid BIGINT 19 null
blog_external Table url LONGTEXT 2147483647 null
tool_sitepolicy_policy_version Table versionnumber BIGINT 19 null

Version number of the policy

facetoface_sessioncancel_info_field Table required TINYINT 3 null
grade_settings Table name VARCHAR 255
enrol_paypal Table receiver_email VARCHAR 255
block_zoola_reports_schreps Table individualreports TINYINT 3 0

if 1 reports will be filtered for individual students

resource Table name VARCHAR 255
totara_userdata_export_type Table fullname VARCHAR 1333

Human readable name, mutlilang supported

questionnaire_survey Table feedbacknotes LONGTEXT 2147483647 null
questionnaire_question Table result_id BIGINT 19 null
cohort_msg_queue Table timemodified BIGINT 19 null
logstore_standard_log Table contextlevel BIGINT 19 null
enrol_paypal Table option_name1 VARCHAR 255
scorm Table course BIGINT 19 0
appraisal_role_changes Table timecreated BIGINT 19 0
report_builder_cache Table schedule BIGINT 19 null
tool_sitepolicy_consent_options Table idnumber VARCHAR 255 null

Custom identification of consent option

lesson Table maxpages SMALLINT 5 0
tool_monitor_events Table contextlevel BIGINT 19 null

Context level

qtype_randomsamatch_options Table incorrectfeedbackformat TINYINT 3 0
comp Table proficiencyexpected BIGINT 19 null
auth_approved_request Table country VARCHAR 2
quiz Table password VARCHAR 255

A password that the student must enter before starting or continuing a quiz attempt.

question_truefalse Table falseanswer BIGINT 19 0

Foreign key references question_answers.id. The 'False' choice.

grade_items Table aggregationcoef DECIMAL 10 0.00000

Aggregation coefficient used for category weights or other aggregation types

quiz Table course BIGINT 19 0

Foreign key reference to the course this quiz is part of.

glossary_alias Table id BIGINT 19 null
enrol_lti_tools Table membersyncmode BIT 1 0
goal_user_type Table description LONGTEXT 2147483647 null
assignment_submissions Table mailed BIT 1 0
org_competencies Table id BIGINT 19 null
user_devices Table platform VARCHAR 32

the device platform, Android or iOS etc

comp_type_info_data_param Table id BIGINT 19 null
dp_program_settings Table id BIGINT 19 null
question_ddwtos Table shuffleanswers SMALLINT 5 1
feedback_item Table position SMALLINT 5 0
assign_overrides Table duedate BIGINT 19 null

Time by which students must have completed their attempt. Can be null, in which case the assign default is used.

mnet_rpc Table pluginname VARCHAR 20
log_display Table action VARCHAR 40
prog_courseset Table certifpath TINYINT 3 1

1=standard program path or certify path, 2=recertify path

reportbuilder_grp_cohort_record Table id BIGINT 19 null
comp Table sortthread VARCHAR 255 null
tool_sitepolicy_user_consent Table language VARCHAR 30

Language used when user consented

totara_userdata_user Table usercontextid BIGINT 19 null

User context id, we need the value here because user deletion removes user context record

totara_userdata_export_type_item Table timechanged BIGINT 19 null

Last time when the export field was changed

feedback360_user_assignment Table userid BIGINT 19 null
scorm_aicc_session Table scormmode VARCHAR 50 null
course_modules Table added BIGINT 19 0
forum_read Table forumid BIGINT 19 0
qtype_match_subquestions Table answertext VARCHAR 255
message_read Table eventtype VARCHAR 100 null
qtype_match_subquestions Table questiontext LONGTEXT 2147483647 null
dp_template Table isdefault BIT 1 0

To indicate if this is the default template

auth_approved_request_snapshots Table confirmtoken VARCHAR 100 null
cohort_visibility Table usermodified BIGINT 19 null
appraisal_grp_pos Table appraisalid BIGINT 19 null
chat_messages_current Table chatid BIGINT 19 0
facetoface_signups Table jobassignmentid BIGINT 19 null

If required, the job the user is doing the training for

scale_history Table source VARCHAR 255 null

What caused the modification? manual/module/import/...

prog Table available BIGINT 19 0
external_functions Table services VARCHAR 1333 null

all the services (by shortname) where this function must be included

report_builder_columns Table reportid BIGINT 19 null

ID of the report this column belongs to

question Table qtype VARCHAR 20
facetoface Table maxmanagerreserves INT 10 1

How many reservations can each manager make

survey Table introformat SMALLINT 5 0

intro text field format

feedback_completedtmp Table timemodified BIGINT 19 0
competency_userevidence Table description LONGTEXT 2147483647 null
question_response_analysis Table timemodified BIGINT 19 null
assignfeedback_editpdf_annot Table x BIGINT 19 0

x-position of the start of the annotation (in pixels - image resolution is set to 100 pixels per inch)

survey_answers Table answer2 LONGTEXT 2147483647 null
assignfeedback_file Table id BIGINT 19 null
assign Table allowsubmissionsfromdate BIGINT 19 0

If set, submissions will only be accepted after this date.

question_attempt_steps Table state VARCHAR 13

One of the constants defined by the question_state class, giving the state of the question at the end of this step.

external_services Table downloadfiles BIT 1 0

1 if the service allow people to download file from webservice/plugins.php - 0 if not

goal_grp_cohort Table cohortid BIGINT 19 null
facetoface_notification_hist Table id BIGINT 19 null
data Table timeviewto BIGINT 19 0
totara_userdata_export Table id BIGINT 19 null
assignsubmission_file Table numfiles BIGINT 19 0

The number of files the student submitted.

report_builder Table shortname VARCHAR 255

Unique shortname used internally as a unique way of identifying a report

block_rss_client Table preferredtitle VARCHAR 64
data_content Table content2 LONGTEXT 2147483647 null
wiki_subwikis Table wikiid BIGINT 19 0

Wiki activity

comp_template_assignment Table id BIGINT 19 null
workshopform_rubric_levels Table grade DECIMAL 10 null

Grade representing this level.

external_tokens Table creatorid BIGINT 19 1

user id of the token creator (useful to know when the administrator created a token and so display the token to a specific administrator)

portfolio_instance_config Table value LONGTEXT 2147483647 null

config value

message Table contexturl LONGTEXT 2147483647 null

If this message is a notification of an event contexturl should contain a link to view this event. For example if its a notification of a forum post contexturl should contain a link to the forum post.

pos_type_info_field Table param3 LONGTEXT 2147483647 null
profiling Table totalcputime BIGINT 19 null

time (in microseconds) spent by the CPU in this run

questionnaire_survey Table feedbacksections TINYINT 3 0
facetoface_cancellation_info_field Table description LONGTEXT 2147483647 null
comp_record Table id BIGINT 19 null
groupings Table name VARCHAR 255

Short human readable unique name for group.

prog_completion Table timestarted BIGINT 19 0
totara_connect_sso_sessions Table timecreated BIGINT 19 null
prog_user_assignment Table exceptionstatus BIGINT 19 0
cohort_rule_collections Table modifierid BIGINT 19 null
competency_evidence Table note LONGTEXT 2147483647 null

A non-localised text to attach to the evidence.

facetoface_session_info_field Table required TINYINT 3 null
reminder_sent Table reminderid BIGINT 19 null
appraisal_stage_role_setting Table appraisalrole SMALLINT 5 null
course_completions Table invalidatecache BIT 1 0

Deprecated since Totara 10, please do not use

facetoface_room Table custom BIT 1 0

1 means room is created secifically for one session only and cannot be reused

lesson Table deadline BIGINT 19 0
auth_approved_request_snapshots Table middlename VARCHAR 255 null
data_fields Table param6 LONGTEXT 2147483647 null
block_quicklinks Table url VARCHAR 255
reminder_sent Table messageid BIGINT 19 null
book_chapters Table pagenum BIGINT 19 0
resource_old Table newmodule VARCHAR 50 null
question_attempts Table questionsummary LONGTEXT 2147483647 null

If this question uses randomisation, it should set this field to summarise what random version the student actually saw. This is a human-readable textual summary of the student's response which might, for example, be used in a report.

assign_grades Table timemodified BIGINT 19 0

The most recent modification time for the assignment submission by a grader.

quiz Table name VARCHAR 255

Quiz name.

auth_connect_user_collections Table cohortid BIGINT 19 null
goal_type_info_data Table fieldid BIGINT 19 null
scale_history Table userid BIGINT 19 0
prog_messagelog Table coursesetid BIGINT 19 0
assignment_submissions Table timemodified BIGINT 19 0
goal_user_info_data Table goal_userid BIGINT 19 null
message Table timecreated BIGINT 19 0
editor_atto_autosave Table pageinstance VARCHAR 64

The browser tab instance that last saved the draft text. This is to prevent multiple tabs from the same user saving different text alternately.

dp_plan_program_assign Table planid BIGINT 19 null

Identifies the plan this program is attached to

facetoface_signup_info_field Table shortname VARCHAR 100 null
enrol_lti_lti2_share_key Table resourcelinkid BIGINT 19 null
user_enrolments Table userid BIGINT 19 null
mnetservice_enrol_courses Table fullname VARCHAR 254
wiki_links Table topageid BIGINT 19 0

Page id that recives a link

reportbuilder_grp_user_record Table reportbuilderrecordid BIGINT 19 null
grade_outcomes Table descriptionformat TINYINT 3 0
files Table referencefileid BIGINT 19 null

Use to indicate file is a proxy for repository file

questionnaire_survey Table theme VARCHAR 64 null
appraisal_history Table timecreated BIGINT 19 null
wiki Table id BIGINT 19 null
dp_plan_component_relation Table itemid1 BIGINT 19 null

Identifier for the first component in the relation

grade_items Table calculation LONGTEXT 2147483647 null

Formula describing how to derive this grade from other items, referring to them using giXXX where XXX is grade item id ... eg something like: =sin(square(#gi20#)) + #gi30#

appraisal_scale_data Table appraisalscalevalueid BIGINT 19 null
tool_sitepolicy_user_consent Table consentoptionid BIGINT 19 null

Which option the user consented to

grade_grades_history Table action BIGINT 19 0

created/modified/deleted constants

portfolio_log Table continueurl VARCHAR 255

the url the external system has set to view the transfer

message_metadata Table urgency SMALLINT 5 null

The message urgency

prog_info_field Table defaultdata LONGTEXT 2147483647 null
dp_plan_evidence_info_field Table id BIGINT 19 null
url Table introformat SMALLINT 5 0
comp_criteria_record Table id BIGINT 19 null
course_modules Table completion BIT 1 0

Whether the completion-tracking facilities are enabled for this activity. 0 = not enabled (database default) 1 = manual tracking, user can tick this activity off (UI default for most activity types) 2 = automatic tracking, system should mark completion according to rules specified in course_moduleS_completion

quiz_attempts Table currentpage BIGINT 19 0
task_scheduled Table disabled BIT 1 0

1 means do not run from cron

backup_logs Table backupid VARCHAR 32

backupid the log record belongs to

prog_info_field Table param1 LONGTEXT 2147483647 null
errorlog Table build VARCHAR 255 null
enrol_flatfile Table id BIGINT 19 null
dp_objective_scale Table defaultid BIGINT 19 null

Identifies the id of the default scale value

chat_users Table sid VARCHAR 32
assign_grades Table attemptnumber BIGINT 19 0

The attempt number that this grade relates to

totara_compl_import_cert Table certificationshortname VARCHAR 255 null

certification shortname

appraisal_grp_cohort Table appraisalid BIGINT 19 null
log_queries Table info LONGTEXT 2147483647 null

detailed info such as error text

tool_customlang_components Table id BIGINT 19 null
scorm_scoes Table id BIGINT 19 null
course_modules Table deletioninprogress BIT 1 0
comp_criteria_record Table itemid BIGINT 19 null
chat_users Table ip VARCHAR 45
course_categories Table certifcount BIGINT 19 0

Totara certification count from totara_program

stats_user_monthly Table stattype VARCHAR 30
gradingform_guide_comments Table description LONGTEXT 2147483647 null

The comment description

glossary_entries Table fullmatch TINYINT 3 1
task_scheduled Table day VARCHAR 25
grade_grades Table userid BIGINT 19 null

The user who this grade is for

data Table assesstimestart BIGINT 19 0
dp_plan_competency_assign Table competencyid BIGINT 19 null

Identifies the competency being assigned

goal Table visible TINYINT 3 null
qtype_match_options Table incorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any incorrect response.

totara_connect_clients Table status BIT 1 null

0 means ok, anything else means do not talk with the client system

org_relations Table id1 BIGINT 19 null
reportbuilder_grp_org_user Table reportbuilderuserid BIGINT 19 null
competency_modulecomp Table competencyid BIGINT 19 null

The course competency this activity is linked to.

lesson_branch Table retry BIGINT 19 0
workshopallocation_scheduled Table workshopid BIGINT 19 null

workshop id we are part of

facetoface_cancellation_info_data Table data LONGTEXT 2147483647 null
message Table timeusertodeleted BIGINT 19 0
lti_tool_settings Table toolproxyid BIGINT 19 null

Primary key of related tool proxy

grade_items_history Table itemmodule VARCHAR 30 null

'forum', 'quiz', 'csv', etc

reminder_message Table copyto LONGTEXT 2147483647 null
data_content Table content1 LONGTEXT 2147483647 null
profiling Table totalexecutiontime BIGINT 19 null

time (in microseconds) spent by the run

forum Table timemodified BIGINT 19 0
mnet_remote_rpc Table plugintype VARCHAR 20
facetoface_sessions Table timemodified BIGINT 19 0
choice Table allowmultiple TINYINT 3 0
facetoface Table reservedays INT 10 2

Number days before the session when reservations are closed

scorm_scoes_data Table name VARCHAR 255
competency_templatecomp Table id BIGINT 19 null
assignfeedback_comments Table assignment BIGINT 19 0
course Table summary LONGTEXT 2147483647 null
cohort_role Table timecreated BIGINT 19 null
assignsubmission_onlinetext Table onlineformat SMALLINT 5 0

The format for this online text submission.

log_queries Table exectime DECIMAL 10 null

query execution time in seconds as float

appraisal Table description LONGTEXT 2147483647 null
reportbuilder_grp_user_record Table userid BIGINT 19 null
forum_discussion_subs Table forum BIGINT 19 null
goal_type_info_field Table defaultdata LONGTEXT 2147483647 null
competency_userevidence Table id BIGINT 19 null
competency_framework Table visible TINYINT 3 1

Used to show/hide this competency framework.

question_response_analysis Table whichtries VARCHAR 255
totara_connect_client_courses Table clientid BIGINT 19 null
reminder Table deleted BIT 1 null
competency_usercompcourse Table competencyid BIGINT 19 null

Competency associated to the user.

course_published Table timechecked BIGINT 19 null

the last time the status has been checked

enrol_lti_tools Table city VARCHAR 120
wiki Table editend BIGINT 19 0

editend

forum Table blockperiod BIGINT 19 0
qtype_multichoice_options Table incorrectfeedbackformat TINYINT 3 0
role_sortorder Table userid BIGINT 19 null
totara_userdata_purge_type Table usercreated BIGINT 19 null

Who added this type

goal_personal Table assigntype TINYINT 3 null
questionnaire_response Table complete VARCHAR 1 n
event Table type SMALLINT 5 0

Totara: Not used as a part of Moodle's new Course Overview Block (MDL-55611)

local_ld_import_logs_status Table adhoctaskid BIGINT 19 null

Import logs task id

glossary Table entbypage SMALLINT 5 10
enrol Table customint6 BIGINT 19 null

Custom - general int

report_builder_filters Table sortorder BIGINT 19 null

Determines the order that the filters appear in the report

scorm_scoes_track Table id BIGINT 19 null
user Table trustbitmask BIGINT 19 0
course_completion_crit_compl Table unenroled BIGINT 19 null

Timestamp when the user was unenroled

messageinbound_messagelist Table address LONGTEXT 2147483647 null

The Inbound Message address that the message was originally sent to

tag_area Table component VARCHAR 100
report_builder_global_restriction Table allrecords BIT 1 0

True means no restrictions

cohort_rule_params Table modifierid BIGINT 19 null
auth_connect_user_collections Table collectionid BIGINT 19 null

server id of cohort, course

oauth2_endpoint Table timemodified BIGINT 19 null

The time this record was modified.

gradingform_guide_criteria Table descriptionformat TINYINT 3 null

The format of the description field

certificate Table timecreated BIGINT 19 0
appraisal_quest_field Table param4 LONGTEXT 2147483647 null
competency_templatecomp Table timemodified BIGINT 19 null

The time this link was modified.

org_framework Table sortorder BIGINT 19 null
course_completion_log Table description LONGTEXT 2147483647 null

Description of what changed, English only

certificate_issues Table certificateid BIGINT 19 0
job_assignment Table description LONGTEXT 2147483647 null
facetoface_cancellation_info_data Table id BIGINT 19 null
pos_framework Table description LONGTEXT 2147483647 null
comp_record Table positionid BIGINT 19 null
quiz Table decimalpoints SMALLINT 5 2

Number of decimal points to use when displaying grades.

editor_atto_autosave Table draftid BIGINT 19 null

Optional draft area id containing draft files.

cohort_rulesets Table modifierid BIGINT 19 null
user Table phone1 VARCHAR 20
course_published Table hubcourseid BIGINT 19 null

the course id on the hub server

pos_type Table timecreated BIGINT 19 null
course_info_field Table sortorder BIGINT 19 null
question_ddwtos Table partiallycorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any partially correct response.

grade_items Table hidden BIGINT 19 0

1 is hidden, > 1 is a date to hide until (prevents viewing)

grading_definitions Table descriptionformat TINYINT 3 null

Format of the description field

wiki_synonyms Table pagesynonym VARCHAR 255 Pagesynonym

Page name synonym

prog_completion Table programid BIGINT 19 0
lti_types Table timecreated BIGINT 19 null
pos_framework Table id BIGINT 19 null
facetoface_session_info_field Table forceunique TINYINT 3 null
quiz_attempts Table quiz BIGINT 19 0

Foreign key reference to the quiz that was attempted.

feedback_completed Table timemodified BIGINT 19 0
scorm Table skipview BIT 1 1
comp_type_info_field Table locked TINYINT 3 null
mnet_session Table useragent VARCHAR 40

SHA1 hash of User Agent

block_zoola_reports_schreps Table bodyformat SMALLINT 5 0
cohort Table active BIT 1 0

Totara active flag from totara_cohort

certificate_issues_history Table timearchived BIGINT 19 null
report_builder_settings Table id BIGINT 19 null
grade_grades_history Table information LONGTEXT 2147483647 null

optiona information

questionnaire_quest_choice Table question_id BIGINT 19 0
editor_atto_autosave Table id BIGINT 19 null
user_info_field Table visible SMALLINT 5 0

Visibility: private, public, hidden

event Table eventtype VARCHAR 20
course Table legacyfiles SMALLINT 5 0

course files are not necessary any more: 0 no legacy files, 1 legacy files disabled, 2 legacy files enabled

auth_connect_servers Table clientidnumber VARCHAR 64

World unique client ID, server is using it in client requests

quiz Table showblocks SMALLINT 5 0

Whether blocks should be shown on the attempt.php and review.php pages.

external_services_users Table externalserviceid BIGINT 19 null
stats_monthly Table stat1 BIGINT 19 0

stat1. usually used for reads

course_sections Table availability LONGTEXT 2147483647 null

Availability restrictions for viewing this section, in JSON format. Null if no restrictions.

log_display Table component VARCHAR 100

owner of the log action

badge_criteria_param Table id BIGINT 19 null
tool_monitor_rules Table name VARCHAR 254

Name of the rule

question_statistics Table negcovar TINYINT 3 0
prog_assignment Table id BIGINT 19 null
grade_items Table gradepass DECIMAL 10 0.00000

What grade is needed to pass? grademin < gradepass <= grademax

page Table timemodified BIGINT 19 0
glossary Table assesstimestart BIGINT 19 0
goal_item_history Table itemid BIGINT 19 null
competency_template Table id BIGINT 19 null
gap_aspirational Table usermodified BIGINT 19 null
grade_grades_history Table feedback LONGTEXT 2147483647 null

grading feedback

lesson Table displayleftif SMALLINT 5 0
competency_template Table timemodified BIGINT 19 null

The time this learning plan template was last modified.

tool_recyclebin_category Table shortname VARCHAR 255
user_devices Table timemodified BIGINT 19 null
quiz Table graceperiod BIGINT 19 0

The amount of time (in seconds) after the time limit runs out during which attempts can still be submitted, if overduehandling is set to allow it.

question_answers Table id BIGINT 19 null
quiz_sections Table id BIGINT 19 null
reportbuilder_grp_user_user Table id BIGINT 19 null
grade_items_history Table grademax DECIMAL 10 100.00000

What is the maximum allowable grade?

enrol_lti_lti2_resource_link Table shareapproved BIT 1 null
tool_monitor_rules Table eventname VARCHAR 254

Fully qualified name of the event

qtype_match_options Table incorrectfeedbackformat TINYINT 3 0
glossary Table rssarticles TINYINT 3 0
course_info_field Table param1 LONGTEXT 2147483647 null
workshop_assessments Table weight BIGINT 19 1

The weight of the assessment for the purposes of aggregation

competency_usercompcourse Table userid BIGINT 19 null

User associated to the competency.

groups Table descriptionformat TINYINT 3 0
appraisal_role_assignment Table userid BIGINT 19 null
grade_categories_history Table id BIGINT 19 null
grade_grades Table hidden BIGINT 19 0

show 0, hide 1 or hide until date

data_fields Table param5 LONGTEXT 2147483647 null
user_password_resets Table id BIGINT 19 null
competency_coursecompsetting Table timecreated BIGINT 19 null

The time this setting was created.

report_builder_graph Table type VARCHAR 20

Type of graph, empty means none

enrol Table roleid BIGINT 19 0

Custom - the default role given to participants who self-enrol

cohort_msg_queue Table cohortid BIGINT 19 null
dp_priority_scale_value Table numericscore DECIMAL 10 null
scorm_scoes_data Table id BIGINT 19 null
feedback Table timemodified BIGINT 19 0
totara_connect_sso_sessions Table clientid BIGINT 19 null
repository_instance_config Table value LONGTEXT 2147483647 null
lti_tool_proxies Table timecreated BIGINT 19 null

Date/time at which the record was created

report_builder Table hidden SMALLINT 5 0

If set to 1, report not shown on My Reports page but still accessible at URL

tool_sitepolicy_policy_version Table timecreated BIGINT 19 null

Timestamp of when the policy version was created

qtype_ddmarker Table shownumcorrect TINYINT 3 0
feedback_template Table name VARCHAR 255
enrol_lti_users Table sourceid LONGTEXT 2147483647 null
user Table institution VARCHAR 255
enrol_paypal Table memo VARCHAR 255
certificate Table printoutcome BIGINT 19 0
comp_criteria_record Table timecreated BIGINT 19 null
dp_plan_settings Table templateid BIGINT 19 null

Identifies the template these settings should be applied to

enrol_lti_tools Table timemodified BIGINT 19 null
block_totara_featured_links_tiles Table presetshowing BIT 1 0

This field holds whether the preset rules are to be applied

chat_users Table userid BIGINT 19 0
forum_posts Table userid BIGINT 19 0
facetoface_notification Table booked BIT 1 0
block_zoola_reports Table uri VARCHAR 1333

Report URI

scorm_seq_ruleconds Table action VARCHAR 25
gradingform_guide_criteria Table sortorder BIGINT 19 null

Defines the order of the criterion in the guide

files Table contenthash VARCHAR 40

sha1 hash of file content

totara_userdata_purge Table userid BIGINT 19 null

The target user

user Table suspended BIT 1 0

suspended flag prevents users to log in

feedback_template Table course BIGINT 19 0
label Table intro LONGTEXT 2147483647 null
certificate Table emailteachers BIT 1 0
chat_messages_current Table issystem BIT 1 0
assignment_submissions Table userid BIGINT 19 0
cohort_plan_config Table excludecreatedmanual BIT 1 1

Exclude auto plan creation for users who have an existing, manually created plan based on the template id

auth_approved_request_snapshots Table resolvedby BIGINT 19 null
workshop Table introformat SMALLINT 5 0

The format of the intro field

totara_connect_sso_sessions Table userid BIGINT 19 null
appraisal_stage_data Table realusercompleted BIGINT 19 null
message_read Table component VARCHAR 100 null
prog_info_data Table fieldid BIGINT 19 null
questionnaire_question Table position BIGINT 19 0
assignment_submissions Table timemarked BIGINT 19 0
survey_questions Table intro VARCHAR 50
logstore_standard_log Table eventname VARCHAR 255
facetoface_notification Table courseid BIGINT 19 null
mnet_host2service Table subscribe BIT 1 0
enrol_lti_lti2_resource_link Table ltiresourcelinkkey VARCHAR 255
facetoface_session_info_field Table datatype VARCHAR 255 null
totara_compl_import_course Table importevidence BIT 1 0

imported into evidence

external_functions Table classname VARCHAR 100
facetoface_cancellation_info_field Table defaultdata LONGTEXT 2147483647 null
survey_analysis Table userid BIGINT 19 0
qtype_ddmarker Table id BIGINT 19 null
questionnaire_response_bool Table response_id BIGINT 19 0
scale_history Table description LONGTEXT 2147483647 null
tool_sitepolicy_localised_consent Table id BIGINT 19 null
block_zoola_reports_eventcfg Table enabled BIT 1 1

Is this schedule enabled

competency_plan Table templateid BIGINT 19 null
reportbuilder_grp_org_record Table id BIGINT 19 null
messageinbound_handlers Table component VARCHAR 100

The component this handler belongs to.

user Table address VARCHAR 255
lti Table secureicon LONGTEXT 2147483647 null
backup_controllers Table type VARCHAR 10

Type of the backup (activity/section/course)

totara_connect_client_courses Table timecreated BIGINT 19 null
appraisal_user_event Table timescheduled BIGINT 19 null
facetoface Table thirdpartywaitlist BIT 1 0

Set to 1 if the third party wants to receive signups/cancellations about wait-listed sessions, 0 otherwise.

grade_outcomes_history Table loggeduser BIGINT 19 null

the userid of the person who last modified this outcome

block_instances Table subpagepattern VARCHAR 16 null

Further restrictions on where this block appears. In some places, e.g. during a quiz or lesson attempt, different pages have different subpage ids. If this field is not null, the block only appears on that particular subpage.

role_allow_switch Table roleid BIGINT 19 null

The role the user has.

repository_instances Table username VARCHAR 255 null
question_ddwtos Table shownumcorrect TINYINT 3 0
course Table timecreated BIGINT 19 0
mnet_application Table sso_jump_url VARCHAR 255
enrol_lti_users Table lastgrade DECIMAL 10 null

The last grade that was sent

assignfeedback_editpdf_annot Table id BIGINT 19 null
goal_user_info_field Table id BIGINT 19 null
prog_completion Table id BIGINT 19 null
assign Table alwaysshowdescription TINYINT 3 0

If false the assignment intro will only be displayed after the allowsubmissionsfrom date. If true it will always be displayed.

comp_type_info_field Table param3 LONGTEXT 2147483647 null
report_builder_filters Table type VARCHAR 255

Type of filter, used with value to identify the filter option

catalog Table ftsmedium LONGTEXT 2147483647 null
question_usages Table preferredbehaviour VARCHAR 32

The archetypal behaviour that should be used for question attempts in this usage.

cohort Table cohorttype BIGINT 19 1

Totara cohort type from totara_cohort, 1 is static 2 is dynamic

enrol_lti_lti2_consumer Table id BIGINT 19 null
scorm_seq_rulecond Table refrencedobjective VARCHAR 255
comp_framework Table fullname VARCHAR 1024
prog_info_field Table hidden TINYINT 3 null
goal_type_info_field Table shortname VARCHAR 100 null
mnet_service Table name VARCHAR 40
goal_scale_values Table scaleid BIGINT 19 null
totara_userdata_purge_type Table idnumber VARCHAR 255

Unique plain text identifier

report_builder Table description LONGTEXT 2147483647 null

Description of the report

lti_types Table enabledcapability LONGTEXT 2147483647 null

Enabled capabilities, one per line (null for LTI 1 tools)

dp_plan Table timecompleted BIGINT 19 null

Timestamp of the completed date plan

appraisal_event_message Table appraisaleventid BIGINT 19 null
tag_instance Table itemid BIGINT 19 null
user_devices Table appid VARCHAR 128

the app id, usually something like com.moodle.moodlemobile

pos Table timevalidfrom BIGINT 19 null
lock_db Table owner VARCHAR 36 null

uuid indicating the owner of the lock.

certif_completion_history Table id BIGINT 19 null
tag_coll Table isdefault TINYINT 3 0
report_builder_schedule Table reportid BIGINT 19 null
workshop Table intro LONGTEXT 2147483647 null

The introduction or description of the activity

events_handlers Table internal TINYINT 3 1

1 means standard plugin handler, 0 indicates if event handler sends data to external systems, this is used for example to prevent immediate sending of events from pending db transactions

tool_sitepolicy_user_consent Table userid BIGINT 19 null

The user whose answered this is

post Table created BIGINT 19 0
dp_objective_scale Table id BIGINT 19 null
feedback Table completionsubmit BIT 1 0

If this field is set to 1, then the activity will be automatically marked as 'complete' once the user submits their choice.

forum Table scale BIGINT 19 0
competency_userevidence Table userid BIGINT 19 null
mnet_service Table id BIGINT 19 null

Unique Service ID

auth_connect_servers Table clientsecret VARCHAR 64

Secret the server is using in client requests

upgrade_log Table timemodified BIGINT 19 null
forum Table course BIGINT 19 0
assign_user_flags Table userid BIGINT 19 0

The id of the user these flags apply to.

external_functions Table id BIGINT 19 null
stats_daily Table courseid BIGINT 19 0
messageinbound_handlers Table id BIGINT 19 null
external_services Table enabled BIT 1 null
workshop_assessments Table gradinggrade DECIMAL 10 null

The computed grade 0..100 for this assessment. If NULL then it has not been computed yet.

reportbuilder_grp_pos_record Table timecreated BIGINT 19 0
badge Table issuerurl VARCHAR 255
appraisal Table id BIGINT 19 null
cohort Table name VARCHAR 254

Short human readable name for the cohort, does not have to be unique

enrol_lti_lti2_user_result Table updated BIGINT 19 null
course_format_options Table format VARCHAR 21

Format this option is for

cohort_rulesets Table rulecollectionid BIGINT 19 null
enrol_lti_lti2_consumer Table toolproxy LONGTEXT 2147483647 null
post Table courseid BIGINT 19 0
totara_userdata_purge_item Table component VARCHAR 100

Plugin name or subsystem, e.g. mod_glossary, core_user

mnetservice_enrol_courses Table hostid BIGINT 19 null

The id of the remote MNet host

files_reference Table referencehash VARCHAR 40

Internal implementation detail, contains SHA1 hash of the reference field. Can be indexed and used for comparison. Not meant to be used by a non-core code.

scorm_seq_rolluprule Table conditioncombination VARCHAR 3 all
goal_user_type_cohort Table usermodified BIGINT 19 null
logstore_standard_log Table ip VARCHAR 45 null

IP address

assignfeedback_editpdf_annot Table endx BIGINT 19 0

x-position of the end of the annotation

prog_courseset Table coursesumfieldtotal SMALLINT 5 0
quiz_statistics Table lastattemptscount BIGINT 19 null
grade_items Table gradetype SMALLINT 5 1

0 = none, 1 = value, 2 = scale, 3 = text

feedback360_user_assignment Table timedue BIGINT 19 0
comp_type_info_field Table forceunique TINYINT 3 null
appraisal_event Table appraisalid BIGINT 19 null
prog Table assignmentsdeferred BIT 1 0

Indicates that user assignments need to be updated

certificate_issues_history Table userid BIGINT 19 0
block_recent_activity Table id BIGINT 19 null
comp_type Table usermodified BIGINT 19 null
report_builder_columns Table aggregate VARCHAR 30 null

Aggregation type, null means none

goal_user_type Table usermodified BIGINT 19 null
dp_permissions Table id BIGINT 19 null
survey Table questions VARCHAR 255
question_calculated_options Table correctfeedbackformat TINYINT 3 0
user Table lastlogin BIGINT 19 0
question_ddwtos Table incorrectfeedbackformat TINYINT 3 0
cohort_rules Table ruletype VARCHAR 255
totara_connect_client_org_frameworks Table clientid BIGINT 19 null
portfolio_tempdata Table instance BIGINT 19 0

which portfolio plugin instance is being used

assign Table markingallocation TINYINT 3 0

If enabled, marking allocation features will be used in this assignment

data Table approval SMALLINT 5 0
certificate Table customtext LONGTEXT 2147483647 null
events_queue Table timecreated BIGINT 19 null

time stamp of the first time this was added

role_capabilities Table permission BIGINT 19 0
report_builder_cache Table id BIGINT 19 null
prog_info_field Table param2 LONGTEXT 2147483647 null
block_positions Table region VARCHAR 16

Which block region on this page this block should appear in.

quiz_attempts Table layout LONGTEXT 2147483647 null
lesson_pages Table timecreated BIGINT 19 0
lti_tool_settings Table course BIGINT 19 null

Primary key of course (null for system-wide settings)

comp Table aggregationmethod TINYINT 3 null
competency_framework Table id BIGINT 19 null
mnet_host Table last_connect_time BIGINT 19 0
message Table id BIGINT 19 null
gradingform_guide_criteria Table id BIGINT 19 null
backup_controllers Table itemid BIGINT 19 null

id of the module/section/activity being backup

role_assignments Table sortorder BIGINT 19 0
prog Table timecreated BIGINT 19 0
report_builder_schedule Table frequency BIGINT 19 null
certificate_issues_history Table code VARCHAR 40 null

Copy of the 10-digit code that can be printed on the certificate

block_positions Table id BIGINT 19 null
page Table id BIGINT 19 null
lesson Table modattempts SMALLINT 5 0
course_completion_crit_compl Table criteriaid BIGINT 19 0

Completion criteria this references

goal_record Table scalevalueid BIGINT 19 null
mnet_session Table mnethostid BIGINT 19 0

Unique remote host ID

local_ld_module Table coursemoduleid BIGINT 19 null

Foreign key to the course_modules table

quiz_statistics Table hashcode VARCHAR 40

sha1 hash of serialized qubaids_condition class. Unique for every combination of class name and property.

event Table priority BIGINT 19 null

Totara: Not used as a part of Moodle's new Course Overview Block (MDL-55611). The event's display priority. For multiple events with the same module name, instance and eventtype (e.g. for group overrides), the one with the higher priority will be displayed.

question_multianswer Table id BIGINT 19 null
gradingform_guide_criteria Table descriptionmarkers LONGTEXT 2147483647 null

Description for Markers

totara_compl_import_cert Table rownumber BIGINT 19 null

Row number in the csv file

chat_messages Table timestamp BIGINT 19 0
dp_plan Table createdby BIT 1 0

Integer to identify if the plan has been create by an automatic process

gradingform_rubric_criteria Table descriptionformat TINYINT 3 null

The format of the description field

course_modules_completion Table viewed BIT 1 null

Tracks whether or not this activity has been viewed. NULL = we are not tracking viewed for this activity 0 = not viewed 1 = viewed

report_builder_columns Table id BIGINT 19 null
badge Table courseid BIGINT 19 null
report_builder_columns Table hidden SMALLINT 5 0

If non zero then column is hidden from users by default

competency_userevidence Table timemodified BIGINT 19 null
course_info_field Table locked BIT 1 null
stats_user_weekly Table courseid BIGINT 19 0
auth_approved_request_snapshots Table firstname VARCHAR 100 null
comp Table fullname VARCHAR 1024 null
feedback_value Table completed BIGINT 19 0
data_fields Table param1 LONGTEXT 2147483647 null
data Table comments SMALLINT 5 0
assignfeedback_editpdf_annot Table gradeid BIGINT 19 0
scorm_scoes_data Table scoid BIGINT 19 0
workshop Table instructreviewersformat SMALLINT 5 0
certificate_issues_history Table timecompleted BIGINT 19 null

Date/Time completed at the time the certificate was archived.

log Table userid BIGINT 19 0
report_builder_graph Table series LONGTEXT 2147483647 null

Series info encoded in json format

book Table name VARCHAR 255
qtype_randomsamatch_options Table incorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any incorrect response.

feedback Table introformat SMALLINT 5 0
goal_user_type Table timemodified BIGINT 19 null
appraisal_user_assignment Table activestageid BIGINT 19 null
tag Table tagcollid BIGINT 19 null
course_completions Table userid BIGINT 19 0
competency_framework Table scaleid BIGINT 19 null

Scale used to define competency.

assignfeedback_editpdf_annot Table colour VARCHAR 10 black

Can be red, yellow, green, blue, white, black

capabilities Table id BIGINT 19 null
competency_userevidence Table usermodified BIGINT 19 null
questionnaire_question Table type_id BIGINT 19 0
questionnaire_survey Table thanks_page VARCHAR 255 null
role_assignments Table modifierid BIGINT 19 0
block_recent_activity Table cmid BIGINT 19 null

Course module id

events_queue_handlers Table errormessage LONGTEXT 2147483647 null

if an error happened last time we tried to process this event, record it here.

wiki_pages Table timemodified BIGINT 19 0

page edition timestamp

course_completion_criteria Table timeend BIGINT 19 null

Timestamp of the date for course completion (if using date criteria type)

enrol_lti_lti2_consumer Table consumerguid VARCHAR 1024 null
choice Table display SMALLINT 5 0
block_totara_featured_links_tiles Table timemodified BIGINT 19 0

The last time that the tile was modified

workshopeval_best_settings Table id BIGINT 19 null
facetoface_cancellation_info_field Table param3 LONGTEXT 2147483647 null
user Table lastip VARCHAR 45
role_capabilities Table id BIGINT 19 null
workshop_assessments Table grade DECIMAL 10 null

The aggregated grade for submission suggested by the reviewer. The grade 0..100 is computed from the values assigned to the assessment dimensions fields. If NULL then it has not been aggregated yet.

tool_usertours_tours Table id BIGINT 19 null
event Table id BIGINT 19 null
competency_relatedcomp Table timecreated BIGINT 19 null
data Table timemodified BIGINT 19 0

The time the settings for this database module instance were last modified.

local_ld_course_day Table id BIGINT 19 null
local_ld_import_logs_status Table progress DECIMAL 10 0.00

Percentage of work done (0 - 100)

survey_questions Table text VARCHAR 255
data Table timeavailableto BIGINT 19 0
forum Table type VARCHAR 20 general
questionnaire_resp_single Table response_id BIGINT 19 0
post Table summaryformat TINYINT 3 0
facetoface_session_info_field Table param1 LONGTEXT 2147483647 null
mnet_service Table description VARCHAR 40
totara_userdata_purge_type_item Table timechanged BIGINT 19 null

Last time when the purge field was changed

user_devices Table uuid VARCHAR 255

The device vendor UUID

scorm_seq_mapinfo Table writesatisfiedstatus BIT 1 0
questionnaire Table sid BIGINT 19 0

The id entry in the questionnaire_survey field.

facetoface_room_info_field Table param2 LONGTEXT 2147483647 null
gradingform_rubric_criteria Table sortorder BIGINT 19 null

Defines the order of the criterion in the rubric

totara_userdata_purge Table result BIGINT 19 null

null means not finished, -1 completed ok, -2 means error, -3 means skipped, -4 cancelled, -5 timed out

prog_recurrence Table id BIGINT 19 null
questionnaire Table qtype BIGINT 19 0

Questionnaire type code.

assign_user_mapping Table userid BIGINT 19 0
workshop_submissions Table workshopid BIGINT 19 null

the id of the workshop instance

qtype_ddimageortext_drags Table infinite SMALLINT 5 0
local_ld_module_day Table daytime BIGINT 19 null

Timestamp of the beginning of the day

scale_history Table loggeduser BIGINT 19 null

the userid of the person who last modified this outcome

prog_info_data_param Table value VARCHAR 32
portfolio_instance_config Table name VARCHAR 255

config field

grade_import_values Table newgradeitem BIGINT 19 null

if set, points to the id of grade_import_newitem

facetoface_sessions Table capacity BIGINT 19 0

Number of students who can enroll in this session. A value of 0 means unlimited.

mnetservice_enrol_courses Table rolename VARCHAR 255

The name of the role at the remote server that our users will get when we enrol them there

feedback360_quest_field Table feedback360id BIGINT 19 null
totara_userdata_user Table timedeletedpurged BIGINT 19 null

Last time the user was purged with the selected type, resets to null after type change

badge_issued Table id BIGINT 19 null
block_zoola_reports_schreps Table starttime BIGINT 19 null

Time when the report should run for the first time. 0 means run immediately.

dp_objective_settings Table duedatemode SMALLINT 5 0
resource Table legacyfiles SMALLINT 5 0
forum_digests Table id BIGINT 19 null
user_password_resets Table timererequested BIGINT 19 0

The time the user re-requested the password reset.

facetoface_session_info_field Table id BIGINT 19 null
lesson_timer Table id BIGINT 19 null
dp_objective_scale_value Table objscaleid BIGINT 19 null

Identifies the objective scale id this value belongs to

external_tokens Table sid VARCHAR 128 null

link to browser or emulated session

lesson Table intro LONGTEXT 2147483647 null
facetoface Table waitlistautoclean BIT 1 0
quiz_attempts Table timemodifiedoffline BIGINT 19 0

Last modified time via web services.

forum_posts Table parent BIGINT 19 0
grade_categories_history Table depth BIGINT 19 0

How many parents does this category have?

quiz_feedback Table feedbacktext LONGTEXT 2147483647 null

The feedback to show for a attempt where mingrade <= attempt grade < maxgrade. See function quiz_feedback_for_grade in mod/quiz/locallib.php.

feedback_sitecourse_map Table courseid BIGINT 19 0
questionnaire_question Table deleted VARCHAR 1 n
totara_sync_log Table time BIGINT 19 null

unix time

scorm_seq_objective Table scoid BIGINT 19 0
question_multianswer Table question BIGINT 19 0
quiz Table id BIGINT 19 null

Standard Moodle primary key.

scale_history Table timemodified BIGINT 19 null

The last time this grade_item was modified

badge_backpack Table backpackuid BIGINT 19 null
message_read Table fullmessageformat SMALLINT 5 0

The format of the full message

question_hints Table options VARCHAR 255 null

A space for any other question-type specific options.

job_assignment Table sortorder BIGINT 19 null
scorm_seq_rolluprulecond Table cond VARCHAR 25
quiz Table delay2 BIGINT 19 0

Delay that must be left between the second and subsequent attempt, in seconds.

badge_backpack Table id BIGINT 19 null
blog_external Table timefetched BIGINT 19 0
facetoface Table selectjobassignmentonsignup BIT 1 0

Users with multiple job assignments will select one on signup

comp_type_info_field Table typeid BIGINT 19 null
assign_user_flags Table mailed SMALLINT 5 0

Has the student been sent a notification about this grade update?

facetoface_sessioncancel_info_field Table param4 LONGTEXT 2147483647 null
goal_scale Table id BIGINT 19 null
totara_connect_clients Table clienturl VARCHAR 255

Web address of the client system

badge_criteria Table badgeid BIGINT 19 0
dp_objective_scale_value Table description LONGTEXT 2147483647 null

The description of the scale value

question_categories Table name VARCHAR 255
questionnaire_question Table name VARCHAR 30 null
files Table id BIGINT 19 null
tool_customlang Table original LONGTEXT 2147483647 null

English original of the string

appraisal_quest_field Table appraisalstagepageid BIGINT 19 null
chat_messages Table groupid BIGINT 19 0
tool_recyclebin_course Table name VARCHAR 255 null
lti Table id BIGINT 19 null
facetoface Table declareinterest BIT 1 0

Allow users to declare interest in the facetoface

lesson_branch Table userid BIGINT 19 0
logstore_standard_log Table origin VARCHAR 10 null

cli, cron, ws, etc.

question_calculated_options Table synchronize TINYINT 3 0
goal_user_type_cohort Table id BIGINT 19 null
prog_assignment Table includechildren BIT 1 0
prog_completion_history Table organisationid BIGINT 19 null
catalog_search_metadata Table timecreated BIGINT 19 null
grade_categories_history Table hidden BIT 1 0
reportbuilder_grp_user_user Table reportbuilderuserid BIGINT 19 null
workshopform_numerrors Table description LONGTEXT 2147483647 null

The description of the dimension

repository_instances Table userid BIGINT 19 0
prog_exception Table id BIGINT 19 null
prog Table certifid BIGINT 19 null

FK to certification table

user_preferences Table name VARCHAR 255
portfolio_tempdata Table expirytime BIGINT 19 null

time this record will expire (used for cron cleanups) - the start of export + 24 hours

totara_connect_clients Table apiversion BIGINT 19 null

The API version used for communication with this client

lesson_pages Table timemodified BIGINT 19 0
config_plugins Table name VARCHAR 100
totara_userdata_user Table suspendedpurgetypeid BIGINT 19 null
certif_completion Table status TINYINT 3 null

Certification status

scorm_seq_objective Table satisfiedbymeasure BIT 1 1
enrol_lti_lti2_consumer Table profile LONGTEXT 2147483647 null
question Table name VARCHAR 255
feedback_completed Table anonymous_response BIT 1 0
competency_plan Table descriptionformat SMALLINT 5 0
certif Table recertifydatetype BIT 1 null

Indicator for which date is used for the recertification, either the completion date or the certificate expiry date

dp_priority_scale Table id BIGINT 19 null
facetoface_signup_info_field Table forceunique TINYINT 3 null
facetoface_interest Table facetoface BIGINT 19 0
facetoface_sessions_dates Table roomid BIGINT 19 null

Foreign key to facetoface_room

facetoface_asset Table name VARCHAR 100 null
totara_compl_import_course Table rownumber BIGINT 19 null

Row number in the csv file

oauth2_issuer Table loginparams LONGTEXT 2147483647 null

Additional parameters sent for a login attempt.

certificate Table printhours VARCHAR 255 null
folder Table timemodified BIGINT 19 0
facetoface_sessioncancel_info_field Table description LONGTEXT 2147483647 null
enrol_lti_tools Table membersync BIT 1 0
question_attempt_steps Table sequencenumber BIGINT 19 null

Numbers the steps in a question attempt sequentially.

quiz Table grademethod SMALLINT 5 1

One of the values QUIZ_GRADEHIGHEST, QUIZ_GRADEAVERAGE, QUIZ_ATTEMPTFIRST or QUIZ_ATTEMPTLAST.

data Table requiredentriestoview INT 10 0
user Table picture BIGINT 19 0

0 means no image uploaded, positive values are revisions thta prevent caching problems, negative values are reserved for future use

qtype_ddmarker_drags Table noofdrags BIGINT 19 1

No of drag items, ignored if drag is infinite.

scorm Table popup BIT 1 0
feedback360_quest_field Table defaultdataformat BIT 1 null
enrol_lti_tools Table timezone VARCHAR 100 99
course_completion_history Table courseid BIGINT 19 null
enrol_lti_lti2_consumer Table name VARCHAR 50
report_builder_schedule Table nextreport BIGINT 19 null
dp_component_settings Table enabled SMALLINT 5 1

Controls if this component is available or not

assign Table introformat SMALLINT 5 0

The format of the description field of the assignment. This field is used by feature MOD_INTRO.

certificate_issues_history Table idarchived BIGINT 19 null
totara_userdata_user Table id BIGINT 19 null
lti Table introformat SMALLINT 5 0

Format of the intro field (MOODLE, HTML, MARKDOWN...)

resource_old Table migrated BIGINT 19 0
oauth2_issuer Table scopessupported LONGTEXT 2147483647 null

The list of scopes this service supports.

tool_customlang Table stringid VARCHAR 255

The identifier of the string

question_hints Table hintformat SMALLINT 5 0

The format of the hint.

prog Table timemodified BIGINT 19 0
filter_config Table id BIGINT 19 null
wiki_locks Table lockedat BIGINT 19 0

timestamp

prog_assignment Table assignmenttypeid BIGINT 19 0
org_framework Table description LONGTEXT 2147483647 null
wiki Table wikimode VARCHAR 20 collaborative

Wiki mode (individual, collaborative)

facetoface_signup_info_data Table data LONGTEXT 2147483647 null
forum Table assesstimefinish BIGINT 19 0
block Table name VARCHAR 40
workshop Table id BIGINT 19 null
workshopform_numerrors_map Table workshopid BIGINT 19 null

The id of the workshop

task_adhoc Table faildelay BIGINT 19 null
quiz_attempts Table preview SMALLINT 5 0
survey_answers Table userid BIGINT 19 0
assignsubmission_file Table assignment BIGINT 19 0
questionnaire_response_date Table response_id BIGINT 19 0
facetoface_sessions Table selfapproval BIT 1 0

Allow self approval

lesson Table feedback SMALLINT 5 1
goal_scale Table description LONGTEXT 2147483647 null
grade_categories Table timemodified BIGINT 19 null
grading_definitions Table description LONGTEXT 2147483647 null

More detailed description of the form

assignfeedback_editpdf_quick Table id BIGINT 19 null
report_builder_filters Table filtername VARCHAR 1024 null

Visible name describing the filter to report users

grade_outcomes Table fullname LONGTEXT 2147483647 null

The full description of the outcome (usually 1 sentence)

lti Table launchcontainer TINYINT 3 1

Launch external tool in a pop-up

enrol_paypal Table userid BIGINT 19 0
questionnaire_response_bool Table choice_id VARCHAR 1 y
enrol_lti_users Table membershipsurl LONGTEXT 2147483647 null
mnetservice_enrol_courses Table categoryid BIGINT 19 null

The id of the category on the remote server

workshop_assessments Table timemodified BIGINT 19 0

If 0 then the assessment was allocated but the reviewer has not assessed yet. If greater than 0 then the timestamp of when the reviewer assessed for the last time

facetoface_session_info_field Table showinsummary BIT 1 1

Whether or not to show this field in attendance exports and lists of sessions

event Table uuid VARCHAR 255
enrol_flatfile Table action VARCHAR 30
report_builder_saved Table reportid BIGINT 19 null

ID of the report this saved search belongs to

course Table cacherev BIGINT 19 0

Incrementing revision for validating the course content cache

course_completions Table course BIGINT 19 0
feedback360_quest_field Table param1 LONGTEXT 2147483647 null
facetoface_session_info_field Table param4 LONGTEXT 2147483647 null
reportbuilder_grp_pos_user Table id BIGINT 19 null
glossary_formats Table defaultmode VARCHAR 50
question_statistics Table positions LONGTEXT 2147483647 null

positions in which this item appears. Only used for random questions.

backup_courses Table lastendtime BIGINT 19 0
course Table visible BIT 1 1
org_competencies Table templateid BIGINT 19 null
repository Table type VARCHAR 255
course_request Table summary LONGTEXT 2147483647 null
block_instances Table common_config LONGTEXT 2147483647 null

Json encoded common block configuration data

sessions Table sessdata LONGTEXT 2147483647 null

session content

competency_plancomp Table usermodified BIGINT 19 null
cohort_plan_history Table completed BIT 1 null
quiz Table attemptonlast SMALLINT 5 0

Whether subsequent attempts start from teh answer to the previous attempt (1) or start blank (0).

grade_grades Table aggregationweight DECIMAL 10 null

If the aggregationstatus == 'included', then this is the percent this item contributed to the aggregation.

facetoface_asset_info_field Table defaultdata LONGTEXT 2147483647 null
choice Table timemodified BIGINT 19 0
enrol_lti_tool_consumer_map Table consumerid BIGINT 19 null

The consumer ID.

report_builder_columns Table type VARCHAR 255

Type of column, used with value to identify the column option

prog Table sortorder BIGINT 19 0
appraisal_grp_pos Table includechildren BIT 1 null
goal_user_info_field Table shortname VARCHAR 100 null
resource_old Table timemodified BIGINT 19 0
reportbuilder_grp_org_record Table includechildren BIT 1 0
org Table id BIGINT 19 null
prog_courseset_course Table coursesetid BIGINT 19 0
prog_completion_history Table recurringcourseid BIGINT 19 0
course_completions Table id BIGINT 19 null
lti_types Table timemodified BIGINT 19 null
modules Table cron BIGINT 19 0
dp_priority_scale_value Table description LONGTEXT 2147483647 null

Description of the scale value

facetoface_session_info_field Table param2 LONGTEXT 2147483647 null
groups Table enrolmentkey VARCHAR 50 null
scorm Table width BIGINT 19 100
goal Table sortthread VARCHAR 255 null
facetoface_notification_sent Table userid BIGINT 19 0
cohort Table timecreated BIGINT 19 null
totara_dashboard_user Table dashboardid BIGINT 19 null
totara_compl_import_cert Table importuserid BIGINT 19 null

ID of user running the import

goal_user_info_field Table description LONGTEXT 2147483647 null
external_functions Table methodname VARCHAR 100
goal_type_info_field Table fullname VARCHAR 1024 null
forum Table displaywordcount BIT 1 0
dp_template Table startdate BIGINT 19 null

Timestamp for when plans based on this template start by default

comments Table component VARCHAR 255 null

The plugin this comment belongs to.

course_completions Table rpl VARCHAR 255 null

Totara recognition of prior learning from totara_core

appraisal_quest_field_role Table appraisalrole SMALLINT 5 null
pos Table sortthread VARCHAR 255 null
report_builder_saved Table name VARCHAR 255

A name describing the saved search

feedback360_grp_org Table orgid BIGINT 19 null
feedback360_scale Table scaletype TINYINT 3 null
org_competencies Table linktype TINYINT 3 0
appraisal_user_assignment Table jobassignmentlastmodified BIGINT 19 null
cohort_role Table timemodified BIGINT 19 null
quiz_attempts Table uniqueid BIGINT 19 0

Foreign key reference to the question_usage that holds the details of the the question_attempts that make up this quiz attempt.

pos_framework Table usermodified BIGINT 19 null
auth_connect_servers Table id BIGINT 19 null
scorm_scoes Table manifest VARCHAR 255
feedback_completedtmp Table feedback BIGINT 19 0
report_builder_schedule_email_systemuser Table scheduleid BIGINT 19 null
org_type_info_field Table locked TINYINT 3 null
badge_criteria Table criteriatype BIGINT 19 null

The criteria type we are aggregating

appraisal_quest_field_role Table rights SMALLINT 5 null
tool_sitepolicy_localised_policy Table isprimary BIT 1 null

If the localised policy is the Admin's primary version

dp_plan_competency_assign Table duedate BIGINT 19 null

Timestamp of the date this competency is due to be completed.

facetoface_sessioncancel_info_data Table facetofacesessioncancelid BIGINT 19 null

WARNING - this points to session id

workshop_submissions Table example TINYINT 3 0

Is this submission an example from teacher

comp Table description LONGTEXT 2147483647 null
block_totara_featured_links_tiles Table dataraw LONGTEXT 2147483647 null

The raw Json encoded data about how to display the tile

tag Table name VARCHAR 255
grading_definitions Table id BIGINT 19 null
log_queries Table qtype MEDIUMINT 7 null

query type constant

facetoface_sessioncancel_info_data Table fieldid BIGINT 19 null
prog_completion_log Table userid BIGINT 19 null

Users id

forum Table blockafter BIGINT 19 0
message_airnotifier_devices Table userdeviceid BIGINT 19 null

The user device id in the user_devices table

appraisal_quest_field Table datatype VARCHAR 255
glossary_entries Table id BIGINT 19 null
message Table component VARCHAR 100 null
mnetservice_enrol_courses Table sortorder BIGINT 19 0
facetoface_signup_info_field Table param3 LONGTEXT 2147483647 null
enrol_lti_users Table consumerkey LONGTEXT 2147483647 null
course Table enablecompletion BIT 1 0

1 = allow use of 'completion' progress-tracking on this course. 0 = disable completion tracking on this course.

prog_courseset_course Table id BIGINT 19 null
post Table rating BIGINT 19 0
comp_framework Table timemodified BIGINT 19 null
grade_items_history Table aggregationcoef DECIMAL 10 0.00000

Aggregation coefficient used for category weights or other aggregation types

qtype_ddmarker Table partiallycorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any partially correct response.

appraisal_event Table id BIGINT 19 null
auth_connect_sso_sessions Table ssotoken VARCHAR 64

Token used for identification of SSO session, this needs to be used together with client or server secret because it may end up in web server logs

mnetservice_enrol_courses Table idnumber VARCHAR 100
grade_items_history Table categoryid BIGINT 19 null

(optional) the category group this item belongs to

imscp Table course BIGINT 19 0
question_numerical_options Table question BIGINT 19 0
feedback360_quest_field Table datatype VARCHAR 255 null
qtype_randomsamatch_options Table correctfeedback LONGTEXT 2147483647 null

Feedback shown for any correct response.

course_completion_crit_compl Table timecompleted BIGINT 19 null
dp_permissions Table templateid BIGINT 19 null

ID of the template that this permission setting is for

user Table url VARCHAR 255
cohort_role Table id BIGINT 19 null
quiz_grades Table id BIGINT 19 null
report_builder_schedule_email_external Table email VARCHAR 255
comp_framework Table idnumber VARCHAR 100 null
appraisal_grp_org Table includechildren BIT 1 null
appraisal_review_data Table itemid BIGINT 19 null
sessions Table timecreated BIGINT 19 null
competency_templatecomp Table timecreated BIGINT 19 null

The time this link was created.

competency_userevidencecomp Table userevidenceid BIGINT 19 null
grade_settings Table courseid BIGINT 19 null
assignsubmission_onlinetext Table assignment BIGINT 19 0
dp_evidence_type Table usermodified BIGINT 19 null
dp_template Table workflow VARCHAR 255 null

Current workflow for this template

course_completion_log Table changeuserid BIGINT 19 null

User id of the person who caused the change

facetoface_notification_tpl Table title LONGTEXT 2147483647 null
feedback_value_history Table course_id BIGINT 19 0

Doesn't seem to be used, the course id is in the feedback table

course Table icon VARCHAR 255 null

Totara course icon from totara_core

glossary Table usedynalink TINYINT 3 1
goal_framework Table hidecustomfields TINYINT 3 null
tool_monitor_history Table userid BIGINT 19 null

User to whom this notification was sent

pos_type Table description LONGTEXT 2147483647 null
question_calculated_options Table id BIGINT 19 null
mnet_host Table public_key LONGTEXT 2147483647 null
enrol_lti_tools Table contextid BIGINT 19 null
badge Table attachment BIT 1 1

Attach baked badge for download

errorlog Table version VARCHAR 255 null
scorm_aicc_session Table timemodified BIGINT 19 0

time this session was last used

question_hints Table clearwrong BIT 1 null

Whether any wrong choices should be cleared before the next try. Whether this is applicable, and what it means, depends on the question type, as with the shownumright option.

folder Table id BIGINT 19 null
prog_completion_log Table changeuserid BIGINT 19 null

User id of the person who caused the change

gradingform_guide_fillings Table score DECIMAL 10 null

The score assigned

assign_overrides Table sortorder BIGINT 19 null

Rank for sorting overrides.

goal_framework Table sortorder BIGINT 19 null
config_log Table userid BIGINT 19 null
dp_plan_settings Table autobyitems SMALLINT 5 0

Flag to identify if a plan should autocomplete when all items have been completed

competency_template Table description LONGTEXT 2147483647 null

Description of this learning plan template

scorm Table timemodified BIGINT 19 0
certificate Table printteacher BIGINT 19 0
dp_evidence_type Table description LONGTEXT 2147483647 null
external_tokens Table id BIGINT 19 null
dp_competency_settings Table autoadddefaultevidence SMALLINT 5 0
license Table enabled BIT 1 1
lesson Table width BIGINT 19 640
profiling Table url VARCHAR 255

the url this profiling record is about (without wwwroot nor query params)

qtype_ddmarker_drops Table id BIGINT 19 null
appraisal_role_changes Table id BIGINT 19 null
appraisal_stage_role_setting Table id BIGINT 19 null
prog_extension Table programid BIGINT 19 0
scorm_seq_objective Table minnormalizedmeasure FLOAT 11 0.0000
competency Table competencyframeworkid BIGINT 19 null

The framework this competency relates to.

lti_submission Table originalgrade DECIMAL 10 null
facetoface_notification_tpl Table managerprefix LONGTEXT 2147483647 null
tool_sitepolicy_localised_policy Table id BIGINT 19 null
cohort_visibility Table instanceid BIGINT 19 0
course_modules Table completionexpected BIGINT 19 0

Date at which students are expected to complete this activity. This field is used when displaying student progress.

feedback360_scale_data Table id BIGINT 19 null
lti_types Table description LONGTEXT 2147483647 null

A description of what this LTI module is.

pos_type_info_data_param Table value VARCHAR 32
blog_association Table blogid BIGINT 19 null
modules Table visible BIT 1 1
glossary Table mainglossary TINYINT 3 0
tag_coll Table sortorder MEDIUMINT 7 0
portfolio_instance_user Table instance BIGINT 19 null

fk to instance table

question_response_count Table rcount BIGINT 19 null
external_services_users Table id BIGINT 19 null
pos Table path VARCHAR 255 null
assignfeedback_editpdf_annot Table pageno BIGINT 19 0

The page in the PDF that this annotation appears on

task_scheduled Table customised TINYINT 3 0

Used on upgrades to prevent overwriting custom schedules.

tool_sitepolicy_localised_consent Table consentoption VARCHAR 1333

The option the user selects to consent

local_activityvisibility Table instance BIGINT 19 0

The instance ID as defined in the course_module table.

gradingform_guide_fillings Table instanceid BIGINT 19 null

The ID of the grading form instance

prog_info_data_param Table id BIGINT 19 null
enrol_lti_lti2_context Table type VARCHAR 100 null
lesson_overrides Table deadline BIGINT 19 null

Time by which students must have completed their attempt. Can be null, in which case the lesson default is used.

assign Table markingworkflow TINYINT 3 0

If enabled, marking workflow features will be used in this assignment.

url Table display SMALLINT 5 0
feedback360_grp_pos Table posid BIGINT 19 null
appraisal Table status BIT 1 0
user Table lastname VARCHAR 100
workshop_grades Table grade DECIMAL 10 null

Given grade in the referenced assessment dimension.

editor_atto_autosave Table pagehash VARCHAR 64

The HTML DOM id of the page that loaded the form.

goal_scale_values Table sortorder BIGINT 19 null
prog_courseset Table label VARCHAR 255
portfolio_instance Table visible BIT 1 1

whether this instance is visible or not

job_assignment Table id BIGINT 19 null
survey_questions Table type SMALLINT 5 0
lesson Table practice SMALLINT 5 0
questionnaire_response_text Table response LONGTEXT 2147483647 null
comp_type_info_data Table data LONGTEXT 2147483647 null
assign_submission Table id BIGINT 19 null
tool_monitor_subscriptions Table userid BIGINT 19 null

User id of the subscriber

course_completion_log Table userid BIGINT 19 null

Users id

glossary_entries Table definitionformat TINYINT 3 0
quiz_slots Table quizid BIGINT 19 0

Foreign key references quiz.id.

question_datasets Table question BIGINT 19 0
tag Table descriptionformat TINYINT 3 0
cohort_plan_config Table id BIGINT 19 null
appraisal_quest_field Table param2 LONGTEXT 2147483647 null
block_zoola_reports Table label VARCHAR 255

Report label

questionnaire Table resp_view TINYINT 3 0

Questionnaire viewed?

wiki_pages Table id BIGINT 19 null
block_zoola_notifications Table id BIGINT 19 null
badge Table issuername VARCHAR 255
oauth2_issuer Table requireconfirmation TINYINT 3 1

Authentication requires email confirmation

comp_template_assignment Table instanceid BIGINT 19 null
facetoface Table completionstatusrequired VARCHAR 255 null
dp_objective_settings Table prioritymode SMALLINT 5 0
scorm_aicc_session Table hacpsession VARCHAR 255

sessionid used to authenticate AICC HACP communication

assign_overrides Table assignid BIGINT 19 0

Foreign key references assign.id

data Table completionentries BIGINT 19 0

Totara: Not used because feature is not taken yet (TL-15462). Number of entries required for completion

backup_controllers Table timecreated BIGINT 19 null

time the controller was created

question_response_count Table id BIGINT 19 null
block_rss_client Table userid BIGINT 19 0
certificate_issues Table code VARCHAR 40 null
facetoface_room_info_field Table param4 LONGTEXT 2147483647 null
dp_objective_scale Table sortorder BIGINT 19 null
assign_overrides Table userid BIGINT 19 null

Foreign key references user.id. Can be null if this is a per-group override.

forum_discussion_subs Table id BIGINT 19 null
totara_connect_clients Table serversecret VARCHAR 64

Shared secret, used by the client in each server request

user Table confirmed BIT 1 0
org_framework Table shortname VARCHAR 100 null
dp_plan_history Table id BIGINT 19 null
forum Table trackingtype TINYINT 3 1
question_ddwtos Table correctfeedback LONGTEXT 2147483647 null

Feedback shown for any correct response.

comp_scale Table name VARCHAR 255 null
local_ld_course_day Table day VARCHAR 10

Day formatted as 'YYYY-MM-DD'

appraisal Table name VARCHAR 255
mnet_host2service Table id BIGINT 19 null
block_totara_featured_links_tiles Table presetsraw LONGTEXT 2147483647 null

The comma separated strings that refer to the preset rules that apply to the tile

appraisal_scale Table scaletype BIGINT 19 null
assignment_submissions Table teacher BIGINT 19 0
totara_compl_import_course Table username VARCHAR 100 null

username

comp_scale_values Table timemodified BIGINT 19 null
question_response_analysis Table response LONGTEXT 2147483647 null
appraisal_user_assignment Table userid BIGINT 19 null
profiling Table data LONGTEXT 2147483647 null

the raw data gathered by xhprof

enrol Table customtext3 LONGTEXT 2147483647 null

Custom - general text

question_gapselect Table questionid BIGINT 19 0
auth_connect_ids Table id BIGINT 19 null
lti_submission Table id BIGINT 19 null
questionnaire Table course BIGINT 19 0

Id of course

course_completions Table timecompleted BIGINT 19 null
totara_userdata_export_item Table component VARCHAR 100

Plugin name or subsystem, e.g. mod_glossary, core_user

lesson_answers Table responseformat TINYINT 3 0
stats_user_daily Table roleid BIGINT 19 0
facetoface_session_roles Table sessionid BIGINT 19 null
repository Table sortorder BIGINT 19 0
comp Table timecreated BIGINT 19 null
mnet_host Table theme VARCHAR 100 null
course_completion_crit_compl Table gradefinal DECIMAL 10 null

The final grade for the course (included regardless of whether a passing grade was required)

workshopform_accumulative Table workshopid BIGINT 19 null

Workshop ID

forum Table intro LONGTEXT 2147483647 null
facetoface_room Table name VARCHAR 100 null
task_adhoc Table classname VARCHAR 255

The name of the class extending adhoc_task to run when this task is executed.

certificate Table intro LONGTEXT 2147483647 null
course Table defaultgroupingid BIGINT 19 0

default grouping used in course modules, does not have key intentionally

file_conversion Table destfileid BIGINT 19 null
facetoface_signup_info_data Table facetofacesignupid BIGINT 19 null

WARNING - this points to signup id

scorm Table name VARCHAR 255
goal Table path VARCHAR 255 null
cache_filters Table md5key VARCHAR 32
enrol_lti_tools Table lang VARCHAR 30 en
prog_completion Table positionid BIGINT 19 null
role_assignments Table itemid BIGINT 19 0

Id of enrolment/auth instance responsible for this role assignment

cohort_visibility Table id BIGINT 19 null
facetoface_notification_hist Table sessionid BIGINT 19 null

FK of facetoface_sessions

quiz_statistics Table skewness DECIMAL 15 null
appraisal_quest_field Table descriptionformat BIT 1 null
course_modules Table instance BIGINT 19 0
facetoface_asset_info_data Table facetofaceassetid BIGINT 19 null
message_read Table useridfrom BIGINT 19 0
data_content Table content LONGTEXT 2147483647 null
user_info_data Table fieldid BIGINT 19 0

id from the field table

lesson Table completiontimespent BIGINT 19 0
scale Table id BIGINT 19 null
org Table idnumber VARCHAR 100 null
pos_type_info_field Table description LONGTEXT 2147483647 null
grade_items Table grademax DECIMAL 10 100.00000

What is the maximum allowable grade?

report_builder_filters Table region SMALLINT 5 0

Indicates whether filter appears at the top or in the sidebar

enrol_totara_f2f_pending Table userid BIGINT 19 0
pos_type Table id BIGINT 19 null
workshop Table usepeerassessment TINYINT 3 0

optional feature: students perform peer assessment of others' work

enrol_lti_lti2_user_result Table created BIGINT 19 null
totara_dashboard_user Table id BIGINT 19 null
gradingform_guide_criteria Table maxscore DECIMAL 10 null

maximum grade that can be assigned using this criterion

local_ld_import_logs_status Table timefinished BIGINT 19 null

When the import logs tash finished

task_adhoc Table nextruntime BIGINT 19 null
lesson Table conditions LONGTEXT 2147483647 null
totara_navigation Table custom BIT 1 1

Set to 1 for custom items and custom containers only

competency_relatedcomp Table competencyid BIGINT 19 null
goal_scale_values Table description LONGTEXT 2147483647 null
wiki Table name VARCHAR 255 Wiki

name field for moodle instances

assignsubmission_onlinetext Table id BIGINT 19 null
data Table manageapproved SMALLINT 5 1
feedback_item Table feedback BIGINT 19 0
url Table name VARCHAR 255
dp_plan_objective Table fullname VARCHAR 255 null
wiki_locks Table sectionname VARCHAR 255 null

locked page section

prog_completion_history Table programid BIGINT 19 0
goal_framework Table timecreated BIGINT 19 null
question Table generalfeedback LONGTEXT 2147483647 null

to store the question feedback

glossary_entries Table teacherentry TINYINT 3 0
org_framework Table timecreated BIGINT 19 null
workshop Table assessmentstart BIGINT 19 0

0 = will be started manually, greater than 0 the timestamp of the start of the assessment phase

block_zoola_reports_eventcfg Table sendtomanager BIT 1 0

Add related user manager's email to recipient list

grade_import_values Table importer BIGINT 19 null
pos_type_info_field Table id BIGINT 19 null
certificate Table bordercolor VARCHAR 30 0
scorm_scoes Table title VARCHAR 255
pos_type_info_field Table typeid BIGINT 19 null
qtype_essay_options Table responsefieldlines SMALLINT 5 15

Approximate height, in lines, of the input box the students should be given for their response.

workshop_grades Table peercomment LONGTEXT 2147483647 null

Reviewer's comment to the grade value.

course_info_data_param Table id BIGINT 19 null
lti_tool_proxies Table timemodified BIGINT 19 null

Date/time at which the record was last modified

user_devices Table userid BIGINT 19 0
cache_filters Table version BIGINT 19 0
grading_areas Table activemethod VARCHAR 100 null

The default grading method (plugin) that should be used for this area

course_published Table status BIT 1 0

is the publication published or not

enrol_paypal Table receiver_id VARCHAR 255
org_framework Table hidecustomfields TINYINT 3 null
feedback_value Table item BIGINT 19 0
backup_courses Table id BIGINT 19 null
stats_user_daily Table statswrites BIGINT 19 0
rating Table contextid BIGINT 19 null
dp_plan_course_assign Table id BIGINT 19 null
wiki_versions Table content LONGTEXT 2147483647 null

Not parsed wiki content

grade_categories Table depth BIGINT 19 0

How many parents does this category have?

enrol_lti_lti2_consumer Table settings LONGTEXT 2147483647 null
tag Table isstandard BIT 1 0

Whether this tag is standard

local_ld_module Table totaldedication BIGINT 19 0

Total time spent on this module, in seconds

qtype_ddimageortext_drops Table questionid BIGINT 19 0
competency Table idnumber VARCHAR 100 null
scale_history Table action BIGINT 19 0

created/modified/deleted constants

choice Table name VARCHAR 255
glossary Table intro LONGTEXT 2147483647 null
dp_objective_settings Table id BIGINT 19 null
comp Table depthlevel BIGINT 19 null
feedback_item Table options VARCHAR 255
grade_import_newitem Table itemname VARCHAR 255

new grade item name

question_numerical_units Table question BIGINT 19 0

Foreign key references question.id

workshopallocation_scheduled Table id BIGINT 19 null
feedback_item Table label VARCHAR 255
appraisal_stage Table description LONGTEXT 2147483647 null
pos_type_info_field Table param5 LONGTEXT 2147483647 null
facetoface Table id BIGINT 19 null
portfolio_tempdata Table userid BIGINT 19 null

psuedo fk to user. this is stored in the serialised data structure in the data field, but added here for ease of lookups.

repository_instances Table timecreated BIGINT 19 null
lock_db Table id BIGINT 19 null
dp_plan_settings Table autobyplandate SMALLINT 5 0

Flag to identify if a plan should autocomplete when due date has passed

message_read Table smallmessage LONGTEXT 2147483647 null

Smal version of message (eg sms)

totara_compl_import_course Table courseshortname VARCHAR 255 null

course shortname

totara_userdata_purge_type Table id BIGINT 19 null
pos Table timemodified BIGINT 19 null
facetoface_room_info_field Table shortname VARCHAR 100 null
forum_discussions Table forum BIGINT 19 0
facetoface_sessions Table timecreated BIGINT 19 0
dp_plan_component_relation Table component1 VARCHAR 255 null

The first component in the relation - first alphabetically

totara_userdata_purge_type_item Table id BIGINT 19 null
groupings_groups Table groupid BIGINT 19 0
tool_usertours_steps Table content LONGTEXT 2147483647 null

Content of the user tour - allow for multilang tags

grade_import_values Table itemid BIGINT 19 null

if set, this points to existing grade_items id

scorm_seq_rolluprule Table action VARCHAR 15
comp_scale_values Table scaleid BIGINT 19 null
lesson_answers Table timecreated BIGINT 19 0
questionnaire_question Table dependquestion BIGINT 19 0
grading_areas Table component VARCHAR 100

Frankenstyle name of the component holding this area

cohort Table component VARCHAR 100

Component (plugintype_pluignname) that manages the cohort, manual modifications are allowed only when set to NULL

workshop_submissions Table timemodified BIGINT 19 null

Timestamp when the submission has been updated

tag_instance Table timecreated BIGINT 19 0
job_assignment Table usermodified BIGINT 19 null

The ID of the user who last modified this job assignment

pos_type_info_field Table hidden TINYINT 3 null
report_builder_schedule Table lastmodified BIGINT 19 0

Timestamp when the scheduled report settings was last modified

facetoface_signups Table managerid BIGINT 19 null

Manager can be selected by user (if allowed), which will override other managers settings

totara_navigation_settings Table name VARCHAR 255
reportbuilder_grp_cohort_record Table cohortid BIGINT 19 null
assign Table teamsubmissiongroupingid BIGINT 19 0

A grouping id to get groups for team submissions

question_categories Table info LONGTEXT 2147483647 null
upgrade_log Table plugin VARCHAR 100 null
feedback360 Table id BIGINT 19 null
facetoface_interest Table reason LONGTEXT 2147483647 null
forum_subscriptions Table userid BIGINT 19 0
grade_items_history Table iteminfo LONGTEXT 2147483647 null

Info and notes about this item XXX

assign Table cutoffdate BIGINT 19 0

The final date after which submissions will no longer be accepted for this assignment without an extensions.

auth_connect_user_collections Table collectiontype VARCHAR 30

cohort, course

facetoface_session_info_data Table id BIGINT 19 null
feedback360_scale_value Table id BIGINT 19 null
registration_hubs Table id BIGINT 19 null
questionnaire_attempts Table timemodified BIGINT 19 0
grade_import_newitem Table importcode BIGINT 19 null

import batch code for identification

facetoface_sessions_dates Table id BIGINT 19 null
registration_hubs Table secret VARCHAR 255 null

the unique site identifier for this hub

totara_userdata_purge Table purgetypeid BIGINT 19 null
feedback360_email_assignment Table email VARCHAR 255
lti_types Table toolproxyid BIGINT 19 null

Primary key of related tool proxy (null for LTI 1 tools)

user_info_field Table shortname VARCHAR 255 shortname

short name for each field

competency_coursecompsetting Table usermodified BIGINT 19 null

The user who last modified this setting

portfolio_instance Table plugin VARCHAR 50

fk to plugin

grading_definitions Table timecopied BIGINT 19 0

The timestamp of when this form was most recently copied into another area

grade_outcomes_courses Table id BIGINT 19 null
user_info_data Table dataformat TINYINT 3 0
pos_relations Table id2 BIGINT 19 null
scorm_seq_rolluprule Table childactivityset VARCHAR 15
assignfeedback_editpdf_cmnt Table y BIGINT 19 0

y-position of the top-left corner of the comment (in pixels - image resolution is set to 100 pixels per inch)

grade_items_history Table locktime BIGINT 19 0

lock all final grades after this date

quiz_grades Table userid BIGINT 19 0

Foreign key references user.id.

comp_type_info_field Table required TINYINT 3 null
reportbuilder_grp_org_record Table orgid BIGINT 19 null
totara_userdata_purge_item Table result BIGINT 19 null

null means not finished, -1 completed ok, -2 means error, -3 means skipped, -4 cancelled, -5 timed out

competency_templatecomp Table templateid BIGINT 19 null

The template this competency is linked to.

lesson Table mediaclose SMALLINT 5 0
prog_message Table managersubject VARCHAR 255
feedback360_grp_cohort Table feedback360id BIGINT 19 null
cohort_rule_collections Table timemodified BIGINT 19 null
groups_members Table groupid BIGINT 19 0
cache_filters Table rawtext LONGTEXT 2147483647 null
course_info_field Table param3 LONGTEXT 2147483647 null
events_queue_handlers Table queuedeventid BIGINT 19 null

foreign key id corresponding to the id of the event_queues table

feedback_value Table course_id BIGINT 19 0
enrol Table customint4 BIGINT 19 null

Custom - general int

auth_connect_ids Table tablename VARCHAR 64

Database table name, maximum is 40, but use more to prevent future problems

question_attempts Table flagged BIT 1 0

Whether this question has been flagged within the attempt.

lesson_pages Table qoption SMALLINT 5 0
lti_submission_history Table ltiid BIGINT 19 null
cohort_rule_collections Table rulesetoperator TINYINT 3 0
question_numerical_options Table id BIGINT 19 null
comp_template Table fullname LONGTEXT 2147483647 null
badge_manual_award Table issuerid BIGINT 19 null
scorm_seq_rulecond Table scoid BIGINT 19 0
pos_competencies Table usermodified BIGINT 19 null
wiki_links Table id BIGINT 19 null
prog_completion Table timecompleted BIGINT 19 0
competency_template Table visible TINYINT 3 1

Used to show/hide this learning plan template.

block_totara_featured_links_tiles Table overallaggregation SMALLINT 5 0

The aggregation for the section ie matches audience and preset

lesson Table bgcolor VARCHAR 7 #FFFFFF
report_builder_schedule Table exporttofilesystem BIGINT 19 0
workshop_aggregations Table userid BIGINT 19 null

The id of the user which aggregated grades are calculated for

badge_criteria_met Table critid BIGINT 19 null
goal Table timemodified BIGINT 19 null
block_recent_activity Table action BIT 1 null

0 created, 1 updated, 2 deleted

persistent_login Table cookie VARCHAR 128

Permanent cookie used for automatic login

assign Table grade BIGINT 19 0

The maximum grade for this assignment. Can be negative to indicate the use of a scale.

workshop_assessments Table feedbackreviewer LONGTEXT 2147483647 null

The comment/feedback from the teacher for the reviewer. For example the reason why the grade for assessment was overridden

repository_opensesame_bps Table bundleid BIGINT 19 null
local_ld_module Table id BIGINT 19 null
block_instances Table configdata LONGTEXT 2147483647 null

A serialized blob of configuration data for this block instance.

facetoface_signup_info_field Table fullname VARCHAR 1024 null
pos_relations Table id BIGINT 19 null
scorm Table introformat SMALLINT 5 0
prog_courseset Table timeallowed BIGINT 19 0
block_totara_featured_links_tiles Table id BIGINT 19 null

This is the tileid

auth_connect_servers Table servercomment LONGTEXT 2147483647 null

Comments by client administrator

repository_instance_config Table instanceid BIGINT 19 null
comp Table shortname VARCHAR 100 null
message_metadata Table onaccept LONGTEXT 2147483647 null

serialised action on message acceptance

dp_plan_evidence_info_data Table data LONGTEXT 2147483647 null
course_modules Table idnumber VARCHAR 100 null

customizable idnumber

workshop_assessments Table timecreated BIGINT 19 0

If 0 then the assessment was allocated but the reviewer has not assessed yet. If greater than 0 then the timestamp of when the reviewer assessed for the first time

dp_competency_settings Table priorityscale BIGINT 19 null

Identifies the scale used by this component

mnet_rpc Table plugintype VARCHAR 20
groupings_groups Table timeadded BIGINT 19 0
message_processors Table id BIGINT 19 null
book Table course BIGINT 19 0
question_dataset_definitions Table itemcount BIGINT 19 0
portfolio_log Table caller_class VARCHAR 150

the name of the class used to create the transfer

competency_plancomp Table timemodified BIGINT 19 null
messageinbound_messagelist Table id BIGINT 19 null
cohort Table alertmembers BIT 1 0

Totara alert members from totara_cohort

block Table id BIGINT 19 null
facetoface_asset_dates Table id BIGINT 19 null
badge_external Table backpackid BIGINT 19 null

ID of a backpack

grading_areas Table id BIGINT 19 null
stats_user_weekly Table timeend BIGINT 19 0
assign_overrides Table groupid BIGINT 19 null

Foreign key references groups.id. Can be null if this is a per-user override.

qtype_match_options Table shuffleanswers SMALLINT 5 1
repository_opensesame_bdls Table name VARCHAR 1333

Bundle name, cannot have enforced unique index because it is too long

messageinbound_messagelist Table userid BIGINT 19 null
course_request Table requester BIGINT 19 0
assignfeedback_file Table grade BIGINT 19 0
course_modules Table availability LONGTEXT 2147483647 null

Availability restrictions for viewing this activity, in JSON format. Null if no restrictions.

facetoface_asset_info_data_param Table value VARCHAR 32
job_assignment Table positionid BIGINT 19 null

The ID of the position the user holds as part of this job assignment

scorm_aicc_session Table scoid BIGINT 19 0

id from scorm_scoes table

lesson Table name VARCHAR 255
chat_users Table version VARCHAR 16
dp_competency_settings Table prioritymode SMALLINT 5 0

Defines how priorities are handled within this component

mnetservice_enrol_courses Table remoteid BIGINT 19 null

ID of course on its home server

dp_objective_scale_value Table numericscore DECIMAL 10 null

Identifies a score that can be assigned to a scale value

qtype_essay_options Table attachments SMALLINT 5 0

Whether, and how many, attachments a student is allowed to include with their response. -1 means unlimited.

mnet_log Table cmid BIGINT 19 0
goal_item_history Table id BIGINT 19 null
data_fields Table param10 LONGTEXT 2147483647 null
dp_objective_scale_value Table id BIGINT 19 null
auth_oauth2_linked_login Table username VARCHAR 255

The external username to map to this moodle account

data_content Table content4 LONGTEXT 2147483647 null
auth_approved_request Table confirmed BIT 1 null

Value 1 if email ownership confirmed, 0 if not

post Table subject VARCHAR 128
prog_completion_log Table programid BIGINT 19 null

Program ID

prog_completion_log Table timemodified BIGINT 19 null
course_completion_crit_compl Table course BIGINT 19 0
assign_overrides Table cutoffdate BIGINT 19 null

Time by which students must have completed their attempt. Can be null, in which case the assign default is used.

enrol_lti_lti2_consumer Table lastaccess BIGINT 19 null
mnet_host Table deleted BIT 1 0
messageinbound_handlers Table classname VARCHAR 255

The class defining the Inbound Message handler to be called.

post Table coursemoduleid BIGINT 19 0
block_zoola_module_name Table instanceid BIGINT 19 null

Instance id

event Table description LONGTEXT 2147483647 null
mnet_host Table id BIGINT 19 null

Unique Host ID

backup_trusted_files Table id BIGINT 19 null
role_assignments Table contextid BIGINT 19 0
pos_type Table usermodified BIGINT 19 null
data Table introformat SMALLINT 5 0
resource_old Table course BIGINT 19 0
enrol_lti_tools Table maxenrolled BIGINT 19 0
quiz_feedback Table maxgrade DECIMAL 10 0.00000

The upper limit of this grade band. Exclusive.

dp_plan_objective Table duedate BIGINT 19 null
totara_userdata_export_item Table exportid BIGINT 19 null
tool_customlang Table local LONGTEXT 2147483647 null

Local customization of the string, null if not customized

user Table maildisplay TINYINT 3 2
quickaccess_preferences Table value LONGTEXT 2147483647 null
facetoface_cancellation_info_data Table facetofacecancellationid BIGINT 19 null

WARNING - this points to signup id

questionnaire_response_other Table question_id BIGINT 19 0
page Table introformat SMALLINT 5 0
task_scheduled Table blocking TINYINT 3 0

Block the entire cron when this task is running.

goal_type Table usermodified BIGINT 19 null
questionnaire_response Table userid BIGINT 19 null
job_assignment Table managerjapath VARCHAR 1024

The job assignment path up the tree until we find the top user

dp_plan_evidence_info_field Table param2 LONGTEXT 2147483647 null
appraisal_role_changes Table originaluserid BIGINT 19 null
portfolio_log Table caller_file VARCHAR 255

path to file to include where the class definition lives. (relative to dirroot)

external_services Table component VARCHAR 100 null
tag Table description LONGTEXT 2147483647 null
cohort Table startdate BIGINT 19 null

Totara start date from totara_cohort

block_totara_featured_links_tiles Table audienceaggregation SMALLINT 5 0

The aggregation of the audience rules ie AND or OR

tag_instance Table timemodified BIGINT 19 0

timemodified

qtype_essay_options Table graderinfoformat SMALLINT 5 0

The text format for graderinfo.

dp_plan_evidence Table id BIGINT 19 null
totara_connect_client_courses Table courseid BIGINT 19 null
comp_criteria Table itemtype VARCHAR 30 null
enrol Table status BIGINT 19 0

0..9 are system constants, 0 means active enrolment, see ENROL_STATUS_* constants, plugins may define own status greater than 10

scorm_seq_rulecond Table measurethreshold FLOAT 11 0.0000
dp_plan_evidence_relation Table evidenceid BIGINT 19 null

Evidence ID from dp_plan_evidence

report_builder Table timemodified BIGINT 19 0

Updated when the report, column or setting changes

log_display Table id BIGINT 19 null
competency Table id BIGINT 19 null
block_zoola_reports_schreps Table name VARCHAR 100

Schedule name

dp_plan_history Table status TINYINT 3 null

The plan's status

external_tokens Table validuntil BIGINT 19 null

timestampt - valid until data

pos Table parentid BIGINT 19 null
questionnaire_fb_sections Table id BIGINT 19 null
choice Table showresults TINYINT 3 0
badge Table message LONGTEXT 2147483647 null
backup_controllers Table executiontime BIGINT 19 null

epoch secs when the backup should be executed (for delayed backups only)

forum_discussions Table firstpost BIGINT 19 0
appraisal_event Table timescheduled BIGINT 19 null
grade_items Table display BIGINT 19 0

Display as real grades, percentages (in reference to the minimum and maximum grades) or letters (A, B, C etc..), or course default (0)

questionnaire_resp_single Table question_id BIGINT 19 0
tool_recyclebin_course Table module BIGINT 19 null
question Table timemodified BIGINT 19 0

time that question was last modified

tool_usertours_steps Table id BIGINT 19 null
totara_userdata_purge_type_item Table name VARCHAR 100

Class name without namespace, e.g. comment, post, completion

chat_messages Table chatid BIGINT 19 0
wiki Table intro LONGTEXT 2147483647 null

General introduction of the wiki activity

facetoface_asset_info_field Table fullname VARCHAR 1024 null
comp Table id BIGINT 19 null
competency_plan Table origtemplateid BIGINT 19 null

The template ID this plan was based on originally

job_assignment Table userid BIGINT 19 null

The ID of the user this job assignment belongs to

competency_template Table usermodified BIGINT 19 null

The user who last modified this learning plan template

question_categories Table stamp VARCHAR 255
comp_type_info_field Table datatype VARCHAR 255 null
assign_submission Table groupid BIGINT 19 0

The group id for team submissions

workshopform_rubric Table workshopid BIGINT 19 null

Workshop ID

scale Table userid BIGINT 19 0
wiki_pages Table pageviews BIGINT 19 0

Number of page views

appraisal_grp_cohort Table id BIGINT 19 null
badge_backpack Table backpackurl VARCHAR 255
page Table contentformat SMALLINT 5 0
catalog Table objecttype VARCHAR 100
glossary Table timecreated BIGINT 19 0
auth_approved_request_snapshots Table id BIGINT 19 null
org_competencies Table organisationid BIGINT 19 null
dp_plan_objective Table reasonfordecision LONGTEXT 2147483647 null

The reason for approving/declining the request

facetoface_signups Table archived BIT 1 0

Has this sign up been archived by the archive completion feature.

mnetservice_enrol_courses Table id BIGINT 19 null

Unique remote-course ID

facetoface_room_info_field Table sortorder BIGINT 19 null
cohort_plan_config Table autocreatenew BIT 1 0

Automatically create new plans for new members of the cohort

dp_plan Table userid BIGINT 19 null

ID of the user this plan is for

groups Table hidepicture BIT 1 0
event Table timeduration BIGINT 19 0
survey_analysis Table survey BIGINT 19 0
question_calculated Table tolerance VARCHAR 20 0.0
enrol_paypal Table id BIGINT 19 null
data Table csstemplate LONGTEXT 2147483647 null
prog_courseset_course Table courseid BIGINT 19 0
lti Table instructorchoicesendemailaddr BIT 1 null

Send user's email

question Table generalfeedbackformat TINYINT 3 0
repository Table id BIGINT 19 null
cohort_plan_config Table plantemplateid BIGINT 19 null

Learning plan template id

totara_navigation Table path VARCHAR 50 null

Deprecated sicec Totara 12.0

task_adhoc Table blocking TINYINT 3 0
lesson_grades Table completed BIGINT 19 0
oauth2_user_field_mapping Table timemodified BIGINT 19 null

The time this record was modified

resource Table display SMALLINT 5 0
org_relations Table id2 BIGINT 19 null
workshop Table gradinggrade DECIMAL 10 20.00000

The maximum grade for assessment

role_sortorder Table roleid BIGINT 19 null
auth_approved_request_snapshots Table positionfreetext LONGTEXT 2147483647 null
context Table instanceid BIGINT 19 0
page Table legacyfiles SMALLINT 5 0
cohort_rules Table timecreated BIGINT 19 null
persistent_login Table lastip VARCHAR 45 null

Value is copied from the sessions table at login time and on timeout

course_completion_defaults Table completionusegrade BIT 1 0
book Table intro LONGTEXT 2147483647 null
grading_instances Table feedback LONGTEXT 2147483647 null

Overall feedback from the rater for the author of the graded item

job_assignment Table synctimemodified BIGINT 19 0
tool_sitepolicy_localised_policy Table whatsnew LONGTEXT 2147483647 null

Field to put what has changed since the previous version

course_completion_defaults Table id BIGINT 19 null
forum Table maxbytes BIGINT 19 0
tool_sitepolicy_localised_policy Table policytextformat TINYINT 3 1

The format of the policytext field

appraisal_event Table deltaperiod BIT 1 0

Period: 0 - hours (not used), 1 - days, 2 - weeks, 3 - months

block_rss_client Table description LONGTEXT 2147483647 null
report_builder Table id BIGINT 19 null

ID of the table

facetoface_sessioncancel_info_field Table fullname VARCHAR 1024 null
report_builder_schedule Table userid BIGINT 19 null
goal_type_info_field Table sortorder BIGINT 19 null
assign Table teamsubmission TINYINT 3 0

Do students submit in teams?

tool_customlang Table timecustomized BIGINT 19 null

The timestamp of when the value of the local translation was recently modified, null if not customized yet

feedback_value_history Table timearchived BIGINT 19 null
course_completions Table positionid BIGINT 19 null

Totara position id from totara_hierarchy

grade_categories Table droplow BIGINT 19 0

Drop the X lowest items

user Table currentlogin BIGINT 19 0
block_zoola_reports_eventcfg Table exportformat VARCHAR 10 XLSX

Export format: 'pdf', 'xlsx', 'csv', ...

persistent_login Table timeautologin BIGINT 19 null

Time of the last auto login

prog Table icon VARCHAR 255
workshopallocation_scheduled Table enabled TINYINT 3 0

Is the scheduled allocation enabled

user_password_history Table timecreated BIGINT 19 null
data_fields Table dataid BIGINT 19 0
lesson_branch Table lessonid BIGINT 19 0
badge_criteria Table descriptionformat TINYINT 3 0
dp_plan_objective Table approved SMALLINT 5 0
block_recent_activity Table userid BIGINT 19 null

User performing the action

badge_issued Table dateexpire BIGINT 19 null
qtype_ddmarker Table incorrectfeedbackformat TINYINT 3 0
facetoface_sessioncancel_info_field Table param1 LONGTEXT 2147483647 null
scorm_aicc_session Table userid BIGINT 19 0

id from user table

survey_questions Table shorttext VARCHAR 30
assign_plugin_config Table subtype VARCHAR 28
groupings Table timecreated BIGINT 19 0
qtype_ddimageortext Table shuffleanswers SMALLINT 5 1
upgrade_log Table details LONGTEXT 2147483647 null
report_builder_settings Table value VARCHAR 255 null

Value of the setting

prog_courseset Table recurcreatetime BIGINT 19 0
competency_plan Table id BIGINT 19 null
local_ld_course_day Table ldcourseid BIGINT 19 null

Foreign key to the local_ld_course table

totara_compl_import_cert Table timecreated BIGINT 19 null

Time the record was imported into this table

lesson_overrides Table available BIGINT 19 null

Time at which students may start attempting this lesson. Can be null, in which case the lesson default is used.

tool_sitepolicy_localised_consent Table nonconsentoption VARCHAR 1333

The option the user selects to not consent

messageinbound_datakeys Table timecreated BIGINT 19 null

The time that the data key was created.

config_plugins Table id BIGINT 19 null
assignment Table var5 BIGINT 19 0
workshop Table phaseswitchassessment TINYINT 3 0

Automatically switch to the assessment phase after the submissions deadline

certif_completion_history Table renewalstatus TINYINT 3 0
course_completion_criteria Table role BIGINT 19 null
reportbuilder_grp_pos_user Table posid BIGINT 19 null
wiki_locks Table pageid BIGINT 19 0

Locked page

catalog_search_metadata Table instanceid BIGINT 19 null
questionnaire_fb_sections Table section TINYINT 3 null
quiz Table timeclose BIGINT 19 0

The time when this quiz closes. (0 = no restriction.)

grade_letters Table id BIGINT 19 null
workshop Table examplesmode SMALLINT 5 0

0 = example assessments are voluntary, 1 = examples must be assessed before submission, 2 = examples are available after own submission and must be assessed before peer/self assessment phase

goal_scale_assignments Table usermodified BIGINT 19 null
qtype_ddimageortext_drops Table xleft BIGINT 19 0
org Table depthlevel BIGINT 19 null
quiz_statistics Table allattemptscount BIGINT 19 null
user_preferences Table value VARCHAR 1333
mnetservice_enrol_enrolments Table enroltype VARCHAR 20

The name of the enrol plugin at the remote server that was used to enrol our student into their course

questionnaire_response_date Table question_id BIGINT 19 0
course_modules Table module BIGINT 19 0
mnet_log Table userid BIGINT 19 0
facetoface_sessions Table allowoverbook BIT 1 0

Flag to turn on waitlisting of signups over capacity.

report_builder_global_restriction Table sortorder BIGINT 19 null
profiling Table runcomment VARCHAR 255

Brief comment for this run

quiz_overview_regrades Table slot BIGINT 19 null

Foreign key, references question_attempts.slot

glossary Table allowduplicatedentries TINYINT 3 0
feedback360 Table recipients INT 10 0
appraisal_history Table id BIGINT 19 null
repository_opensesame_bdls Table timecreated BIGINT 19 null

Date when bundle added

goal_personal Table name VARCHAR 1024 null
question_dataset_items Table id BIGINT 19 null
goal_framework Table fullname VARCHAR 1024
prog_info_field Table shortname VARCHAR 100 null
enrol Table customchar3 VARCHAR 1333 null

Custom - general short name

questionnaire_attempts Table qid BIGINT 19 0
role_allow_assign Table roleid BIGINT 19 0
enrol_paypal Table payment_type VARCHAR 30
block_zoola_reports_eventcfg Table event VARCHAR 1333

Name of event that triggers the schedule

course_modules Table groupingid BIGINT 19 0
facetoface_signup_info_field Table locked TINYINT 3 null
questionnaire_fb_sections Table survey_id BIGINT 19 0
blog_association Table contextid BIGINT 19 null
course_sections Table sequence LONGTEXT 2147483647 null
grading_instances Table id BIGINT 19 null
pos Table fullname VARCHAR 1024 null
scorm_seq_mapinfo Table objectiveid BIGINT 19 0
assignfeedback_comments Table commenttext LONGTEXT 2147483647 null

The feedback text

dp_plan_program_assign Table duedate BIGINT 19 null

Timestamp of the date this program is due to be completed.

wiki_subwikis Table groupid BIGINT 19 0

Group that owns this wiki

comp_type Table timecreated BIGINT 19 null
workshopform_numerrors Table grade0 VARCHAR 50 null

The word describing the negative evaluation (like Poor, Missing, Absent, etc.). If NULL, it defaults to a translated string False

facetoface_notification Table type BIT 1 null
question_truefalse Table trueanswer BIGINT 19 0

Foreign key references question_answers.id. The 'True' choice.

job_assignment Table tempmanagerexpirydate BIGINT 19 null
enrol_lti_lti2_user_result Table resourcelinkid BIGINT 19 null
appraisal_stage Table name VARCHAR 255
grade_items_history Table locked BIGINT 19 0

1 is locked, > 1 is a date to lock until (prevents update)

block_quicklinks Table id BIGINT 19 null
backup_controllers Table interactive SMALLINT 5 null

is the backup interactive (1-yes/0-no)

org_type Table timemodified BIGINT 19 null
repository_instance_config Table id BIGINT 19 null
dp_plan Table name VARCHAR 255 null

Name of this development plan

course Table format VARCHAR 21 topics
questionnaire_survey Table chart_type VARCHAR 64 null
cohort_role Table contextid BIGINT 19 0
course_info_data Table fieldid BIGINT 19 null
mnet_sso_access_control Table accessctrl VARCHAR 20 allow

Whether or not this user/host can login

choice Table course BIGINT 19 0
comp_type_info_field Table param4 LONGTEXT 2147483647 null
facetoface_asset Table custom BIT 1 0

1 means room is created secifically for one session only and cannot be reused

org_type_info_data Table fieldid BIGINT 19 null
totara_userdata_user Table timedeleted BIGINT 19 null

Best guess when user was actually suspended

external_functions Table component VARCHAR 100
grade_items_history Table calculation LONGTEXT 2147483647 null

Formula describing how to derive this grade from other items, referring to them using giXXX where XXX is grade item id ... eg something like: =sin(square(#gi20#)) + #gi30#

quiz_overrides Table attempts MEDIUMINT 7 null
workshop Table name VARCHAR 255

Name of the activity

label Table timemodified BIGINT 19 0
goal Table depthlevel BIGINT 19 null
question_statistics Table hashcode VARCHAR 40

sha1 hash of serialized qubaids_condition class. Unique for every combination of class name and property.

facetoface_asset Table timecreated BIGINT 19 0
data Table addtemplate LONGTEXT 2147483647 null
quiz Table reviewattempt MEDIUMINT 7 0

Whether users are allowed to review their quiz attempts at various times. This is a bit field, decoded by the mod_quiz_display_options class. It is formed by ORing together the constants defined there.

quiz Table completionpass BIT 1 0
workshopallocation_scheduled Table resultstatus BIGINT 19 null

The resulting status of the most recent execution

competency_usercomp Table id BIGINT 19 null
comp_scale_assignments Table usermodified BIGINT 19 null
assign_submission Table assignment BIGINT 19 0
tool_sitepolicy_localised_policy Table policytext LONGTEXT 2147483647 null

The contents of the policy

tool_monitor_history Table id BIGINT 19 null
assignment_upgrade Table oldcmid BIGINT 19 0
grading_definitions Table areaid BIGINT 19 null
user_password_history Table userid BIGINT 19 null
stats_weekly Table timeend BIGINT 19 0
badge Table expireperiod BIGINT 19 null
enrol_flatfile Table courseid BIGINT 19 null
course_completion_history Table id BIGINT 19 null
forum_discussions Table name VARCHAR 255
chat Table studentlogs SMALLINT 5 0
oauth2_issuer Table baseurl LONGTEXT 2147483647 null

The base url to the issuer

facetoface_notification Table templateid BIGINT 19 0
dp_program_settings Table priorityscale BIGINT 19 null

Identifies the scale used by this component

report_builder_schedule_email_systemuser Table userid BIGINT 19 null
goal_user_info_field Table fullname VARCHAR 1024 null
totara_compl_import_cert Table username VARCHAR 100 null

username

lesson Table mediawidth BIGINT 19 650
auth_connect_servers Table serveridnumber VARCHAR 64

World unique server ID

portfolio_instance Table name VARCHAR 255

name of plugin instance

tag_instance Table tiuserid BIGINT 19 0
auth_approved_request Table timecreated BIGINT 19 null
question_numerical_options Table showunits SMALLINT 5 0

How units are handled: 3) Not used at all, 0) Optional, or 1) must be right or penalty applied.

dp_plan_history Table usermodified BIGINT 19 null

The id of the user who made the modification

quiz_overrides Table timelimit BIGINT 19 null

Time limit in seconds. Can be null, in which case the quiz default is used.

enrol Table cost VARCHAR 20 null

Custom - enrolment cost

post Table moduleid BIGINT 19 0
cohort_plan_history Table templateid BIGINT 19 null
comp_type_info_field Table defaultdata LONGTEXT 2147483647 null
question_attempt_step_data Table value LONGTEXT 2147483647 null

The corresponding value

user Table timezone VARCHAR 100 99
assignfeedback_comments Table grade BIGINT 19 0
mnet_log Table url VARCHAR 100
totara_userdata_purge_type Table allowmanual BIT 1 0

Allow use for manual purging

resource Table tobemigrated SMALLINT 5 0
assignfeedback_editpdf_annot Table endy BIGINT 19 0

y-position of the end of the annotation

message_metadata Table messagereadid BIGINT 19 null

for tracking metadata after message has been read

pos_type Table idnumber VARCHAR 100 null
editor_atto_autosave Table elementid VARCHAR 255

The unique id for the text editor in the form.

assign Table requiresubmissionstatement TINYINT 3 0

Forces the student to accept a submission statement when submitting an assignment

competency Table scaleid BIGINT 19 null
enrol Table id BIGINT 19 null
comp_template Table competencycount BIGINT 19 null
goal_user_assignment Table usermodified BIGINT 19 null
goal_scale_values Table usermodified BIGINT 19 null
page Table content LONGTEXT 2147483647 null
pos Table id BIGINT 19 null
tool_monitor_rules Table timemodified BIGINT 19 null

Timestamp when this rule was last modified

report_builder_search_cols Table value VARCHAR 255
report_builder_cache Table cachetable VARCHAR 255 null

Table name with cached data for report

quiz_statistics Table standarderror DECIMAL 15 null
report_builder_columns Table value VARCHAR 255

Value of column, used with type to identify the column option

tool_customlang Table modified SMALLINT 5 0

Has the string been modified via the translator?

mnet_session Table expires BIGINT 19 0

Expire time of session on peer

external_functions Table name VARCHAR 200
tool_sitepolicy_consent_options Table mandatory BIT 1 null

If the consent option requires consent to use the site

totara_core_program_vis_map Table programid BIGINT 19 null
qtype_essay_options Table questionid BIGINT 19 null

Foreign key linking to the question table.

quiz_slots Table id BIGINT 19 null
choice Table publish TINYINT 3 0
tag_correlation Table id BIGINT 19 null
dp_plan_component_relation Table id BIGINT 19 null
grade_categories Table aggregateoutcomes BIT 1 0

Aggregate outcomes

certificate_issues_history Table id BIGINT 19 null
auth_approved_request_snapshots Table timeresolved BIGINT 19 null
quiz_slots Table requireprevious SMALLINT 5 0

Set to 1 when current question requires previous one to be answered first.

tag_instance Table component VARCHAR 100

Defines the Moodle component which the tag was added to

question_attempt_steps Table userid BIGINT 19 null

The user whose action lead to this state being created.

question_answers Table fraction DECIMAL 12 0.0000000
workshop_grades Table dimensionid BIGINT 19 null

Foreign key. References dimension id in one of the grading strategy tables.

reportbuilder_grp_pos_record Table posid BIGINT 19 null
facetoface_cancellation_info_field Table sortorder BIGINT 19 null
user_lastaccess Table userid BIGINT 19 0
block_zoola_reports_schreps Table allstudents TINYINT 3 0

if 1 reports will be sent to all students enrolled into course

facetoface_notification_hist Table timecreated BIGINT 19 null

timestamp of record creation

dp_plan_evidence_info_data Table id BIGINT 19 null
block_rss_client Table url VARCHAR 255
goal_grp_cohort Table timemodified BIGINT 19 null
report_builder_schedule Table savedsearchid BIGINT 19 null
goal_framework Table description LONGTEXT 2147483647 null
goal_type_info_field Table typeid BIGINT 19 null
chat_messages_current Table groupid BIGINT 19 0
totara_userdata_purge_type Table allowdeleted BIT 1 0

Allow selection for purging after deletion

question_response_count Table try BIGINT 19 null
facetoface_session_info_field Table locked TINYINT 3 null
comp_type_info_field Table shortname VARCHAR 100 null
local_ld_course Table totaldedication BIGINT 19 null

Total time that user spent within the course, in seconds

comp_framework Table usermodified BIGINT 19 null
facetoface Table multisignupnoshow BIT 1 0
questionnaire_resp_single Table choice_id BIGINT 19 0
feedback360_quest_field Table descriptionformat BIT 1 null
lti_submission Table userid BIGINT 19 null
appraisal_quest_field Table param3 LONGTEXT 2147483647 null
badge_manual_award Table issuerrole BIGINT 19 null
appraisal_role_assignment Table timecreated BIGINT 19 0
mnet_rpc Table classname VARCHAR 150 null
competency_template Table duedate BIGINT 19 null

The default due date for instances of this plan.

appraisal_quest_field Table defaultdata LONGTEXT 2147483647 null
quiz_grades Table timemodified BIGINT 19 0

The last time this grade changed.

goal_personal Table description LONGTEXT 2147483647 null
facetoface Table allowcancellationsdefault BIT 1 1
enrol Table currency VARCHAR 3 null

Custom - cost currency

role_names Table contextid BIGINT 19 0
scorm_seq_ruleconds Table id BIGINT 19 null
tool_customlang_components Table version VARCHAR 255 null

The checked out version of the plugin, null if the version is unknown

questionnaire_question Table survey_id BIGINT 19 0
reminder Table courseid BIGINT 19 null
course_completion_history Table timecompleted BIGINT 19 null
prog_assignment Table programid BIGINT 19 0
feedback Table publish_stats BIT 1 0
glossary_alias Table entryid BIGINT 19 0
oauth2_issuer Table sortorder BIGINT 19 null

The defined sort order.

enrol_totara_f2f_pending Table enrolid BIGINT 19 0
pos_competencies Table templateid BIGINT 19 null
blog_external Table userid BIGINT 19 null
glossary_entries Table userid BIGINT 19 0
logstore_standard_log Table action VARCHAR 100
facetoface_room_info_data Table id BIGINT 19 null
workshop Table submissionstart BIGINT 19 0

0 = will be started manually, greater than 0 the timestamp of the start of the submission phase

comp Table frameworkid BIGINT 19 null
gradingform_guide_comments Table definitionid BIGINT 19 null

The ID of the form definition this faq is part of

appraisal_scale_value Table appraisalscaleid BIGINT 19 null
chat_messages_current Table userid BIGINT 19 0
lti Table password VARCHAR 255 null
event_subscriptions Table id BIGINT 19 null
enrol_paypal Table reason_code VARCHAR 30
user_private_key Table value VARCHAR 128

private access key value

log_queries Table error MEDIUMINT 7 0

is error

chat_users Table groupid BIGINT 19 0
quiz Table reviewoverallfeedback MEDIUMINT 7 0

Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.

groups_members Table id BIGINT 19 null
course_completion_crit_compl Table rpl VARCHAR 255 null

Totara recognition of prior learning from totara_core

assign Table preventsubmissionnotingroup TINYINT 3 0

If enabled a user will be unable to make a submission unless they are a member of a group.

comp_template Table timecreated BIGINT 19 null
groupings Table description LONGTEXT 2147483647 null
forum_posts Table message LONGTEXT 2147483647 null
user Table mnethostid BIGINT 19 0
report_builder Table accessmode SMALLINT 5 0

Controls how access to the report is determined

totara_connect_client_org_frameworks Table fid BIGINT 19 null
user Table lang VARCHAR 30 en
facetoface_cancellation_info_field Table fullname VARCHAR 1024 null
totara_compl_import_course Table id BIGINT 19 null

id

user_enrolments Table timestart BIGINT 19 0
competency_usercompcourse Table usermodified BIGINT 19 null
goal_framework Table idnumber VARCHAR 100 null
cohort Table visibility BIT 1 0

Totara cohort visibility from totara_cohort

grade_grades Table locktime BIGINT 19 0

automatic locking of final grade, 0 means none, date otherwise

files_reference Table id BIGINT 19 null
choice Table timeclose BIGINT 19 0
grade_outcomes_courses Table courseid BIGINT 19 null

id of the course

oauth2_user_field_mapping Table id BIGINT 19 null
grade_import_values Table id BIGINT 19 null
local_ld_module_day Table day VARCHAR 10

Day formatted as 'YYYY-MM-DD'

facetoface_asset Table hidden BIT 1 0

Do not show this asset in add/search asset dialogs

local_ld_import_logs_status Table timestarted BIGINT 19 null

When the import logs task started

events_queue Table stackdump LONGTEXT 2147483647 null

serialized debug_backtrace showing where the event was fired from

cohort_visibility Table cohortid BIGINT 19 0
questionnaire_survey Table status BIGINT 19 0
tool_customlang Table outdated SMALLINT 5 0

Either the English original or the master translation changed and the customization may be outdated

appraisal_role_changes Table role SMALLINT 5 null
file_conversion Table timecreated BIGINT 19 null
qtype_ddimageortext Table correctfeedbackformat TINYINT 3 0
prog_assignment Table completioninstance BIGINT 19 0
competency_evidence Table usercompetencyid BIGINT 19 null
goal_type_info_data_param Table dataid BIGINT 19 null
prog_completion_history Table timestarted BIGINT 19 0
org_relations Table id BIGINT 19 null
report_builder Table source VARCHAR 255

Data source on which the report is based

dp_template Table enddate BIGINT 19 null

Timestamp for when plans based on this template end by default.

question Table questiontextformat TINYINT 3 0
questionnaire_quest_choice Table value LONGTEXT 2147483647 null
dp_plan_competency_assign Table priority BIGINT 19 null

Identifies the priority of this competency within the current plan.

certificate_issues Table userid BIGINT 19 0
message_popup Table isread BIT 1 0
facetoface_sessions_dates Table timestart BIGINT 19 0
auth_connect_sso_sessions Table serveruserid BIGINT 19 null
question_calculated_options Table shownumcorrect TINYINT 3 0

If true, then when the user gets a multiple-response question partially correct, tell them how many choices they got correct alongside the feedback.

grade_categories Table courseid BIGINT 19 null

The course this grade category is part of

org_type_info_field Table hidden TINYINT 3 null
course Table completionprogressonview BIT 1 0
workshop_grades Table peercommentformat SMALLINT 5 0

The format of peercomment field

course_categories Table depth BIGINT 19 0
question_answers Table feedbackformat TINYINT 3 0
competency_usercompcourse Table grade BIGINT 19 null

The course grade assigned for the competency.

competency_usercomp Table timecreated BIGINT 19 null
scorm Table reference VARCHAR 255
facetoface_session_info_field Table shortname VARCHAR 100 null
license Table source VARCHAR 255 null
glossary_entries Table timemodified BIGINT 19 0
grade_outcomes Table description LONGTEXT 2147483647 null

outcome description

user_password_resets Table userid BIGINT 19 null

id of the user account which requester claimed to be

assignfeedback_editpdf_quick Table width BIGINT 19 120
lesson_grades Table id BIGINT 19 null
portfolio_log Table userid BIGINT 19 null

user who exported content

prog_messagelog Table messageid BIGINT 19 0
quiz_overrides Table quiz BIGINT 19 0

Foreign key references quiz.id

report_builder_schedule Table format VARCHAR 50
feedback_valuetmp Table item BIGINT 19 0
backup_trusted_files Table filesize BIGINT 19 null
rating Table scaleid BIGINT 19 null
course_completion_criteria Table id BIGINT 19 null
lesson_answers Table id BIGINT 19 null
competency_usercompcourse Table courseid BIGINT 19 null

The course this competency is linked to.

facetoface_notification_tpl Table status BIT 1 0
config_plugins Table plugin VARCHAR 100 core
reminder Table type VARCHAR 10 null
lesson Table height BIGINT 19 480
question_attempts Table id BIGINT 19 null
quiz_reports Table id BIGINT 19 null
glossary_entries Table attachment VARCHAR 100
resource_old Table oldid BIGINT 19 null
quiz_feedback Table feedbacktextformat TINYINT 3 0
course Table shortname VARCHAR 255
dp_plan_program_assign Table programid BIGINT 19 null

Identifies the program being assigned

stats_weekly Table stattype VARCHAR 20 activity

type of stat

goal_user_info_field Table param5 LONGTEXT 2147483647 null
lti_types Table baseurl LONGTEXT 2147483647 null
reportbuilder_grp_org_user Table includechildren BIT 1 0
grade_items_history Table gradepass DECIMAL 10 0.00000

What grade is needed to pass? grademin < gradepass <= grademax

question_statistics Table discriminativeefficiency DECIMAL 15 null
glossary_formats Table defaulthook VARCHAR 50
block_instances Table requiredbytheme SMALLINT 5 0

If 1, this block was created because it was required by the theme and did not exist.

portfolio_instance_config Table instance BIGINT 19 null

instance of plugin we're configurating

competency_modulecomp Table ruleoutcome TINYINT 3 null

The outcome when an activity is completed.

lti_types Table parameter LONGTEXT 2147483647 null

Launch parameters, one per line (null for LTI 1 tools)

appraisal_role_assignment Table appraisaluserassignmentid BIGINT 19 null
feedback_completed Table random_response BIGINT 19 0
totara_sync_log Table logtype VARCHAR 60 null

log type

lti_tool_proxies Table secret VARCHAR 255 null
sessions Table timemodified BIGINT 19 null
grade_outcomes_history Table scaleid BIGINT 19 null

The recommended scale for this outcome.

quiz Table subnet VARCHAR 255

Used to restrict the IP addresses from which this quiz can be attempted. The format is as requried by the address_in_subnet function.

goal_record Table id BIGINT 19 null
enrol_lti_lti2_nonce Table value VARCHAR 64
report_builder Table globalrestriction BIT 1 0

Enable global restrictions for this report

qtype_ddimageortext_drops Table id BIGINT 19 null
block_recent_activity Table modname VARCHAR 20 null

module type name (for delete action)

forum_posts Table deleted BIT 1 0

Totara: We use this flag to provide userata purge functionality

course Table enddate BIGINT 19 0
mnet_log Table ip VARCHAR 45
lesson_answers Table pageid BIGINT 19 0
lesson_branch Table flag SMALLINT 5 0
block_totara_featured_links_tiles Table tilerulesshowing BIT 1 0

This field holds whether the tile defined rules are to be applied

appraisal_role_changes Table newuserid BIGINT 19 null
stats_monthly Table timeend BIGINT 19 0
quiz_statistics Table median DECIMAL 15 null
qtype_ddmarker Table correctfeedback LONGTEXT 2147483647 null

Feedback shown for any correct response.

repository_opensesame_pkgs Table description LONGTEXT 2147483647 null

OpenSesame course description

block_zoola_reports_schreps Table lastruntime BIGINT 19 null
tag_coll Table component VARCHAR 100 null
dp_plan_objective Table timecreated BIGINT 19 null
goal Table usermodified BIGINT 19 null
appraisal_user_assignment Table id BIGINT 19 null
profiling Table runreference TINYINT 3 0

Is this run a reference one

org_type_info_field Table forceunique TINYINT 3 null
facetoface_asset_dates Table assetid BIGINT 19 null
enrol Table customint3 BIGINT 19 null

Custom - general int

filter_active Table sortorder BIGINT 19 0

Only relevant if contextid points to the system context. In other cases this field should contain 0. The order in which the filters should be applied.

course Table id BIGINT 19 null
my_pages Table name VARCHAR 200

The page name (freeform text)

prog_courseset Table mincourses SMALLINT 5 0
chat_users Table id BIGINT 19 null
org_type_info_data_param Table dataid BIGINT 19 null
lti_submission_history Table launchid BIGINT 19 null
feedback Table timeopen BIGINT 19 0
local_activityvisibility Table lastmodifieddate BIGINT 19 null
question_response_analysis Table id BIGINT 19 null
message_providers Table component VARCHAR 200

The name of the component that produces these messages

pos_framework Table timecreated BIGINT 19 null
assignfeedback_editpdf_cmnt Table draft TINYINT 3 1

Is this a draft comment?

dp_objective_scale Table name VARCHAR 255 null

Name of the objective scale

goal_type_info_field Table param2 LONGTEXT 2147483647 null
mnet_session Table userid BIGINT 19 0

Unique user ID

prog_info_field Table id BIGINT 19 null
grade_settings Table value LONGTEXT 2147483647 null
glossary_categories Table usedynalink TINYINT 3 1
dp_plan_component_relation Table itemid2 BIGINT 19 null

Identifies the second item in the relation

tool_sitepolicy_localised_policy Table timecreated BIGINT 19 null

Timestamp of when the langauge version of the policy was created

goal Table id BIGINT 19 null
lesson_grades Table lessonid BIGINT 19 0
oauth2_issuer Table showonloginpage TINYINT 3 1
enrol Table expirynotify BIT 1 0

Custom - notify users before expiration

block_zoola_reports_user Table blockinstanceid BIGINT 19 null

Block instance ID

quiz_attempts Table state VARCHAR 16 inprogress

The current state of the attempts. 'inprogress', 'overdue', 'finished' or 'abandoned'.

dp_plan Table status SMALLINT 5 null

Integer code indicating the state of the plan

course_completion_defaults Table module BIGINT 19 null
groups Table idnumber VARCHAR 100
enrol Table customint2 BIGINT 19 null

Custom - general int

gradingform_rubric_levels Table score DECIMAL 10 null

The score for this level

assignsubmission_file Table id BIGINT 19 null
reminder_message Table subject LONGTEXT 2147483647 null
prog_messagelog Table timeissued BIGINT 19 0
reportbuilder_grp_org_record Table reportbuilderrecordid BIGINT 19 null
goal_type_info_field Table param3 LONGTEXT 2147483647 null
goal_user_info_data_param Table id BIGINT 19 null
certif_completion Table renewalstatus TINYINT 3 0
comp_type Table fullname VARCHAR 1024 null
facetoface Table managerreserve SMALLINT 5 0

Can managers make reservations/bookings on behalf of their team

assign_user_mapping Table id BIGINT 19 null
course_format_options Table name VARCHAR 100

Name of the format option

cache_filters Table timemodified BIGINT 19 0
badge_criteria_param Table value VARCHAR 255 null
competency_framework Table timemodified BIGINT 19 null

The time this competency framework was last modified.

goal Table idnumber VARCHAR 100 null
course Table theme VARCHAR 50
competency_userevidence Table name VARCHAR 100
grade_items Table grademin DECIMAL 10 0.00000

What is the minimum allowable grade?

competency_plan Table reviewerid BIGINT 19 null
assign_overrides Table id BIGINT 19 null
auth_connect_ids Table remoteid BIGINT 19 null

Record id in server table

qtype_ddimageortext Table partiallycorrectfeedbackformat TINYINT 3 0
choice_options Table maxanswers BIGINT 19 0
facetoface_asset_info_field Table description LONGTEXT 2147483647 null
logstore_standard_log Table crud VARCHAR 1
auth_approved_request_snapshots Table firstnamephonetic VARCHAR 255 null
pos Table description LONGTEXT 2147483647 null
facetoface_notification Table cancelled BIT 1 0
feedback360_quest_field Table description LONGTEXT 2147483647 null
comments Table format TINYINT 3 0
job_assignment Table appraiserid BIGINT 19 null

The ID of the user who acts as appraiser for the user in this job assignment

forum Table completionposts INT 10 0

Nonzero if a certain number of posts or replies (total) are required to mark this forum complete for a user.

enrol_lti_lti2_consumer Table consumerkey256 VARCHAR 255
goal_user_info_data_param Table value VARCHAR 32
message_read Table subject LONGTEXT 2147483647 null

The message subject

user Table middlename VARCHAR 255 null

Middle name

tag_area Table id BIGINT 19 null
external_services_users Table timecreated BIGINT 19 null

created timestamp

role_capabilities Table contextid BIGINT 19 0
competency_templatecomp Table competencyid BIGINT 19 null

The competency that is linked to this course.

question_attempt_steps Table questionattemptid BIGINT 19 null

Foreign key, references question_attempt.id

external_services_users Table userid BIGINT 19 null
questionnaire_survey Table subtitle LONGTEXT 2147483647 null
question_categories Table contextid BIGINT 19 0

context that this category is shared in

report_builder Table contentmode SMALLINT 5 0

Controls how the content of the report is determined

course_completion_criteria Table enrolperiod BIGINT 19 null

Number of days after enrolment the course is completed (if using enrolperiod criteria type)

questionnaire_feedback Table feedbacklabel VARCHAR 50 null
facetoface_room_info_field Table required TINYINT 3 null
user Table maildigest BIT 1 0
appraisal_role_assignment Table appraisalrole SMALLINT 5 null
cohort Table broken BIT 1 0

Totara broken flag from totara_cohort

feedback360_quest_field Table required BIT 1 0
stats_weekly Table stat2 BIGINT 19 0

stat2. usually used for writes.

lti_tool_settings Table id BIGINT 19 null
question_statistics Table randomguessscore DECIMAL 12 null

An estimate of the score a student would get by guessing randomly.

facetoface_signups Table id BIGINT 19 null
mnetservice_enrol_courses Table roleid BIGINT 19 null

The ID of the role at the remote server that our users will get when we enrol them there

pos_framework Table fullname VARCHAR 1024 null
dp_template Table fullname VARCHAR 255 null

User readable name for this template

assignfeedback_comments Table id BIGINT 19 null
local_ld_course Table userid BIGINT 19 null

Foreign key to the user

lesson_answers Table flags SMALLINT 5 0
prog_message Table programid BIGINT 19 0
workshopform_numerrors Table descriptiontrust BIGINT 19 null
prog_courseset Table programid BIGINT 19 0
mnetservice_enrol_courses Table summaryformat SMALLINT 5 0

Format of the summary field

course_categories Table coursecount BIGINT 19 0
comp_type Table shortname VARCHAR 100 null
qtype_ddimageortext_drops Table choice BIGINT 19 0
data Table assessed BIGINT 19 0
dp_plan_evidence_info_field Table param3 LONGTEXT 2147483647 null
goal_user_info_data Table data LONGTEXT 2147483647 null
glossary Table course BIGINT 19 0
goal_user_info_field Table forceunique TINYINT 3 null
data_records Table userid BIGINT 19 0
report_builder_cache Table genstart BIGINT 19 null
workshop_submissions Table gradeoverby BIGINT 19 null

The id of the user who has overridden the grade for submission.

block_zoola_reports_schedule Table courseid BIGINT 19 null

Course ID

scorm Table nav BIT 1 1
totara_navigation Table title VARCHAR 1024
user Table lastaccess BIGINT 19 0
mnet_log Table module VARCHAR 20
cohort_rule_params Table value VARCHAR 255 null
chat_users Table lastmessageping BIGINT 19 0
repository_opensesame_pkgs Table duration VARCHAR 20

Duration of course

choice_options Table timemodified BIGINT 19 0
scorm Table hidebrowse BIT 1 0
questionnaire_survey Table thank_head VARCHAR 255 null
tag_area Table itemtype VARCHAR 100
facetoface_session_roles Table id BIGINT 19 null

id of the table

enrol Table customdec1 DECIMAL 12 null

Custom - general decimal

tool_monitor_rules Table timecreated BIGINT 19 null

Time stamp of when this rule was created

event_subscriptions Table name VARCHAR 255
questionnaire_question_type Table typeid BIGINT 19 0

The code for the type.

goal Table shortname VARCHAR 100 null
user_info_field Table datatype VARCHAR 255

Type of data held in this field

facetoface_signups_status Table createdby BIGINT 19 null
totara_userdata_purge_type Table fullname VARCHAR 1333

Human readable name, mutlilang supported

grading_instances Table definitionid BIGINT 19 null

The ID of the form definition this is instance of

blog_association Table id BIGINT 19 null
tool_monitor_rules Table descriptionformat BIT 1 null

Description format

forum_read Table userid BIGINT 19 0
qtype_multichoice_options Table partiallycorrectfeedbackformat TINYINT 3 0
backup_logs Table loglevel SMALLINT 5 null

level of the log (debug...error)

glossary Table defaultapproval TINYINT 3 1
goal_user_info_data Table fieldid BIGINT 19 null
assign_user_mapping Table assignment BIGINT 19 0
totara_navigation Table timemodified BIGINT 19 0
certif_completion Table id BIGINT 19 null
quickaccess_preferences Table userid BIGINT 19 0
quiz Table allowofflineattempts BIT 1 0

Whether to allow the quiz to be attempted offline in the mobile app

dp_objective_scale Table description LONGTEXT 2147483647 null

Description of the objective scale

feedback_value_history Table tmp_completed BIGINT 19 0
facetoface_sessioncancel_info_data Table id BIGINT 19 null
user_info_field Table required TINYINT 3 0

Field required

log_queries Table backtrace LONGTEXT 2147483647 null

php execution trace

stats_user_weekly Table stattype VARCHAR 30
lti_types Table course BIGINT 19 null
course_modules Table section BIGINT 19 0
feedback Table site_after_submit VARCHAR 255
message_read Table timeread BIGINT 19 0
book_chapters Table importsrc VARCHAR 255
block_zoola_reports_schedule Table retry BIGINT 19 null

How many times scheduling failed

assignfeedback_editpdf_quick Table rawtext LONGTEXT 2147483647 null
qtype_match_options Table correctfeedbackformat TINYINT 3 0
auth_connect_sso_sessions Table timecreated BIGINT 19 null
scale Table name VARCHAR 255
persistent_login Table useragent LONGTEXT 2147483647 null

Browser info detected during initial login

tool_sitepolicy_localised_policy Table authorid BIGINT 19 null

Who wrote the localised policy

questionnaire_fb_sections Table sectionheadingformat TINYINT 3 1
quiz Table canredoquestions SMALLINT 5 0

Allows students to redo any completed question within a quiz attempt.

quickaccess_preferences Table name VARCHAR 255 null
dp_plan_course_assign Table duedate BIGINT 19 null

Timestamp of the date this course is due to be completed.

totara_navigation Table visibility BIT 1 0
chat_messages_current Table timestamp BIGINT 19 0
lti_submission Table datesubmitted BIGINT 19 null
questionnaire_response_text Table question_id BIGINT 19 0
competency_framework Table shortname VARCHAR 100 null

Short name for the competency framework.

stats_weekly Table courseid BIGINT 19 0
workshopform_accumulative Table grade BIGINT 19 null

If greater than 0, then the value is maximum grade on a scale 0..grade. If lesser than 0, then its absolute value is the id of a record in scale table. If equals 0, then no grading is possible for this dimension, just commenting.

grade_grades_history Table exported BIGINT 19 0

date of last grade export, 0 if none

grade_items_history Table grademin DECIMAL 10 0.00000

What is the minimum allowable grade?

tool_monitor_events Table contextid BIGINT 19 null

Context id

facetoface_asset_info_field Table param4 LONGTEXT 2147483647 null
appraisal_role_changes Table userassignmentid BIGINT 19 null
workshop_submissions Table feedbackauthor LONGTEXT 2147483647 null

Teacher comment/feedback for the author of the submission, for example describing the reasons for the grade overriding

org_type_info_field Table required TINYINT 3 null
report_builder_cache Table nextreport BIGINT 19 null
dp_plan Table description LONGTEXT 2147483647 null

Description of this development plan

assignment Table var3 BIGINT 19 0
data_content Table fieldid BIGINT 19 0
course_published Table timepublished BIGINT 19 null

The time when the publication occurred

filter_active Table contextid BIGINT 19 null

References context.id.

license Table fullname LONGTEXT 2147483647 null
glossary_categories Table glossaryid BIGINT 19 0
auth_approved_request Table username VARCHAR 100

Requested username - also used for duplicate lookups when signing up

choice Table includeinactive TINYINT 3 1
facetoface_sessioncancel_info_field Table shortname VARCHAR 100 null
feedback Table intro LONGTEXT 2147483647 null
dp_component_settings Table templateid BIGINT 19 null

Identifies which template this component setting is for.

job_assignment Table enddate BIGINT 19 null
qtype_ddimageortext_drops Table no BIGINT 19 0

drop number

auth_approved_request Table userid BIGINT 19 null

User that was created for this signup request.

capabilities Table riskbitmask BIGINT 19 0
files Table author VARCHAR 255 null

The original author of the file

competency_plancomp Table id BIGINT 19 null
goal_grp_org Table orgid BIGINT 19 null
message_processors Table name VARCHAR 166

Name of the message processor

grade_outcomes_history Table timemodified BIGINT 19 null

The last time this grade_item was modified

oauth2_system_account Table username LONGTEXT 2147483647 null

The username that was connected as a system account to this issue.

goal Table frameworkid BIGINT 19 null
org_type_info_data Table id BIGINT 19 null
assign Table id BIGINT 19 null
glossary_entries Table definitiontrust TINYINT 3 0
course_info_field Table datatype VARCHAR 255 null
question_gapselect Table correctfeedback LONGTEXT 2147483647 null

Feedback shown for any correct response.

enrol_paypal Table courseid BIGINT 19 0
external_functions Table capabilities VARCHAR 255 null

all capabilities that are required to be run by the function (separated by comma)

config_log Table plugin VARCHAR 100 null
prog_info_field Table datatype VARCHAR 255 null
facetoface_sessions Table usermodified BIGINT 19 null
auth_approved_request_snapshots Table timecreated BIGINT 19 null
feedback_value Table value LONGTEXT 2147483647 null
forum_read Table postid BIGINT 19 0
totara_userdata_export_type Table allowself BIT 1 0

Allow selection for self export

feedback360 Table status BIT 1 0
workshop Table conclusion LONGTEXT 2147483647 null

A text to be displayed at the end of the workshop.

lesson_pages Table contentsformat TINYINT 3 0
forum_discussion_subs Table preference BIGINT 19 1
mnet_application Table id BIGINT 19 null
grade_categories_history Table aggregateoutcomes BIT 1 0

Aggregate outcomes

wiki_links Table tomissingpage VARCHAR 255 null

link to a nonexistent page

user Table username VARCHAR 100
facetoface_signup_info_field Table sortorder BIGINT 19 null
question_usages Table id BIGINT 19 null
stats_user_monthly Table id BIGINT 19 null
prog_message Table triggertime BIGINT 19 0
dp_course_settings Table id BIGINT 19 null
tool_customlang_components Table name VARCHAR 255

The normalized name of the plugin

cohort_visibility Table instancetype SMALLINT 5 null
lesson Table mediaheight BIGINT 19 100
course_info_field Table param5 LONGTEXT 2147483647 null
grade_categories Table parent BIGINT 19 null

Categories can be hierarchical

lti Table name VARCHAR 255

name field for moodle instances

badge_criteria_met Table datemet BIGINT 19 null
workshop Table gradedecimals SMALLINT 5 0

Number of digits that should be shown after the decimal point when displaying grades

dp_component_settings Table sortorder BIGINT 19 null

Controls the ordering of components, used when displaying component tabs.

block_zoola_reports_schreps Table retry BIGINT 19 0

How many times scheduling failed

org_framework Table fullname VARCHAR 1024 null
question Table timecreated BIGINT 19 0

time question was created

pos_framework Table hidecustomfields TINYINT 3 null
grade_items Table weightoverride BIT 1 0
event Table timestart BIGINT 19 0
auth_approved_request Table alternatename VARCHAR 255 null

Alternate name

course_completion_aggr_methd Table criteriatype BIGINT 19 null

The criteria type we are aggregating, or NULL if complete course aggregation

log Table cmid BIGINT 19 0
grade_items Table decimals BIT 1 null

Also known as precision, the number of digits after the decimal point symbol.

glossary Table allowprintview TINYINT 3 1
mnet_host Table last_log_id BIGINT 19 0
facetoface_asset Table usercreated BIGINT 19 null

user id who created the asset

backup_logs Table id BIGINT 19 null
block_zoola_reports_schedule Table eventcfgid BIGINT 19 0

Foreign key to block_zoola_reports_eventcfg

cohort_rulesets Table timecreated BIGINT 19 null
competency_framework Table timecreated BIGINT 19 null

The time this competency framework was created.

comp_criteria_record Table proficiencymeasured BIGINT 19 null
appraisal_role_assignment Table activepageid BIGINT 19 null
qtype_ddmarker_drags Table id BIGINT 19 null
totara_navigation Table sortorder BIGINT 19 null
post Table usermodified BIGINT 19 null
local_activityvisibility_que Table userid BIGINT 19 null
lti Table icon LONGTEXT 2147483647 null
report_builder_saved Table search LONGTEXT 2147483647 null

Serialized data containing the search details

workshop Table overallfeedbackfiles SMALLINT 5 0

Number of allowed attachments to the overall feedback.

grade_settings Table id BIGINT 19 null
block_zoola_reports_schreps Table exportformat VARCHAR 10

Export format: 'pdf', 'xlsx', 'csv', ...

qtype_ddmarker Table correctfeedbackformat TINYINT 3 0
enrol_paypal Table txn_id VARCHAR 255
file_conversion Table statusmessage LONGTEXT 2147483647 null
assignsubmission_file Table submission BIGINT 19 0
auth_connect_sso_sessions Table id BIGINT 19 null
reportbuilder_grp_pos_record Table includechildren BIT 1 0
facetoface_notification Table title LONGTEXT 2147483647 null
gradingform_rubric_levels Table criterionid BIGINT 19 null

The rubric criterion we are level of

question Table defaultmark DECIMAL 12 1.0000000
mnet_application Table sso_land_url VARCHAR 255
question_usages Table component VARCHAR 255

The plugin this attempt belongs to, e.g. 'mod_quiz', 'block_questionoftheday', 'filter_embedquestion'.

appraisal_event Table appraisalstageid BIGINT 19 null
feedback_valuetmp Table tmp_completed BIGINT 19 0
grade_outcomes_history Table oldid BIGINT 19 null
context_map Table id BIGINT 19 null
workshopform_rubric Table id BIGINT 19 null
user_info_field Table locked TINYINT 3 0

Field locked

badge_criteria Table description LONGTEXT 2147483647 null
facetoface_signup_info_field Table hidden TINYINT 3 null
totara_userdata_export Table timestarted BIGINT 19 null

Start of export process, this happens in ad-hoc task

facetoface_cancellation_info_data_param Table value VARCHAR 32
dp_plan_competency_assign Table scalevalueid BIGINT 19 0

The final id of the proficiency scalevalue. This field is used as a snapshot field, for saving the proficiency, after the plan has been completed

events_handlers Table eventname VARCHAR 166

name of the event, e.g. 'grade_updated'

user_devices Table id BIGINT 19 null
org_framework Table usermodified BIGINT 19 null
sessions Table sid VARCHAR 128

Session id

tag Table timemodified BIGINT 19 null
assignfeedback_editpdf_quick Table colour VARCHAR 10 yellow
mnet_log Table id BIGINT 19 null
data_fields Table type VARCHAR 255
feedback360_quest_field Table name VARCHAR 255
feedback360_resp_assignment Table feedback360emailassignmentid BIGINT 19 null

Email assignments

totara_userdata_export_item Table timefinished BIGINT 19 null

End time of purging method or time when marked as timed out

feedback360_user_assignment Table id BIGINT 19 null
facetoface_notification Table requested BIT 1 0
grade_grades Table feedback LONGTEXT 2147483647 null

grading feedback

workshopform_comments Table sort BIGINT 19 0

Defines the dimension order within the assessment form

goal_type_info_field Table param1 LONGTEXT 2147483647 null
auth_oauth2_linked_login Table issuerid BIGINT 19 null
facetoface_signup_info_data_param Table value VARCHAR 32
reportbuilder_grp_cohort_record Table timecreated BIGINT 19 0
tool_sitepolicy_localised_policy Table policyversionid BIGINT 19 null

Which policy the localised policy is related to

task_scheduled Table faildelay BIGINT 19 null
lti_types Table name VARCHAR 255 basiclti Activity

Activity name

competency Table usermodified BIGINT 19 null

The user who last modified this competency

role_assignments Table roleid BIGINT 19 0
local_ld_module_day Table id BIGINT 19 null
competency_plancomp Table timecreated BIGINT 19 null
goal_personal Table id BIGINT 19 null
registration_hubs Table token VARCHAR 255

the token to communicate with the hub by web service

imscp Table keepold BIGINT 19 -1

incremented when after each file changes, solves browser caching issues

question_answers Table question BIGINT 19 0
auth_approved_request Table managerfreetext LONGTEXT 2147483647 null

Free text field for manager - this is a hint for approver so that they can pick the appropriate manager

workshop Table assessmentend BIGINT 19 0

0 = will be closed manually, greater than 0 the timestamp of the end of the assessment phase

prog_courseset Table id BIGINT 19 null
qtype_ddimageortext_drags Table draggroup BIGINT 19 0
facetoface_cancellation_info_data_param Table dataid BIGINT 19 null
message Table fullmessage LONGTEXT 2147483647 null
dp_plan_competency_assign Table planid BIGINT 19 null

Identifies the plan this competency is attached to

chat_messages Table id BIGINT 19 null
groupings Table timemodified BIGINT 19 0
repository_opensesame_pkgs Table timemodified BIGINT 19 null

Date when package last modified

enrol_lti_tools Table id BIGINT 19 null
question_dataset_definitions Table options VARCHAR 255
certificate Table borderstyle VARCHAR 255 0
dp_course_settings Table templateid BIGINT 19 null

Identifies the template these settings should be applied to

lesson Table custom SMALLINT 5 0
cohort_rulesets Table timemodified BIGINT 19 null
facetoface_cancellation_info_field Table shortname VARCHAR 100 null
report_builder Table showtotalcount BIT 1 0

Should a total count of records before filters are applied be shown

user Table description LONGTEXT 2147483647 null
org_type Table timecreated BIGINT 19 null
quiz_overrides Table id BIGINT 19 null
context_map Table childid BIGINT 19 null

ID of child context

org_type_info_field Table description LONGTEXT 2147483647 null
enrol Table courseid BIGINT 19 null
message_working Table id BIGINT 19 null

id of the table, please edit me

cohort_plan_config Table excludecompleted BIT 1 1

Exclude auto plan creation for users who have a completed plan based on the template id

resource_old Table id BIGINT 19 null
grade_categories_history Table fullname VARCHAR 255

The name of this grade category

blog_external Table filtertags VARCHAR 255 null

Comma-separated list of tags that will be used to filter which entries are copied over from the external blog. They refer to existing tags in the external blog.

facetoface Table multisignupmaximum BIGINT 19 0
workshopform_numerrors_map Table id BIGINT 19 null
forum_posts Table subject VARCHAR 255
local_ld_course_day Table daytime BIGINT 19 null

Timestamp of the beginning of the day

appraisal_scale_value Table name VARCHAR 255 null
grade_categories Table path VARCHAR 255 null

shows the path as /1/2/3 (like course_categories)

assign_user_flags Table id BIGINT 19 null
license Table version BIGINT 19 0
comments Table id BIGINT 19 null
enrol_flatfile Table timemodified BIGINT 19 0
prog Table summary LONGTEXT 2147483647 null
mnetservice_enrol_courses Table startdate BIGINT 19 null
facetoface_room_info_field Table param3 LONGTEXT 2147483647 null
feedback_template Table ispublic BIT 1 0
org Table parentid BIGINT 19 null
mnetservice_enrol_courses Table shortname VARCHAR 100
facetoface_signup_info_field Table param2 LONGTEXT 2147483647 null
dp_plan_objective Table shortname VARCHAR 100 null
totara_userdata_purge Table timecreated BIGINT 19 null

The time of creation of this purge, in case of manual purges this is the time when user requested the purge

external_services Table requiredcapability VARCHAR 150 null
goal_framework Table shortname VARCHAR 100 null
competency Table parentid BIGINT 19 0

The parent competency.

backup_trusted_files Table userid BIGINT 19 null

logged in user at the time of registration

grade_letters Table lowerboundary DECIMAL 10 null

The lower boundary of the letter. Its upper boundary is the lower boundary of the next highest letter, unless there is none above, in which case it's grademax for that grade_item.

reportbuilder_grp_cohort_user Table reportbuilderuserid BIGINT 19 null
block_zoola_schedule_rcp Table userid BIGINT 19 null

user that receives report

feedback360_resp_assignment Table userid BIGINT 19 null
assign Table blindmarking TINYINT 3 0

Hide student/grader identities until the reveal identities action is performed

scorm_scoes_track Table attempt BIGINT 19 1
glossary Table showspecial TINYINT 3 1
context Table parentid BIGINT 19 null

Used by Totara SQL access code

org_competencies Table competencyid BIGINT 19 null
cohort Table description LONGTEXT 2147483647 null

Standard description text box

survey Table days MEDIUMINT 7 0
resource_old Table newid BIGINT 19 null
question_statistics Table discriminationindex DECIMAL 15 null
block_quicklinks Table userid BIGINT 19 null
stats_daily Table id BIGINT 19 null
lti_tool_proxies Table guid VARCHAR 255 null
auth_approved_request Table organisationid BIGINT 19 null

Organisation id

facetoface_asset Table description LONGTEXT 2147483647 null
appraisal_event Table delta BIGINT 19 0

Event time delta: + - after event, 0 - immediately, - before event

forum_discussions Table timestart BIGINT 19 0
workshop_assessments Table gradinggradeover DECIMAL 10 null

Grade for the assessment manually overridden by a teacher. Grade is always from interval 0..100. If NULL then the grade is not overriden.

prog_completion_history Table timedue BIGINT 19 0
prog_completion_log Table id BIGINT 19 null
task_scheduled Table id BIGINT 19 null
questionnaire_survey Table feedbackscores BIT 1 0
feedback_completed_history Table timemodified BIGINT 19 0
dp_plan_history Table reasonfordecision LONGTEXT 2147483647 null

The reason for approving/declining the request

local_activityvisibility_que Table updateat BIGINT 19 null

The timestamp after which the update should take place

certif_completion_history Table status TINYINT 3 null

Certification status

facetoface_notification_hist Table ical_uid VARCHAR 255 null

globally unique id of ical event

pos_type_info_field Table required TINYINT 3 null
user Table lastnamephonetic VARCHAR 255 null

Last name phonetic

feedback360_user_assignment Table feedback360id BIGINT 19 null
glossary Table showall TINYINT 3 1
auth_approved_request Table middlename VARCHAR 255 null

Middle name

workshop Table strategy VARCHAR 30

The type of the current grading strategy used in this workshop

dp_evidence_type Table name VARCHAR 255
resource_old Table type VARCHAR 30
capabilities Table component VARCHAR 100
goal Table proficiencyexpected BIGINT 19 null
chat_users Table course BIGINT 19 0
forum Table completionreplies INT 10 0

Nonzero if a certain number of replies are required to mark this forum complete for a user.

enrol_lti_lti2_resource_link Table settings LONGTEXT 2147483647 null
tag_correlation Table correlatedtags LONGTEXT 2147483647 null
modules Table name VARCHAR 20
appraisal_quest_field Table id BIGINT 19 null
lesson_attempts Table retry SMALLINT 5 0
dp_plan_history Table planid BIGINT 19 null

The related plan's id

repository_opensesame_pkgs Table timecreated BIGINT 19 null

Date when package added

totara_connect_sso_sessions Table id BIGINT 19 null
goal_item_history Table usermodified BIGINT 19 null
prog_extension Table extensionreason LONGTEXT 2147483647 null
wiki Table timemodified BIGINT 19 0
totara_connect_client_cohorts Table timecreated BIGINT 19 null
oauth2_issuer Table timecreated BIGINT 19 null

Time this record was created.

totara_userdata_export_item Table id BIGINT 19 null
user_private_key Table id BIGINT 19 null
prog_exception Table exceptiontype SMALLINT 5 0
totara_connect_clients Table timemodified BIGINT 19 null
appraisal_grp_org Table appraisalid BIGINT 19 null
config Table id BIGINT 19 null
competency_template Table contextid BIGINT 19 null
dp_competency_settings Table autoassigncourses SMALLINT 5 0

Flag to determine if linked courses should also be added when competencies are auto assigned

question_calculated_options Table incorrectfeedbackformat TINYINT 3 0
grade_grades_history Table informationformat BIGINT 19 0

format of information text

comp Table evidencecount BIGINT 19 null
block_rss_client Table skiptime BIGINT 19 0

How many seconds skip this feed for (increases every time it fails, resets to 0 when it succeeds)

goal_type Table id BIGINT 19 null
block_zoola_reports_user Table id BIGINT 19 null
dp_plan_program_assign Table manual BIT 1 0

Was this assignment made manually

comp_type_info_field Table hidden TINYINT 3 null
comp_scale_values Table proficient TINYINT 3 0
grading_definitions Table options LONGTEXT 2147483647 null

General field to be used by plugins as a general storage place for their own settings

lesson Table progressbar SMALLINT 5 0
assignment Table preventlate TINYINT 3 0
imscp Table timemodified BIGINT 19 0
course_completions Table renewalstatus TINYINT 3 0

Totara renewal status from totara_core

role Table description LONGTEXT 2147483647 null

Empty descriptions may be automatically localised

role_context_levels Table contextlevel BIGINT 19 null
qtype_essay_options Table graderinfo LONGTEXT 2147483647 null

Information shown to people with permission to manually grade the question, when they are grading.

dp_plan_course_assign Table reasonfordecision LONGTEXT 2147483647 null

The reason for approving/declining the request

user Table deleted BIT 1 0
local_activityvisibility Table userid BIGINT 19 null
backup_courses Table nextstarttime BIGINT 19 0
goal_user_type Table timecreated BIGINT 19 null
comp_relations Table description LONGTEXT 2147483647 null
dp_plan_evidence_info_field Table description LONGTEXT 2147483647 null
data_fields Table param8 LONGTEXT 2147483647 null
resource Table revision BIGINT 19 0

incremented when after each file changes, solves browser caching issues

portfolio_mahara_queue Table transferid BIGINT 19 null

fk to portfolio_tempdata.id

dp_plan_evidence_info_data_param Table id BIGINT 19 null
grade_grades Table id BIGINT 19 null
event Table courseid BIGINT 19 0
quiz_slots Table slot BIGINT 19 null

Where this question comes in order in the list of questions in this quiz. Like question_attempts.slot.

tag_coll Table searchable TINYINT 3 1

Whether the tag collection is searchable

certif_completion_history Table baselinetimeexpires BIGINT 19 null
competency_userevidence Table url LONGTEXT 2147483647 null
grading_definitions Table usermodified BIGINT 19 null

The ID of the user who did the most recent modification

assignment_upgrade Table timecreated BIGINT 19 0
grade_import_values Table userid BIGINT 19 null
wiki_pages Table subwikiid BIGINT 19 0

Subwiki instance of this page

comp_record Table reaggregate BIGINT 19 0
question_statistics Table effectiveweight DECIMAL 15 null
cohort_rules Table name VARCHAR 255
goal_user_assignment Table id BIGINT 19 null
facetoface_sessions Table details LONGTEXT 2147483647 null

Extra information about this session

goal_personal Table scaleid BIGINT 19 null
pos Table usermodified BIGINT 19 null
dp_plan_evidence_relation Table id BIGINT 19 null
grade_letters Table letter VARCHAR 255

The display value of the letter. Can be any character or string of characters (OK, A, 10% etc..)

mnetservice_enrol_courses Table categoryname VARCHAR 255
competency_plan Table status BIT 1 null
data_records Table timecreated BIGINT 19 0
cohort_plan_config Table excludecreatedauto BIT 1 1

Exclude auto plan creation for users who have an existing, automatically created plan based on the template id

lesson_branch Table id BIGINT 19 null
forum_queue Table id BIGINT 19 null
enrol_lti_users Table toolid BIGINT 19 null
auth_connect_servers Table status BIT 1 null

0 means ok, anything else means do not use

lesson_branch Table timeseen BIGINT 19 0
assignment_submissions Table submissioncomment LONGTEXT 2147483647 null
cohort_msg_queue Table id BIGINT 19 null
survey_answers Table survey BIGINT 19 0
appraisal_user_assignment Table timecompleted BIGINT 19 null
enrol_lti_lti2_nonce Table consumerid BIGINT 19 null
certificate_issues Table id BIGINT 19 null
role_context_levels Table roleid BIGINT 19 null
question_statistics Table subquestions LONGTEXT 2147483647 null
block_zoola_reports_eventcfg Table sendtouser BIT 1 0

Add related user's email to recipient list

cohort_role Table usermodified BIGINT 19 null
question_attempts Table questionid BIGINT 19 null

The id of the question being attempted. Foreign key references question.id.

facetoface_cancellation_info_field Table locked TINYINT 3 null
appraisal_stage_data Table appraisalroleassignmentid BIGINT 19 null
dp_plan_evidence_info_data Table fieldid BIGINT 19 null
book Table id BIGINT 19 null
role_sortorder Table contextid BIGINT 19 null
workshop_submissions Table timecreated BIGINT 19 null

Timestamp when the work was submitted for the first time

local_ld_module Table ldcourseid BIGINT 19 null

Foreign key to the local_ld_course table

auth_approved_request Table managerjaid BIGINT 19 null

User id of manager

question_gapselect Table shownumcorrect TINYINT 3 0
question_categories Table sortorder BIGINT 19 999
event Table sequence BIGINT 19 1
lti Table showtitlelaunch BIT 1 0
facetoface_cancellation_info_field Table param1 LONGTEXT 2147483647 null
enrol Table customint8 BIGINT 19 null

Custom - general int

workshop Table timemodified BIGINT 19 null

The timestamp when the module was modified

report_builder_search_cols Table type VARCHAR 255
badge Table nextcron BIGINT 19 null
appraisal_review_data Table appraisalroleassignmentid BIGINT 19 null
portfolio_instance_user Table userid BIGINT 19 null

fk to user table

forum Table warnafter BIGINT 19 0
chat Table schedule SMALLINT 5 0
goal_type_info_field Table param4 LONGTEXT 2147483647 null
report_builder_filters Table customname SMALLINT 5 0

Indicates whether the user has customised a name or if they are still using the default filter name value

facetoface_cancellation_info_field Table datatype VARCHAR 255 null
comp_template Table id BIGINT 19 null
org_type_info_data Table data LONGTEXT 2147483647 null
grading_definitions Table name VARCHAR 255

The title of the form that helps users to identify it

grade_items Table multfactor DECIMAL 10 1.00000

Multiply all grades by this

glossary Table id BIGINT 19 null
certif_completion_history Table timecompleted BIGINT 19 null
message_working Table processorid BIGINT 19 null

The processor with processes the message

dp_plan_settings Table id BIGINT 19 null
quiz_statistics Table id BIGINT 19 null
lesson Table completionendreached BIT 1 0
facetoface_session_info_field Table fullname VARCHAR 1024 null
facetoface_cancellation_info_data_param Table id BIGINT 19 null
grade_outcomes Table timemodified BIGINT 19 null

the time this outcome was last updated

totara_userdata_purge_type Table timechanged BIGINT 19 null

Updated only when user indicates that purges should be reapplied.

lti Table typeid BIGINT 19 null

Basic LTI type

user_info_field Table forceunique TINYINT 3 0

should the field contain unique data

feedback360_grp_pos Table includechildren BIT 1 null
message_metadata Table icon VARCHAR 255 null
qtype_multichoice_options Table correctfeedbackformat TINYINT 3 0
local_activityvisibility Table visible BIT 1 null
enrol_lti_lti2_share_key Table expires BIGINT 19 null
enrol_paypal Table timeupdated BIGINT 19 0
mnet_session Table confirm_timeout BIGINT 19 0

UNIX timestamp for expiry of session

certificate Table printgrade BIGINT 19 0
log Table ip VARCHAR 45
block_zoola_reports_eventcfg Table subject VARCHAR 1333

Email subject

data Table scale BIGINT 19 0
context Table contextlevel BIGINT 19 0
scorm_scoes_track Table scoid BIGINT 19 0
mnet_host Table sslverification BIT 1 0
dp_plan_course_assign Table planid BIGINT 19 null

Identifies the plan this course is attached to

certif_completion_history Table timewindowopens BIGINT 19 null

Date the window opens

totara_userdata_export_type_item Table exportdata BIT 1 null

0 means item skipped during export, 1 means data to be exported

user Table firstaccess BIGINT 19 0
report_builder_global_restriction Table timecreated BIGINT 19 null
totara_core_course_vis_map Table roleid BIGINT 19 null
job_assignment Table shortname VARCHAR 100 null
question_attempts Table maxmark DECIMAL 12 null

The grade this question is marked out of in this attempt.

course_modules Table id BIGINT 19 null
lesson_timer Table userid BIGINT 19 0
questionnaire Table introformat SMALLINT 5 0

text format of intro field

data Table name VARCHAR 255
prog_info_field Table locked TINYINT 3 null
report_builder_filters Table reportid BIGINT 19 null

ID of the report this column belongs to

report_builder_filters Table value VARCHAR 255

Value of filter, used with type to identify the filter option

files_reference Table repositoryid BIGINT 19 null
survey_analysis Table id BIGINT 19 null
appraisal_user_event Table id BIGINT 19 null
external_services_users Table iprestriction VARCHAR 255 null

ip restriction

filter_config Table value LONGTEXT 2147483647 null

The correspoding config variable value.

wiki_pages Table title VARCHAR 255 title

Page name

facetoface Table multiplesessions BIT 1 0
glossary Table name VARCHAR 255
lti Table securetoolurl LONGTEXT 2147483647 null
user_info_data Table data LONGTEXT 2147483647 null

Field data

block_totara_stats Table id BIGINT 19 null
survey Table intro LONGTEXT 2147483647 null
questionnaire_response Table id BIGINT 19 null
cohort Table contextid BIGINT 19 null

Context is usually ignored in sync operations so that the cohorts may be moved freely around in the context tree without any side affects.

auth_approved_request_snapshots Table managerjaid BIGINT 19 null
assignment_submissions Table data2 LONGTEXT 2147483647 null
facetoface_room_info_field Table param1 LONGTEXT 2147483647 null
course_completion_aggr_methd Table course BIGINT 19 0
event Table repeatid BIGINT 19 0
grade_categories_history Table action BIGINT 19 0

created/modified/deleted constants

question_numerical Table tolerance VARCHAR 255 0.0

Allowed error when matching a response to this answer. I don't know why this is stored as a string.

block_zoola_reports_eventcfg Table lastruntime BIGINT 19 null
course Table sortorder BIGINT 19 0
competency Table description LONGTEXT 2147483647 null

Description of a single competency

qtype_ddmarker_drops Table coords LONGTEXT 2147483647 null
facetoface_notification_tpl Table body LONGTEXT 2147483647 null
resource Table introformat SMALLINT 5 0
course_completion_defaults Table completionexpected BIGINT 19 0
course_info_data Table id BIGINT 19 null
goal_user_assignment Table userid BIGINT 19 null
quiz_statistics Table highestattemptscount BIGINT 19 null
scorm_scoes Table launch LONGTEXT 2147483647 null
question_attempt_step_data Table name VARCHAR 32

The name of this bit of data.

task_scheduled Table component VARCHAR 255

The component this scheduled task belongs to.

data_content Table recordid BIGINT 19 0
goal_item_history Table scalevalueid BIGINT 19 null
grade_items Table iteminfo LONGTEXT 2147483647 null

Info and notes about this item XXX

quiz_sections Table firstslot BIGINT 19 null

Number of the first slot in the section. The section runs from here to the start of the next section, or the end of the quiz.

log Table course BIGINT 19 0
comp_template_assignment Table usermodified BIGINT 19 null
report_builder_graph Table reportid BIGINT 19 null

ID of the report this graph belongs to

prog_extension Table id BIGINT 19 null
course Table completionstartonenrol BIT 1 0

1 = allow use of 'activty completion' progress-tracking on this course. 0 = disable activity completion tracking on this course.

backup_controllers Table checksum VARCHAR 32

checksum of the backup_controller object

report_builder_graph Table settings LONGTEXT 2147483647 null

Custom graph configuration in INI format

local_ld_course Table courseid BIGINT 19 null

Foreign key to the course

events_queue Table eventdata LONGTEXT 2147483647 null

serialized version of the data object passed to the event handler.

course_completion_criteria Table module VARCHAR 100 null

Type of module (if using module criteria type)

enrol_lti_lti2_context Table lticontextkey VARCHAR 255
grade_grades Table rawgrademax DECIMAL 10 100.00000

The maximum allowable grade when this was created

stats_user_daily Table userid BIGINT 19 0
assign_grades Table grader BIGINT 19 0
block_rss_client Table shared TINYINT 3 0
modules Table search VARCHAR 255
prog_future_user_assignment Table assignmentid BIGINT 19 null
cache_flags Table value LONGTEXT 2147483647 null
goal_user_info_field Table locked TINYINT 3 null
feedback_completedtmp Table random_response BIGINT 19 0
goal_type Table description LONGTEXT 2147483647 null
oauth2_system_account Table issuerid BIGINT 19 null

The id of the oauth 2 identity issuer

org_competencies Table timecreated BIGINT 19 null
totara_navigation Table classname VARCHAR 255 null
facetoface_sessioncancel_info_field Table param3 LONGTEXT 2147483647 null
facetoface_room_info_data_param Table dataid BIGINT 19 null
gradingform_guide_comments Table id BIGINT 19 null
data Table timeavailablefrom BIGINT 19 0
competency_usercompplan Table planid BIGINT 19 null

Plan associated to the user.

comp_record Table assessorname VARCHAR 100 null
tool_customlang Table id BIGINT 19 null
block_community Table courseurl VARCHAR 255
lesson_answers Table grade SMALLINT 5 0
glossary Table introformat SMALLINT 5 0
question Table createdby BIGINT 19 null

userid of person who created this question

facetoface_signups Table bookedby BIGINT 19 0

The manager who reserved / booked this space

certificate Table id BIGINT 19 null
course_completion_log Table timemodified BIGINT 19 null
blog_external Table description LONGTEXT 2147483647 null
question_gapselect Table incorrectfeedbackformat TINYINT 3 0
survey_answers Table time BIGINT 19 0
facetoface_room_info_data Table facetofaceroomid BIGINT 19 null
mnet_application Table xmlrpc_server_url VARCHAR 255
tool_sitepolicy_site_policy Table id BIGINT 19 null
quiz Table questiondecimalpoints SMALLINT 5 -1

Number of decimal points to use when displaying question grades. (-1 means use decimalpoints.)

config_log Table oldvalue LONGTEXT 2147483647 null
facetoface_notification_tpl Table ccmanager BIT 1 0
questionnaire_question Table content LONGTEXT 2147483647 null
forum_posts Table discussion BIGINT 19 0
forum_queue Table postid BIGINT 19 0
log_display Table module VARCHAR 20
user_private_key Table script VARCHAR 128

plugin, module - unique identifier

comp_template Table timemodified BIGINT 19 null
report_builder_global_restriction Table description LONGTEXT 2147483647 null

Description of the global report restriction

stats_monthly Table stattype VARCHAR 20 activity

type of stat

course_completions Table organisationid BIGINT 19 null

Totara organisation id from totara_hierarchy

question_usages Table contextid BIGINT 19 null

Every question usage must be associated with some context.

role_context_levels Table id BIGINT 19 null
logstore_standard_log Table relateduserid BIGINT 19 null
question_multianswer Table sequence LONGTEXT 2147483647 null
totara_compl_import_course Table timecreated BIGINT 19 null

Time the record was imported into this table

reportbuilder_grp_cohort_user Table id BIGINT 19 null
question_attempts Table variant BIGINT 19 1

The variant of the qusetion being used.

goal_scale Table name VARCHAR 255 null
totara_userdata_export Table timecreated BIGINT 19 null

Time when user requested the export

grade_grades_history Table loggeduser BIGINT 19 null

the userid of the person who last modified this outcome

feedback360_grp_cohort Table cohortid BIGINT 19 null
job_assignment Table timecreated BIGINT 19 null
workshop_submissions Table contenttrust SMALLINT 5 0

The trust mode of the data

appraisal_grp_org Table orgid BIGINT 19 null
goal_scale_values Table name LONGTEXT 2147483647 null
stats_monthly Table stat2 BIGINT 19 0

stat2. usually used for writes.

resource_old Table options VARCHAR 255
enrol_lti_tool_consumer_map Table id BIGINT 19 null
competency_evidence Table url VARCHAR 255 null
cohort_members Table id BIGINT 19 null
facetoface_room Table hidden BIT 1 0

Do not show this room in add/search room dialogs

external_services_users Table validuntil BIGINT 19 null

timestampt - valid until data

goal_type_info_data Table id BIGINT 19 null
auth_oauth2_linked_login Table email LONGTEXT 2147483647 null

The external email to map to this moodle account

grade_items Table locktime BIGINT 19 0

lock all final grades after this date

certif Table id BIGINT 19 null
assignment_upgrade Table newinstance BIGINT 19 0
persistent_login Table lastaccess BIGINT 19 null

Value is copied from the sessions table on timeout

block_zoola_reports_schreps Table body LONGTEXT 2147483647 null

Email message body

auth_oauth2_linked_login Table timemodified BIGINT 19 null
totara_connect_clients Table addnewcourses BIT 1 0

Automatically add all new courses

questionnaire_survey Table thank_body LONGTEXT 2147483647 null
tag_instance Table ordering BIGINT 19 null

Maintains the order of the tag instances of an item

external_services_functions Table id BIGINT 19 null
role_allow_override Table id BIGINT 19 null
prog_completion Table coursesetid BIGINT 19 0
user_info_field Table defaultdataformat TINYINT 3 0
local_ld_course_day Table dedication BIGINT 19 0

Time spent on course within this day

tag_instance Table contextid BIGINT 19 null

The context id of the item that was tagged

scorm_seq_objective Table primaryobj BIT 1 0
message_providers Table id BIGINT 19 null

id of the table, please edit me

data_fields Table param4 LONGTEXT 2147483647 null
forum Table introformat SMALLINT 5 0

text format of intro field

scorm_seq_mapinfo Table targetobjectiveid BIGINT 19 0
facetoface_signups_status Table timecreated BIGINT 19 null
certif_completion_history Table certifpath TINYINT 3 null
grade_items_history Table itemname VARCHAR 255 null

The name of this item (pushed in by the module)

facetoface_room_info_data Table fieldid BIGINT 19 null
auth_connect_user_collections Table serverid BIGINT 19 null
block_zoola_module_name Table moduletype VARCHAR 20

Module type (lesson, quiz, ...)

grade_items Table categoryid BIGINT 19 null

(optional) the category group this item belongs to

comp_type_info_field Table description LONGTEXT 2147483647 null
facetoface_session_roles Table userid BIGINT 19 null
org_type_info_field Table typeid BIGINT 19 null
enrol_lti_lti2_tool_proxy Table created BIGINT 19 null
user_enrolments Table enrolid BIGINT 19 null
auth_connect_sso_requests Table timecreated BIGINT 19 null
question_numerical_options Table unitgradingtype SMALLINT 5 0

0 no penalty, 1 fraction response grade, 2 fraction total grade

appraisal_quest_field_role Table appraisalquestfieldid BIGINT 19 null
event Table timesort BIGINT 19 null

Totara: Not used as a part of Moodle's new Course Overview Block (MDL-55611)

scorm Table sha1hash VARCHAR 40 null

package content or ext path hash

auth_approved_request Table email VARCHAR 100

The user's email address - also used for duplicate lookups when signing up.

lti Table showdescriptionlaunch BIT 1 0
pos_type_info_field Table fullname VARCHAR 1024 null
prog_completion_history Table positionid BIGINT 19 null
forum_discussions Table archived BIT 1 0

If archived, then exclude this from the completion criteria

totara_connect_client_cohorts Table id BIGINT 19 null
scorm_seq_mapinfo Table readnormalizedmeasure BIT 1 1
grade_items Table id BIGINT 19 null
grade_items_history Table courseid BIGINT 19 null

The course this item is part of

qtype_essay_options Table responseformat VARCHAR 16 editor

The type of input area students should be given for their response.

question_gapselect Table id BIGINT 19 null
report_builder Table fullname VARCHAR 1333

Title of report, displayed on page and used to refer to a report instance

tool_sitepolicy_policy_version Table sitepolicyid BIGINT 19 null

The id of the policy

url Table parameters LONGTEXT 2147483647 null
course_categories Table description LONGTEXT 2147483647 null
appraisal_quest_field Table name VARCHAR 255 null
course_completion_criteria Table gradepass DECIMAL 10 null

The minimum grade needed to pass the course (if passing grade criteria enabled)

facetoface_asset_info_field Table shortname VARCHAR 100 null
role_names Table id BIGINT 19 null
appraisal_quest_field Table description LONGTEXT 2147483647 null
mnet_sso_access_control Table mnet_host_id BIGINT 19 0

id of mnet host

dp_template Table visible SMALLINT 5 null

To allow templates to be hidden

goal_user_info_field Table required TINYINT 3 null
comp_template Table shortname VARCHAR 100 null
grade_grades Table informationformat BIGINT 19 0

format of information text

goal Table description LONGTEXT 2147483647 null
facetoface_sessioncancel_info_field Table param2 LONGTEXT 2147483647 null
certif_completion_history Table timeexpires BIGINT 19 null

Date the certificate expires

choice_answers Table id BIGINT 19 null
folder Table introformat SMALLINT 5 0
competency_relatedcomp Table timemodified BIGINT 19 null
enrol_paypal Table tax VARCHAR 255
totara_userdata_purge Table id BIGINT 19 null
qtype_shortanswer_options Table usecase TINYINT 3 0

Whether answers are matched case-sensitively.

competency_relatedcomp Table relatedcompetencyid BIGINT 19 null
feedback_completedtmp Table courseid BIGINT 19 0
workshop Table submissionend BIGINT 19 0

0 = will be closed manually, greater than 0 the timestamp of the end of the submission phase

glossary Table rsstype TINYINT 3 0
block_totara_featured_links_tiles Table tilerules LONGTEXT 2147483647 null

This is where the data for the tile specific rules go in. Can be pretty much anything you want.

comp Table typeid BIGINT 19 0
assignfeedback_editpdf_cmnt Table id BIGINT 19 null
qtype_multichoice_options Table single SMALLINT 5 0

If 0 it multiple response (checkboxes). Otherwise it is radio buttons.

scorm_scoes Table identifier VARCHAR 255
external_tokens Table contextid BIGINT 19 null

context id where in token valid

book Table navstyle SMALLINT 5 1
question_response_analysis Table hashcode VARCHAR 40

sha1 hash of serialized qubaids_condition class. Unique for every combination of class name and property.

role_assignments Table timemodified BIGINT 19 0
forum_discussions Table id BIGINT 19 null
appraisal_review_data Table scope BIT 1 null
grade_grades_history Table hidden BIGINT 19 0

show 0, hide 1 or hide until date

forum Table id BIGINT 19 null
feedback Table timeclose BIGINT 19 0
repository_instances Table contextid BIGINT 19 null
lesson_attempts Table id BIGINT 19 null
glossary_entries Table usedynalink TINYINT 3 1
dp_objective_scale_value Table idnumber VARCHAR 100 null

Defines a id that can be assigned to a scale value

enrol_lti_lti2_consumer Table ltiversion VARCHAR 10 null
lesson Table retake SMALLINT 5 1
qtype_ddmarker_drops Table shape VARCHAR 255 null

circle, rectangle, polygon

book_chapters Table bookid BIGINT 19 0
competency_framework Table idnumber VARCHAR 100 null

Unique idnumber for this competency framework.

forum_posts Table created BIGINT 19 0
logstore_standard_log Table contextinstanceid BIGINT 19 null
qtype_essay_options Table responsetemplateformat SMALLINT 5 0

The text format for responsetemplate.

competency_template Table shortname VARCHAR 100 null

Short name for the learning plan template.

block_positions Table subpage VARCHAR 16

With contextid and pagetype, defines the page we are setting the position for.

mnet_sso_access_control Table username VARCHAR 100

Username

lti_submission Table gradepercent DECIMAL 10 null
facetoface_session_info_data_param Table value VARCHAR 32
job_assignment Table timemodified BIGINT 19 null
competency_coursecomp Table courseid BIGINT 19 null

The course this competency is linked to.

lesson_pages Table prevpageid BIGINT 19 0
role_allow_override Table allowoverride BIGINT 19 0
question Table category BIGINT 19 0
log_queries Table id BIGINT 19 null
tool_customlang Table componentid BIGINT 19 null

The id of the component

facetoface_signup_info_data_param Table dataid BIGINT 19 null
grade_letters Table contextid BIGINT 19 null

What contextid does this letter apply to (for now these will always be courses, but later...)

choice Table intro LONGTEXT 2147483647 null
prog_completion_history Table coursesetid BIGINT 19 0
facetoface_signup_info_data_param Table id BIGINT 19 null
tag Table flag SMALLINT 5 0

a tag can be 'flagged' as inappropriate

glossary_categories Table id BIGINT 19 null
certificate Table datefmt BIGINT 19 0
post Table format BIGINT 19 0
report_builder_schedule Table usermodified BIGINT 19 0

user who last modified the scheduled report settings

questionnaire_response Table grade BIGINT 19 0

Grade awarded

dp_template Table sortorder BIGINT 19 null

Field to determine the order of the templates when displayed together

dp_permissions Table component VARCHAR 255 null

Shortname of component this permission is related to. Same as folder name in components or plan if related to the whole plan.

cohort_plan_history Table planstatus BIGINT 19 null
goal_scale_values Table timemodified BIGINT 19 null
questionnaire_attempts Table rid BIGINT 19 0
block_totara_stats Table userid BIGINT 19 null
course Table summaryformat TINYINT 3 0
dp_objective_scale_value Table usermodified BIGINT 19 null

Identifies the id of the user who last modified the scale value

message_read Table useridto BIGINT 19 0
dp_template Table shortname VARCHAR 100 null

A shorter name for this template (optional)

scorm Table displayactivityname SMALLINT 5 1
quiz Table reviewrightanswer MEDIUMINT 7 0

Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.

dp_plan_evidence Table timemodified BIGINT 19 null

Timestamp indicating when this evidence item was last modified

appraisal_quest_field Table param5 LONGTEXT 2147483647 null
forum_discussion_subs Table userid BIGINT 19 null
qtype_multichoice_options Table shuffleanswers SMALLINT 5 1

Whether the choices can be randomly shuffled.

oauth2_system_account Table refreshtoken LONGTEXT 2147483647 null

The refresh token used to request access tokens.

prog_completion_history Table timecompleted BIGINT 19 0
quiz Table reviewgeneralfeedback MEDIUMINT 7 0

Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.

comp_type_info_data Table competencyid BIGINT 19 null
forum_posts Table id BIGINT 19 null
pos_type_info_field Table locked TINYINT 3 null
questionnaire Table completionsubmit BIT 1 0

Questionnaire marked as 'complete' when submitted.

report_builder Table useclonedb BIT 1 0

Use database clone

auth_approved_request Table timemodified BIGINT 19 null
qtype_match_options Table partiallycorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any partially correct response.

competency_usercompplan Table id BIGINT 19 null
lti_submission Table launchid BIGINT 19 null
lti_types Table id BIGINT 19 null
imscp Table name VARCHAR 255
competency_framework Table contextid BIGINT 19 null
glossary_entries Table casesensitive TINYINT 3 0
appraisal Table timestarted BIGINT 19 null

timestamp

facetoface Table multisignupfully BIT 1 0
comp_type_info_field Table fullname VARCHAR 1024 null
portfolio_instance_user Table value LONGTEXT 2147483647 null

value of config item

enrol_paypal Table item_name VARCHAR 255
grade_grades Table rawgrade DECIMAL 10 null

If the grade is a float value (or has been converted to one)

competency_evidence Table timemodified BIGINT 19 null
gradingform_rubric_fillings Table remarkformat TINYINT 3 null

The format of the remark field

prog Table usermodified BIGINT 19 0
block_instances Table blockname VARCHAR 40

The type of block this is. Foreign key, references block.name.

workshop_assessments Table id BIGINT 19 null
tool_sitepolicy_localised_consent Table statement LONGTEXT 2147483647 null

The question/statement the user can answer

qtype_randomsamatch_options Table partiallycorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any partially correct response.

job_assignment Table fullname LONGTEXT 2147483647 null

Null is allowed and will be displayed using a default string (which includes idnumber).

lti_types Table state TINYINT 3 2

Active = 1, Pending = 2, Rejected = 3

workshop_submissions Table id BIGINT 19 null
enrol_paypal Table option_name2 VARCHAR 255
certif_completion Table certifid BIGINT 19 null

Certification ID

competency_coursecompsetting Table id BIGINT 19 null
enrol_lti_lti2_consumer Table updated BIGINT 19 null
course_request Table id BIGINT 19 null
workshop Table submissionfiletypes VARCHAR 255 null

comma separated list of file extensions

dp_priority_scale_value Table priorityscaleid BIGINT 19 null

Identifies the priority scale that a value belongs to

appraisal_stage_data Table appraisalstageid BIGINT 19 null
data_records Table dataid BIGINT 19 0
totara_compl_import_cert Table certificationid BIGINT 19 null

Certification ID if one exists

grade_grades_history Table overridden BIGINT 19 0

indicates grade overridden from gradebook, 0 means none, date means overridden

url Table intro LONGTEXT 2147483647 null
quiz Table grade DECIMAL 10 0.00000

The total that the quiz overall grade is scaled to be out of.

dp_plan_competency_assign Table reasonfordecision LONGTEXT 2147483647 null

The reason for approving/declining the request

forum_posts Table totalscore SMALLINT 5 0
assignment Table var4 BIGINT 19 0
prog_messagelog Table id BIGINT 19 null
comp_scale Table usermodified BIGINT 19 null
grade_items_history Table scaleid BIGINT 19 null

If this grade is based on a scale, which one is it?

qtype_ddmarker_drops Table questionid BIGINT 19 0
comp_criteria_record Table status TINYINT 3 null
errorlog Table timeoccured BIGINT 19 null
enrol_lti_tools Table roleinstructor BIGINT 19 null
facetoface_session_info_data Table fieldid BIGINT 19 null
folder Table name VARCHAR 255
qtype_ddimageortext_drags Table questionid BIGINT 19 0
user Table mailformat BIT 1 1
assignment_submissions Table timecreated BIGINT 19 0
mnet_host Table ip_address VARCHAR 45
auth_approved_request_snapshots Table userid BIGINT 19 null
dp_plan_objective Table scalevalueid SMALLINT 5 null
totara_userdata_export Table timefinished BIGINT 19 null

End of export or time when marked as timed out, this is also used to export old files

chat_messages_current Table id BIGINT 19 null
registration_hubs Table timemodified BIGINT 19 0
totara_dashboard_cohort Table id BIGINT 19 null
course_modules Table visibleoncoursepage BIT 1 1

Totara: Not used ATM, as we didn't take Stealth mode changes. If stealth visibility is allowed for the course, this controls whether activity is visible on course page

portfolio_instance_user Table name VARCHAR 255

name of config item

stats_weekly Table stat1 BIGINT 19 0

stat1. usually used for reads

org_type_info_field Table shortname VARCHAR 100 null
competency_evidence Table descidentifier VARCHAR 255
totara_connect_client_courses Table id BIGINT 19 null
dp_objective_scale_value Table timemodified BIGINT 19 null

Identifies the last time this scale value was modified

lesson_answers Table score BIGINT 19 0
questionnaire Table timemodified BIGINT 19 0

The timestamp record last modified.

cohort_plan_history Table manual BIT 1 0
feedback_completedtmp Table anonymous_response BIT 1 0
gradingform_rubric_criteria Table definitionid BIGINT 19 null

The ID of the form definition this criterion is part of

org_type Table description LONGTEXT 2147483647 null
appraisal_stage_page Table appraisalstageid BIGINT 19 null
reportbuilder_grp_user_user Table timecreated BIGINT 19 0
questionnaire_question_type Table has_choices VARCHAR 1 y
lti_types_config Table name VARCHAR 100

Basic LTI param

cohort Table activecollectionid BIGINT 19 null

Totara active collection id from totara_cohort

message_metadata Table msgtype SMALLINT 5 null

The message type

scorm Table launch BIGINT 19 0
competency_usercompplan Table timemodified BIGINT 19 null
profiling Table runid VARCHAR 32

the unique id for this run (as generated by xhprof)

lesson_timer Table starttime BIGINT 19 0
question_calculated Table correctanswerlength BIGINT 19 2
qtype_ddmarker_drags Table no BIGINT 19 0

drag no

pos_type_info_data Table id BIGINT 19 null
facetoface_asset_info_field Table forceunique TINYINT 3 null
goal_grp_org Table includechildren TINYINT 3 0
cohort_rule_params Table ruleid BIGINT 19 null
prog_courseset Table competencyid BIGINT 19 0
question_hints Table shownumcorrect BIT 1 null

Whether the feedback should include a message about how many things the student got right. This is only applicable to certain question types (for example matching or multiple choice multiple-response).

role_names Table name VARCHAR 255
assign Table sendstudentnotifications TINYINT 3 1

Default for send student notifications checkbox when grading.

tool_recyclebin_category Table id BIGINT 19 null
assignment Table course BIGINT 19 0
totara_connect_client_pos_frameworks Table clientid BIGINT 19 null
assign Table submissiondrafts TINYINT 3 0

If true, assignment submissions will be considered drafts until the student clicks on the submit assignmnet button.

workshop_submissions Table published TINYINT 3 0

Shall the submission be available to other when the workshop is closed

auth_connect_users Table userid BIGINT 19 null
lti Table timemodified BIGINT 19 0
assign_plugin_config Table name VARCHAR 28
question_attempts Table maxfraction DECIMAL 12 1.0000000

Some questions can give fractions greater than 1. This indicates the greatest fraction that can be awarded.

choice_options Table choiceid BIGINT 19 0
workshopeval_best_settings Table comparison SMALLINT 5 5

Here we store the recently set factor of comparison of assessment in the given workshop. Reasonable values are from 1 to 10 or so. Default to 5.

glossary_entries_categories Table id BIGINT 19 null
workshop_aggregations Table timegraded BIGINT 19 null

The timestamp of when the participant's gradinggrade was recently aggregated.

blog_external Table id BIGINT 19 null
choice Table limitanswers TINYINT 3 0
facetoface_signup_info_field Table param1 LONGTEXT 2147483647 null
prog_extension Table reasonfordecision LONGTEXT 2147483647 null
pos_type_info_data_param Table dataid BIGINT 19 null
tool_monitor_rules Table courseid BIGINT 19 null

Id of course to which this rule belongs.

facetoface Table course BIGINT 19 0
prog Table availablefrom BIGINT 19 0
certif Table learningcomptype TINYINT 3 null

Type of component - program, course, competency

question_calculated Table answer BIGINT 19 0
forum_discussions Table timemodified BIGINT 19 0
lesson Table nextpagedefault SMALLINT 5 0
feedback360_grp_pos Table id BIGINT 19 null
pos_type_info_field Table sortorder BIGINT 19 null
facetoface_cancellation_info_field Table param4 LONGTEXT 2147483647 null
auth_approved_request Table positionfreetext LONGTEXT 2147483647 null

Free text field for position - this is a hint for approver so that they can pick the appropriate position

totara_dashboard Table locked BIT 1 0
tool_usertours_tours Table configdata LONGTEXT 2147483647 null
question_attempt_steps Table timecreated BIGINT 19 null

Time-stamp of the action that lead to this state being created.

feedback_sitecourse_map Table feedbackid BIGINT 19 0
report_builder Table initialdisplay BIT 1 0

Indicated whether to wait for filters to be applied before generating the report

portfolio_log Table caller_component VARCHAR 255 null

the component name responsible for exporting

catalog Table ftslow LONGTEXT 2147483647 null
scale Table courseid BIGINT 19 0
mnet_host2service Table publish BIT 1 0
enrol_lti_lti2_resource_link Table consumerid BIGINT 19 null
event Table format SMALLINT 5 0
assignfeedback_editpdf_queue Table id BIGINT 19 null
course Table calendartype VARCHAR 30
tool_monitor_subscriptions Table cmid BIGINT 19 null

Course module id

pos Table frameworkid BIGINT 19 null
assignfeedback_editpdf_cmnt Table width BIGINT 19 120

width, in pixels, of the comment box

reminder Table config LONGTEXT 2147483647 null
tool_recyclebin_course Table section BIGINT 19 null
feedback_completed Table courseid BIGINT 19 0
badge Table timemodified BIGINT 19 0
groups_members Table timeadded BIGINT 19 0
registration_hubs Table huburl VARCHAR 255
facetoface_notification_sent Table sessionid BIGINT 19 0
scorm_seq_rolluprule Table scoid BIGINT 19 0
lesson_overrides Table maxattempts SMALLINT 5 null
prog_courseset Table completiontype SMALLINT 5 0
quiz_attempts Table attempt MEDIUMINT 7 0

Sequentially numbers this student's attempts at this quiz.

grade_categories_history Table keephigh BIGINT 19 0

Keep only the X highest items

message Table timeuserfromdeleted BIGINT 19 0
cohort_msg_queue Table processed BIGINT 19 0
facetoface_notification Table scheduletime BIGINT 19 null
competency_usercompcourse Table timecreated BIGINT 19 null
prog_future_user_assignment Table id BIGINT 19 null
stats_daily Table stattype VARCHAR 20 activity

type of stat

totara_userdata_export_type Table timechanged BIGINT 19 null

Updated after very update

lesson_pages Table display SMALLINT 5 1
book Table timecreated BIGINT 19 0
dp_priority_scale_value Table id BIGINT 19 null
comp Table visible TINYINT 3 null
oauth2_issuer Table usermodified BIGINT 19 null

The user who modified this record

lti_types Table coursevisible BIT 1 0
oauth2_system_account Table timemodified BIGINT 19 null

Time this record was modified.

event_subscriptions Table courseid BIGINT 19 0
appraisal_scale Table userid BIGINT 19 null
facetoface_sessioncancel_info_field Table sortorder BIGINT 19 null
grade_outcomes_history Table courseid BIGINT 19 null

Mostly these are defined site wide ie NULL

book Table customtitles TINYINT 3 0
enrol Table enrolperiod BIGINT 19 0

Custom - enrolment duration

grade_items_history Table aggregationcoef2 DECIMAL 10 0.00000

Aggregation coefficient used for category weights or other aggregation types

question_ddwtos Table correctfeedbackformat TINYINT 3 0
course_info_field Table param2 LONGTEXT 2147483647 null
events_handlers Table id BIGINT 19 null
goal_user_type Table id BIGINT 19 null
competency_template Table descriptionformat SMALLINT 5 0

The format of the description field

glossary Table approvaldisplayformat VARCHAR 50 default

Display Format when approving entries

question_attempt_steps Table fraction DECIMAL 12 null

The grade for this question, when graded out of 1. Needs to be multiplied by question_attempt.maxmark to get the actual mark for the question.

tool_sitepolicy_localised_policy Table whatsnewformat TINYINT 3 1

The format of the whatsnew field

prog_future_user_assignment Table programid BIGINT 19 null
groupings_groups Table groupingid BIGINT 19 0
resource Table timemodified BIGINT 19 0
wiki_links Table frompageid BIGINT 19 0

Page id with a link

block_zoola_reports_schreps Table id BIGINT 19 null
user_info_field Table description LONGTEXT 2147483647 null

Description of field

forum_read Table id BIGINT 19 null
quiz_reports Table name VARCHAR 255 null

name of the report, same as the directory name

message_metadata Table id BIGINT 19 null

id of the table, please edit me

badge_issued Table uniquehash LONGTEXT 2147483647 null
task_scheduled Table classname VARCHAR 255

The class extending scheduled_task to be called when running this task.

grade_outcomes Table timecreated BIGINT 19 null

the time this outcome was first created

facetoface Table forceselectjobassignment BIT 1 0

Error if no suitable job assignment is available when signing up

event Table groupid BIGINT 19 0
files Table pathnamehash VARCHAR 40

complete file path sha1 hash - unique for each file

role_capabilities Table modifierid BIGINT 19 0
survey_answers Table answer1 LONGTEXT 2147483647 null
goal_grp_pos Table id BIGINT 19 null
message_metadata Table oninfo LONGTEXT 2147483647 null

serialised action on message info

appraisal_grp_pos Table posid BIGINT 19 null
questionnaire_question_type Table id BIGINT 19 null
question_calculated Table tolerancetype BIGINT 19 1
block Table cron BIGINT 19 0
facetoface_session_info_field Table sortorder BIGINT 19 null
assign_grades Table assignment BIGINT 19 0
stats_user_monthly Table courseid BIGINT 19 0
role_names Table roleid BIGINT 19 0
totara_navigation_settings Table id BIGINT 19 null
stats_daily Table stat1 BIGINT 19 0

stat1. usually used for reads

grade_items_history Table itemnumber BIGINT 19 null

Can be used to distinguish multiple grades for an activity

block_totara_featured_links_tiles Table presetsaggregation SMALLINT 5 0

The aggregation of the preset rules ie the logic to combine them

pos Table timecreated BIGINT 19 null
course_categories Table descriptionformat TINYINT 3 0
data Table listtemplate LONGTEXT 2147483647 null
pos Table typeid BIGINT 19 0
reminder_message Table period BIGINT 19 null
totara_userdata_export_type_item Table name VARCHAR 100

Class name without namespace, e.g. comment, post, completion

totara_userdata_purge_type_item Table component VARCHAR 100

Plugin name or subsystem, e.g. mod_glossary, core_user

quiz_reports Table capability VARCHAR 255 null

Capability required to see this report. May be blank which means use the default of mod/quiz:viewreport. This is used when deciding which tabs to render.

dp_component_settings Table id BIGINT 19 null
block_zoola_reports_schedule Table userid BIGINT 19 null

User ID

files Table userid BIGINT 19 null

Optional - general userid field - meaning depending on plugin

goal_grp_pos Table timemodified BIGINT 19 null
stats_user_daily Table stattype VARCHAR 30
totara_core_course_vis_map Table courseid BIGINT 19 null
grade_items Table sortorder BIGINT 19 0

Sorting order of the columns

course_format_options Table courseid BIGINT 19 null

Id of the course

goal_personal Table deleted BIT 1 0
grade_import_values Table finalgrade DECIMAL 10 null

raw grade value

assignfeedback_editpdf_annot Table y BIGINT 19 0

y-position of the start of the annotation (in pixels - image resolution is set to 100 pixels per inch)

forum Table completiondiscussions INT 10 0

Nonzero if a certain number of posts are required to mark this forum completed for a user.

grade_outcomes_courses Table outcomeid BIGINT 19 null

id of the outcome

local_ld_lastactivity Table lastaccess BIGINT 19 null

When the activity has occurred

local_ld_lastactivity Table courseid BIGINT 19 null

Course ID

dp_plan_evidence_info_field Table locked BIT 1 null
facetoface_sessions Table cancellationcutoff BIGINT 19 86400

The number of seconds before the session start when the user is allowed to cancel

dp_template Table id BIGINT 19 null
survey Table timemodified BIGINT 19 0
log_display Table field VARCHAR 200
facetoface_session_info_data Table facetofacesessionid BIGINT 19 null
facetoface_asset_info_field Table param5 LONGTEXT 2147483647 null
quiz_attempts Table timestart BIGINT 19 0

Time when the attempt was started.

goal_personal Table usercreated BIGINT 19 null
block_zoola_reports_eventcfg Table reporturi VARCHAR 1333 null

Zoola report URI

mnet_host Table name VARCHAR 80
workshopform_accumulative Table weight MEDIUMINT 7 1

The weigh of the dimension

editor_atto_autosave Table drafttext LONGTEXT 2147483647 null

The draft text

tool_monitor_subscriptions Table timecreated BIGINT 19 null

Timestamp of when this subscription was created

data Table requiredentries INT 10 0
job_assignment Table managerjaid BIGINT 19 null

The job assignment ID belonging to the user who will act as manager for this job assignment

course_categories Table name VARCHAR 255
lti_tool_settings Table settings LONGTEXT 2147483647 null

Setting values as JSON

external_services Table id BIGINT 19 null
cache_filters Table id BIGINT 19 null
comp_scale Table description LONGTEXT 2147483647 null
log Table module VARCHAR 20
quickaccess_preferences Table id BIGINT 19 null
forum Table lockdiscussionafter BIGINT 19 0
workshop_submissions Table title VARCHAR 255

The submission title

totara_compl_import_course Table customfields LONGTEXT 2147483647 null

Any custom field data

mnet_rpc Table static BIT 1 null
comp_type Table description LONGTEXT 2147483647 null
data Table assesstimefinish BIGINT 19 0
wiki_synonyms Table pageid BIGINT 19 0

Original page

lesson Table maxattempts SMALLINT 5 5
grade_items_history Table weightoverride BIT 1 0
facetoface_session_info_data_param Table id BIGINT 19 null
tool_usertours_tours Table pathmatch VARCHAR 255 null
quiz Table reviewcorrectness MEDIUMINT 7 0

Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.

external_services Table uploadfiles BIT 1 0

1 if the service allow people to upload files to webservice/upload.php - 0 if not

goal_user_info_field Table hidden TINYINT 3 null
forum Table maxattachments BIGINT 19 1

Number of attachments allowed per post

workshopform_accumulative Table description LONGTEXT 2147483647 null

The description of the dimension

competency Table timecreated BIGINT 19 null

The time this competency was created.

log_queries Table sqlparams LONGTEXT 2147483647 null

query parameters

user_enrolments Table status BIGINT 19 0

0..9 are system constants, 0 means active participation, see ENROL_PARTICIPATION_* constants, plugins may define own status greater than 10

grading_instances Table timemodified BIGINT 19 null

The timestamp of when the assessment was most recently modified

file_conversion Table id BIGINT 19 null
oauth2_system_account Table email LONGTEXT 2147483647 null

The email that was connected to this issuer.

gap_aspirational Table id BIGINT 19 null
quiz_feedback Table quizid BIGINT 19 0

Foreign key references quiz.id.

groupings Table descriptionformat TINYINT 3 0
url Table displayoptions LONGTEXT 2147483647 null
choice_answers Table userid BIGINT 19 0
scorm_seq_rolluprule Table id BIGINT 19 null
dp_course_settings Table prioritymode SMALLINT 5 0

Defines how priorities are handled within this component

auth_connect_sso_requests Table requesttoken VARCHAR 64
question_calculated_options Table incorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any incorrect response.

mnet_log Table remoteid BIGINT 19 0
workshopform_comments Table id BIGINT 19 null
goal_type_info_field Table param5 LONGTEXT 2147483647 null
mnet_application Table name VARCHAR 50
totara_connect_clients Table id BIGINT 19 null
facetoface_sessions Table cutoff BIGINT 19 86400

The number of seconds before the session start by which the minimum capacity should be reached

user_info_field Table defaultdata LONGTEXT 2147483647 null

Default value for this field

lti_tool_proxies Table createdby BIGINT 19 null

ID of user which initiated the registration process

quiz_statistics Table firstattemptscount BIGINT 19 null
totara_connect_client_org_frameworks Table id BIGINT 19 null
auth_connect_sso_sessions Table serverid BIGINT 19 null
quiz Table showuserpicture SMALLINT 5 0

Option to show the user's picture during the attempt and on the review page.

org_type_info_field Table param4 LONGTEXT 2147483647 null
comp_template_assignment Table templateid BIGINT 19 null
dp_plan_course_assign Table priority BIGINT 19 null

Identifies the priority of this course within the current plan.

pos Table totarasync BIT 1 0

Totara sync flag from totara_sync

scorm_scoes Table sortorder BIGINT 19 0

order of scoes

feedback_completed_history Table timearchived BIGINT 19 null
totara_compl_import_cert Table timeupdated BIGINT 19 0

Time the record was added to the system

workshopform_numerrors Table weight MEDIUMINT 7 1

Weight of this dimension

scorm Table version VARCHAR 9
questionnaire_response_other Table choice_id BIGINT 19 0
scorm Table completionstatusrequired BIT 1 null
facetoface_room_info_field Table fullname VARCHAR 1024 null
user_devices Table name VARCHAR 32

the device name, occam or iPhone etc..

role_sortorder Table id BIGINT 19 null
user_password_history Table hash VARCHAR 255
workshop_aggregations Table gradinggrade DECIMAL 10 null

The aggregated grade for all assessments made by this reviewer. The grade is a number from interval 0..100. If NULL then the grade for assessments has not been aggregated yet.

prog_user_assignment Table id BIGINT 19 null
facetoface_interest Table timedeclared BIGINT 19 0
comments Table contextid BIGINT 19 null
cohort_rule_collections Table addnewmembers BIT 1 1

Determines if members are added to the audience when they qualify

feedback Table page_after_submit LONGTEXT 2147483647 null
report_builder_search_cols Table reportid BIGINT 19 null
question_statistics Table maxmark DECIMAL 12 null
auth_approved_request Table status TINYINT 3 null

Request status - 0 means pending, 1 approved, 2 rejected, etc.

course_format_options Table sectionid BIGINT 19 0

Null if this is a course option, otherwise id of the section this option is for

totara_userdata_purge_type Table userstatus BIT 1 null

Type is suitable for this user status only. Cannot be changed after creation, 0 means active, 1 deleted and 2 suspended

qtype_ddimageortext Table shownumcorrect TINYINT 3 0
grade_items Table timecreated BIGINT 19 null

The first time this grade_item was created

reportbuilder_grp_pos_user Table timecreated BIGINT 19 0
appraisal_event Table stageiscompleted BIT 1 0
comp_framework Table shortname VARCHAR 100 null
totara_connect_clients Table clientidnumber VARCHAR 64

Unique client ID, used in client requests

appraisal_history Table appraisalid BIGINT 19 null
enrol_lti_lti2_context Table id BIGINT 19 null
qtype_ddimageortext_drags Table no BIGINT 19 0

drag no

auth_approved_request Table positionid BIGINT 19 null

Position id

mnet_rpc Table id BIGINT 19 null

Unique Function ID

course Table startdate BIGINT 19 0
auth_approved_request_snapshots Table profilefields LONGTEXT 2147483647 null
goal_user_info_field Table datatype VARCHAR 255 null
org Table timecreated BIGINT 19 null
assign Table maxattempts MEDIUMINT 7 -1

What is the maximum number of student attempts allowed for this assignment? -1 means unlimited.

local_activityvisibility Table courseid BIGINT 19 null
upgrade_log Table backtrace LONGTEXT 2147483647 null
course_modules Table completionview BIT 1 0

Controls whether a page view is part of the automatic completion requirements for this activity. 0 = view not required 1 = view required

assign Table timemodified BIGINT 19 0

The time the settings for this assign module instance were last modified.

grade_grades_history Table locked BIGINT 19 0

not locked 0, locked from date

qtype_multichoice_options Table questionid BIGINT 19 0

Foreign key references question.id

facetoface Table intro LONGTEXT 2147483647 null

intro

enrol Table customint7 BIGINT 19 null

Custom - general int

cohort_plan_history Table cohortid BIGINT 19 null
course_modules Table completiongradeitemnumber BIGINT 19 null

Grade-item number used to track automatic completion, if applicable.

tool_recyclebin_category Table categoryid BIGINT 19 null
enrol Table enrolenddate BIGINT 19 0

Custom - end of enrolment

goal_personal Table typeid BIGINT 19 0
totara_connect_clients Table addnewcohorts BIT 1 0

Automatically add all new cohorts

logstore_standard_log Table component VARCHAR 100
context Table path VARCHAR 255 null
feedback360_quest_field Table param5 LONGTEXT 2147483647 null
workshop_assessments Table gradinggradeoverby BIGINT 19 null

The id of the user who has overridden the grade for submission.

dp_program_settings Table duedatemode SMALLINT 5 0

Defines how due dates are handled by this component

facetoface_sessions_dates Table sessionid BIGINT 19 0
catalog_search_metadata Table timemodified BIGINT 19 null
workshop_assessments Table feedbackauthorattachment SMALLINT 5 0

Are there some files attached to the feedbackauthor field? Sets to 1 by file_postupdate_standard_filemanager().

messageinbound_datakeys Table datavalue BIGINT 19 null

The integer value of the data item that this key belongs to.

scorm_aicc_session Table timecreated BIGINT 19 0

time this session was created

message_read Table contexturl LONGTEXT 2147483647 null

If this message is a notification of an event contexturl should contain a link to view this event. For example if its a notification of a forum post contexturl should contain a link to the forum post.

user_info_field Table categoryid BIGINT 19 0

id from category table

facetoface_notification_sent Table id BIGINT 19 null
post Table module VARCHAR 20
gradingform_rubric_fillings Table id BIGINT 19 null
assignfeedback_file Table numfiles BIGINT 19 0

The number of files uploaded by a grader.

glossary_formats Table popupformatname VARCHAR 50
competency_coursecompsetting Table pushratingstouserplans TINYINT 3 null

Does this course push ratings to user plans?

facetoface_interest Table id BIGINT 19 null
portfolio_log Table id BIGINT 19 null
goal_user_info_field Table sortorder BIGINT 19 null
mnet_remote_rpc Table functionname VARCHAR 40
comp_record Table assessmenttype VARCHAR 100 null
dp_plan_evidence Table timecreated BIGINT 19 null

Timestamp indicating when this evidence item was created

user Table trackforums BIT 1 0
lesson_timer Table lessontime BIGINT 19 0
lesson Table course BIGINT 19 0
repository_opensesame_bps Table id BIGINT 19 null
feedback360_grp_org Table includechildren BIT 1 null
enrol_lti_tools Table gradesynccompletion BIT 1 0
dp_plan_objective Table description LONGTEXT 2147483647 null
scorm Table maxattempt BIGINT 19 1
report_builder_columns Table sortorder BIGINT 19 null

Determines the order that the columns appear in the report

user_enrolments Table modifierid BIGINT 19 0
assign_user_flags Table allocatedmarker BIGINT 19 0

The allocated marker to this submission

stats_user_daily Table courseid BIGINT 19 0
course_info_field Table shortname VARCHAR 100 null
grading_instances Table itemid BIGINT 19 null

This identifies the graded item within the grabable area

question_statistics Table facility DECIMAL 15 null
config_log Table timemodified BIGINT 19 null
org_type_info_data_param Table value VARCHAR 32
log Table time BIGINT 19 0
dp_objective_scale Table usermodified BIGINT 19 null

Identifies the id of the user who last modified the objective scale

quiz_reports Table displayorder BIGINT 19 null

display order for report tabs

appraisal_quest_field Table param1 LONGTEXT 2147483647 null
block_totara_featured_links_tiles Table blockid BIGINT 19 null

This is the block id that the tile belongs to

tool_monitor_rules Table description LONGTEXT 2147483647 null

Description of the rule

assign Table nosubmissions TINYINT 3 0

This field is a cache for is_any_submission_plugin_enabled() which allows Moodle pages to distinguish offline assignment types without loading the assignment class.

facetoface_session_info_data Table data LONGTEXT 2147483647 null
goal_personal Table targetdate BIGINT 19 null
page Table course BIGINT 19 0
goal_user_type_cohort Table goalid BIGINT 19 null
question_categories Table infoformat TINYINT 3 0
totara_sync_log Table id BIGINT 19 null
book_chapters Table title VARCHAR 255
quiz_attempts Table timecheckstate BIGINT 19 0

Next time quiz cron should check attempt for state changes. NULL means never check.

catalog Table id BIGINT 19 null
feedback_item Table dependitem BIGINT 19 0
org_type_info_data_param Table id BIGINT 19 null
quiz Table sumgrades DECIMAL 10 0.00000

The total of all the question instance maxmarks.

rating Table itemid BIGINT 19 null
goal_user_info_field Table param2 LONGTEXT 2147483647 null
survey Table name VARCHAR 255
appraisal_grp_pos Table id BIGINT 19 null
comp_template Table frameworkid BIGINT 19 null
facetoface Table introformat TINYINT 3 0

introformat

org_type_info_field Table param2 LONGTEXT 2147483647 null
grade_grades Table usermodified BIGINT 19 null

the userid of the person who last modified this grade

chat Table introformat SMALLINT 5 0

text format of intro field

questionnaire Table respondenttype VARCHAR 9 fullname

Eligible respondents

facetoface_room Table usercreated BIGINT 19 null

user id who created the room

gradingform_rubric_fillings Table instanceid BIGINT 19 null

The ID of the grading form instance

pos_relations Table id1 BIGINT 19 null
scorm Table hidetoc BIT 1 0
qtype_ddmarker_drops Table no BIGINT 19 0

drop number

local_activityvisibility Table coursemoduleid BIGINT 19 null
competency_usercompplan Table userid BIGINT 19 null

User associated to the competency.

cohort_rule_params Table timecreated BIGINT 19 null
reportbuilder_grp_org_record Table timecreated BIGINT 19 0
grade_items Table itemname VARCHAR 255 null

The name of this item (pushed in by the module)

facetoface_asset_info_data_param Table id BIGINT 19 null
assign_submission Table status VARCHAR 10 null

The status of this assignment submission. The current statuses are DRAFT and SUBMITTED.

report_builder_saved Table userid BIGINT 19 null

User who saved the search

role Table id BIGINT 19 null
question_statistics Table slot BIGINT 19 null

The position in the quiz where this question appears

log_display Table mtable VARCHAR 30
question_dataset_items Table value VARCHAR 255
totara_userdata_export_type_item Table component VARCHAR 100

Plugin name or subsystem, e.g. mod_glossary, core_user

question_gapselect Table correctfeedbackformat TINYINT 3 0
badge Table type BIT 1 1

1 = site, 2 = course

course_sections Table id BIGINT 19 null
workshopform_rubric Table descriptionformat SMALLINT 5 0

The format of the description field

course_sections Table course BIGINT 19 0
quiz_statistics Table cic DECIMAL 15 null
report_builder Table recordsperpage BIGINT 19 40

Number of records to show on a single page of results for this report

scale Table timemodified BIGINT 19 0
tool_monitor_events Table link VARCHAR 254

Link to the event location

comments Table commentarea VARCHAR 255
message_read Table timeuserfromdeleted BIGINT 19 0
lesson_attempts Table useranswer LONGTEXT 2147483647 null
assign Table attemptreopenmethod VARCHAR 10 none

How to determine when students are allowed to open a new submission. Valid options are none, manual, untilpass

forum_posts Table archived BIT 1 0

If archived, then exclude from completion criteria

dp_plan_evidence_info_data_param Table value VARCHAR 32
totara_userdata_purge_item Table name VARCHAR 100

Class name without namespace, e.g. comment, post, completion

facetoface Table shortname VARCHAR 32 null
quiz Table intro LONGTEXT 2147483647 null

Quiz introduction text.

comp Table idnumber VARCHAR 100 null
report_builder_schedule_email_audience Table scheduleid BIGINT 19 null
scorm Table auto BIT 1 0
user_info_data Table id BIGINT 19 null
question_response_analysis Table subqid VARCHAR 100
report_builder_global_restriction Table name VARCHAR 255
totara_connect_client_org_frameworks Table timecreated BIGINT 19 null
event_subscriptions Table url VARCHAR 255
gradingform_guide_criteria Table shortname VARCHAR 255

shortname of this criterion

chat Table timemodified BIGINT 19 0
lti Table instructorchoiceacceptgrades BIT 1 null

Accept grades from tool

data_fields Table required BIT 1 0

Required fields must have a value when inserted by a user

assignment Table timedue BIGINT 19 0
totara_connect_clients Table cohortid BIGINT 19 null

Optional cohort restriction, if specified only cohort members are synced, all other users are completely ignored

enrol_lti_users Table membershipsid LONGTEXT 2147483647 null
workshop_assessments Table reviewerid BIGINT 19 null

The id of the reviewer who makes this assessment

file_conversion Table usermodified BIGINT 19 null
report_builder_filters Table defaultvalue LONGTEXT 2147483647 null

Serialized data containing the default value for the filter

dp_plan_component_relation Table mandatory VARCHAR 255 null

Is this a manadatory relation

logstore_standard_log Table anonymous BIT 1 0

Was this event anonymous at the time of triggering?

prog_completion_history Table id BIGINT 19 null
stats_monthly Table id BIGINT 19 null
question_response_analysis Table aid VARCHAR 100 null
questionnaire Table autonum BIT 1 3

option for auto numbering questions and pages (both selected by default)

mnet_log Table course BIGINT 19 0
question_numerical_units Table id BIGINT 19 null
rating Table timemodified BIGINT 19 null
facetoface_room_info_data Table data LONGTEXT 2147483647 null
auth_approved_request_snapshots Table alternatename VARCHAR 255 null
comp_criteria_record Table competencyid BIGINT 19 null
qtype_multichoice_options Table correctfeedback LONGTEXT 2147483647 null

Feedback shown for any correct response.

portfolio_log Table portfolio BIGINT 19 null

fk to portfolio_instance

lti_tool_proxies Table name VARCHAR 255 Tool Provider

Tool Provider name

cohort_rule_collections Table status BIGINT 19 null
assign_submission Table timecreated BIGINT 19 0

The time of the first student submission to this assignment.

facetoface_signup_info_data Table id BIGINT 19 null
mnet_host Table force_theme BIT 1 0
feedback360_scale_value Table feedback360scaleid BIGINT 19 null
totara_connect_clients Table allowpluginsepservices BIT 1 0

Allow clients to access any plugin services

data_fields Table param2 LONGTEXT 2147483647 null
question_numerical Table question BIGINT 19 0

Redundant, because of the answer field. Foreign key references question.id.

prog Table exceptionssent BIT 1 0
stats_monthly Table courseid BIGINT 19 0
badge_criteria_param Table critid BIGINT 19 null
groups_members Table component VARCHAR 100

Defines the Moodle component which added this group membership (e.g. 'auth_myplugin'), or blank if it was added manually. (Entries which are created by a Moodle component cannot be removed in the normal user interface.)

competency_modulecomp Table timemodified BIGINT 19 null

The time this record was last modified

post Table userid BIGINT 19 0
quiz Table preferredbehaviour VARCHAR 32

The behaviour to ask questions to use.

totara_compl_import_course Table importerror BIT 1 0

true/false if there were any errors

feedback_template Table id BIGINT 19 null
block_zoola_reports_schreps Table status VARCHAR 100 enabled

'enabled' or reason why the schedule is disabled.

qtype_multichoice_options Table shownumcorrect TINYINT 3 0

If true, then when the user gets a multiple-response question partially correct, tell them how many choices they got correct alongside the feedback.

scorm_aicc_session Table sessiontime VARCHAR 255 null
scorm_seq_rolluprulecond Table operator VARCHAR 5 noOp
competency_evidence Table contextid BIGINT 19 null
questionnaire Table resume TINYINT 3 0

Questionnaire can be saved and resumed.

auth_oauth2_linked_login Table userid BIGINT 19 null

The user account this oauth login is linked to.

totara_navigation Table visibilityold BIT 1 null

Intended for show/hide admin UI buttons

feedback360 Table anonymous BIT 1 0
totara_dashboard Table sortorder BIGINT 19 0
questionnaire_feedback Table id BIGINT 19 null
feedback360_resp_assignment Table timeassigned BIGINT 19 null
org Table typeid BIGINT 19 0
data_records Table timemodified BIGINT 19 0
oauth2_issuer Table name VARCHAR 255

The name of this identity issuer

goal_user_info_field Table param4 LONGTEXT 2147483647 null
comp_scale_assignments Table timemodified BIGINT 19 null
upgrade_log Table type BIGINT 19 null

type: 0==info, 1==notice, 2==error

groupings Table idnumber VARCHAR 100
dp_plan_program_assign Table reasonfordecision LONGTEXT 2147483647 null

The reason for approving/declining the request

prog_exception Table userid BIGINT 19 0
user_private_key Table userid BIGINT 19 null

owner

block_zoola_reports_cohort Table blockinstanceid BIGINT 19 null

Block instance ID

feedback360_quest_field Table param3 LONGTEXT 2147483647 null
file_conversion Table targetformat VARCHAR 100
event_subscriptions Table eventtype VARCHAR 20

The type of the event

certif_completion_history Table unassigned BIT 1 0

Unassigned from certification

quiz_overrides Table userid BIGINT 19 null

Foreign key references user.id. Can be null if this is a per-group override.

prog_assignment Table assignmenttype SMALLINT 5 0
reminder_sent Table id BIGINT 19 null
grade_items Table courseid BIGINT 19 null

The course this item is part of

scorm Table maxgrade DOUBLE 22 0
job_assignment Table positionassignmentdate BIGINT 19 null
badge Table description LONGTEXT 2147483647 null
cohort_rulesets Table operator BIGINT 19 null
lti_tool_settings Table timecreated BIGINT 19 null

Date/time at which the record was created

dp_plan_course_assign Table approved SMALLINT 5 0

Indicates if the course has been accepted as part of a plan, or is awaiting approval.

cohort_rules Table id BIGINT 19 null
lesson_attempts Table userid BIGINT 19 0
competency Table descriptionformat SMALLINT 5 0

The format of the description field

user_private_key Table timecreated BIGINT 19 null

created timestamp

mnet_session Table username VARCHAR 100

Unique username

competency_plancomp Table sortorder BIGINT 19 null

Relative sort order

grade_categories Table aggregateonlygraded BIT 1 0

aggregate only graded activities

scorm Table options VARCHAR 255
tag_area Table callbackfile VARCHAR 100 null
grade_categories Table fullname VARCHAR 255

The name of this grade category

tool_sitepolicy_localised_policy Table title VARCHAR 1333

Title of the policy

reportbuilder_grp_pos_user Table includechildren BIT 1 0
facetoface Table usercalentry BIT 1 1
question_datasets Table id BIGINT 19 null
enrol_lti_tools Table gradesync BIT 1 0
message Table smallmessage LONGTEXT 2147483647 null

Smal version of message (eg sms)

cohort_rules Table rulesetid BIGINT 19 null
chat_users Table chatid BIGINT 19 0
glossary Table showalphabet TINYINT 3 1
task_scheduled Table month VARCHAR 25
comp_template Table description LONGTEXT 2147483647 null
totara_userdata_export_type Table usercreated BIGINT 19 null

Who added this type

message_contacts Table id BIGINT 19 null
scorm_seq_rolluprulecond Table scoid BIGINT 19 0
dp_permissions Table value SMALLINT 5 null

Integer value representing the permission, or null if not set

totara_compl_import_course Table importerrormsg LONGTEXT 2147483647 null

Any error messages for this record

upgrade_log Table userid BIGINT 19 null
course_info_data Table courseid BIGINT 19 null
book_chapters Table contentformat SMALLINT 5 0
comp_type_info_field Table param1 LONGTEXT 2147483647 null
dp_component_settings Table component VARCHAR 255 null

Shortname of the component

appraisal_user_event Table eventid BIGINT 19 null
course_request Table category BIGINT 19 0
dp_plan_evidence_info_field Table param4 LONGTEXT 2147483647 null
tag_area Table showstandard BIT 1 0
workshop_grades Table id BIGINT 19 null
profiling Table totalcalls BIGINT 19 null

Total number of calls performed by the run

report_builder_global_restriction Table allusers BIT 1 0

True means this restriction can be used by all users

goal_type_info_field Table description LONGTEXT 2147483647 null
pos Table visible TINYINT 3 null
comp_scale_values Table numericscore DECIMAL 10 null
question_response_analysis Table questionid BIGINT 19 null
dp_plan_evidence_info_data Table evidenceid BIGINT 19 null
totara_userdata_export_type_item Table id BIGINT 19 null
enrol_lti_lti2_nonce Table id BIGINT 19 null
prog Table availableuntil BIGINT 19 0
facetoface_room_info_field Table id BIGINT 19 null
totara_compl_import_course Table importuserid BIGINT 19 null

ID of user running the import

grading_definitions Table timecreated BIGINT 19 null

The timestamp of when the form definition was created initially

qtype_ddmarker Table incorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any incorrect response.

auth_connect_servers Table serversecret VARCHAR 64

Secret this client uses in server requests

facetoface Table thirdparty VARCHAR 255 null

email address of a third party involved in this activity

lesson Table mediafile VARCHAR 255

Local file path or full external URL

competency_modulecomp Table timecreated BIGINT 19 null

The time this record was created.

logstore_standard_log Table target VARCHAR 100
lesson_branch Table nextpageid BIGINT 19 0
imscp Table intro LONGTEXT 2147483647 null
questionnaire_survey Table realm VARCHAR 64
forum_digests Table userid BIGINT 19 null
grade_categories_history Table courseid BIGINT 19 null

The course this grade category is part of

data Table jstemplate LONGTEXT 2147483647 null
block_zoola_reports Table id BIGINT 19 null
auth_approved_request Table confirmtoken VARCHAR 100

Unique email confirmation token

cohort_rules Table sortorder BIGINT 19 null
stats_user_monthly Table statswrites BIGINT 19 0
enrol_lti_lti2_resource_link Table id BIGINT 19 null
stats_user_weekly Table statswrites BIGINT 19 0
grading_definitions Table timemodified BIGINT 19 null

The time stamp of when the form definition was modified recently

role_allow_assign Table id BIGINT 19 null
quiz Table navmethod VARCHAR 16 free

Any constraints on how the user is allowed to navigate around the quiz. Currently recognised values are 'free' and 'seq'.

facetoface_sessions_dates Table timefinish BIGINT 19 0
forum_read Table firstread BIGINT 19 0
assign_grades Table timecreated BIGINT 19 0

The time the assignment submission was first modified by a grader.

badge_manual_award Table id BIGINT 19 null
assignment_submissions Table id BIGINT 19 null
assignment Table maxbytes BIGINT 19 100000
comp_template Table visible TINYINT 3 null
comp Table path VARCHAR 255 null
feedback_valuetmp Table completed BIGINT 19 0
grade_outcomes_history Table fullname LONGTEXT 2147483647 null

The full description of the outcome (usually 1 sentence)

enrol_totara_f2f_pending Table id BIGINT 19 null
message_read Table timeusertodeleted BIGINT 19 0
user_info_field Table param2 LONGTEXT 2147483647 null

General parameter field

block_instances Table parentcontextid BIGINT 19 null

The context within which this block appears. Foreign key, references context.id.

totara_core_program_vis_map Table roleid BIGINT 19 null
groupings Table configdata LONGTEXT 2147483647 null

extra configuration data - may be used by group IU tools

comp_type_info_data_param Table value VARCHAR 32
local_ld_import_logs_status Table id BIGINT 19 null
stats_weekly Table id BIGINT 19 null
questionnaire_feedback Table maxscore DECIMAL 10 101.00000
tool_usertours_steps Table targetvalue LONGTEXT 2147483647 null

The value for the specified target type.

comp_type Table idnumber VARCHAR 100 null
totara_compl_import_course Table courseid BIGINT 19 null

Course id if one exists

badge_backpack Table email VARCHAR 100
lesson_pages Table id BIGINT 19 null
lti Table debuglaunch BIT 1 0

Enable the debug-style launch which pauses before auto-submit

choice Table id BIGINT 19 null
rating Table ratingarea VARCHAR 50
competency_evidence Table id BIGINT 19 null
certificate Table printnumber BIT 1 0
local_activityvisibility Table id BIGINT 19 null
gradingform_guide_criteria Table definitionid BIGINT 19 null

The ID of the form definition this criterion is part of

pos_type Table fullname VARCHAR 1024 null
dp_priority_scale_value Table name VARCHAR 255 null

Name for scale value

assign Table completionsubmit TINYINT 3 0

If this field is set to 1, then the activity will be automatically marked as 'complete' once the user submits their assignment.

badge_manual_award Table badgeid BIGINT 19 null
facetoface_asset_info_field Table locked TINYINT 3 null
course_published Table enrollable BIT 1 1

1 = enrollable, 0 = downloadable

cohort_rule_collections Table timecreated BIGINT 19 null
gradingform_guide_comments Table sortorder BIGINT 19 null

Defines the order of the comments

cohort Table idnumber VARCHAR 100 null

Unique identifier of a cohort, useful especially for mapping to external entities

appraisal_stage_page Table name VARCHAR 255
glossary_formats Table name VARCHAR 50
reminder_sent Table userid BIGINT 19 null
course_modules Table groupmode SMALLINT 5 0
wiki Table firstpagetitle VARCHAR 255 First Page

Wiki first page's name

filter_config Table contextid BIGINT 19 null

References context.id.

course_modules_completion Table coursemoduleid BIGINT 19 null

Activity that has been completed (or not).

facetoface_asset Table usermodified BIGINT 19 null

user id who modified the asset

tag_coll Table name VARCHAR 255 null
workshopform_comments Table workshopid BIGINT 19 null

Workshop ID

prog_courseset Table recurrencetime BIGINT 19 0
stats_user_weekly Table userid BIGINT 19 0
course_completion_aggr_methd Table method BIT 1 0

1 = all, 2 = any, 3 = fraction, 4 = unit

totara_core_certification_vis_map Table programid BIGINT 19 null
user_info_field Table descriptionformat TINYINT 3 0
data_fields Table id BIGINT 19 null
competency Table path VARCHAR 255

Used to speed up queries that use an entire branch of the tree. Looks like /5/34/54.

feedback360 Table userid BIGINT 19 null
catalog_search_metadata Table value LONGTEXT 2147483647 null

The list of keywords

course_completions Table reaggregate BIGINT 19 0
portfolio_tempdata Table id BIGINT 19 null
message_contacts Table userid BIGINT 19 0
feedback Table anonymous BIT 1 1
external_services Table name VARCHAR 200
workshop_submissions Table authorid BIGINT 19 null

The author of the submission

pos Table timevalidto BIGINT 19 null
auth_approved_request Table organisationfreetext LONGTEXT 2147483647 null

Free text field for organisation - this is a hint for approver so that they can pick the appropriate organisation

facetoface_sessioncancel_info_data_param Table id BIGINT 19 null
logstore_standard_log Table id BIGINT 19 null
workshopform_rubric_config Table id BIGINT 19 null
workshop_aggregations Table id BIGINT 19 null
cohort_rule_collections Table removeoldmembers BIT 1 1

Determines if members are removed when they no longer qualify for the audience.

chat Table keepdays BIGINT 19 0
lesson Table available BIGINT 19 0
backup_logs Table message LONGTEXT 2147483647 null

text logged

facetoface Table approvalrole BIGINT 19 null
certificate Table printsignature VARCHAR 255 0
assignfeedback_file Table assignment BIGINT 19 0
message_providers Table capability VARCHAR 255 null

Optional: permission that is required on the user's setting screen to see this message provider.

url Table externalurl LONGTEXT 2147483647 null
glossary_formats Table visible TINYINT 3 1
course_completion_defaults Table completionview BIT 1 0
catalog_search_metadata Table id BIGINT 19 null
block_zoola_reports_eventcfg Table id BIGINT 19 null
prog_completion Table organisationid BIGINT 19 null
scorm_scoes Table scorm BIGINT 19 0
block_totara_featured_links_tiles Table userid BIGINT 19 null

The user that created the tile or is the owner of the tile

course_categories Table visibleold BIT 1 1

the state of visible field when hiding parent category, this helps us to recover hidden states when unhiding the parent category later

workshop_grades Table assessmentid BIGINT 19 null

Part of which assessment this grade is of

competency Table scaleconfiguration LONGTEXT 2147483647 null
lesson Table activitylink BIGINT 19 0
question Table hidden BIT 1 0
competency_plan Table description LONGTEXT 2147483647 null
cache_flags Table name VARCHAR 255
prog_extension Table status SMALLINT 5 0
facetoface Table multisignuppartly BIT 1 0
question_attempts Table rightanswer LONGTEXT 2147483647 null

This is a human-readable textual summary of the right answer to this question. Might be used, for example on the quiz preview, to help people who are testing the question. Or might be used in reports.

totara_userdata_user Table userid BIGINT 19 null
feedback360_email_assignment Table id BIGINT 19 null
workshopform_numerrors Table id BIGINT 19 null
tool_sitepolicy_policy_version Table timepublished BIGINT 19 null

Timestamp of when the policy was published

role Table name VARCHAR 255

Empty names are automatically localised

user Table emailstop BIT 1 0
facetoface_signup_info_field Table param5 LONGTEXT 2147483647 null
facetoface_cancellation_info_field Table param2 LONGTEXT 2147483647 null
backup_courses Table courseid BIGINT 19 0
errorlog Table details LONGTEXT 2147483647 null
question_attempt_step_data Table id BIGINT 19 null
dp_competency_settings Table autoassignorg SMALLINT 5 0
feedback360_scale Table id BIGINT 19 null
question_attempts Table questionusageid BIGINT 19 null

Foreign key, references question_usages.id

block_community Table coursedescription LONGTEXT 2147483647 null
scorm_seq_rolluprule Table minimumcount BIGINT 19 0
appraisal_grp_org Table id BIGINT 19 null
goal Table parentid BIGINT 19 null
scorm Table navpositionleft BIGINT 19 -100
tool_monitor_rules Table userid BIGINT 19 null

Id of user who created the rule

survey Table completionsubmit BIT 1 0

If this field is set to 1, then the activity will be automatically marked as 'complete' once the user submits the survey.

enrol Table customint5 BIGINT 19 null

Custom - general int

comp_scale_assignments Table id BIGINT 19 null
feedback_completed Table feedback BIGINT 19 0
scorm Table updatefreq BIT 1 0

Define when the package must be automatically update

facetoface_asset_info_data Table fieldid BIGINT 19 null
stats_daily Table roleid BIGINT 19 0

id of role for the aggregates

block_zoola_reports_schreps Table blockinstanceid BIGINT 19 null

Block instance for which reports are scheduled

enrol_lti_users Table id BIGINT 19 null
enrol_lti_lti2_context Table updated BIGINT 19 null
logstore_standard_log Table contextid BIGINT 19 null
course_categories Table timemodified BIGINT 19 0
competency_framework Table description LONGTEXT 2147483647 null

Description of this competency framework

org_type Table fullname VARCHAR 1024 null
lti_types_config Table id BIGINT 19 null
question_attempts Table minfraction DECIMAL 12 null

Some questions can award negative marks. This indicates the most negative mark that can be awarded, on the faction scale where the maximum positive mark is 1.

appraisal_stage_data Table usercompleted BIGINT 19 null
user Table id BIGINT 19 null
editor_atto_autosave Table timemodified BIGINT 19 0

Store the last modified time for the auto save text.

totara_userdata_purge_item Table timefinished BIGINT 19 null

End time of purging method or time when marked as timed out

pos_competencies Table positionid BIGINT 19 null
facetoface Table interestonlyiffull BIT 1 0

Only allow users to declare interest if all sessions are full

grade_items_history Table timemodified BIGINT 19 null

The last time this grade_item was modified

job_assignment Table startdate BIGINT 19 null
comp_type Table id BIGINT 19 null
mnetservice_enrol_courses Table summary LONGTEXT 2147483647 null
job_assignment Table tempmanagerjaid BIGINT 19 null

The job assignment ID belonging to the user who will act as a temp manager

mnet_service Table apiversion VARCHAR 10
license Table id BIGINT 19 null
resource_old Table popup LONGTEXT 2147483647 null
comp_framework Table sortorder BIGINT 19 null
block_zoola_module_name Table id BIGINT 19 null
user Table alternatename VARCHAR 255 null

Alternate name - Useful for three-name countries.

totara_compl_import_course Table grade VARCHAR 10 null

grade

event Table instance BIGINT 19 0
facetoface_signups Table discountcode LONGTEXT 2147483647 null
competency_template Table timecreated BIGINT 19 null

The time this learning plan template was created.

prog_info_field Table description LONGTEXT 2147483647 null
rating Table timecreated BIGINT 19 null
files Table filepath VARCHAR 255

Optional - relative path to file from module content root, useful in Scorm and Resource mod - most of the mods do not need this

block_totara_featured_links_tiles Table type VARCHAR 100

This is the type of tile. Basically a namespace to a class that extends base

assignment Table intro LONGTEXT 2147483647 null
events_handlers Table component VARCHAR 166

e.g. moodle, mod_forum, block_rss_client

choice_answers Table choiceid BIGINT 19 0
persistent_login Table userid BIGINT 19 null
questionnaire_response_rank Table id BIGINT 19 null
question_calculated_options Table partiallycorrectfeedbackformat TINYINT 3 0
tool_customlang Table timemodified BIGINT 19 null

The timestamp of when the original or master was recently modified

facetoface_sessions Table facetoface BIGINT 19 0

ID of the facetoface activity this session is for

user_lastaccess Table timeaccess BIGINT 19 0
context Table depth TINYINT 3 0
questionnaire Table id BIGINT 19 null
workshopform_comments Table descriptionformat SMALLINT 5 0

The format of the description field

prog_exception Table assignmentid BIGINT 19 0
badge_issued Table issuernotified BIGINT 19 null
totara_userdata_purge Table origin VARCHAR 50

suspended, deleted or manual keyword matching totara_userdata_purge_type allowxxxx columns, use other keyword for custom code

oauth2_user_field_mapping Table internalfield VARCHAR 64

The name of the Moodle field this user field maps to.

block_positions Table pagetype VARCHAR 64

With contextid and subpage, defines the page we are setting the position for.

totara_connect_clients Table timecreated BIGINT 19 null
prog_info_field Table required TINYINT 3 null
tag_area Table enabled BIT 1 1
facetoface_room_info_field Table defaultdata LONGTEXT 2147483647 null
certificate Table certificatetype VARCHAR 50
report_builder_saved Table id BIGINT 19 null
facetoface_asset_info_field Table param3 LONGTEXT 2147483647 null
reportbuilder_grp_pos_record Table reportbuilderrecordid BIGINT 19 null
page Table name VARCHAR 255
grade_categories_history Table aggregation BIGINT 19 0

A constant pointing to one of the predefined aggregation strategies (none, mean,median,sum, etc)

grade_categories_history Table timemodified BIGINT 19 null

The last time this grade_item was modified

mnet_rpc Table filename VARCHAR 100
question_answers Table answerformat TINYINT 3 0
dp_plan_course_assign Table grade DECIMAL 10 null

Stores the course grade at the moment the plan is marked as complete. Set to null for active plans.

gradingform_guide_fillings Table remark LONGTEXT 2147483647 null

Side note feedback regarding this particular criterion

dp_plan_program_assign Table approved SMALLINT 5 0

Indicates if the program has been accepted as part of a plan, or is awaiting approval.

competency_usercomp Table status TINYINT 3 0

Competency status.

goal Table typeid BIGINT 19 0
data_records Table groupid BIGINT 19 0
goal_grp_pos Table includechildren TINYINT 3 0
certificate_issues_history Table grade VARCHAR 300 null

Grade at time of archive - note that this is text not a percentage

comp_record_history Table timemodified BIGINT 19 null
dp_objective_scale_value Table name VARCHAR 255 null

Name of the scale value

rating Table component VARCHAR 100
competency_userevidencecomp Table id BIGINT 19 null
question Table parent BIGINT 19 0
scorm Table timeopen BIGINT 19 0
course_completions Table rplgrade DECIMAL 10 null

Totara recognition of prior learning grade from totara_core

backup_controllers Table status SMALLINT 5 null

current status of the backup (configured, ui, running...)

oauth2_endpoint Table timecreated BIGINT 19 null

The time this record was created.

workshop_aggregations Table workshopid BIGINT 19 null

the id of the workshop instance

catalog_search_metadata Table plugintype VARCHAR 20
appraisal_event_rcpt Table id BIGINT 19 null
quiz Table attempts MEDIUMINT 7 0

The maximum number of attempts a student is allowed.

user_lastaccess Table id BIGINT 19 null
workshopform_rubric Table sort BIGINT 19 0

Defines the dimension order within the assessment form

tool_usertours_tours Table sortorder BIGINT 19 0
mnet_sso_access_control Table id BIGINT 19 null

Required ID field

oauth2_endpoint Table id BIGINT 19 null
prog Table category BIGINT 19 0
oauth2_user_field_mapping Table externalfield VARCHAR 64

The fieldname returned by the userinfo endpoint.

competency_framework Table scaleconfiguration LONGTEXT 2147483647 null

Scale information.

filter_active Table active SMALLINT 5 null

Whether this filter is active in this context. +1 = On, -1 = Off, no row with this contextid = inherit. As a special case, when contextid points to the system context, -9999 means this filter is completely disabled.

message_working Table unreadmessageid BIGINT 19 null

message that still needs some processing (on message table)

facetoface_signup_info_field Table param4 LONGTEXT 2147483647 null
gap_aspirational Table timemodified BIGINT 19 null
facetoface_sessioncancel_info_field Table param5 LONGTEXT 2147483647 null
scorm_seq_ruleconds Table ruletype TINYINT 3 0
data Table course BIGINT 19 0
role_allow_override Table roleid BIGINT 19 0
report_builder_schedule_email_audience Table cohortid BIGINT 19 null
user_info_category Table name VARCHAR 255

Category name

block_zoola_reports_schreps Table nextruntime BIGINT 19 null
totara_dashboard_cohort Table cohortid BIGINT 19 null
certificate Table name VARCHAR 255
question_numerical_units Table multiplier DECIMAL 40 1.00000000000000000000

The multiplier for this unit. For example, if the first unit is (1.0, 'cm'), another unit might be (0.1, 'mm') or (100.0, 'm').

quiz_overrides Table timeopen BIGINT 19 null

Time at which students may start attempting this quiz. Can be null, in which case the quiz default is used.

course_published Table courseid BIGINT 19 null

the id of the published course

prog_info_field Table param3 LONGTEXT 2147483647 null
events_queue Table id BIGINT 19 null
cohort_plan_history Table affectedusers BIGINT 19 null
tool_sitepolicy_consent_options Table policyversionid BIGINT 19 null

Which policy these consent options belong to

questionnaire_response_text Table id BIGINT 19 null
facetoface_cancellation_info_field Table forceunique TINYINT 3 null
auth_approved_request_snapshots Table usersnapshot BIGINT 19 null
questionnaire_response_rank Table response_id BIGINT 19 0
facetoface_notification Table ccmanager BIT 1 0
questionnaire Table resp_eligible VARCHAR 8 all

Eligible respondents.

feedback_item Table id BIGINT 19 null
course_request Table shortname VARCHAR 255
facetoface_sessions Table discountcost VARCHAR 255 0

Discounted cost of the event

gradingform_rubric_levels Table id BIGINT 19 null
lesson_overrides Table userid BIGINT 19 null

Foreign key references user.id. Can be null if this is a per-group override.

questionnaire_response_rank Table question_id BIGINT 19 0
scorm_seq_ruleconds Table conditioncombination VARCHAR 3 all
wiki_versions Table contentformat VARCHAR 20 creole

Markup used to write content

scorm_seq_rolluprulecond Table id BIGINT 19 null
workshop Table conclusionformat SMALLINT 5 1

The format of the conclusion field content.

feedback_completed_history Table id BIGINT 19 null
user_enrolments Table timecreated BIGINT 19 0
totara_dashboard Table id BIGINT 19 null
mnet_log Table time BIGINT 19 0
tag_coll Table id BIGINT 19 null
quiz Table questionsperpage BIGINT 19 0

How often to insert a page break when editing the quiz, or when shuffling the question order.

facetoface_session_info_field Table defaultdata LONGTEXT 2147483647 null
org_type Table id BIGINT 19 null
goal_user_info_data_param Table dataid BIGINT 19 null
forum_posts Table messageformat TINYINT 3 0
report_builder Table cache SMALLINT 5 0

If set to 1, report will be generated once per scheduled period and cached. Users will see only cached results

quiz_statistics Table lastattemptsavg DECIMAL 15 null
facetoface_session_roles Table roleid BIGINT 19 null
cohort Table modifierid BIGINT 19 0

Totara modifier id from totara_cohort

mnetservice_enrol_enrolments Table hostid BIGINT 19 null

ID of the remote MNet host

forum_discussions Table assessed BIT 1 1
dp_priority_scale Table usermodified BIGINT 19 null

Identifies the id of the user who last modified the priority scale

competency_usercompcourse Table proficiency TINYINT 3 null

Indicate if the competency is proficient not.

certificate Table introformat SMALLINT 5 0
pos_type_info_field Table param4 LONGTEXT 2147483647 null
block_zoola_reports_schreps Table enddate BIGINT 19 null

Timestamp after which the schedule will be disabled

quiz_attempts Table timemodified BIGINT 19 0

Last modified time.

user_info_field Table name LONGTEXT 2147483647 null

field name

lesson_timer Table timemodifiedoffline BIGINT 19 0

Last modified time via web services (mobile app).

lti_tool_proxies Table regurl LONGTEXT 2147483647 null
feedback_completed Table userid BIGINT 19 0
facetoface_notification Table id BIGINT 19 null
questionnaire Table name VARCHAR 255

Name for questionnaire.

backup_controllers Table userid BIGINT 19 null

user that owns/performs the backup

grade_outcomes Table shortname VARCHAR 255

The short name or code for this outcome statement

stats_weekly Table roleid BIGINT 19 0

id of role for the aggregates

scorm_seq_rulecond Table operator VARCHAR 5 noOp
dp_plan_objective Table planid BIGINT 19 null
badge Table notification BIT 1 1

Message when badge is awarded

qtype_randomsamatch_options Table subcats TINYINT 3 1

Whether to include or not the subcategories.

lesson_answers Table lessonid BIGINT 19 0
events_queue Table userid BIGINT 19 null

$USER->id when the event was fired

tool_usertours_steps Table configdata LONGTEXT 2147483647 null
gradingform_rubric_fillings Table levelid BIGINT 19 null

If a particular level was selected during the assessment, its ID is stored here

goal_scale_values Table proficient TINYINT 3 0
enrol_lti_lti2_consumer Table secret VARCHAR 1024
groups Table timecreated BIGINT 19 0
dp_plan Table startdate BIGINT 19 null

Timestamp of the start date of this plan

enrol_lti_lti2_consumer Table consumerkey LONGTEXT 2147483647 null
totara_userdata_purge_type_item Table timecreated BIGINT 19 null

The time when item was added to the purge type, this might be interesting for newly introduced items in preexisting types.

goal_grp_cohort Table goalid BIGINT 19 null
workshop Table grade DECIMAL 10 80.00000

The maximum grade for submission

totara_connect_clients Table syncprofilefields BIT 1 0

Send user profile fields data to clients

reportbuilder_grp_pos_record Table id BIGINT 19 null
oauth2_endpoint Table usermodified BIGINT 19 null

The user who modified this record.

mnet_host Table portno MEDIUMINT 7 0
config_log Table value LONGTEXT 2147483647 null
choice Table timeopen BIGINT 19 0
survey Table template BIGINT 19 0
filter_config Table name VARCHAR 255

The config variable name.

registration_hubs Table hubname VARCHAR 255
forum_posts Table mailnow BIGINT 19 0
feedback360_resp_assignment Table timecompleted BIGINT 19 0
comp_criteria Table timecreated BIGINT 19 null
data Table listtemplateheader LONGTEXT 2147483647 null
grade_items_history Table display BIGINT 19 0
lesson_answers Table timemodified BIGINT 19 0
message_read Table fullmessagehtml LONGTEXT 2147483647 null

html format of message

prog Table shortname VARCHAR 100
dp_plan_settings Table manualcomplete SMALLINT 5 1

Flag to identify if a plan must be completed manually

mnet_rpc Table profile LONGTEXT 2147483647 null

Method signature

messageinbound_handlers Table enabled BIT 1 0

Whether this handler is currently enabled.

pos Table idnumber VARCHAR 100 null
totara_navigation_settings Table timemodified BIGINT 19 0
certificate Table delivery SMALLINT 5 0
course_format_options Table value LONGTEXT 2147483647 null

Value of the format option

stats_user_daily Table statsreads BIGINT 19 0
grade_items_history Table needsupdate BIGINT 19 0

If this flag is set, then the whole column will be recalculated

questionnaire_attempts Table id BIGINT 19 null
auth_approved_request_snapshots Table lastname VARCHAR 100 null
repository_opensesame_pkgs Table zipfilename VARCHAR 255
dp_plan_evidence_info_field Table required BIT 1 null
glossary_entries Table concept VARCHAR 255
goal_type_info_data_param Table id BIGINT 19 null
dp_plan_evidence Table readonly BIT 1 0
certificate Table orientation VARCHAR 10
editor_atto_autosave Table contextid BIGINT 19 null

The contextid that the form was loaded with.

certif_completion Table timeexpires BIGINT 19 null

Date the certificate expires

course_completion_criteria Table moduleinstance BIGINT 19 null

Module instance id (if using module criteria type)

tool_monitor_subscriptions Table courseid BIGINT 19 null

Course id of the subscription

qtype_ddimageortext Table incorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any incorrect response.

appraisal_stage_data Table timecompleted BIGINT 19 null
lesson_overrides Table id BIGINT 19 null
imscp Table id BIGINT 19 null
appraisal_event_rcpt Table appraisaleventmessageid BIGINT 19 null
goal_grp_org Table timemodified BIGINT 19 null
lesson_pages Table lessonid BIGINT 19 0
comp_relations Table id2 BIGINT 19 null
assignfeedback_editpdf_cmnt Table x BIGINT 19 0

x-position of the top-left corner of the comment (in pixels - image resolution is set to 100 pixels per inch)

comp_criteria Table linktype TINYINT 3 0
questionnaire_response_rank Table rank BIGINT 19 0
auth_approved_request_snapshots Table lastnamephonetic VARCHAR 255 null
pos_framework Table shortname VARCHAR 100 null
grade_outcomes_history Table source VARCHAR 255 null

What caused the modification? manual/module/import/...

glossary Table completionentries INT 10 0

Non zero if a certain number of entries are required to mark this glossary complete for a user.

quiz_statistics Table kurtosis DECIMAL 15 null
survey_questions Table options LONGTEXT 2147483647 null
totara_core_program_vis_map Table id BIGINT 19 null
log Table action VARCHAR 40
question_calculated Table question BIGINT 19 0
event Table userid BIGINT 19 0
competency_usercompcourse Table timemodified BIGINT 19 null
totara_compl_import_cert Table id BIGINT 19 null

id

facetoface_sessions Table normalcost VARCHAR 255 0

The normal (non-discounted) cost of the session

auth_connect_user_collections Table id BIGINT 19 null
backup_controllers Table backupid VARCHAR 32

unique id of the backup

user_info_category Table id BIGINT 19 null
facetoface Table cancellationscutoffdefault BIGINT 19 86400
comp_criteria_record Table timemodified BIGINT 19 null
auth_connect_users Table serverid BIGINT 19 null
scorm_seq_rulecond Table cond VARCHAR 30 always
local_ld_import_logs_status Table timemodified BIGINT 19 null

Time of last status update. Used to predict remaining time left.

dp_objective_scale Table timemodified BIGINT 19 null

Identifies the last time the objective scale was modified

tool_usertours_tours Table name VARCHAR 255

Name of the user tour

course_modules_completion Table timecompleted BIGINT 19 null

Time at which the module was completed.

goal Table timecreated BIGINT 19 null
competency_evidence Table usermodified BIGINT 19 null
logstore_standard_log Table userid BIGINT 19 null
report_builder Table overrideexportoptions BIT 1 0

Override the general export options

tag_coll Table customurl VARCHAR 255 null

Custom URL for the tag page instead of /tag/index.php

resource Table intro LONGTEXT 2147483647 null
portfolio_instance Table id BIGINT 19 null
goal_type_info_field Table datatype VARCHAR 255 null
glossary_entries Table glossaryid BIGINT 19 0
prog_message Table sortorder BIGINT 19 0
enrol Table notifyall BIT 1 0

Custom - Notify both participant and person responsible for enrolments

dp_plan_evidence_info_field Table shortname VARCHAR 1333 null
facetoface_signups Table userid BIGINT 19 null
question_answers Table answer LONGTEXT 2147483647 null
question_truefalse Table question BIGINT 19 0

Foreign key references question.id.

question_statistics Table timemodified BIGINT 19 null
label Table name VARCHAR 255
competency_usercomp Table grade BIGINT 19 null

Grade assigned to the competency.

user Table email VARCHAR 100
totara_connect_sso_sessions Table ssotoken VARCHAR 64

Token identifying SSO session on TC client

comp_framework Table hidecustomfields TINYINT 3 null
competency_framework Table taxonomies VARCHAR 255

Sequence of terms to use for each competency level.

role_assignments Table id BIGINT 19 null
quiz_statistics Table highestattemptsavg DECIMAL 15 null
event Table timemodified BIGINT 19 0
question Table modifiedby BIGINT 19 null

userid of person who last edited this question

competency_templatecomp Table sortorder BIGINT 19 null

Relative sort order

scorm Table timeclose BIGINT 19 0
block Table visible BIT 1 1
data Table asearchtemplate LONGTEXT 2147483647 null
user Table idnumber VARCHAR 255
feedback Table name VARCHAR 255
assign_overrides Table allowsubmissionsfromdate BIGINT 19 null

Time at which students may start attempting this assign. Can be null, in which case the assign default is used.

lesson Table review SMALLINT 5 0
cohort_role Table roleid BIGINT 19 0
totara_compl_import_course Table timeupdated BIGINT 19 0

Time the record was added to the system

survey Table timecreated BIGINT 19 0
grade_grades_history Table oldid BIGINT 19 null
totara_userdata_purge Table timefinished BIGINT 19 null

End of purge or time when marked as timed out

totara_userdata_purge_item Table timestarted BIGINT 19 null

Start time of purging method

quiz Table reviewmarks MEDIUMINT 7 0

Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.

badge Table id BIGINT 19 null
totara_userdata_purge Table timestarted BIGINT 19 null

Start of purge process, this happens in scheduled task or ad-hoc task

assignment_upgrade Table oldinstance BIGINT 19 0
enrol Table expirythreshold BIGINT 19 0

Custom - when should be the participants notified

assignment Table grade BIGINT 19 0
pos_type_info_field Table forceunique TINYINT 3 null
totara_sync_log Table runid BIGINT 19 0

Run Batch ID

persistent_login Table timecreated BIGINT 19 null
oauth2_system_account Table usermodified BIGINT 19 null

The user who modified this record.

assignment Table timemodified BIGINT 19 0
totara_compl_import_cert Table importevidence BIT 1 0

Imported into evidence

auth_connect_user_collections Table timecreated BIGINT 19 null
totara_userdata_export_type Table description LONGTEXT 2147483647 null

HTML text with description of purging type

lesson_answers Table response LONGTEXT 2147483647 null
files Table sortorder BIGINT 19 0

order of files

assign Table course BIGINT 19 0
messageinbound_datakeys Table handler BIGINT 19 null

The handler that this key belongs to.

user_info_field Table signup TINYINT 3 0

display field on signup page

org Table fullname VARCHAR 1024 null
qtype_ddmarker Table showmisplaced SMALLINT 5 0
assignment_submissions Table grade BIGINT 19 0
mnet_session Table id BIGINT 19 null

Required ID field

scale Table scale LONGTEXT 2147483647 null
stats_user_monthly Table timeend BIGINT 19 0
questionnaire Table notifications BIT 1 0

Send submission notifications.

competency_coursecomp Table ruleoutcome TINYINT 3 null

The rule that applies to the competency when the course is completed.

facetoface Table name VARCHAR 255 null
competency_templatecohort Table timemodified BIGINT 19 null
external_services Table restrictedusers BIT 1 null
enrol_lti_lti2_tool_proxy Table consumerid BIGINT 19 null
assignment Table emailteachers TINYINT 3 0
user_info_field Table param3 LONGTEXT 2147483647 null

General parameter field

question_gapselect Table partiallycorrectfeedback LONGTEXT 2147483647 null

Feedback shown for any partially correct response.

license Table shortname VARCHAR 255 null
repository_instances Table name VARCHAR 255
dp_program_settings Table prioritymode SMALLINT 5 0

Defines how priorities are handled within this component

assignment Table assignmenttype VARCHAR 50
feedback360_scale Table feedback360questfieldid BIGINT 19 null
reminder Table title LONGTEXT 2147483647 null
my_pages Table id BIGINT 19 null
grade_items_history Table action BIGINT 19 0

created/modified/deleted constants

totara_userdata_purge_type Table allowsuspended BIT 1 0

Allow selection for purging after suspension

lesson Table displayleft SMALLINT 5 0
qtype_ddmarker_drags Table label LONGTEXT 2147483647 null

Alt text label for drag-able image.

certificate Table savecert BIT 1 0
quiz_attempts Table sumgrades DECIMAL 10 null

Total marks for this attempt.

competency_userevidence Table timecreated BIGINT 19 null
stats_user_weekly Table id BIGINT 19 null
appraisal_review_data Table appraisalquestfieldid BIGINT 19 null
comp_type_info_data Table fieldid BIGINT 19 null
feedback360_resp_assignment Table viewed BIT 1 0
stats_user_monthly Table statsreads BIGINT 19 0
choice_answers Table optionid BIGINT 19 0
totara_userdata_export_type Table includefiledir BIT 1 0

Include file contents in export archive

question_statistics Table id BIGINT 19 null
questionnaire_response_other Table id BIGINT 19 null
auth_connect_servers Table apiversion BIGINT 19 null

The API version used for communication

facetoface_cancellation_info_field Table required TINYINT 3 null
cohort_plan_config Table cohortid BIGINT 19 null

The cohort id

prog_message Table managermessage LONGTEXT 2147483647 null
quiz Table completionattemptsexhausted BIT 1 0
competency_framework Table usermodified BIGINT 19 null

The user who last modified this framework

lesson_attempts Table answerid BIGINT 19 0
forum_discussion_subs Table discussion BIGINT 19 null
lesson Table dependency BIGINT 19 0
goal_scale_values Table id BIGINT 19 null
tag_instance Table itemtype VARCHAR 100
course Table visibleold BIT 1 1

the state of visible field when hiding parent category, this helps us to recover hidden states when unhiding the parent category later

block Table lastcron BIGINT 19 0
forum_subscriptions Table id BIGINT 19 null
cohort_visibility Table timecreated BIGINT 19 null
competency Table sortorder BIGINT 19 null

Relative sort order within the branch

enrol_totara_f2f_pending Table timecreated BIGINT 19 0
assign_grades Table id BIGINT 19 null
question_numerical_options Table unitsleft SMALLINT 5 0

display the unit at left as in $1.00

competency_plancomp Table planid BIGINT 19 null
oauth2_user_field_mapping Table timecreated BIGINT 19 null

The time this record was created.

tool_customlang Table master LONGTEXT 2147483647 null

Master translation of the string as is distributed in the official lang pack, null if not translated

grade_outcomes Table scaleid BIGINT 19 null

The recommended scale for this outcome.

questionnaire Table opendate BIGINT 19 0

Timestamp to open access

course_request Table password VARCHAR 50
quiz_statistics Table timemodified BIGINT 19 null
questionnaire_question Table id BIGINT 19 null
feedback_item Table typ VARCHAR 255
workshop Table overallfeedbackmode SMALLINT 5 1

Mode of the overall feedback support.

task_adhoc Table customdata LONGTEXT 2147483647 null

Custom data to be passed to the adhoc task. Must be serialisable using json_encode()

task_scheduled Table nextruntime BIGINT 19 null
questionnaire_response_bool Table id BIGINT 19 null
glossary_entries Table timecreated BIGINT 19 0
enrol_lti_lti2_consumer Table enablefrom BIGINT 19 null
comp_template_assignment Table type TINYINT 3 null
appraisal_stage Table id BIGINT 19 null
course_info_field Table forceunique BIT 1 null
auth_approved_request Table firstname VARCHAR 100
facetoface Table showoncalendar BIT 1 1
certif_completion Table timecompleted BIGINT 19 null
block_zoola_reports_schreps Table reporturi VARCHAR 250

Report URI

user_private_key Table validuntil BIGINT 19 null

timestampt - valid until data

certif_completion Table userid BIGINT 19 null

Users id

pos_framework Table idnumber VARCHAR 100 null
block_positions Table visible SMALLINT 5 null

Whether this block instance is visible on this page.

enrol Table name VARCHAR 255 null

Optional instance name

glossary_formats Table sortorder VARCHAR 50
logstore_standard_log Table objecttable VARCHAR 50 null
totara_navigation Table id BIGINT 19 null
grade_import_values Table importonlyfeedback BIT 1 0
quiz_overview_regrades Table newfraction DECIMAL 12 null

The new fraction for this question_attempt after regrading.

feedback_value Table id BIGINT 19 null
facetoface_notification Table conditiontype BIGINT 19 null
pos_type_info_field Table shortname VARCHAR 100
message Table contexturlname LONGTEXT 2147483647 null

Display text for the contexturl

badge_external Table collectionid BIGINT 19 null

Badge collection id in the backpack

lti_submission Table dateupdated BIGINT 19 null
totara_userdata_export_type_item Table timecreated BIGINT 19 null

The time when item was added to the export type, this might be interesting for newly introduced items in preexisting types.

enrol_lti_lti2_share_key Table id BIGINT 19 null
badge_criteria Table method BIT 1 1

1 = all, 2 = any

grade_import_newitem Table importer BIGINT 19 null

user importing the data

course_modules_completion Table completionstate BIT 1 null

Whether or not the user has completed the activity. Available states: 0 = not completed if there's no row in this table, that also counts as 0 1 = completed 2 = completed, show passed 3 = completed, show failed

workshop_submissions Table attachment TINYINT 3 0

Used by File API file_postupdate_standard_filemanager

imscp Table revision BIGINT 19 0

incremented when after each file changes, solves browser caching issues

backup_controllers Table purpose SMALLINT 5 null

purpose (target) of the backup (general, import, hub...)

workshopform_accumulative Table sort BIGINT 19 0

Defines the dimension order within the assessment form

comp_scale_values Table description LONGTEXT 2147483647 null
glossary_entries Table approved TINYINT 3 1
lesson_grades Table userid BIGINT 19 0
external_tokens Table iprestriction VARCHAR 255 null

ip restriction

backup_trusted_files Table backupid VARCHAR 32 null

id of the backup if known

course_info_field Table defaultdata LONGTEXT 2147483647 null
competency_evidence Table actionuserid BIGINT 19 null
goal_personal Table usermodified BIGINT 19 null
resource Table course BIGINT 19 0
book Table revision BIGINT 19 0
cohort_rule_params Table timemodified BIGINT 19 null
resource Table filterfiles SMALLINT 5 0
facetoface_asset_info_field Table id BIGINT 19 null
forum_read Table discussionid BIGINT 19 0
block_instances Table pagetypepattern VARCHAR 64

The types of page this block appears on. Either an exact page type like mod-quiz-view, or a pattern like mod-quiz-* or course-view-*. Note that course-view-* will match course-view.

scorm Table grademethod TINYINT 3 0
cohort_plan_history Table timecreated BIGINT 19 null
forum_discussions Table pinned BIT 1 0
feedback360_resp_assignment Table requestertoken VARCHAR 40
quiz_overview_regrades Table questionusageid BIGINT 19 null

Foreign key references question_usages.id, or equivalently quiz_attempt.uniqueid.

feedback Table email_notification BIT 1 1
repository_instances Table typeid BIGINT 19 null
dp_plan_evidence_info_field Table param1 LONGTEXT 2147483647 null
auth_approved_request Table city VARCHAR 120
enrol_lti_lti2_resource_link Table contextid BIGINT 19 null
scorm Table forcecompleted BIT 1 0
questionnaire_feedback Table minscore DECIMAL 10 0.00000
user_enrolments Table timeend BIGINT 19 2147483647
mnet_host Table applicationid BIGINT 19 1
totara_core_certification_vis_map Table id BIGINT 19 null
mnet_log Table info VARCHAR 255
dp_plan_program_assign Table priority BIGINT 19 null

Identifies the priority of this program within the current plan.

block_zoola_reports_eventcfg Table emails VARCHAR 1333 null

Comma separated list of emails

question_calculated_options Table single SMALLINT 5 0

If 0 it multiple response (checkboxes). Otherwise it is radio buttons.

badge_criteria_met Table userid BIGINT 19 null
post Table uniquehash VARCHAR 255
facetoface_room_info_field Table hidden TINYINT 3 null
auth_approved_request_snapshots Table lang VARCHAR 30 null
forum_digests Table forum BIGINT 19 null
qtype_match_options Table questionid BIGINT 19 0

Foreign key link to question.id.

forum_queue Table userid BIGINT 19 0
enrol_flatfile Table roleid BIGINT 19 null
user_info_data Table userid BIGINT 19 0

id from the user table

auth_oauth2_linked_login Table usermodified BIGINT 19 null
dp_plan_component_relation Table component2 VARCHAR 255 null

The second component in the relation - second alphabetically

grade_items Table locked BIGINT 19 0

1 is locked, > 1 is a date to lock until (prevents update)

facetoface_notification_tpl Table reference VARCHAR 100 null
user_preferences Table id BIGINT 19 null
scorm Table lastattemptlock BIT 1 0
prog_exception Table timeraised BIGINT 19 0
grading_definitions Table method VARCHAR 100

The name of the plugin providing this grading form

lesson Table maxanswers SMALLINT 5 4
glossary Table assesstimefinish BIGINT 19 0
tool_monitor_events Table timecreated BIGINT 19 null

Time created

dp_plan_evidence Table userid BIGINT 19 null

User whose evidence this is

course Table idnumber VARCHAR 100
workshopform_accumulative Table descriptionformat SMALLINT 5 0

The format of the description field

cohort Table descriptionformat TINYINT 3 null
dp_course_settings Table duedatemode SMALLINT 5 0

Defines how due dates are handled by this component

comp_record Table timemodified BIGINT 19 null
local_ld_lastactivity Table userid BIGINT 19 null

Foreign key to the user table

badge Table name VARCHAR 255
facetoface_signups_status Table superceded BIT 1 null

0 means this is the current status

mnet_rpc Table xmlrpcpath VARCHAR 80
block_zoola_reports_schreps Table scheduleend BIGINT 19 0

When the schedule ends: 0 - Never, 1 - After a specified number or runs, 2 - Until a specified date

external_services_functions Table externalserviceid BIGINT 19 null
mnet_service Table offer BIT 1 0

Do we even offer this service?

course Table requested BIT 1 0
scorm_scoes_track Table userid BIGINT 19 0
block_totara_stats Table data LONGTEXT 2147483647 null
user Table timecreated BIGINT 19 0
course_completion_history Table userid BIGINT 19 null
comp_criteria_record Table userid BIGINT 19 null
tool_monitor_history Table timesent BIGINT 19 null

Timestamp of when the message was sent.

oauth2_endpoint Table name VARCHAR 255

The service name.

org_type_info_field Table param3 LONGTEXT 2147483647 null
qtype_randomsamatch_options Table questionid BIGINT 19 0

Foreign key references question.id.

book Table introformat SMALLINT 5 0
appraisal_event_message Table name VARCHAR 255

Message title

facetoface_notification Table status BIT 1 0
local_ld_lastactivity Table coursemoduleid BIGINT 19 0

Coursemodule id

feedback360_quest_field Table param2 LONGTEXT 2147483647 null
groups Table picture BIGINT 19 0
cohort Table enddate BIGINT 19 null

Totara end date from totara_cohort

grade_grades_history Table excluded BIGINT 19 0

grade excluded from aggregation functions, date means when excluded

scorm_seq_rulecond Table id BIGINT 19 null
prog_info_data Table programid BIGINT 19 null
quiz Table timemodified BIGINT 19 0

Last modified time.

workshopform_accumulative Table id BIGINT 19 null
assignment Table id BIGINT 19 null
pos_type Table timemodified BIGINT 19 null
gap_aspirational Table userid BIGINT 19 null
competency_modulecomp Table usermodified BIGINT 19 null

The user who last modified this field.

totara_compl_import_cert Table evidenceid BIGINT 19 null

The evidence table id

comp_type Table timemodified BIGINT 19 null
lesson_grades Table late SMALLINT 5 0
message_metadata Table msgstatus SMALLINT 5 null

The message status

facetoface_room_info_field Table param5 LONGTEXT 2147483647 null
facetoface_sessions_dates Table sessiontimezone VARCHAR 100 null

Timezone used for display of dates and times, 99 means use user timeozone

appraisal_quest_field Table sortorder BIGINT 19 null
assignfeedback_editpdf_quick Table userid BIGINT 19 0
block_community Table userid BIGINT 19 null
questionnaire_response_text Table response_id BIGINT 19 0
enrol_paypal Table pending_reason VARCHAR 255
forum_digests Table maildigest BIT 1 -1
local_ld_import_logs_status Table status VARCHAR 20 notscheduled

Current status of the import log task ('notscheduled', 'scheduled', 'inprogress', 'finished')

reportbuilder_grp_user_record Table timecreated BIGINT 19 0
facetoface_session_info_field Table param3 LONGTEXT 2147483647 null
block_totara_featured_links_tiles Table audienceshowing BIT 1 0

This field holds whether the audience rules are to be applied

lesson_attempts Table lessonid BIGINT 19 0
facetoface_asset_info_field Table sortorder BIGINT 19 null
totara_userdata_purge Table contextid BIGINT 19 null

Context restriction will be used for resetting user data in one course or activity, null means the whole system

data Table singletemplate LONGTEXT 2147483647 null
post Table lastmodified BIGINT 19 0
feedback Table autonumbering BIT 1 1
question_datasets Table datasetdefinition BIGINT 19 0
wiki_links Table subwikiid BIGINT 19 0

Subwiki instance

gap_aspirational Table positionid BIGINT 19 null
grading_areas Table contextid BIGINT 19 null

The context of the gradable area, eg module instance context.

org_framework Table id BIGINT 19 null
comp_criteria Table iteminstance BIGINT 19 null
goal_scale_assignments Table frameworkid BIGINT 19 null
competency_coursecomp Table timecreated BIGINT 19 null

The time this link was created.

appraisal_quest_field Table defaultdataformat BIT 1 null
reportbuilder_grp_pos_user Table reportbuilderuserid BIGINT 19 null
block_zoola_reports_eventcfg Table constraints LONGTEXT 2147483647 null

Event constraints in JSON, e.g. courses, groups, etc.

tool_sitepolicy_site_policy Table timecreated BIGINT 19 null

Timestamp of when the policy was created

facetoface_sessions Table mincapacity BIGINT 19 0

The minimum number of people for this session to take place.

scorm_scoes_track Table timemodified BIGINT 19 0
forum_posts Table modified BIGINT 19 0
org Table frameworkid BIGINT 19 null
totara_compl_import_cert Table importerror BIT 1 0

true/false if there were any errors

enrol_lti_lti2_context Table consumerid BIGINT 19 null
file_conversion Table timemodified BIGINT 19 null
event_subscriptions Table userid BIGINT 19 0
lti_submission Table ltiid BIGINT 19 null

ID of the LTI tool instance

comp_type_info_field Table id BIGINT 19 null
assignment_submissions Table data1 LONGTEXT 2147483647 null
book_chapters Table hidden TINYINT 3 0
report_builder_columns Table transform VARCHAR 30 null

Column transform function, null means none

auth_connect_servers Table timemodified BIGINT 19 null
wiki_pages Table readonly BIT 1 0

Read only flag

competency_usercomp Table timemodified BIGINT 19 null
org Table description LONGTEXT 2147483647 null
course_categories Table sortorder BIGINT 19 0
grade_grades_history Table source VARCHAR 255 null

What caused the modification? manual/module/import/...

grade_outcomes_history Table description LONGTEXT 2147483647 null

Outcome description

qtype_multichoice_options Table layout SMALLINT 5 0

Not used. Was intended for a vertical/horizontal layout option. See MDL-18445.

quiz_attempts Table id BIGINT 19 null

Standard Moodle primary key.

backup_controllers Table id BIGINT 19 null
glossary_formats Table sortkey VARCHAR 50
assignment Table timeavailable BIGINT 19 0
dp_plan_evidence Table usermodified BIGINT 19 null

Identifies the user who last modified this item of evidence

tool_sitepolicy_localised_consent Table localisedpolicyid BIGINT 19 null

Which localised policy these statements relate to

assign Table sendnotifications TINYINT 3 0

Allows the disabling of email notifications in the assign module.

dp_permissions Table role VARCHAR 255 null

Name of a development plan role, not moodle role.

feedback360_quest_field Table id BIGINT 19 null
lti_types_config Table typeid BIGINT 19 null

Basic LTI type id

grade_items Table outcomeid BIGINT 19 null

If this grade is related to an outcome, which one is it?

goal_user_info_field Table defaultdata LONGTEXT 2147483647 null
enrol_paypal Table parent_txn_id VARCHAR 255
cohort_msg_queue Table timecreated BIGINT 19 null
block_zoola_reports_cohort Table id BIGINT 19 null
repository_opensesame_pkgs Table externalid VARCHAR 255

OpenSesame course identifier - unique id

user_password_resets Table timerequested BIGINT 19 null

The time that the user first requested this password reset

scorm_seq_mapinfo Table scoid BIGINT 19 0
workshop_submissions Table contentformat SMALLINT 5 0

The format of submission text

grade_grades Table exported BIGINT 19 0

date of last grade export, 0 if none

facetoface_asset_info_data Table id BIGINT 19 null
facetoface_sessioncancel_info_field Table hidden TINYINT 3 null
report_builder_cache Table reportid BIGINT 19 null
user Table autosubscribe BIT 1 1
wiki_subwikis Table id BIGINT 19 null
grade_items_history Table plusfactor DECIMAL 10 0.00000

Add this to all grades

file_conversion Table sourcefileid BIGINT 19 null
quiz Table reviewspecificfeedback MEDIUMINT 7 0

Whether users are allowed to review their quiz attempts at various times. A bit field, like reviewattempt.

enrol_lti_lti2_consumer Table consumername VARCHAR 255 null
events_queue_handlers Table status BIGINT 19 null

number of failed attempts to process this handler

forum_posts Table mailed TINYINT 3 0
user_info_field Table id BIGINT 19 null
assign_user_flags Table extensionduedate BIGINT 19 0

An extension date assigned to an individual student.

enrol_lti_lti2_consumer Table consumerversion VARCHAR 255 null
report_builder_search_cols Table id BIGINT 19 null
grade_grades Table information LONGTEXT 2147483647 null

optiona information

comp Table timemodified BIGINT 19 null
assign Table gradingduedate BIGINT 19 0

Totara: Not used due to MDL-55611 non taken. The expected date for marking the submissions.

backup_controllers Table operation VARCHAR 20 backup

Type of operation (backup/restore)

forum_track_prefs Table id BIGINT 19 null
enrol_lti_tools Table timecreated BIGINT 19 null
comp_relations Table id BIGINT 19 null
comp_criteria Table id BIGINT 19 null
tool_usertours_steps Table tourid BIGINT 19 null
scorm_scoes_data Table value LONGTEXT 2147483647 null
mnetservice_enrol_enrolments Table userid BIGINT 19 null

ID of our local user on this server

auth_connect_users Table id BIGINT 19 null
comp_framework Table id BIGINT 19 null
gradingform_guide_fillings Table id BIGINT 19 null
comp_scale Table timemodified BIGINT 19 null
survey_questions Table multi VARCHAR 100
comp_scale Table defaultid BIGINT 19 null
goal_user_info_field Table param3 LONGTEXT 2147483647 null
lesson_pages Table title VARCHAR 255
assign Table requireallteammemberssubmit TINYINT 3 0

If enabled, a submission will not be accepted until all team members have submitted it.

quiz Table delay1 BIGINT 19 0

Delay that must be left between the first and second attempt, in seconds.

course Table marker BIGINT 19 0
message Table fullmessagehtml LONGTEXT 2147483647 null

html format of message

user Table firstnamephonetic VARCHAR 255 null

First name phonetic

question_attempts Table behaviour VARCHAR 32

The name of the question behaviour that is managing this question attempt.

folder Table display SMALLINT 5 0

Display type of folder contents - on a separate page or inline

reportbuilder_grp_org_user Table timecreated BIGINT 19 0
prog_completion_history Table status SMALLINT 5 0
data_records Table approved SMALLINT 5 0
facetoface_sessions Table registrationtimestart BIGINT 19 0
org_type Table shortname VARCHAR 100 null
appraisal_scale Table id BIGINT 19 null
forum_discussions Table course BIGINT 19 0
tool_sitepolicy_user_consent Table id BIGINT 19 null
role Table shortname VARCHAR 100
qtype_randomsamatch_options Table choose BIGINT 19 4

Number of subquestions to randomly generate.

tool_usertours_tours Table description LONGTEXT 2147483647 null
errorlog Table id BIGINT 19 null
quiz Table shuffleanswers SMALLINT 5 0

Whether the parts of the question should be shuffled, in those question types that support it.

appraisal_event_message Table id BIGINT 19 null
lesson Table minquestions SMALLINT 5 0
events_handlers Table schedule VARCHAR 255 null

'cron' or 'instant'.

questionnaire_survey Table id BIGINT 19 null
qtype_ddmarker Table shuffleanswers SMALLINT 5 1
assignment Table resubmit TINYINT 3 0
prog_assignment Table completionevent SMALLINT 5 0
qtype_match_options Table partiallycorrectfeedbackformat TINYINT 3 0
pos_competencies Table linktype TINYINT 3 0
course Table completionnotify BIT 1 0

Notify users when they complete this course

course Table showreports SMALLINT 5 0
enrol Table customtext4 LONGTEXT 2147483647 null

Custom - general text

message Table fullmessageformat SMALLINT 5 0

The format of the full message

comp_record Table manual TINYINT 3 0
dp_plan_objective Table priority BIGINT 19 null
event Table name LONGTEXT 2147483647 null
lti Table instructorcustomparameters VARCHAR 255 null

Additional custom parameters provided by the instructor

auth_approved_request_snapshots Table username VARCHAR 100 null
repository_opensesame_pkgs Table mobilecompatibility VARCHAR 255

Options are allDevices, ios, android and empty

block_zoola_reports_schreps Table userid BIGINT 19 null

User that scheduled the report

grade_categories Table timecreated BIGINT 19 null
grade_categories_history Table aggregateonlygraded BIT 1 0

aggregate only graded items

qtype_ddimageortext_drops Table ytop BIGINT 19 0
grade_items_history Table oldid BIGINT 19 null
files Table status BIGINT 19 0

number greater than 0 means something is wrong with this file (virus, missing, etc.)

lesson_answers Table answerformat TINYINT 3 0
capabilities Table contextlevel BIGINT 19 0
competency_usercompplan Table competencyid BIGINT 19 null

Competency associated to the user.

prog_completion Table userid BIGINT 19 0
user Table icq VARCHAR 15
enrol_lti_users Table serviceurl LONGTEXT 2147483647 null
wiki Table course BIGINT 19 0

Course wiki activity belongs to

comp_scale_values Table usermodified BIGINT 19 null
dp_plan_competency_assign Table id BIGINT 19 null
user_enrolments Table id BIGINT 19 null
files Table mimetype VARCHAR 100 null

type of file - jpeg image, open document spreadsheet

dp_plan_evidence_info_field Table datatype VARCHAR 255 null
book_chapters Table content LONGTEXT 2147483647 null
log Table info VARCHAR 255
glossary_formats Table showgroup TINYINT 3 1
question Table penalty DECIMAL 12 0.3333333
workshopform_numerrors_map Table grade DECIMAL 10 null

Percentual grade 0..100 for this number of negative responses

totara_userdata_purge_item Table purgeid BIGINT 19 null
report_builder_schedule_email_external Table id BIGINT 19 null
assign_plugin_config Table id BIGINT 19 null
auth_oauth2_linked_login Table confirmtoken VARCHAR 64

If this is not empty - the user has not confirmed their email to create the link.

oauth2_issuer Table clientsecret LONGTEXT 2147483647 null

The secret used to connect to this oauth2 service.

prog_extension Table userid BIGINT 19 0
event_subscriptions Table lastupdated BIGINT 19 null
goal_user_assignment Table assignmentid BIGINT 19 null
backup_courses Table laststatus VARCHAR 1 5
report_builder_graph Table maxrecords BIGINT 19 500

Maximum of records used in a graph?

cohort_visibility Table timemodified BIGINT 19 null
assignfeedback_editpdf_cmnt Table gradeid BIGINT 19 0
upgrade_log Table id BIGINT 19 null
message Table notification BIT 1 0
enrol_lti_lti2_user_result Table id BIGINT 19 null
qtype_ddmarker_drags Table questionid BIGINT 19 0
facetoface_notification Table facetofaceid BIGINT 19 null
chat_messages Table issystem BIT 1 0
data Table config LONGTEXT 2147483647 null
files Table contextid BIGINT 19 null

The context id defined in context table - identifies the instance of plugin owning the file

pos_type_info_field Table param1 LONGTEXT 2147483647 null
auth_connect_servers Table servername VARCHAR 255

Name received from server, for UI identification only

pos_type_info_data Table data LONGTEXT 2147483647 null
comp_record Table organisationid BIGINT 19 null
goal_user_type Table audience TINYINT 3 null
lesson_overrides Table timelimit BIGINT 19 null

Time limit in seconds. Can be null, in which case the lesson default is used.

totara_userdata_export Table contextid BIGINT 19 null

Context restriction will be used for exporting user data from one course or activity, null means the whole system

goal_user_assignment Table extrainfo VARCHAR 255 null
totara_compl_import_course Table completiondateparsed BIGINT 19 null

completiondate parsed using csvdateformat

lti_tool_proxies Table vendorcode VARCHAR 255 null
cohort_rulesets Table name VARCHAR 255
resource_old Table reference VARCHAR 255
prog Table id BIGINT 19 null
catalog_search_metadata Table pluginname VARCHAR 20 null
grade_grades_history Table finalgrade DECIMAL 10 null

The final grade (cached) after all calculations are made

portfolio_tempdata Table queued BIT 1 0

Value 1 means the entry should be processed in cron.

scorm Table masteryoverride BIT 1 1
appraisal_user_assignment Table status BIGINT 19 0
competency_modulecomp Table id BIGINT 19 null
grade_grades_history Table timemodified BIGINT 19 null

The last time this grade_item was modified

mnet_remote_service2rpc Table rpcid BIGINT 19 0

Unique Function ID

auth_connect_sso_requests Table sid VARCHAR 128
grade_items_history Table id BIGINT 19 null
tool_sitepolicy_policy_version Table timearchived BIGINT 19 null

Timestamp of when the policy was archived

tool_monitor_rules Table id BIGINT 19 null
badge_criteria_param Table name VARCHAR 255
quiz_slots Table questionid BIGINT 19 0

Foreign key references question.id.

badge Table timecreated BIGINT 19 0
facetoface_signup_info_data Table fieldid BIGINT 19 null
lti Table grade BIGINT 19 100

Grade scale

message_popup Table messageid BIGINT 19 null
qtype_ddimageortext Table incorrectfeedbackformat TINYINT 3 0
forum_discussions Table usermodified BIGINT 19 0
quiz_overview_regrades Table oldfraction DECIMAL 12 null

The previous fraction for this question_attempt.

feedback_valuetmp Table value LONGTEXT 2147483647 null
workshopform_comments Table description LONGTEXT 2147483647 null

The description of the dimension

org Table totarasync BIT 1 0

Totara sync flag from totara_sync

logstore_standard_log Table courseid BIGINT 19 null
feedback_item Table presentation LONGTEXT 2147483647 null
totara_core_certification_vis_map Table roleid BIGINT 19 null
dp_program_settings Table templateid BIGINT 19 null

Identifies the template these settings should be applied to

course_info_field Table required BIT 1 null
feedback_item Table name VARCHAR 255
course_completion_history Table grade DECIMAL 10 null
goal_personal Table timecreated BIGINT 19 null
assign Table sendlatenotifications TINYINT 3 0

Allows separate enabling of notifications for late assignment submissions.

course_completion_log Table courseid BIGINT 19 null

Course ID

auth_approved_request_snapshots Table managerfreetext LONGTEXT 2147483647 null
report_builder_filters Table id BIGINT 19 null
questionnaire_question Table dependchoice BIGINT 19 0
appraisal_event Table event VARCHAR 32

Event name: activation, stage_complete or stage_due

facetoface_notification_sent Table notificationid BIGINT 19 0
competency_coursecompsetting Table courseid BIGINT 19 null

The course this setting is linked to.

question_gapselect Table shuffleanswers SMALLINT 5 1
auth_approved_request Table timeresolved BIGINT 19 null
workshop Table course BIGINT 19 null

ID of the parent course

totara_compl_import_cert Table completiondateparsed BIGINT 19 null

completiondate parsed using csvdateformat

files Table component VARCHAR 100

Full name of the component owning the area

tool_monitor_events Table eventname VARCHAR 254

Event name

oauth2_system_account Table timecreated BIGINT 19 null

Time this record was created.

url Table course BIGINT 19 0
local_ld_module_day Table ldmoduleid BIGINT 19 null

Foreign key to the local_ld_module table

wiki_locks Table id BIGINT 19 null
workshop Table phase SMALLINT 5 0

The current phase of workshop (0 = not available, 1 = submission, 2 = assessment, 3 = closed)

grade_items Table itemnumber BIGINT 19 null

Can be used to distinguish multiple grades for an activity

book_chapters Table subchapter BIGINT 19 0
auth_approved_request Table lastname VARCHAR 100
questionnaire Table intro LONGTEXT 2147483647 null

Description text.

competency_templatecohort Table templateid BIGINT 19 null
message_metadata Table messageid BIGINT 19 null

message that still needs some processing (on message table)

scorm Table navpositiontop BIGINT 19 -100
user Table imagealt VARCHAR 255 null

alt tag for user uploaded image

feedback360_email_assignment Table token VARCHAR 40
chat Table chattime BIGINT 19 0
facetoface_notification_hist Table sessiondateid BIGINT 19 null

FK of facetoface_sessions_dates

totara_userdata_export Table userid BIGINT 19 null

The target user

dp_evidence_type Table timemodified BIGINT 19 null
user_devices Table version VARCHAR 32

The device version, 6.1.2, 4.2.2 etc..

gradingform_rubric_levels Table definitionformat BIGINT 19 null

The format of the definition field

enrol_lti_lti2_consumer Table enableuntil BIGINT 19 null
block_instances Table showinsubcontexts SMALLINT 5 null

If 1, this block appears on all matching pages in subcontexts of parentcontextid, as well in pages belonging to parentcontextid.

facetoface_room Table timemodified BIGINT 19 0
enrol_lti_lti2_resource_link Table primaryresourcelinkid BIGINT 19 null
facetoface_signups_status Table signupid BIGINT 19 null
forum_posts Table messagetrust TINYINT 3 0
forum_discussions Table groupid BIGINT 19 -1
totara_connect_client_cohorts Table clientid BIGINT 19 null
goal_personal Table userid BIGINT 19 null
competency_plan Table userid BIGINT 19 null
certif Table windowperiod VARCHAR 20 null

How long before a learners certification is due for renewal and that the recertification window should open - stored as seconds

question_statistics Table subquestion SMALLINT 5 null
wiki Table introformat SMALLINT 5 0

Format of the intro field (MOODLE, HTML, MARKDOWN...)

cache_flags Table id BIGINT 19 null
local_ld_course_day Table roles VARCHAR 50 null

Users role in course

assignfeedback_editpdf_cmnt Table rawtext LONGTEXT 2147483647 null

Raw text of the comment

catalog Table ftshigh LONGTEXT 2147483647 null
facetoface_cancellation_info_data Table fieldid BIGINT 19 null
page Table display SMALLINT 5 0
reminder_message Table message LONGTEXT 2147483647 null
comp_framework Table description LONGTEXT 2147483647 null
pos_framework Table timemodified BIGINT 19 null
comp Table totarasync BIT 1 0

Totara sync flag from totara_sync

user_devices Table timecreated BIGINT 19 null
tool_usertours_steps Table sortorder BIGINT 19 0
appraisal_event_message Table content LONGTEXT 2147483647 null
sessions Table state BIGINT 19 0

0 means normal session

report_builder_cache Table lastreport BIGINT 19 null
lesson_overrides Table password VARCHAR 32 null

Lesson password. Can be null, in which case the lesson default is used.

block_rss_client Table id BIGINT 19 null
grade_grades Table aggregationstatus VARCHAR 10 unknown

One of several values describing how this grade_grade was used when calculating the aggregation. Possible values are "unknown", "dropped", "novalue", "used"

block_zoola_reports Table blockinstanceid BIGINT 19 null

Block instance ID

dp_priority_scale Table timemodified BIGINT 19 null

Identifies the last time this scale was modified

lesson Table allowofflineattempts BIT 1 0

Whether to allow the lesson to be attempted offline in the mobile app

workshop_submissions Table grade DECIMAL 10 null

Aggregated grade for the submission. The grade is a decimal number from interval 0..100. If NULL then the grade for submission has not been aggregated yet.

competency_coursecomp Table usermodified BIGINT 19 null

The user who modified this link.

auth_connect_ids Table localid BIGINT 19 null

Record id in client table

org_type_info_field Table fullname VARCHAR 1024 null
mnet_application Table display_name VARCHAR 50
tool_monitor_events Table contextinstanceid BIGINT 19 null

Context instance id

dp_plan Table enddate BIGINT 19 null

Timestamp of the end date of this plan

comp_record Table assessorid BIGINT 19 null
totara_connect_client_pos_frameworks Table fid BIGINT 19 null
data Table rsstemplate LONGTEXT 2147483647 null
totara_userdata_user Table timesuspendedpurged BIGINT 19 null

Last time the user was purged with the selected type, resets to null after type change

prog_assignment Table completiontime BIGINT 19 0
gradingform_guide_fillings Table criterionid BIGINT 19 null

The ID of the criterion (row) in the guide

totara_compl_import_course Table completiondate VARCHAR 10 null

completiondate

lesson Table usepassword SMALLINT 5 0
qtype_ddmarker_drags Table infinite SMALLINT 5 0
chat Table id BIGINT 19 null
totara_sync_log Table element VARCHAR 60

element name

quiz Table overduehandling VARCHAR 16 autoabandon

The method used to handle overdue attempts. 'autosubmit', 'graceperiod' or 'autoabandon'.

question_attempts Table responsesummary LONGTEXT 2147483647 null

This is a textual summary of the student's response (basically what you would expect to in the Quiz responses report).

quiz_overview_regrades Table id BIGINT 19 null
course_sections Table visible BIT 1 1
competency Table ruleoutcome TINYINT 3 0
message_metadata Table processorid SMALLINT 5 null

The message processor id

course_published Table id BIGINT 19 null
auth_connect_servers Table timecreated BIGINT 19 null
question_ddwtos Table questionid BIGINT 19 0
question Table stamp VARCHAR 255
workshopallocation_scheduled Table resultlog LONGTEXT 2147483647 null

The log of the most recent execution

wiki_synonyms Table id BIGINT 19 null
enrol_lti_tools Table secret LONGTEXT 2147483647 null
user Table theme VARCHAR 50
choice_answers Table timemodified BIGINT 19 0
message_processors Table enabled BIT 1 1

Defines if processor is enabled

lesson Table password VARCHAR 32
totara_sync_log Table action VARCHAR 60 null

action performed

certif_completion_history Table timemodified BIGINT 19 null
persistent_login Table sid VARCHAR 128

Last session id

auth_approved_request Table lastnamephonetic VARCHAR 255 null

Last name phonetic

goal_user_type Table shortname VARCHAR 100 null
glossary Table globalglossary TINYINT 3 0
enrol_flatfile Table userid BIGINT 19 null
dp_plan_competency_assign Table approved SMALLINT 5 0

Indicates if the competency has been accepted as part of a plan, or is awaiting approval.

workshop Table instructauthorsformat SMALLINT 5 0
facetoface_sessions Table registrationtimefinish BIGINT 19 0
chat_users Table lastping BIGINT 19 0
badge_issued Table visible BIT 1 0
qtype_randomsamatch_options Table id BIGINT 19 null
org_type Table usermodified BIGINT 19 null
workshopform_numerrors Table grade1 VARCHAR 50 null

A word for possitive evaluation (like Good, Present, OK etc). If NULL, it defaults to a translated string True

qtype_match_subquestions Table id BIGINT 19 null
questionnaire_response Table survey_id BIGINT 19 0
blog_external Table failedlastsync BIT 1 0

Whether or not the last sync failed for some reason

facetoface_sessioncancel_info_field Table id BIGINT 19 null
feedback_completed_history Table idarchived BIGINT 19 null
qtype_shortanswer_options Table questionid BIGINT 19 0

Foreign key references question.id.

question_statistics Table questionid BIGINT 19 null
post Table publishstate VARCHAR 20 draft
question_numerical Table answer BIGINT 19 0

Foreign key references question_answers.id.

qtype_multichoice_options Table answernumbering VARCHAR 10 abc

Indicates how and whether the choices should be numbered.

tag Table rawname VARCHAR 255

The raw, unnormalised name for the tag as entered by users

appraisal_role_assignment Table id BIGINT 19 null
label Table course BIGINT 19 0
competency_usercomp Table userid BIGINT 19 null

User associated to the competency.

user_private_key Table instance BIGINT 19 null

optional instance id

gradingform_rubric_levels Table definition LONGTEXT 2147483647 null

The optional text describing the level

qtype_match_subquestions Table questiontextformat TINYINT 3 0
enrol_lti_lti2_user_result Table ltiresultsourcedid VARCHAR 1024
goal_user_type_cohort Table timemodified BIGINT 19 null
stats_user_monthly Table roleid BIGINT 19 0
appraisal_quest_field_role Table id BIGINT 19 null
qtype_randomsamatch_options Table shownumcorrect TINYINT 3 0

If true, then when the user gets the question partially correct, tell them how many choices they got correct alongside the feedback.

assign_submission Table timemodified BIGINT 19 0

The last time this assignment submission was modified by a student.

grade_categories Table id BIGINT 19 null
lock_db Table resourcekey VARCHAR 255

String identifying the resource to be locked. Should use frankenstyle format.

oauth2_endpoint Table issuerid BIGINT 19 null

The identity provider this service belongs to.

question_attempts Table slot BIGINT 19 null

Used to number the questions in one attempt sequentially.

goal_type_info_field Table required TINYINT 3 null
feedback_valuetmp Table course_id BIGINT 19 0
auth_oauth2_linked_login Table id BIGINT 19 null
enrol Table enrolstartdate BIGINT 19 0

Custom - start of self enrolment

course Table maxbytes BIGINT 19 0
prog_user_assignment Table timeassigned BIGINT 19 0
goal_record Table deleted BIT 1 0
feedback_value_history Table completed BIGINT 19 0
pos_framework Table visible TINYINT 3 null
facetoface_asset Table allowconflicts BIT 1 0
data_fields Table description LONGTEXT 2147483647 null
scorm_seq_ruleconds Table scoid BIGINT 19 0
prog_info_field Table param4 LONGTEXT 2147483647 null
feedback360_scale_data Table feedback360scalevalueid BIGINT 19 null
qtype_match_options Table id BIGINT 19 null
competency_coursecomp Table id BIGINT 19 null
lesson Table timelimit BIGINT 19 0
grade_items_history Table itemtype VARCHAR 30

'mod', 'blocks', 'import', 'calculated' etc

assignfeedback_editpdf_cmnt Table pageno BIGINT 19 0

The page in the PDF that this comment appears on

context Table id BIGINT 19 null
grade_grades_history Table rawgrademin DECIMAL 10 0.00000

The minimum allowable grade when this was created

goal_scale_values Table idnumber VARCHAR 100 null
book Table numbering SMALLINT 5 0
course_completion_criteria Table course BIGINT 19 0
goal_user_info_field Table typeid BIGINT 19 null
wiki Table timecreated BIGINT 19 0
resource Table id BIGINT 19 null
assignment_upgrade Table id BIGINT 19 null
competency Table ruleconfig LONGTEXT 2147483647 null
role_sortorder Table sortoder BIGINT 19 null
certificate Table printwmark VARCHAR 255 0
org_type_info_field Table defaultdata LONGTEXT 2147483647 null
wiki_pages Table cachedcontent LONGTEXT 2147483647 null

Cache wiki content

certificate_issues_history Table certificateid BIGINT 19 0
block_instances Table defaultregion VARCHAR 16

Which block region this block should appear in on each page, in the absence of a specific position in the block_positions table.

lesson_timer Table lessonid BIGINT 19 0
comp_record_history Table userid BIGINT 19 null
workshopallocation_scheduled Table resultmessage VARCHAR 1333 null

Optional short message describing the resulting status

prog_info_field Table sortorder BIGINT 19 null
folder Table showexpanded BIT 1 1

1 = expanded, 0 = collapsed for sub-folders

grade_items Table iteminstance BIGINT 19 null

id of the item module

data Table defaultsort BIGINT 19 0
role Table archetype VARCHAR 30

Role archetype is used during install and role reset, marks admin role and helps in site settings

glossary Table editalways TINYINT 3 0
questionnaire_response_date Table id BIGINT 19 null
dp_plan_history Table reason TINYINT 3 null

The reason for the status change

feedback360_grp_cohort Table id BIGINT 19 null
block_totara_stats Table data2 BIGINT 19 null
goal_type_info_field Table forceunique TINYINT 3 null
upgrade_log Table version VARCHAR 100 null

plugin or main version if known

wiki_pages Table timerendered BIGINT 19 0

Last render timestamp

org_framework Table visible TINYINT 3 null
facetoface_notification_hist Table ical_method VARCHAR 32 null

ICAL method e.g. update, cancel etc.

dp_plan_evidence_info_field Table forceunique BIT 1 null
lti_submission_history Table timecreated BIGINT 19 null
scorm Table completionstatusallscos BIT 1 null
wiki_pages Table userid BIGINT 19 0

Edition author

stats_user_weekly Table roleid BIGINT 19 0
enrol_lti_lti2_resource_link Table created BIGINT 19 null
book_chapters Table timecreated BIGINT 19 0
comp_criteria Table itemmodule VARCHAR 30 null
report_builder_graph Table legend VARCHAR 255

name of one column, used when axis are reversed

stats_user_monthly Table userid BIGINT 19 0
badge_external Table id BIGINT 19 null
feedback_value_history Table value LONGTEXT 2147483647 null
quiz_feedback Table mingrade DECIMAL 10 0.00000

The lower limit of this grade band. Inclusive.

quiz_attempts Table timefinish BIGINT 19 0

Time when the attempt was submitted. 0 if the attempt has not been submitted yet.

appraisal_stage_role_setting Table appraisalstageid BIGINT 19 null
prog_future_user_assignment Table userid BIGINT 19 null
files_reference Table reference LONGTEXT 2147483647 null

Identification of the external file. Repository plugins are interpreting it to locate the external file.

qtype_essay_options Table id BIGINT 19 null
comp_scale_assignments Table scaleid BIGINT 19 null
question_dataset_items Table itemnumber BIGINT 19 0
gradingform_guide_fillings Table remarkformat TINYINT 3 null

The format of the remark field

feedback_completed_history Table userid BIGINT 19 0
tag_instance Table id BIGINT 19 null
oauth2_system_account Table grantedscopes LONGTEXT 2147483647 null

The scopes that this system account has been granted access to.

competency_userevidence Table descriptionformat BIT 1 null
lesson Table timemodified BIGINT 19 0
stats_user_daily Table id BIGINT 19 null
lesson_overrides Table review SMALLINT 5 null
questionnaire_question Table required VARCHAR 1 n
feedback_completed_history Table feedback BIGINT 19 0
message_read Table notification BIT 1 0
sessions Table lastip VARCHAR 45 null
prog_courseset Table sortorder BIGINT 19 0
totara_userdata_user Table deletedpurgetypeid BIGINT 19 null
scorm_scoes Table scormtype VARCHAR 5
comp_record_history Table id BIGINT 19 null
auth_approved_request_snapshots Table timesnapshot BIGINT 19 null
enrol_lti_lti2_context Table created BIGINT 19 null
forum_track_prefs Table forumid BIGINT 19 0
certif_completion Table timewindowopens BIGINT 19 null

Date the window opens

qtype_randomsamatch_options Table partiallycorrectfeedbackformat TINYINT 3 0
cohort_members Table userid BIGINT 19 0
badge Table status BIT 1 0

Badge status: 0 = inactive, 1 = active, 2 = active+locked, 3 = inactive+locked, 4 = archived

workshop Table instructreviewers LONGTEXT 2147483647 null

Instructions for the assessment phase

user_password_history Table id BIGINT 19 null
repository_instances Table id BIGINT 19 null
mnet_host Table public_key_expires BIGINT 19 0
workshop_submissions Table timegraded BIGINT 19 null

The timestamp when grade or gradeover was recently modified

dp_competency_settings Table duedatemode SMALLINT 5 0

Defines how due dates are handled by this component

totara_userdata_purge Table usercreated BIGINT 19 null
report_builder_graph Table id BIGINT 19 null
resource_old Table introformat SMALLINT 5 0
scale_history Table name VARCHAR 255
choice Table showpreview TINYINT 3 0
prog_info_data_param Table dataid BIGINT 19 null
totara_connect_sso_sessions Table active BIT 1 0

Set to 1 after client fetches user data via get_sso_user

report_builder_saved Table timemodified BIGINT 19 0

udpated when saved changes

comp_record_history Table usermodified BIGINT 19 null
feedback_value_history Table id BIGINT 19 null
goal_user_assignment Table goalid BIGINT 19 null
forum_queue Table timemodified BIGINT 19 0

The modified time of the original post

lti_submission_history Table id BIGINT 19 null
goal_item_history Table scope BIT 1 null
log_queries Table timelogged BIGINT 19 null

timestamp when log info stored into db

workshop_grades Table strategy VARCHAR 30
data Table listtemplatefooter LONGTEXT 2147483647 null
catalog Table objectid BIGINT 19 null
question_statistics Table variant BIGINT 19 null
post Table groupid BIGINT 19 0
glossary Table assessed BIGINT 19 0
prog_user_assignment Table programid BIGINT 19 0
competency_userevidencecomp Table timemodified BIGINT 19 null
enrol_lti_lti2_share_key Table sharekey VARCHAR 32
comp Table parentid BIGINT 19 null
badge_manual_award Table recipientid BIGINT 19 null
assignsubmission_onlinetext Table onlinetext LONGTEXT 2147483647 null

The text for this online text submission.

comp_record Table competencyid BIGINT 19 null
reportbuilder_grp_cohort_record Table reportbuilderrecordid BIGINT 19 null
cache_flags Table timemodified BIGINT 19 0
lesson_pages Table contents LONGTEXT 2147483647 null
goal_type Table fullname VARCHAR 1024 null
appraisal_scale_data Table id BIGINT 19 null
enrol_paypal Table instanceid BIGINT 19 0
mnet_host Table wwwroot VARCHAR 255
grade_items_history Table idnumber VARCHAR 255 null

Arbitrary idnumber provided by the module responsible

prog_messagelog Table userid BIGINT 19 0
scorm_seq_rolluprulecond Table rollupruleid BIGINT 19 0
repository_instances Table readonly BIT 1 0
lti Table resourcekey VARCHAR 255 null
auth_approved_request_snapshots Table requestid BIGINT 19 null
grade_outcomes Table courseid BIGINT 19 null

Mostly these are defined site wide ie NULL

portfolio_tempdata Table data LONGTEXT 2147483647 null

dumping ground for portfolio callers to store their data in.

user Table city VARCHAR 120
auth_connect_sso_sessions Table sid VARCHAR 128

The session id of PHP session on the client

enrol_lti_lti2_consumer Table created BIGINT 19 null
certif Table timemodified BIGINT 19 0
reminder Table timecreated BIGINT 19 null
scorm_aicc_session Table lessonstatus VARCHAR 255 null
badge Table messagesubject LONGTEXT 2147483647 null
user_private_key Table iprestriction VARCHAR 255 null

ip restriction

reminder_message Table type VARCHAR 10 null
auth_connect_servers Table serverurl VARCHAR 255

URL of Totara Connect server - wwwroot

questionnaire_survey Table name VARCHAR 255
dp_objective_scale_value Table achieved SMALLINT 5 0

Identifies if this scale value is an achieved value

assign Table revealidentities TINYINT 3 0

Show identities for a blind marking assignment

facetoface_notification Table waitlisted BIT 1 0
enrol_lti_tools Table country VARCHAR 2
goal_scale_assignments Table scaleid BIGINT 19 null
quiz_attempts Table userid BIGINT 19 0

Foreign key reference to the user whose attempt this is.

dp_priority_scale Table sortorder BIGINT 19 null
chat_users Table lang VARCHAR 30
role_capabilities Table roleid BIGINT 19 0
facetoface_cancellation_info_field Table param5 LONGTEXT 2147483647 null
events_handlers Table handlerfile VARCHAR 255

path to the file of the function, eg /grade/export/lib.php

role Table sortorder BIGINT 19 0
competency_plan Table timecreated BIGINT 19 null
profiling Table id BIGINT 19 null
assign_plugin_config Table value LONGTEXT 2147483647 null

The value of the config setting. Stored as text but can be interpreted by the plugin however it likes.

prog_courseset Table contenttype SMALLINT 5 0
stats_daily Table stat2 BIGINT 19 0

stat2. usually used for writes.

oauth2_user_field_mapping Table issuerid BIGINT 19 null

The oauth issuer.

enrol_lti_lti2_context Table settings LONGTEXT 2147483647 null
grade_items_history Table source VARCHAR 255 null

What caused the modification? manual/module/import/...

stats_user_weekly Table statsreads BIGINT 19 0
goal_type Table idnumber VARCHAR 100 null
repository_instances Table timemodified BIGINT 19 null
cohort_rule_collections Table cohortid BIGINT 19 null
mnet_rpc Table help LONGTEXT 2147483647 null
totara_userdata_export_item Table name VARCHAR 100

Class name without namespace, e.g. comment, post, completion

facetoface_signup_info_field Table description LONGTEXT 2147483647 null
chat_users Table firstping BIGINT 19 0
totara_navigation Table url VARCHAR 255 null
appraisal_user_assignment Table jobassignmentid BIGINT 19 null
workshop_assessments Table submissionid BIGINT 19 null

The id of the assessed submission

feedback360_quest_field Table param4 LONGTEXT 2147483647 null
user Table country VARCHAR 2
course Table newsitems MEDIUMINT 7 1
totara_compl_import_cert Table duedate VARCHAR 10 null
grade_items_history Table sortorder BIGINT 19 0

Sorting order of the columns

totara_navigation_settings Table type VARCHAR 255
qtype_essay_options Table responserequired TINYINT 3 1

Nonzero if an inline text response is optional

logstore_standard_log Table realuserid BIGINT 19 null

real user id when logged-in-as

totara_userdata_export_type Table idnumber VARCHAR 255

Unique plain text identifier

oauth2_issuer Table loginscopes LONGTEXT 2147483647 null

The scopes requested for a normal login attempt.

feedback_value_history Table item BIGINT 19 0
qtype_ddimageortext Table id BIGINT 19 null
appraisal_user_event Table userid BIGINT 19 null
dp_plan_evidence_info_field Table fullname VARCHAR 1333 null
course_modules_completion Table id BIGINT 19 null
grading_areas Table areaname VARCHAR 100

The name of gradable area

goal_user_type Table fullname VARCHAR 1024 null
data Table maxentries INT 10 0
user Table aim VARCHAR 50
events_queue_handlers Table timemodified BIGINT 19 null

time stamp of the last attempt to run this from the queue

user_info_category Table sortorder BIGINT 19 0

Display order

cohort_plan_history Table usercreated BIGINT 19 null
grade_items_history Table decimals BIT 1 null
resource Table displayoptions LONGTEXT 2147483647 null
files Table timecreated BIGINT 19 null
groups Table description LONGTEXT 2147483647 null
pos_type_info_data Table fieldid BIGINT 19 null
dp_plan_evidence_info_data_param Table dataid BIGINT 19 null
feedback360 Table selfevaluation TINYINT 3 1
scorm_aicc_session Table scormid BIGINT 19 0

id from scorm table

goal_grp_cohort Table id BIGINT 19 null
certificate Table emailothers LONGTEXT 2147483647 null
competency_evidence Table desccomponent VARCHAR 255
auth_approved_request_snapshots Table country VARCHAR 2 null
enrol Table timecreated BIGINT 19 0
chat_messages Table userid BIGINT 19 0
task_adhoc Table component VARCHAR 255

The component that triggered this adhoc task.

certif Table activeperiod VARCHAR 20 null

How long is the certificate active for - stored as seconds

enrol_lti_lti2_tool_proxy Table id BIGINT 19 null
dp_plan_evidence_info_field Table hidden BIT 1 null
auth_oauth2_linked_login Table confirmtokenexpires BIGINT 19 null
report_builder_schedule_email_external Table scheduleid BIGINT 19 null
dp_priority_scale_value Table idnumber VARCHAR 100 null

Identifies a value that can be given to a scale value

groupings Table id BIGINT 19 null
qtype_ddmarker_drops Table choice BIGINT 19 0
groups Table timemodified BIGINT 19 0
feedback_item Table dependvalue VARCHAR 255
cohort Table id BIGINT 19 null
quiz_overview_regrades Table timemodified BIGINT 19 null

Timestamp of when this row was last modified.

questionnaire_response_bool Table question_id BIGINT 19 0
data_fields Table param7 LONGTEXT 2147483647 null
job_assignment Table totarasync BIT 1 0

Determines whether record can be updated via tool_totara_sync

prog_message Table messagetype SMALLINT 5 0
appraisal_scale Table name VARCHAR 255 null
lti_types_config Table value LONGTEXT 2147483647 null

Param value

org_competencies Table usermodified BIGINT 19 null
enrol_flatfile Table timestart BIGINT 19 0
editor_atto_autosave Table userid BIGINT 19 null

The id of the user that loaded the form.

dp_competency_settings Table includecompleted SMALLINT 5 1
facetoface Table approvaladmins VARCHAR 255 null
capabilities Table name VARCHAR 255
prog_recurrence Table currentcourseid BIGINT 19 0
stats_daily Table timeend BIGINT 19 0
tag Table id BIGINT 19 null
block_recent_activity Table courseid BIGINT 19 null

Course id

lesson Table slideshow SMALLINT 5 0
questionnaire_resp_multiple Table question_id BIGINT 19 0
grade_items Table timemodified BIGINT 19 null

The last time this grade_item was modified

lesson_attempts Table timeseen BIGINT 19 0
tool_monitor_rules Table timewindow MEDIUMINT 7 null

Time window in seconds

totara_navigation_settings Table itemid BIGINT 19 null
assign Table intro LONGTEXT 2147483647 null

The description of the assignment. This field is used by feature MOD_INTRO.

data Table editany SMALLINT 5 0
appraisal_stage_page Table id BIGINT 19 null
facetoface_sessioncancel_info_data Table data LONGTEXT 2147483647 null
question Table questiontext LONGTEXT 2147483647 null
report_builder_schedule_email_audience Table id BIGINT 19 null
feedback_value_history Table idarchived BIGINT 19 null
cohort_rule_params Table name VARCHAR 255
report_builder_columns Table heading VARCHAR 1024 null

Visible heading describing the column to report users

reportbuilder_grp_cohort_user Table cohortid BIGINT 19 null
pos_type Table shortname VARCHAR 100 null
filter_active Table id BIGINT 19 null
enrol_lti_lti2_tool_proxy Table updated BIGINT 19 null
goal_type_info_field Table id BIGINT 19 null
workshop_submissions Table feedbackauthorformat SMALLINT 5 0
data_fields Table param9 LONGTEXT 2147483647 null
choice_options Table text LONGTEXT 2147483647 null
facetoface_asset_info_field Table param2 LONGTEXT 2147483647 null
grade_items Table scaleid BIGINT 19 null

If this grade is based on a scale, which one is it?

mnetservice_enrol_enrolments Table rolename VARCHAR 255
course_completion_log Table id BIGINT 19 null
totara_userdata_export Table origin VARCHAR 50

self keyword matching totara_userdata_purge_type allowxxxx columns, use other keyword for custom code

enrol_lti_tools Table enrolid BIGINT 19 null
course_completions Table timeenrolled BIGINT 19 0
course Table groupmode SMALLINT 5 0
external_tokens Table externalserviceid BIGINT 19 null
tool_sitepolicy_localised_consent Table consentoptionid BIGINT 19 null

Which consent option of version it relates to

backup_trusted_files Table contenthash VARCHAR 40

SHA1 has of the file content, the same as in files table

data_fields Table param3 LONGTEXT 2147483647 null
report_builder_schedule Table id BIGINT 19 null
course_modules_completion Table reaggregate BIGINT 19 0

Time for when reaggregation should next occur.

scorm_aicc_session Table attempt BIGINT 19 null
totara_userdata_purge_type_item Table purgetypeid BIGINT 19 null
block_zoola_reports_schreps Table repeated TINYINT 3 0

0 - one time run, 1 - daily, 2 - weekly, 3 - monthly

goal_personal Table visible BIT 1 1
lesson_attempts Table pageid BIGINT 19 0
block_zoola_reports_schreps Table subject VARCHAR 100

Email subject

assign_plugin_config Table assignment BIGINT 19 0
backup_controllers Table execution SMALLINT 5 null

type of execution (immediate/delayed)

pos_type_info_field Table param2 LONGTEXT 2147483647 null
grade_import_values Table feedback LONGTEXT 2147483647 null
goal_user_type_cohort Table cohortid BIGINT 19 null
course_completion_aggr_methd Table id BIGINT 19 null
pos_type_info_field Table datatype VARCHAR 255
glossary_entries Table sourceglossaryid BIGINT 19 0
question_dataset_definitions Table name VARCHAR 255
goal_user_info_data Table id BIGINT 19 null
questionnaire_resp_multiple Table id BIGINT 19 null
prog_info_field Table fullname VARCHAR 1024 null
profiling Table timecreated BIGINT 19 null

unix timestap of the creation of this run

course_categories Table idnumber VARCHAR 100 null
qtype_ddmarker Table questionid BIGINT 19 0
report_builder_cache Table queryhash VARCHAR 40 null
file_conversion Table status BIGINT 19 0
task_scheduled Table dayofweek VARCHAR 25
messageinbound_messagelist Table timecreated BIGINT 19 null
forum Table name VARCHAR 255
dp_plan_evidence_relation Table planid BIGINT 19 null

Plan ID from dp_plan

scale_history Table oldid BIGINT 19 null
goal_scale_values Table numericscore DECIMAL 10 null
assign_user_flags Table workflowstate VARCHAR 20 null

The current workflow state of the grade

competency_framework Table descriptionformat SMALLINT 5 0

The format of the description field

totara_compl_import_cert Table processed BIT 1 0
lti_types Table tooldomain VARCHAR 255
forum_queue Table discussionid BIGINT 19 0
tool_recyclebin_course Table courseid BIGINT 19 null
lti_types Table icon LONGTEXT 2147483647 null

URL to icon file

mnet_remote_service2rpc Table id BIGINT 19 null

Required ID field

totara_userdata_export_item Table result BIGINT 19 null

null means not finished, -1 completed ok, -2 means error, -3 means skipped, -4 cancelled, -5 timed out

course_modules Table visibleold BIT 1 1
scorm_scoes_track Table value LONGTEXT 2147483647 null
dp_plan_competency_assign Table manual BIT 1 0

Was this assignment made manually

report_builder_saved Table ispublic SMALLINT 5 0

If none zero, the saved search is visible to all users, not just the creator

lesson Table usemaxgrade SMALLINT 5 0
qtype_ddimageortext_drags Table id BIGINT 19 null
auth_approved_request Table resolvedby BIGINT 19 null

Person with auth/approved:approve capability that resolved this signup request, null in case of automatic approval

forum_subscriptions Table forum BIGINT 19 0
goal Table fullname VARCHAR 1024 null
grade_grades Table itemid BIGINT 19 null

The item this grade belongs to

course_info_data Table data LONGTEXT 2147483647 null
org_type_info_field Table sortorder BIGINT 19 null
totara_compl_import_course Table courseidnumber VARCHAR 100 null

course idnumber

facetoface_room Table usermodified BIGINT 19 null

user id who modified the room

facetoface_asset_info_field Table param1 LONGTEXT 2147483647 null
badge_criteria_met Table id BIGINT 19 null
cohort_msg_queue Table modifierid BIGINT 19 null
facetoface Table timemodified BIGINT 19 0
feedback_completedtmp Table id BIGINT 19 null
question_attempt_steps Table id BIGINT 19 null
appraisal_stage_page Table sortorder BIGINT 19 null
scorm_seq_mapinfo Table readsatisfiedstatus BIT 1 1
prog_recurrence Table programid BIGINT 19 0
user Table auth VARCHAR 20 manual
totara_navigation Table targetattr VARCHAR 100
badge_manual_award Table datemet BIGINT 19 null
competency_plan Table duedate BIGINT 19 0
comp_scale_assignments Table frameworkid BIGINT 19 null
question_gapselect Table partiallycorrectfeedbackformat TINYINT 3 0
url Table timemodified BIGINT 19 0
logstore_standard_log Table edulevel BIT 1 null
scorm_aicc_session Table id BIGINT 19 null
task_scheduled Table minute VARCHAR 25
oauth2_issuer Table clientid LONGTEXT 2147483647 null

The client id used to connect to this oauth2 service.

facetoface_signups_status Table statuscode BIGINT 19 null
lock_db Table expires BIGINT 19 null

Expiry time for an active lock.

facetoface_notification Table timemodified BIGINT 19 null
user Table password VARCHAR 255
org Table timemodified BIGINT 19 null
grade_items Table itemtype VARCHAR 30

'mod', 'blocks', 'import', 'calculated' etc

grading_definitions Table usercreated BIGINT 19 null

The ID of the user who created this definition and is considered as its owner for access control purposes

comp_criteria Table timemodified BIGINT 19 null
feedback_completed Table id BIGINT 19 null
competency_usercompplan Table sortorder BIGINT 19 null

Relative sort order

data Table rsstitletemplate LONGTEXT 2147483647 null
block_zoola_reports_schreps Table occurrences BIGINT 19 null

Number of schedule occurrences that should take place before the schedule is disabled

goal_type_info_data_param Table value VARCHAR 32
totara_dashboard_cohort Table dashboardid BIGINT 19 null
sessions Table firstip VARCHAR 45 null
questionnaire_resp_multiple Table response_id BIGINT 19 0
external_functions Table classpath VARCHAR 255 null
feedback360_resp_assignment Table feedback360userassignmentid BIGINT 19 null
question_hints Table hint LONGTEXT 2147483647 null

The text of the feedback to be given.

scorm_seq_objective Table objectiveid VARCHAR 255
grade_items_history Table hidden BIGINT 19 0

1 is hidden, > 1 is a date to hide until (prevents viewing)

report_builder_schedule_email_systemuser Table id BIGINT 19 null
chat Table name VARCHAR 255
grade_grades_history Table id BIGINT 19 null
course Table audiencevisible SMALLINT 5 2

Audience visibility setting

prog Table idnumber VARCHAR 100
reminder_message Table deleted BIT 1 null
post Table id BIGINT 19 null
question_calculated Table id BIGINT 19 null
glossary Table scale BIGINT 19 0
report_builder Table toolbarsearch SMALLINT 5 1

Indicates if toolbarsearch should be enabled

reminder_message Table id BIGINT 19 null
catalog_search_metadata Table usermodified BIGINT 19 null
backup_trusted_files Table timeadded BIGINT 19 null

when was this content hash registered as secure

book_chapters Table timemodified BIGINT 19 0
certif Table minimumactiveperiod VARCHAR 20 null

When using fixed expiry date, calculated expiry dates must be at least this far in the future

lti_types Table createdby BIGINT 19 null
catalog Table contextid BIGINT 19 null
totara_userdata_purge_item Table id BIGINT 19 null
scorm Table autocommit BIT 1 0
lti_types Table secureicon LONGTEXT 2147483647 null

Secure URL to icon file

question_dataset_definitions Table category BIGINT 19 0
prog_completion_history Table userid BIGINT 19 0
tool_monitor_rules Table plugin VARCHAR 254

Frankenstlye name of the plguin

auth_connect_users Table serveruserid BIGINT 19 null
enrol Table customtext1 LONGTEXT 2147483647 null

Custom - general text

survey_questions Table id BIGINT 19 null
block_quicklinks Table title LONGTEXT 2147483647 null
appraisal_history Table userid BIGINT 19 null
scorm Table whatgrade BIGINT 19 0
folder Table intro LONGTEXT 2147483647 null
appraisal_stage Table appraisalid BIGINT 19 null
scorm Table revision BIGINT 19 0

revison number

competency_modulecomp Table cmid BIGINT 19 null

ID of the record in the course_modules table.

grade_categories Table keephigh BIGINT 19 0

Keep only the X highest items

facetoface Table approvalterms LONGTEXT 2147483647 null
certificate Table reportcert BIT 1 0
block_zoola_module_name Table coursemoduleid BIGINT 19 null

Course module id

user_enrolments Table timemodified BIGINT 19 0
badge_issued Table badgeid BIGINT 19 0
survey_analysis Table notes LONGTEXT 2147483647 null
scorm_scoes_track Table element VARCHAR 255
quiz_overrides Table groupid BIGINT 19 null

Foreign key references groups.id. Can be null if this is a per-user override.

resource_old Table name VARCHAR 255
totara_userdata_export_type Table id BIGINT 19 null
appraisal_review_data Table id BIGINT 19 null
label Table id BIGINT 19 null
block_zoola_notifications Table userid BIGINT 19 null

Id of user that should see Zoola notifications.

competency_templatecohort Table cohortid BIGINT 19 null
goal_type_info_field Table locked TINYINT 3 null
block_rss_client Table title LONGTEXT 2147483647 null
lti Table instructorchoicesendname BIT 1 null

Send user's name

mnet_service2rpc Table serviceid BIGINT 19 0

Unique service ID

prog Table audiencevisible SMALLINT 5 2
dp_objective_settings Table objectivescale BIGINT 19 null
workshop_submissions Table gradeover DECIMAL 10 null

Grade for the submission manually overridden by a teacher. Grade is always from interval 0..100. If NULL then the grade is not overriden.

course_info_field Table param4 LONGTEXT 2147483647 null
comments Table content LONGTEXT 2147483647 null
questionnaire_question_type Table type VARCHAR 32
lti Table instructorchoiceallowroster BIT 1 null

Allow the roster to be retrieved

auth_approved_request_snapshots Table status TINYINT 3 null
workshop_assessments Table feedbackauthorformat SMALLINT 5 0
mnet_service2rpc Table rpcid BIGINT 19 0

Unique Function ID

scorm Table intro LONGTEXT 2147483647 null
competency_evidence Table timecreated BIGINT 19 null
reminder_message Table reminderid BIGINT 19 null
dp_priority_scale_value Table usermodified BIGINT 19 null

Identifies the id of the user who last modified the scale value

lesson_timer Table completed BIT 1 0
totara_connect_clients Table clienttype VARCHAR 30

LMS or Social

portfolio_log Table caller_sha1 VARCHAR 255

sha1 of exported content as far as the caller is concerned (before the portfolio plugin gets a hold of it)

facetoface_room Table capacity BIGINT 19 0
chat Table intro LONGTEXT 2147483647 null
auth_approved_request_snapshots Table organisationfreetext LONGTEXT 2147483647 null
cohort_rules Table timemodified BIGINT 19 null
questionnaire Table closedate BIGINT 19 0

Timestamp to close access on

feedback_completed_history Table random_response BIGINT 19 0
choice Table introformat SMALLINT 5 0
cohort_rules Table modifierid BIGINT 19 null
totara_navigation_settings Table value VARCHAR 255 null
workshopform_rubric_levels Table dimensionid BIGINT 19 null

Which criterion this level is part of

message_airnotifier_devices Table enable BIT 1 1

The user can enable/disable his devices

org Table visible TINYINT 3 null
lti Table instructorchoiceallowsetting BIT 1 null

Allow a tool to store a setting

dp_competency_settings Table templateid BIGINT 19 null

Identifies the template these settings should be applied to

facetoface_notification Table managerprefix LONGTEXT 2147483647 null
imscp Table introformat SMALLINT 5 0
question_response_count Table analysisid BIGINT 19 null
feedback360_scale Table name VARCHAR 255 null
role_allow_switch Table allowswitch BIGINT 19 null

The id of a role that the user is allowed to switch to as a result of having this role.

competency_usercompcourse Table id BIGINT 19 null
my_pages Table userid BIGINT 19 0

The user who owns this page or 0 for system defaults

course_info_field Table description LONGTEXT 2147483647 null
block_totara_stats Table eventtype BIGINT 19 null
questionnaire Table grade BIGINT 19 0

Assign a grade to be received on submission.