INSERT INTO `mdl_logstore_standard_log` (`id`, `eventname`, `component`, `action`, `target`, `objecttable`, `objectid`, `crud`, `edulevel`, `contextid`, `contextlevel`, `contextinstanceid`, `userid`, `courseid`, `relateduserid`, `anonymous`, `other`, `timecreated`, `origin`, `ip`, `realuserid`) VALUES
(1146, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 5, 'r', 2, 5, 30, 2, 2, 0, 2, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/\"}', 1764417150, 'web', '0:0:0:0:0:0:0:1', NULL),
(1147, '\\tool_usertours\\event\\tour_ended', 'tool_usertours', 'ended', 'tour', 'tool_usertours_tours', 5, 'c', 2, 5, 30, 2, 2, 0, 2, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/\",\"stepid\":9,\"stepindex\":0}', 1764417194, 'web', '0:0:0:0:0:0:0:1', NULL),
(1148, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764417202, 'web', '0:0:0:0:0:0:0:1', NULL),
(1149, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764417207, 'web', '0:0:0:0:0:0:0:1', NULL),
(1150, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764417211, 'web', '0:0:0:0:0:0:0:1', NULL),
(1151, '\\core\\event\\mycourses_viewed', 'core', 'viewed', 'mycourses', NULL, NULL, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, 'null', 1764417238, 'web', '0:0:0:0:0:0:0:1', NULL),
(1152, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764417238, 'web', '0:0:0:0:0:0:0:1', NULL),
(1153, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764417247, 'web', '0:0:0:0:0:0:0:1', NULL),
(1154, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764417257, 'web', '0:0:0:0:0:0:0:1', NULL),
(1155, '\\core\\event\\course_section_created', 'core', 'created', 'course_section', 'course_sections', 1, 'c', 1, 2, 50, 1, 2, 1, NULL, 0, '{\"sectionnum\":1}', 1764417258, 'web', '0:0:0:0:0:0:0:1', NULL),
(1156, '\\core\\event\\user_list_viewed', 'core', 'viewed', 'user_list', 'course', 1, 'r', 0, 2, 50, 1, 2, 1, NULL, 0, '{\"courseshortname\":\"ISMC\",\"coursefullname\":\"Instituto Superior MC\"}', 1764417268, 'web', '0:0:0:0:0:0:0:1', NULL),
(1157, '\\core\\event\\mycourses_viewed', 'core', 'viewed', 'mycourses', NULL, NULL, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, 'null', 1764417379, 'web', '0:0:0:0:0:0:0:1', NULL),
(1158, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764417379, 'web', '0:0:0:0:0:0:0:1', NULL),
(1159, '\\core\\event\\question_category_viewed', 'core', 'viewed', 'question_category', 'question_categories', 2, 'r', 1, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764417441, 'web', '0:0:0:0:0:0:0:1', NULL),
(1160, '\\core\\event\\user_loggedout', 'core', 'loggedout', 'user', 'user', 2, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"sessionid\":\"ft62lmss1917nm5cqvmhtipv6v\"}', 1764417457, 'web', '0:0:0:0:0:0:0:1', NULL),
(1161, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 0, 1, NULL, 0, 'null', 1764417457, 'web', '0:0:0:0:0:0:0:1', NULL),
(1162, '\\core\\event\\user_loggedin', 'core', 'loggedin', 'user', 'user', 1, 'r', 0, 1, 10, 0, 1, 0, NULL, 0, '{\"username\":\"guest\",\"extrauserinfo\":[]}', 1764417479, 'web', '0:0:0:0:0:0:0:1', NULL),
(1163, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 1, 1, NULL, 0, 'null', 1764417480, 'web', '0:0:0:0:0:0:0:1', NULL),
(1164, '\\core\\event\\user_login_failed', 'core', 'failed', 'user_login', NULL, NULL, 'r', 0, 1, 10, 0, 1, 0, NULL, 0, '{\"username\":\"paulinojulio16@gmail.com\",\"reason\":1}', 1764417495, 'web', '0:0:0:0:0:0:0:1', NULL),
(1165, '\\core\\event\\user_login_failed', 'core', 'failed', 'user_login', NULL, NULL, 'r', 0, 1, 10, 0, 1, 0, NULL, 0, '{\"username\":\"paulinojulio16@gmail.com\",\"reason\":1}', 1764417506, 'web', '0:0:0:0:0:0:0:1', NULL),
(1166, '\\core\\event\\user_login_failed', 'core', 'failed', 'user_login', NULL, NULL, 'r', 0, 1, 10, 0, 1, 0, NULL, 0, '{\"username\":\"admin@pss.com\",\"reason\":1}', 1764417515, 'web', '0:0:0:0:0:0:0:1', NULL),
(1167, '\\core\\event\\user_login_failed', 'core', 'failed', 'user_login', NULL, NULL, 'r', 0, 1, 10, 0, 1, 0, NULL, 0, '{\"username\":\"paulinojulio16@gmail.com\",\"reason\":1}', 1764417525, 'web', '0:0:0:0:0:0:0:1', NULL),
(1168, '\\core\\event\\user_loggedin', 'core', 'loggedin', 'user', 'user', 2, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"username\":\"admin\",\"extrauserinfo\":[]}', 1764417746, 'web', '0:0:0:0:0:0:0:1', NULL),
(1169, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764417748, 'web', '0:0:0:0:0:0:0:1', NULL),
(1170, '\\core\\event\\mycourses_viewed', 'core', 'viewed', 'mycourses', NULL, NULL, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, 'null', 1764417762, 'web', '0:0:0:0:0:0:0:1', NULL),
(1171, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764417762, 'web', '0:0:0:0:0:0:0:1', NULL),
(1172, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764417805, 'web', '0:0:0:0:0:0:0:1', NULL),
(1173, '\\core\\event\\mycourses_viewed', 'core', 'viewed', 'mycourses', NULL, NULL, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, 'null', 1764417808, 'web', '0:0:0:0:0:0:0:1', NULL),
(1174, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764417808, 'web', '0:0:0:0:0:0:0:1', NULL),
(1175, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764417822, 'web', '0:0:0:0:0:0:0:1', NULL),
(1176, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764417945, 'web', '0:0:0:0:0:0:0:1', NULL),
(1177, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764417947, 'web', '0:0:0:0:0:0:0:1', NULL),
(1178, '\\core\\event\\user_list_viewed', 'core', 'viewed', 'user_list', 'course', 1, 'r', 0, 2, 50, 1, 2, 1, NULL, 0, '{\"courseshortname\":\"ISMC\",\"coursefullname\":\"Instituto Superior MC\"}', 1764417990, 'web', '0:0:0:0:0:0:0:1', NULL),
(1179, '\\core\\event\\question_category_viewed', 'core', 'viewed', 'question_category', 'question_categories', 2, 'r', 1, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764418015, 'web', '0:0:0:0:0:0:0:1', NULL),
(1180, '\\core\\event\\user_list_viewed', 'core', 'viewed', 'user_list', 'course', 1, 'r', 0, 2, 50, 1, 2, 1, NULL, 0, '{\"courseshortname\":\"ISMC\",\"coursefullname\":\"Instituto Superior MC\"}', 1764418031, 'web', '0:0:0:0:0:0:0:1', NULL),
(1181, '\\core\\event\\mycourses_viewed', 'core', 'viewed', 'mycourses', NULL, NULL, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, 'null', 1764418444, 'web', '0:0:0:0:0:0:0:1', NULL),
(1182, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764418444, 'web', '0:0:0:0:0:0:0:1', NULL),
(1183, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764418449, 'web', '0:0:0:0:0:0:0:1', NULL),
(1184, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764418454, 'web', '0:0:0:0:0:0:0:1', NULL),
(1185, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764418461, 'web', '0:0:0:0:0:0:0:1', NULL),
(1186, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764418576, 'web', '0:0:0:0:0:0:0:1', NULL),
(1187, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764418677, 'web', '0:0:0:0:0:0:0:1', NULL),
(1188, '\\core\\event\\mycourses_viewed', 'core', 'viewed', 'mycourses', NULL, NULL, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, 'null', 1764418686, 'web', '0:0:0:0:0:0:0:1', NULL),
(1189, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764418686, 'web', '0:0:0:0:0:0:0:1', NULL),
(1190, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764418694, 'web', '0:0:0:0:0:0:0:1', NULL),
(1191, '\\tool_langimport\\event\\langpack_imported', 'tool_langimport', 'imported', 'langpack', NULL, NULL, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"langcode\":\"pt\"}', 1764419694, 'web', '0:0:0:0:0:0:0:1', NULL),
(1192, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764419748, 'web', '0:0:0:0:0:0:0:1', NULL),
(1193, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764419751, 'web', '0:0:0:0:0:0:0:1', NULL),
(1194, '\\core\\event\\user_updated', 'core', 'updated', 'user', 'user', 2, 'u', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764419776, 'web', '0:0:0:0:0:0:0:1', NULL),
(1195, '\\core\\event\\course_viewed', 'core', 'viewed', 'course', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, NULL, 0, 'null', 1764419810, 'web', '0:0:0:0:0:0:0:1', NULL),
(1196, '\\gradereport_overview\\event\\grade_report_viewed', 'gradereport_overview', 'viewed', 'grade_report', NULL, NULL, 'r', 2, 2, 50, 1, 2, 1, 2, 0, 'null', 1764419831, 'web', '0:0:0:0:0:0:0:1', NULL),
(1197, '\\core\\event\\dashboard_viewed', 'core', 'viewed', 'dashboard', NULL, NULL, 'r', 0, 5, 30, 2, 2, 0, 2, 0, 'null', 1764419967, 'web', '0:0:0:0:0:0:0:1', NULL),
(1198, '\\core\\event\\mycourses_viewed', 'core', 'viewed', 'mycourses', NULL, NULL, 'r', 0, 1, 10, 0, 2, 0, NULL, 0, 'null', 1764419969, 'web', '0:0:0:0:0:0:0:1', NULL),
(1199, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764419969, 'web', '0:0:0:0:0:0:0:1', NULL),
(1200, '\\tool_usertours\\event\\tour_reset', 'tool_usertours', 'reset', 'tour', 'tool_usertours_tours', 4, 'c', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764420403, 'web', '0:0:0:0:0:0:0:1', NULL),
(1201, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764420404, 'web', '0:0:0:0:0:0:0:1', NULL),
(1202, '\\tool_usertours\\event\\tour_reset', 'tool_usertours', 'reset', 'tour', 'tool_usertours_tours', 4, 'c', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764420404, 'web', '0:0:0:0:0:0:0:1', NULL),
(1203, '\\tool_usertours\\event\\tour_ended', 'tool_usertours', 'ended', 'tour', 'tool_usertours_tours', 4, 'c', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\",\"stepid\":8,\"stepindex\":0}', 1764420404, 'web', '0:0:0:0:0:0:0:1', NULL),
(1204, '\\tool_usertours\\event\\tour_started', 'tool_usertours', 'started', 'tour', 'tool_usertours_tours', 4, 'r', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\"}', 1764420404, 'web', '0:0:0:0:0:0:0:1', NULL),
(1205, '\\tool_usertours\\event\\tour_ended', 'tool_usertours', 'ended', 'tour', 'tool_usertours_tours', 4, 'c', 2, 1, 10, 0, 2, 0, NULL, 0, '{\"pageurl\":\"http:\\/\\/localhost\\/moodle\\/my\\/courses.php\",\"stepid\":8,\"stepindex\":0}', 1764420405, 'web', '0:0:0:0:0:0:0:1', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_log_display`
--

CREATE TABLE `mdl_log_display` (
  `id` bigint(10) NOT NULL,
  `module` varchar(20) NOT NULL DEFAULT '',
  `action` varchar(40) NOT NULL DEFAULT '',
  `mtable` varchar(30) NOT NULL DEFAULT '',
  `field` varchar(200) NOT NULL DEFAULT '',
  `component` varchar(100) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='For a particular module/action, specifies a moodle table/fie' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_log_display`
--

INSERT INTO `mdl_log_display` (`id`, `module`, `action`, `mtable`, `field`, `component`) VALUES
(1, 'course', 'user report', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(2, 'course', 'view', 'course', 'fullname', 'moodle'),
(3, 'course', 'view section', 'course_sections', 'name', 'moodle'),
(4, 'course', 'update', 'course', 'fullname', 'moodle'),
(5, 'course', 'hide', 'course', 'fullname', 'moodle'),
(6, 'course', 'show', 'course', 'fullname', 'moodle'),
(7, 'course', 'move', 'course', 'fullname', 'moodle'),
(8, 'course', 'enrol', 'course', 'fullname', 'moodle'),
(9, 'course', 'unenrol', 'course', 'fullname', 'moodle'),
(10, 'course', 'report log', 'course', 'fullname', 'moodle'),
(11, 'course', 'report live', 'course', 'fullname', 'moodle'),
(12, 'course', 'report outline', 'course', 'fullname', 'moodle'),
(13, 'course', 'report participation', 'course', 'fullname', 'moodle'),
(14, 'course', 'report stats', 'course', 'fullname', 'moodle'),
(15, 'category', 'add', 'course_categories', 'name', 'moodle'),
(16, 'category', 'hide', 'course_categories', 'name', 'moodle'),
(17, 'category', 'move', 'course_categories', 'name', 'moodle'),
(18, 'category', 'show', 'course_categories', 'name', 'moodle'),
(19, 'category', 'update', 'course_categories', 'name', 'moodle'),
(20, 'message', 'write', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(21, 'message', 'read', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(22, 'message', 'add contact', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(23, 'message', 'remove contact', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(24, 'message', 'block contact', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(25, 'message', 'unblock contact', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(26, 'group', 'view', 'groups', 'name', 'moodle'),
(27, 'tag', 'update', 'tag', 'name', 'moodle'),
(28, 'tag', 'flag', 'tag', 'name', 'moodle'),
(29, 'user', 'view', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(30, 'assign', 'add', 'assign', 'name', 'mod_assign'),
(31, 'assign', 'delete mod', 'assign', 'name', 'mod_assign'),
(32, 'assign', 'download all submissions', 'assign', 'name', 'mod_assign'),
(33, 'assign', 'grade submission', 'assign', 'name', 'mod_assign'),
(34, 'assign', 'lock submission', 'assign', 'name', 'mod_assign'),
(35, 'assign', 'reveal identities', 'assign', 'name', 'mod_assign'),
(36, 'assign', 'revert submission to draft', 'assign', 'name', 'mod_assign'),
(37, 'assign', 'set marking workflow state', 'assign', 'name', 'mod_assign'),
(38, 'assign', 'submission statement accepted', 'assign', 'name', 'mod_assign'),
(39, 'assign', 'submit', 'assign', 'name', 'mod_assign'),
(40, 'assign', 'submit for grading', 'assign', 'name', 'mod_assign'),
(41, 'assign', 'unlock submission', 'assign', 'name', 'mod_assign'),
(42, 'assign', 'update', 'assign', 'name', 'mod_assign'),
(43, 'assign', 'upload', 'assign', 'name', 'mod_assign'),
(44, 'assign', 'view', 'assign', 'name', 'mod_assign'),
(45, 'assign', 'view all', 'course', 'fullname', 'mod_assign'),
(46, 'assign', 'view confirm submit assignment form', 'assign', 'name', 'mod_assign'),
(47, 'assign', 'view grading form', 'assign', 'name', 'mod_assign'),
(48, 'assign', 'view submission', 'assign', 'name', 'mod_assign'),
(49, 'assign', 'view submission grading table', 'assign', 'name', 'mod_assign'),
(50, 'assign', 'view submit assignment form', 'assign', 'name', 'mod_assign'),
(51, 'assign', 'view feedback', 'assign', 'name', 'mod_assign'),
(52, 'assign', 'view batch set marking workflow state', 'assign', 'name', 'mod_assign'),
(53, 'bigbluebuttonbn', 'add', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(54, 'bigbluebuttonbn', 'update', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(55, 'bigbluebuttonbn', 'view', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(56, 'bigbluebuttonbn', 'view all', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(57, 'bigbluebuttonbn', 'create', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(58, 'bigbluebuttonbn', 'end', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(59, 'bigbluebuttonbn', 'join', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(60, 'bigbluebuttonbn', 'left', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(61, 'bigbluebuttonbn', 'publish', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(62, 'bigbluebuttonbn', 'unpublish', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(63, 'bigbluebuttonbn', 'delete', 'bigbluebuttonbn', 'name', 'mod_bigbluebuttonbn'),
(64, 'book', 'add', 'book', 'name', 'mod_book'),
(65, 'book', 'update', 'book', 'name', 'mod_book'),
(66, 'book', 'view', 'book', 'name', 'mod_book'),
(67, 'book', 'add chapter', 'book_chapters', 'title', 'mod_book'),
(68, 'book', 'update chapter', 'book_chapters', 'title', 'mod_book'),
(69, 'book', 'view chapter', 'book_chapters', 'title', 'mod_book'),
(70, 'chat', 'view', 'chat', 'name', 'mod_chat'),
(71, 'chat', 'add', 'chat', 'name', 'mod_chat'),
(72, 'chat', 'update', 'chat', 'name', 'mod_chat'),
(73, 'chat', 'report', 'chat', 'name', 'mod_chat'),
(74, 'chat', 'talk', 'chat', 'name', 'mod_chat'),
(75, 'choice', 'view', 'choice', 'name', 'mod_choice'),
(76, 'choice', 'update', 'choice', 'name', 'mod_choice'),
(77, 'choice', 'add', 'choice', 'name', 'mod_choice'),
(78, 'choice', 'report', 'choice', 'name', 'mod_choice'),
(79, 'choice', 'choose', 'choice', 'name', 'mod_choice'),
(80, 'choice', 'choose again', 'choice', 'name', 'mod_choice'),
(81, 'data', 'view', 'data', 'name', 'mod_data'),
(82, 'data', 'add', 'data', 'name', 'mod_data'),
(83, 'data', 'update', 'data', 'name', 'mod_data'),
(84, 'data', 'record delete', 'data', 'name', 'mod_data'),
(85, 'data', 'fields add', 'data_fields', 'name', 'mod_data'),
(86, 'data', 'fields update', 'data_fields', 'name', 'mod_data'),
(87, 'data', 'templates saved', 'data', 'name', 'mod_data'),
(88, 'data', 'templates def', 'data', 'name', 'mod_data'),
(89, 'feedback', 'startcomplete', 'feedback', 'name', 'mod_feedback'),
(90, 'feedback', 'submit', 'feedback', 'name', 'mod_feedback'),
(91, 'feedback', 'delete', 'feedback', 'name', 'mod_feedback'),
(92, 'feedback', 'view', 'feedback', 'name', 'mod_feedback'),
(93, 'feedback', 'view all', 'course', 'shortname', 'mod_feedback'),
(94, 'folder', 'view', 'folder', 'name', 'mod_folder'),
(95, 'folder', 'view all', 'folder', 'name', 'mod_folder'),
(96, 'folder', 'update', 'folder', 'name', 'mod_folder'),
(97, 'folder', 'add', 'folder', 'name', 'mod_folder'),
(98, 'forum', 'add', 'forum', 'name', 'mod_forum'),
(99, 'forum', 'update', 'forum', 'name', 'mod_forum'),
(100, 'forum', 'add discussion', 'forum_discussions', 'name', 'mod_forum'),
(101, 'forum', 'add post', 'forum_posts', 'subject', 'mod_forum'),
(102, 'forum', 'update post', 'forum_posts', 'subject', 'mod_forum'),
(103, 'forum', 'user report', 'user', 'CONCAT(firstname, \' \', lastname)', 'mod_forum'),
(104, 'forum', 'move discussion', 'forum_discussions', 'name', 'mod_forum'),
(105, 'forum', 'view subscribers', 'forum', 'name', 'mod_forum'),
(106, 'forum', 'view discussion', 'forum_discussions', 'name', 'mod_forum'),
(107, 'forum', 'view forum', 'forum', 'name', 'mod_forum'),
(108, 'forum', 'subscribe', 'forum', 'name', 'mod_forum'),
(109, 'forum', 'unsubscribe', 'forum', 'name', 'mod_forum'),
(110, 'forum', 'pin discussion', 'forum_discussions', 'name', 'mod_forum'),
(111, 'forum', 'unpin discussion', 'forum_discussions', 'name', 'mod_forum'),
(112, 'glossary', 'add', 'glossary', 'name', 'mod_glossary'),
(113, 'glossary', 'update', 'glossary', 'name', 'mod_glossary'),
(114, 'glossary', 'view', 'glossary', 'name', 'mod_glossary'),
(115, 'glossary', 'view all', 'glossary', 'name', 'mod_glossary'),
(116, 'glossary', 'add entry', 'glossary', 'name', 'mod_glossary'),
(117, 'glossary', 'update entry', 'glossary', 'name', 'mod_glossary'),
(118, 'glossary', 'add category', 'glossary', 'name', 'mod_glossary'),
(119, 'glossary', 'update category', 'glossary', 'name', 'mod_glossary'),
(120, 'glossary', 'delete category', 'glossary', 'name', 'mod_glossary'),
(121, 'glossary', 'approve entry', 'glossary', 'name', 'mod_glossary'),
(122, 'glossary', 'disapprove entry', 'glossary', 'name', 'mod_glossary'),
(123, 'glossary', 'view entry', 'glossary_entries', 'concept', 'mod_glossary'),
(124, 'imscp', 'view', 'imscp', 'name', 'mod_imscp'),
(125, 'imscp', 'view all', 'imscp', 'name', 'mod_imscp'),
(126, 'imscp', 'update', 'imscp', 'name', 'mod_imscp'),
(127, 'imscp', 'add', 'imscp', 'name', 'mod_imscp'),
(128, 'label', 'add', 'label', 'name', 'mod_label'),
(129, 'label', 'update', 'label', 'name', 'mod_label'),
(130, 'lesson', 'start', 'lesson', 'name', 'mod_lesson'),
(131, 'lesson', 'end', 'lesson', 'name', 'mod_lesson'),
(132, 'lesson', 'view', 'lesson_pages', 'title', 'mod_lesson'),
(133, 'lti', 'view', 'lti', 'name', 'mod_lti'),
(134, 'lti', 'launch', 'lti', 'name', 'mod_lti'),
(135, 'lti', 'view all', 'lti', 'name', 'mod_lti'),
(136, 'page', 'view', 'page', 'name', 'mod_page'),
(137, 'page', 'view all', 'page', 'name', 'mod_page'),
(138, 'page', 'update', 'page', 'name', 'mod_page'),
(139, 'page', 'add', 'page', 'name', 'mod_page'),
(140, 'quiz', 'add', 'quiz', 'name', 'mod_quiz'),
(141, 'quiz', 'update', 'quiz', 'name', 'mod_quiz'),
(142, 'quiz', 'view', 'quiz', 'name', 'mod_quiz'),
(143, 'quiz', 'report', 'quiz', 'name', 'mod_quiz'),
(144, 'quiz', 'attempt', 'quiz', 'name', 'mod_quiz'),
(145, 'quiz', 'submit', 'quiz', 'name', 'mod_quiz'),
(146, 'quiz', 'review', 'quiz', 'name', 'mod_quiz'),
(147, 'quiz', 'editquestions', 'quiz', 'name', 'mod_quiz'),
(148, 'quiz', 'preview', 'quiz', 'name', 'mod_quiz'),
(149, 'quiz', 'start attempt', 'quiz', 'name', 'mod_quiz'),
(150, 'quiz', 'close attempt', 'quiz', 'name', 'mod_quiz'),
(151, 'quiz', 'continue attempt', 'quiz', 'name', 'mod_quiz'),
(152, 'quiz', 'edit override', 'quiz', 'name', 'mod_quiz'),
(153, 'quiz', 'delete override', 'quiz', 'name', 'mod_quiz'),
(154, 'quiz', 'view summary', 'quiz', 'name', 'mod_quiz'),
(155, 'resource', 'view', 'resource', 'name', 'mod_resource'),
(156, 'resource', 'view all', 'resource', 'name', 'mod_resource'),
(157, 'resource', 'update', 'resource', 'name', 'mod_resource'),
(158, 'resource', 'add', 'resource', 'name', 'mod_resource'),
(159, 'scorm', 'view', 'scorm', 'name', 'mod_scorm'),
(160, 'scorm', 'review', 'scorm', 'name', 'mod_scorm'),
(161, 'scorm', 'update', 'scorm', 'name', 'mod_scorm'),
(162, 'scorm', 'add', 'scorm', 'name', 'mod_scorm'),
(163, 'survey', 'add', 'survey', 'name', 'mod_survey'),
(164, 'survey', 'update', 'survey', 'name', 'mod_survey'),
(165, 'survey', 'download', 'survey', 'name', 'mod_survey'),
(166, 'survey', 'view form', 'survey', 'name', 'mod_survey'),
(167, 'survey', 'view graph', 'survey', 'name', 'mod_survey'),
(168, 'survey', 'view report', 'survey', 'name', 'mod_survey'),
(169, 'survey', 'submit', 'survey', 'name', 'mod_survey'),
(170, 'url', 'view', 'url', 'name', 'mod_url'),
(171, 'url', 'view all', 'url', 'name', 'mod_url'),
(172, 'url', 'update', 'url', 'name', 'mod_url'),
(173, 'url', 'add', 'url', 'name', 'mod_url'),
(174, 'workshop', 'add', 'workshop', 'name', 'mod_workshop'),
(175, 'workshop', 'update', 'workshop', 'name', 'mod_workshop'),
(176, 'workshop', 'view', 'workshop', 'name', 'mod_workshop'),
(177, 'workshop', 'view all', 'workshop', 'name', 'mod_workshop'),
(178, 'workshop', 'add submission', 'workshop_submissions', 'title', 'mod_workshop'),
(179, 'workshop', 'update submission', 'workshop_submissions', 'title', 'mod_workshop'),
(180, 'workshop', 'view submission', 'workshop_submissions', 'title', 'mod_workshop'),
(181, 'workshop', 'add assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(182, 'workshop', 'update assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(183, 'workshop', 'add example', 'workshop_submissions', 'title', 'mod_workshop'),
(184, 'workshop', 'update example', 'workshop_submissions', 'title', 'mod_workshop'),
(185, 'workshop', 'view example', 'workshop_submissions', 'title', 'mod_workshop'),
(186, 'workshop', 'add reference assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(187, 'workshop', 'update reference assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(188, 'workshop', 'add example assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(189, 'workshop', 'update example assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(190, 'workshop', 'update aggregate grades', 'workshop', 'name', 'mod_workshop'),
(191, 'workshop', 'update clear aggregated grades', 'workshop', 'name', 'mod_workshop'),
(192, 'workshop', 'update clear assessments', 'workshop', 'name', 'mod_workshop'),
(193, 'book', 'exportimscp', 'book', 'name', 'booktool_exportimscp'),
(194, 'book', 'print', 'book', 'name', 'booktool_print'),
(195, 'book', 'print chapter', 'book_chapters', 'title', 'booktool_print');

-- --------------------------------------------------------

--
-- Table structure for table `mdl_log_queries`
--

CREATE TABLE `mdl_log_queries` (
  `id` bigint(10) NOT NULL,
  `qtype` mediumint(5) NOT NULL,
  `sqltext` longtext NOT NULL,
  `sqlparams` longtext DEFAULT NULL,
  `error` mediumint(5) NOT NULL DEFAULT 0,
  `info` longtext DEFAULT NULL,
  `backtrace` longtext DEFAULT NULL,
  `exectime` decimal(10,5) NOT NULL,
  `timelogged` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Logged database queries.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti`
--

CREATE TABLE `mdl_lti` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext DEFAULT NULL,
  `introformat` smallint(4) DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `typeid` bigint(10) DEFAULT NULL,
  `toolurl` longtext NOT NULL,
  `securetoolurl` longtext DEFAULT NULL,
  `instructorchoicesendname` tinyint(1) DEFAULT NULL,
  `instructorchoicesendemailaddr` tinyint(1) DEFAULT NULL,
  `instructorchoiceallowroster` tinyint(1) DEFAULT NULL,
  `instructorchoiceallowsetting` tinyint(1) DEFAULT NULL,
  `instructorcustomparameters` longtext DEFAULT NULL,
  `instructorchoiceacceptgrades` tinyint(1) DEFAULT NULL,
  `grade` bigint(10) NOT NULL DEFAULT 100,
  `launchcontainer` tinyint(2) NOT NULL DEFAULT 1,
  `resourcekey` varchar(255) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `debuglaunch` tinyint(1) NOT NULL DEFAULT 0,
  `showtitlelaunch` tinyint(1) NOT NULL DEFAULT 0,
  `showdescriptionlaunch` tinyint(1) NOT NULL DEFAULT 0,
  `servicesalt` varchar(40) DEFAULT NULL,
  `icon` longtext DEFAULT NULL,
  `secureicon` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table contains Basic LTI activities instances' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_ltiservice_gradebookservices`
--

CREATE TABLE `mdl_ltiservice_gradebookservices` (
  `id` bigint(10) NOT NULL,
  `gradeitemid` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL,
  `toolproxyid` bigint(10) DEFAULT NULL,
  `typeid` bigint(10) DEFAULT NULL,
  `baseurl` longtext DEFAULT NULL,
  `ltilinkid` bigint(10) DEFAULT NULL,
  `resourceid` varchar(512) DEFAULT NULL,
  `tag` varchar(255) DEFAULT NULL,
  `subreviewurl` longtext DEFAULT NULL,
  `subreviewparams` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This file records the grade items created by the LTI Gradebo' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti_access_tokens`
--

CREATE TABLE `mdl_lti_access_tokens` (
  `id` bigint(10) NOT NULL,
  `typeid` bigint(10) NOT NULL,
  `scope` longtext NOT NULL,
  `token` varchar(128) NOT NULL DEFAULT '',
  `validuntil` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `lastaccess` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Security tokens for accessing of LTI services' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti_coursevisible`
--

CREATE TABLE `mdl_lti_coursevisible` (
  `id` bigint(10) NOT NULL,
  `typeid` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL,
  `coursevisible` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to store coursevisible setting for site tool on course' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti_submission`
--

CREATE TABLE `mdl_lti_submission` (
  `id` bigint(10) NOT NULL,
  `ltiid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `datesubmitted` bigint(10) NOT NULL,
  `dateupdated` bigint(10) NOT NULL,
  `gradepercent` decimal(10,5) NOT NULL,
  `originalgrade` decimal(10,5) NOT NULL,
  `launchid` bigint(10) NOT NULL,
  `state` tinyint(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Keeps track of individual submissions for LTI activities.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti_tool_proxies`
--

CREATE TABLE `mdl_lti_tool_proxies` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT 'Tool Provider',
  `regurl` longtext DEFAULT NULL,
  `state` tinyint(2) NOT NULL DEFAULT 1,
  `guid` varchar(255) DEFAULT NULL,
  `secret` varchar(255) DEFAULT NULL,
  `vendorcode` varchar(255) DEFAULT NULL,
  `capabilityoffered` longtext NOT NULL,
  `serviceoffered` longtext NOT NULL,
  `toolproxy` longtext DEFAULT NULL,
  `createdby` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='LTI tool proxy registrations' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti_tool_settings`
--

CREATE TABLE `mdl_lti_tool_settings` (
  `id` bigint(10) NOT NULL,
  `toolproxyid` bigint(10) NOT NULL,
  `typeid` bigint(10) DEFAULT NULL,
  `course` bigint(10) DEFAULT NULL,
  `coursemoduleid` bigint(10) DEFAULT NULL,
  `settings` longtext NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='LTI tool setting values' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti_types`
--

CREATE TABLE `mdl_lti_types` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT 'basiclti Activity',
  `baseurl` longtext NOT NULL,
  `tooldomain` varchar(255) NOT NULL DEFAULT '',
  `state` tinyint(2) NOT NULL DEFAULT 2,
  `course` bigint(10) NOT NULL,
  `coursevisible` tinyint(1) NOT NULL DEFAULT 0,
  `ltiversion` varchar(10) NOT NULL DEFAULT '',
  `clientid` varchar(255) DEFAULT NULL,
  `toolproxyid` bigint(10) DEFAULT NULL,
  `enabledcapability` longtext DEFAULT NULL,
  `parameter` longtext DEFAULT NULL,
  `icon` longtext DEFAULT NULL,
  `secureicon` longtext DEFAULT NULL,
  `createdby` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `description` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Basic LTI pre-configured activities' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti_types_categories`
--

CREATE TABLE `mdl_lti_types_categories` (
  `id` bigint(10) NOT NULL,
  `typeid` bigint(10) NOT NULL,
  `categoryid` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Link LTI types to course categories' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_lti_types_config`
--

CREATE TABLE `mdl_lti_types_config` (
  `id` bigint(10) NOT NULL,
  `typeid` bigint(10) NOT NULL,
  `name` varchar(100) NOT NULL DEFAULT '',
  `value` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Basic LTI types configuration' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_matrix_room`
--

CREATE TABLE `mdl_matrix_room` (
  `id` bigint(10) NOT NULL,
  `commid` bigint(10) NOT NULL,
  `roomid` varchar(255) DEFAULT NULL,
  `topic` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores the matrix room information associated with the commu' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message`
--

CREATE TABLE `mdl_message` (
  `id` bigint(10) NOT NULL,
  `useridfrom` bigint(10) NOT NULL DEFAULT 0,
  `useridto` bigint(10) NOT NULL DEFAULT 0,
  `subject` longtext DEFAULT NULL,
  `fullmessage` longtext DEFAULT NULL,
  `fullmessageformat` smallint(4) DEFAULT 0,
  `fullmessagehtml` longtext DEFAULT NULL,
  `smallmessage` longtext DEFAULT NULL,
  `notification` tinyint(1) DEFAULT 0,
  `contexturl` longtext DEFAULT NULL,
  `contexturlname` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timeuserfromdeleted` bigint(10) NOT NULL DEFAULT 0,
  `timeusertodeleted` bigint(10) NOT NULL DEFAULT 0,
  `component` varchar(100) DEFAULT NULL,
  `eventtype` varchar(100) DEFAULT NULL,
  `customdata` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores all unread messages' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_messageinbound_datakeys`
--

CREATE TABLE `mdl_messageinbound_datakeys` (
  `id` bigint(10) NOT NULL,
  `handler` bigint(10) NOT NULL,
  `datavalue` bigint(10) NOT NULL,
  `datakey` varchar(64) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `expires` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Inbound Message data item secret keys.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_messageinbound_handlers`
--

CREATE TABLE `mdl_messageinbound_handlers` (
  `id` bigint(10) NOT NULL,
  `component` varchar(100) NOT NULL DEFAULT '',
  `classname` varchar(255) NOT NULL DEFAULT '',
  `defaultexpiration` bigint(10) NOT NULL DEFAULT 86400,
  `validateaddress` tinyint(1) NOT NULL DEFAULT 1,
  `enabled` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Inbound Message Handler definitions.' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_messageinbound_handlers`
--

INSERT INTO `mdl_messageinbound_handlers` (`id`, `component`, `classname`, `defaultexpiration`, `validateaddress`, `enabled`) VALUES
(1, 'core', '\\core\\message\\inbound\\private_files_handler', 0, 1, 0),
(2, 'mod_forum', '\\mod_forum\\message\\inbound\\reply_handler', 604800, 1, 0),
(3, 'tool_messageinbound', '\\tool_messageinbound\\message\\inbound\\invalid_recipient_handler', 604800, 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_messageinbound_messagelist`
--

CREATE TABLE `mdl_messageinbound_messagelist` (
  `id` bigint(10) NOT NULL,
  `messageid` longtext NOT NULL,
  `userid` bigint(10) NOT NULL,
  `address` longtext NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='A list of message IDs for existing replies' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_messages`
--

CREATE TABLE `mdl_messages` (
  `id` bigint(10) NOT NULL,
  `useridfrom` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `subject` longtext DEFAULT NULL,
  `fullmessage` longtext DEFAULT NULL,
  `fullmessageformat` tinyint(1) NOT NULL DEFAULT 0,
  `fullmessagehtml` longtext DEFAULT NULL,
  `smallmessage` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `fullmessagetrust` tinyint(2) NOT NULL DEFAULT 0,
  `customdata` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores all messages' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_airnotifier_devices`
--

CREATE TABLE `mdl_message_airnotifier_devices` (
  `id` bigint(10) NOT NULL,
  `userdeviceid` bigint(10) NOT NULL,
  `enable` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Store information about the devices registered in Airnotifie' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_contacts`
--

CREATE TABLE `mdl_message_contacts` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `contactid` bigint(10) NOT NULL,
  `timecreated` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Maintains lists of contacts between users' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_contact_requests`
--

CREATE TABLE `mdl_message_contact_requests` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `requesteduserid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Maintains list of contact requests between users' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_conversations`
--

CREATE TABLE `mdl_message_conversations` (
  `id` bigint(10) NOT NULL,
  `type` bigint(10) NOT NULL DEFAULT 1,
  `name` varchar(255) DEFAULT NULL,
  `convhash` varchar(40) DEFAULT NULL,
  `component` varchar(100) DEFAULT NULL,
  `itemtype` varchar(100) DEFAULT NULL,
  `itemid` bigint(10) DEFAULT NULL,
  `contextid` bigint(10) DEFAULT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores all message conversations' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_conversation_actions`
--

CREATE TABLE `mdl_message_conversation_actions` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `action` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores all per-user actions on individual conversations' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_conversation_members`
--

CREATE TABLE `mdl_message_conversation_members` (
  `id` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores all members in a conversations' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_email_messages`
--

CREATE TABLE `mdl_message_email_messages` (
  `id` bigint(10) NOT NULL,
  `useridto` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `messageid` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Keeps track of what emails to send in an email digest' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_popup`
--

CREATE TABLE `mdl_message_popup` (
  `id` bigint(10) NOT NULL,
  `messageid` bigint(10) NOT NULL,
  `isread` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Keep state of notifications for the popup message processor' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_popup_notifications`
--

CREATE TABLE `mdl_message_popup_notifications` (
  `id` bigint(10) NOT NULL,
  `notificationid` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of notifications to display in the message output popup' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_processors`
--

CREATE TABLE `mdl_message_processors` (
  `id` bigint(10) NOT NULL,
  `name` varchar(166) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of message output plugins' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_message_processors`
--

INSERT INTO `mdl_message_processors` (`id`, `name`, `enabled`) VALUES
(1, 'airnotifier', 1),
(2, 'email', 1),
(3, 'popup', 1);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_providers`
--

CREATE TABLE `mdl_message_providers` (
  `id` bigint(10) NOT NULL,
  `name` varchar(100) NOT NULL DEFAULT '',
  `component` varchar(200) NOT NULL DEFAULT '',
  `capability` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table stores the message providers (modules and core sy' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_message_providers`
--

INSERT INTO `mdl_message_providers` (`id`, `name`, `component`, `capability`) VALUES
(1, 'newlogin', 'moodle', NULL),
(2, 'notices', 'moodle', 'moodle/site:config'),
(3, 'errors', 'moodle', 'moodle/site:config'),
(4, 'availableupdate', 'moodle', 'moodle/site:config'),
(5, 'instantmessage', 'moodle', NULL),
(6, 'backup', 'moodle', 'moodle/site:config'),
(7, 'courserequested', 'moodle', 'moodle/site:approvecourse'),
(8, 'courserequestapproved', 'moodle', 'moodle/course:request'),
(9, 'courserequestrejected', 'moodle', 'moodle/course:request'),
(10, 'coursecompleted', 'moodle', NULL),
(11, 'coursecontentupdated', 'moodle', NULL),
(12, 'badgerecipientnotice', 'moodle', 'moodle/badges:earnbadge'),
(13, 'badgecreatornotice', 'moodle', NULL),
(14, 'competencyplancomment', 'moodle', NULL),
(15, 'competencyusercompcomment', 'moodle', NULL),
(16, 'insights', 'moodle', NULL),
(17, 'messagecontactrequests', 'moodle', NULL),
(18, 'asyncbackupnotification', 'moodle', NULL),
(19, 'gradenotifications', 'moodle', NULL),
(20, 'infected', 'moodle', 'moodle/site:config'),
(21, 'reportbuilderschedule', 'moodle', NULL),
(22, 'assign_notification', 'mod_assign', NULL),
(23, 'recording_ready', 'mod_bigbluebuttonbn', NULL),
(24, 'instance_updated', 'mod_bigbluebuttonbn', NULL),
(25, 'submission', 'mod_feedback', NULL),
(26, 'message', 'mod_feedback', NULL),
(27, 'posts', 'mod_forum', NULL),
(28, 'digests', 'mod_forum', NULL),
(29, 'graded_essay', 'mod_lesson', NULL),
(30, 'submission', 'mod_quiz', 'mod/quiz:emailnotifysubmission'),
(31, 'confirmation', 'mod_quiz', 'mod/quiz:emailconfirmsubmission'),
(32, 'attempt_overdue', 'mod_quiz', 'mod/quiz:emailwarnoverdue'),
(33, 'attempt_grading_complete', 'mod_quiz', 'mod/quiz:emailnotifyattemptgraded'),
(34, 'flatfile_enrolment', 'enrol_flatfile', NULL),
(35, 'imsenterprise_enrolment', 'enrol_imsenterprise', NULL),
(36, 'expiry_notification', 'enrol_manual', NULL),
(37, 'paypal_enrolment', 'enrol_paypal', NULL),
(38, 'expiry_notification', 'enrol_self', NULL),
(39, 'contactdataprotectionofficer', 'tool_dataprivacy', 'tool/dataprivacy:managedatarequests'),
(40, 'datarequestprocessingresults', 'tool_dataprivacy', NULL),
(41, 'notifyexceptions', 'tool_dataprivacy', 'tool/dataprivacy:managedatarequests'),
(42, 'invalidrecipienthandler', 'tool_messageinbound', NULL),
(43, 'messageprocessingerror', 'tool_messageinbound', NULL),
(44, 'messageprocessingsuccess', 'tool_messageinbound', NULL),
(45, 'notification', 'tool_monitor', 'tool/monitor:subscribe');

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_read`
--

CREATE TABLE `mdl_message_read` (
  `id` bigint(10) NOT NULL,
  `useridfrom` bigint(10) NOT NULL DEFAULT 0,
  `useridto` bigint(10) NOT NULL DEFAULT 0,
  `subject` longtext DEFAULT NULL,
  `fullmessage` longtext DEFAULT NULL,
  `fullmessageformat` smallint(4) DEFAULT 0,
  `fullmessagehtml` longtext DEFAULT NULL,
  `smallmessage` longtext DEFAULT NULL,
  `notification` tinyint(1) DEFAULT 0,
  `contexturl` longtext DEFAULT NULL,
  `contexturlname` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timeread` bigint(10) NOT NULL DEFAULT 0,
  `timeuserfromdeleted` bigint(10) NOT NULL DEFAULT 0,
  `timeusertodeleted` bigint(10) NOT NULL DEFAULT 0,
  `component` varchar(100) DEFAULT NULL,
  `eventtype` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores all messages that have been read' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_users_blocked`
--

CREATE TABLE `mdl_message_users_blocked` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `blockeduserid` bigint(10) NOT NULL,
  `timecreated` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Maintains lists of blocked users' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_message_user_actions`
--

CREATE TABLE `mdl_message_user_actions` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `messageid` bigint(10) NOT NULL,
  `action` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores all per-user actions on individual messages' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnetservice_enrol_courses`
--

CREATE TABLE `mdl_mnetservice_enrol_courses` (
  `id` bigint(10) NOT NULL,
  `hostid` bigint(10) NOT NULL,
  `remoteid` bigint(10) NOT NULL,
  `categoryid` bigint(10) NOT NULL,
  `categoryname` varchar(255) NOT NULL DEFAULT '',
  `sortorder` bigint(10) NOT NULL DEFAULT 0,
  `fullname` varchar(254) NOT NULL DEFAULT '',
  `shortname` varchar(100) NOT NULL DEFAULT '',
  `idnumber` varchar(100) NOT NULL DEFAULT '',
  `summary` longtext NOT NULL,
  `summaryformat` smallint(3) DEFAULT 0,
  `startdate` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL,
  `rolename` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Caches the information fetched via XML-RPC about courses on ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnetservice_enrol_enrolments`
--

CREATE TABLE `mdl_mnetservice_enrol_enrolments` (
  `id` bigint(10) NOT NULL,
  `hostid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `remotecourseid` bigint(10) NOT NULL,
  `rolename` varchar(255) NOT NULL DEFAULT '',
  `enroltime` bigint(10) NOT NULL DEFAULT 0,
  `enroltype` varchar(20) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Caches the information about enrolments of our local users i' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_application`
--

CREATE TABLE `mdl_mnet_application` (
  `id` bigint(10) NOT NULL,
  `name` varchar(50) NOT NULL DEFAULT '',
  `display_name` varchar(50) NOT NULL DEFAULT '',
  `xmlrpc_server_url` varchar(255) NOT NULL DEFAULT '',
  `sso_land_url` varchar(255) NOT NULL DEFAULT '',
  `sso_jump_url` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Information about applications on remote hosts' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_mnet_application`
--

INSERT INTO `mdl_mnet_application` (`id`, `name`, `display_name`, `xmlrpc_server_url`, `sso_land_url`, `sso_jump_url`) VALUES
(1, 'moodle', 'Moodle', '/mnet/xmlrpc/server.php', '/auth/mnet/land.php', '/auth/mnet/jump.php'),
(2, 'mahara', 'Mahara', '/api/xmlrpc/server.php', '/auth/xmlrpc/land.php', '/auth/xmlrpc/jump.php');

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_host`
--

CREATE TABLE `mdl_mnet_host` (
  `id` bigint(10) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT 0,
  `wwwroot` varchar(255) NOT NULL DEFAULT '',
  `ip_address` varchar(45) NOT NULL DEFAULT '',
  `name` varchar(80) NOT NULL DEFAULT '',
  `public_key` longtext NOT NULL,
  `public_key_expires` bigint(10) NOT NULL DEFAULT 0,
  `transport` tinyint(2) NOT NULL DEFAULT 0,
  `portno` mediumint(5) NOT NULL DEFAULT 0,
  `last_connect_time` bigint(10) NOT NULL DEFAULT 0,
  `last_log_id` bigint(10) NOT NULL DEFAULT 0,
  `force_theme` tinyint(1) NOT NULL DEFAULT 0,
  `theme` varchar(100) DEFAULT NULL,
  `applicationid` bigint(10) NOT NULL DEFAULT 1,
  `sslverification` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Information about the local and remote hosts for RPC' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_mnet_host`
--

INSERT INTO `mdl_mnet_host` (`id`, `deleted`, `wwwroot`, `ip_address`, `name`, `public_key`, `public_key_expires`, `transport`, `portno`, `last_connect_time`, `last_log_id`, `force_theme`, `theme`, `applicationid`, `sslverification`) VALUES
(1, 0, 'http://localhost/moodle', '::1', '', '', 0, 0, 0, 0, 0, 0, NULL, 1, 0),
(2, 0, '', '', 'All Hosts', '', 0, 0, 0, 0, 0, 0, NULL, 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_host2service`
--

CREATE TABLE `mdl_mnet_host2service` (
  `id` bigint(10) NOT NULL,
  `hostid` bigint(10) NOT NULL DEFAULT 0,
  `serviceid` bigint(10) NOT NULL DEFAULT 0,
  `publish` tinyint(1) NOT NULL DEFAULT 0,
  `subscribe` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Information about the services for a given host' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_log`
--

CREATE TABLE `mdl_mnet_log` (
  `id` bigint(10) NOT NULL,
  `hostid` bigint(10) NOT NULL DEFAULT 0,
  `remoteid` bigint(10) NOT NULL DEFAULT 0,
  `time` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `ip` varchar(45) NOT NULL DEFAULT '',
  `course` bigint(10) NOT NULL DEFAULT 0,
  `coursename` varchar(40) NOT NULL DEFAULT '',
  `module` varchar(20) NOT NULL DEFAULT '',
  `cmid` bigint(10) NOT NULL DEFAULT 0,
  `action` varchar(40) NOT NULL DEFAULT '',
  `url` varchar(100) NOT NULL DEFAULT '',
  `info` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Store session data from users migrating to other sites' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_remote_rpc`
--

CREATE TABLE `mdl_mnet_remote_rpc` (
  `id` bigint(10) NOT NULL,
  `functionname` varchar(40) NOT NULL DEFAULT '',
  `xmlrpcpath` varchar(80) NOT NULL DEFAULT '',
  `plugintype` varchar(20) NOT NULL DEFAULT '',
  `pluginname` varchar(20) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table describes functions that might be called remotely' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_mnet_remote_rpc`
--

INSERT INTO `mdl_mnet_remote_rpc` (`id`, `functionname`, `xmlrpcpath`, `plugintype`, `pluginname`, `enabled`) VALUES
(1, 'user_authorise', 'auth/mnet/auth.php/user_authorise', 'auth', 'mnet', 1),
(2, 'keepalive_server', 'auth/mnet/auth.php/keepalive_server', 'auth', 'mnet', 1),
(3, 'kill_children', 'auth/mnet/auth.php/kill_children', 'auth', 'mnet', 1),
(4, 'refresh_log', 'auth/mnet/auth.php/refresh_log', 'auth', 'mnet', 1),
(5, 'fetch_user_image', 'auth/mnet/auth.php/fetch_user_image', 'auth', 'mnet', 1),
(6, 'fetch_theme_info', 'auth/mnet/auth.php/fetch_theme_info', 'auth', 'mnet', 1),
(7, 'update_enrolments', 'auth/mnet/auth.php/update_enrolments', 'auth', 'mnet', 1),
(8, 'keepalive_client', 'auth/mnet/auth.php/keepalive_client', 'auth', 'mnet', 1),
(9, 'kill_child', 'auth/mnet/auth.php/kill_child', 'auth', 'mnet', 1),
(10, 'available_courses', 'enrol/mnet/enrol.php/available_courses', 'enrol', 'mnet', 1),
(11, 'user_enrolments', 'enrol/mnet/enrol.php/user_enrolments', 'enrol', 'mnet', 1),
(12, 'enrol_user', 'enrol/mnet/enrol.php/enrol_user', 'enrol', 'mnet', 1),
(13, 'unenrol_user', 'enrol/mnet/enrol.php/unenrol_user', 'enrol', 'mnet', 1),
(14, 'course_enrolments', 'enrol/mnet/enrol.php/course_enrolments', 'enrol', 'mnet', 1),
(15, 'send_content_intent', 'portfolio/mahara/lib.php/send_content_intent', 'portfolio', 'mahara', 1),
(16, 'send_content_ready', 'portfolio/mahara/lib.php/send_content_ready', 'portfolio', 'mahara', 1);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_remote_service2rpc`
--

CREATE TABLE `mdl_mnet_remote_service2rpc` (
  `id` bigint(10) NOT NULL,
  `serviceid` bigint(10) NOT NULL DEFAULT 0,
  `rpcid` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Group functions or methods under a service' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_mnet_remote_service2rpc`
--

INSERT INTO `mdl_mnet_remote_service2rpc` (`id`, `serviceid`, `rpcid`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 2, 8),
(9, 2, 9),
(10, 3, 10),
(11, 3, 11),
(12, 3, 12),
(13, 3, 13),
(14, 3, 14),
(15, 4, 15),
(16, 4, 16);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_rpc`
--

CREATE TABLE `mdl_mnet_rpc` (
  `id` bigint(10) NOT NULL,
  `functionname` varchar(40) NOT NULL DEFAULT '',
  `xmlrpcpath` varchar(80) NOT NULL DEFAULT '',
  `plugintype` varchar(20) NOT NULL DEFAULT '',
  `pluginname` varchar(20) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `help` longtext NOT NULL,
  `profile` longtext NOT NULL,
  `filename` varchar(100) NOT NULL DEFAULT '',
  `classname` varchar(150) DEFAULT NULL,
  `static` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Functions or methods that we may publish or subscribe to' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_mnet_rpc`
--

INSERT INTO `mdl_mnet_rpc` (`id`, `functionname`, `xmlrpcpath`, `plugintype`, `pluginname`, `enabled`, `help`, `profile`, `filename`, `classname`, `static`) VALUES
(1, 'user_authorise', 'auth/mnet/auth.php/user_authorise', 'auth', 'mnet', 1, 'Return user data for the provided token, compare with user_agent string.', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:5:\"token\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:37:\"The unique ID provided by remotehost.\";}i:1;a:3:{s:4:\"name\";s:9:\"useragent\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:18:\"User Agent string.\";}}s:6:\"return\";a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:44:\"$userdata Array of user info for remote host\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(2, 'keepalive_server', 'auth/mnet/auth.php/keepalive_server', 'auth', 'mnet', 1, 'Receives an array of usernames from a remote machine and prods their\nsessions to keep them alive', 'a:2:{s:10:\"parameters\";a:1:{i:0;a:3:{s:4:\"name\";s:5:\"array\";s:4:\"type\";s:5:\"array\";s:11:\"description\";s:21:\"An array of usernames\";}}s:6:\"return\";a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:28:\"\"All ok\" or an error message\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(3, 'kill_children', 'auth/mnet/auth.php/kill_children', 'auth', 'mnet', 1, 'The IdP uses this function to kill child sessions on other hosts', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:28:\"Username for session to kill\";}i:1;a:3:{s:4:\"name\";s:9:\"useragent\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:35:\"SHA1 hash of user agent to look for\";}}s:6:\"return\";a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:39:\"A plaintext report of what has happened\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(4, 'refresh_log', 'auth/mnet/auth.php/refresh_log', 'auth', 'mnet', 1, 'Receives an array of log entries from an SP and adds them to the mnet_log\ntable', 'a:2:{s:10:\"parameters\";a:1:{i:0;a:3:{s:4:\"name\";s:5:\"array\";s:4:\"type\";s:5:\"array\";s:11:\"description\";s:21:\"An array of usernames\";}}s:6:\"return\";a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:28:\"\"All ok\" or an error message\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(5, 'fetch_user_image', 'auth/mnet/auth.php/fetch_user_image', 'auth', 'mnet', 1, 'Returns the user\'s profile image info\nIf the user exists and has a profile picture, the returned array will contain keys:\nf1          - the content of the default 100x100px image\nf1_mimetype - the mimetype of the f1 file\nf2          - the content of the 35x35px variant of the image\nf2_mimetype - the mimetype of the f2 file\nThe mimetype information was added in Moodle 2.0. In Moodle 1.x, images are always jpegs.', 'a:2:{s:10:\"parameters\";a:1:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:3:\"int\";s:11:\"description\";s:18:\"The id of the user\";}}s:6:\"return\";a:2:{s:4:\"type\";s:11:\"false|array\";s:11:\"description\";s:84:\"false if user not found, empty array if no picture exists, array with data otherwise\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(6, 'fetch_theme_info', 'auth/mnet/auth.php/fetch_theme_info', 'auth', 'mnet', 1, 'Returns the theme information and logo url as strings.', 'a:2:{s:10:\"parameters\";a:0:{}s:6:\"return\";a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:14:\"The theme info\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(7, 'update_enrolments', 'auth/mnet/auth.php/update_enrolments', 'auth', 'mnet', 1, 'Invoke this function _on_ the IDP to update it with enrolment info local to\nthe SP right after calling user_authorise()\nNormally called by the SP after calling user_authorise()', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:12:\"The username\";}i:1;a:3:{s:4:\"name\";s:7:\"courses\";s:4:\"type\";s:5:\"array\";s:11:\"description\";s:75:\"Assoc array of courses following the structure of mnetservice_enrol_courses\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"bool\";s:11:\"description\";s:0:\"\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(8, 'keepalive_client', 'auth/mnet/auth.php/keepalive_client', 'auth', 'mnet', 1, 'Poll the IdP server to let it know that a user it has authenticated is still\nonline', 'a:2:{s:10:\"parameters\";a:0:{}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"void\";s:11:\"description\";s:0:\"\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(9, 'kill_child', 'auth/mnet/auth.php/kill_child', 'auth', 'mnet', 1, 'When the IdP requests that child sessions are terminated,\nthis function will be called on each of the child hosts. The machine that\ncalls the function (over xmlrpc) provides us with the mnethostid we need.', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:28:\"Username for session to kill\";}i:1;a:3:{s:4:\"name\";s:9:\"useragent\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:35:\"SHA1 hash of user agent to look for\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"bool\";s:11:\"description\";s:15:\"True on success\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(10, 'available_courses', 'enrol/mnet/enrol.php/available_courses', 'enrol', 'mnet', 1, 'Returns list of courses that we offer to the caller for remote enrolment of their users\nSince Moodle 2.0, courses are made available for MNet peers by creating an instance\nof enrol_mnet plugin for the course. Hidden courses are not returned. If there are two\ninstances - one specific for the host and one for \'All hosts\', the setting of the specific\none is used. The id of the peer is kept in customint1, no other custom fields are used.', 'a:2:{s:10:\"parameters\";a:0:{}s:6:\"return\";a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:0:\"\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(11, 'user_enrolments', 'enrol/mnet/enrol.php/user_enrolments', 'enrol', 'mnet', 1, 'This method has never been implemented in Moodle MNet API', 'a:2:{s:10:\"parameters\";a:0:{}s:6:\"return\";a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:11:\"empty array\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(12, 'enrol_user', 'enrol/mnet/enrol.php/enrol_user', 'enrol', 'mnet', 1, 'Enrol remote user to our course\nIf we do not have local record for the remote user in our database,\nit gets created here.', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"userdata\";s:4:\"type\";s:5:\"array\";s:11:\"description\";s:43:\"user details {@see mnet_fields_to_import()}\";}i:1;a:3:{s:4:\"name\";s:8:\"courseid\";s:4:\"type\";s:3:\"int\";s:11:\"description\";s:19:\"our local course id\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"bool\";s:11:\"description\";s:69:\"true if the enrolment has been successful, throws exception otherwise\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(13, 'unenrol_user', 'enrol/mnet/enrol.php/unenrol_user', 'enrol', 'mnet', 1, 'Unenrol remote user from our course\nOnly users enrolled via enrol_mnet plugin can be unenrolled remotely. If the\nremote user is enrolled into the local course via some other enrol plugin\n(enrol_manual for example), the remote host can\'t touch such enrolment. Please\ndo not report this behaviour as bug, it is a feature ;-)', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:18:\"of the remote user\";}i:1;a:3:{s:4:\"name\";s:8:\"courseid\";s:4:\"type\";s:3:\"int\";s:11:\"description\";s:19:\"of our local course\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"bool\";s:11:\"description\";s:71:\"true if the unenrolment has been successful, throws exception otherwise\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(14, 'course_enrolments', 'enrol/mnet/enrol.php/course_enrolments', 'enrol', 'mnet', 1, 'Returns a list of users from the client server who are enrolled in our course\nSuitable instance of enrol_mnet must be created in the course. This method will not\nreturn any information about the enrolments in courses that are not available for\nremote enrolment, even if their users are enrolled into them via other plugin\n(note the difference from {@link self::user_enrolments()}).\nThis method will return enrolment information for users from hosts regardless\nthe enrolment plugin. It does not matter if the user was enrolled remotely by\ntheir admin or locally. Once the course is available for remote enrolments, we\nwill tell them everything about their users.\nIn Moodle 1.x the returned array used to be indexed by username. The side effect\nof MDL-19219 fix is that we do not need to use such index and therefore we can\nreturn all enrolment records. MNet clients 1.x will only use the last record for\nthe student, if she is enrolled via multiple plugins.', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"courseid\";s:4:\"type\";s:3:\"int\";s:11:\"description\";s:16:\"ID of our course\";}i:1;a:3:{s:4:\"name\";s:5:\"roles\";s:4:\"type\";s:12:\"string|array\";s:11:\"description\";s:58:\"comma separated list of role shortnames (or array of them)\";}}s:6:\"return\";a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:0:\"\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(15, 'fetch_file', 'portfolio/mahara/lib.php/fetch_file', 'portfolio', 'mahara', 1, 'xmlrpc (mnet) function to get the file.\nreads in the file and returns it base_64 encoded\nso that it can be enrypted by mnet.', 'a:2:{s:10:\"parameters\";a:1:{i:0;a:3:{s:4:\"name\";s:5:\"token\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:56:\"the token recieved previously during send_content_intent\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"void\";s:11:\"description\";s:0:\"\";}}', 'lib.php', 'portfolio_plugin_mahara', 1);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_service`
--

CREATE TABLE `mdl_mnet_service` (
  `id` bigint(10) NOT NULL,
  `name` varchar(40) NOT NULL DEFAULT '',
  `description` varchar(40) NOT NULL DEFAULT '',
  `apiversion` varchar(10) NOT NULL DEFAULT '',
  `offer` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='A service is a group of functions' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_mnet_service`
--

INSERT INTO `mdl_mnet_service` (`id`, `name`, `description`, `apiversion`, `offer`) VALUES
(1, 'sso_idp', '', '1', 1),
(2, 'sso_sp', '', '1', 1),
(3, 'mnet_enrol', '', '1', 1),
(4, 'pf', '', '1', 1);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_service2rpc`
--

CREATE TABLE `mdl_mnet_service2rpc` (
  `id` bigint(10) NOT NULL,
  `serviceid` bigint(10) NOT NULL DEFAULT 0,
  `rpcid` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Group functions or methods under a service' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_mnet_service2rpc`
--

INSERT INTO `mdl_mnet_service2rpc` (`id`, `serviceid`, `rpcid`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 2, 8),
(9, 2, 9),
(10, 3, 10),
(11, 3, 11),
(12, 3, 12),
(13, 3, 13),
(14, 3, 14),
(15, 4, 15);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_session`
--

CREATE TABLE `mdl_mnet_session` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `username` varchar(100) NOT NULL DEFAULT '',
  `token` varchar(40) NOT NULL DEFAULT '',
  `mnethostid` bigint(10) NOT NULL DEFAULT 0,
  `useragent` varchar(40) NOT NULL DEFAULT '',
  `confirm_timeout` bigint(10) NOT NULL DEFAULT 0,
  `session_id` varchar(40) NOT NULL DEFAULT '',
  `expires` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Store session data from users migrating to other sites' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_mnet_sso_access_control`
--

CREATE TABLE `mdl_mnet_sso_access_control` (
  `id` bigint(10) NOT NULL,
  `username` varchar(100) NOT NULL DEFAULT '',
  `mnet_host_id` bigint(10) NOT NULL DEFAULT 0,
  `accessctrl` varchar(20) NOT NULL DEFAULT 'allow'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Users by host permitted (or not) to login from a remote prov' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_modules`
--

CREATE TABLE `mdl_modules` (
  `id` bigint(10) NOT NULL,
  `name` varchar(20) NOT NULL DEFAULT '',
  `cron` bigint(10) NOT NULL DEFAULT 0,
  `lastcron` bigint(10) NOT NULL DEFAULT 0,
  `search` varchar(255) NOT NULL DEFAULT '',
  `visible` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='modules available in the site' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_modules`
--

INSERT INTO `mdl_modules` (`id`, `name`, `cron`, `lastcron`, `search`, `visible`) VALUES
(1, 'assign', 0, 0, '', 1),
(2, 'bigbluebuttonbn', 0, 0, '', 0),
(3, 'book', 0, 0, '', 1),
(4, 'chat', 0, 0, '', 1),
(5, 'choice', 0, 0, '', 1),
(6, 'data', 0, 0, '', 1),
(7, 'feedback', 0, 0, '', 1),
(8, 'folder', 0, 0, '', 1),
(9, 'forum', 0, 0, '', 1),
(10, 'glossary', 0, 0, '', 1),
(11, 'h5pactivity', 0, 0, '', 1),
(12, 'imscp', 0, 0, '', 1),
(13, 'label', 0, 0, '', 1),
(14, 'lesson', 0, 0, '', 1),
(15, 'lti', 0, 0, '', 1),
(16, 'page', 0, 0, '', 1),
(17, 'quiz', 0, 0, '', 1),
(18, 'resource', 0, 0, '', 1),
(19, 'scorm', 0, 0, '', 1),
(20, 'survey', 0, 0, '', 1),
(21, 'url', 0, 0, '', 1),
(22, 'wiki', 0, 0, '', 1),
(23, 'workshop', 0, 0, '', 1);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_moodlenet_share_progress`
--

CREATE TABLE `mdl_moodlenet_share_progress` (
  `id` bigint(10) NOT NULL,
  `type` tinyint(2) NOT NULL,
  `courseid` bigint(10) NOT NULL,
  `cmid` bigint(10) DEFAULT NULL,
  `userid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `resourceurl` varchar(255) DEFAULT NULL,
  `status` tinyint(2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Records MoodleNet share progress' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_my_pages`
--

CREATE TABLE `mdl_my_pages` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) DEFAULT 0,
  `name` varchar(200) NOT NULL DEFAULT '',
  `private` tinyint(1) NOT NULL DEFAULT 1,
  `sortorder` mediumint(6) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Extra user pages for the My Moodle system' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_my_pages`
--

INSERT INTO `mdl_my_pages` (`id`, `userid`, `name`, `private`, `sortorder`) VALUES
(1, NULL, '__default', 0, 0),
(2, NULL, '__default', 1, 0),
(3, NULL, '__courses', 0, 0),
(4, 2, '__default', 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_notifications`
--

CREATE TABLE `mdl_notifications` (
  `id` bigint(10) NOT NULL,
  `useridfrom` bigint(10) NOT NULL,
  `useridto` bigint(10) NOT NULL,
  `subject` longtext DEFAULT NULL,
  `fullmessage` longtext DEFAULT NULL,
  `fullmessageformat` tinyint(1) NOT NULL DEFAULT 0,
  `fullmessagehtml` longtext DEFAULT NULL,
  `smallmessage` longtext DEFAULT NULL,
  `component` varchar(100) DEFAULT NULL,
  `eventtype` varchar(100) DEFAULT NULL,
  `contexturl` longtext DEFAULT NULL,
  `contexturlname` longtext DEFAULT NULL,
  `timeread` bigint(10) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `customdata` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores all notifications' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_oauth2_access_token`
--

CREATE TABLE `mdl_oauth2_access_token` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `issuerid` bigint(10) NOT NULL,
  `token` longtext NOT NULL,
  `expires` bigint(10) NOT NULL,
  `scope` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores access tokens for system accounts in order to be able' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_oauth2_endpoint`
--

CREATE TABLE `mdl_oauth2_endpoint` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `url` longtext NOT NULL,
  `issuerid` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Describes the named endpoint for an oauth2 service.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_oauth2_issuer`
--

CREATE TABLE `mdl_oauth2_issuer` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `image` longtext NOT NULL,
  `baseurl` longtext NOT NULL,
  `clientid` longtext NOT NULL,
  `clientsecret` longtext NOT NULL,
  `loginscopes` longtext NOT NULL,
  `loginscopesoffline` longtext NOT NULL,
  `loginparams` longtext NOT NULL,
  `loginparamsoffline` longtext NOT NULL,
  `alloweddomains` longtext NOT NULL,
  `scopessupported` longtext DEFAULT NULL,
  `enabled` tinyint(2) NOT NULL DEFAULT 1,
  `showonloginpage` tinyint(2) NOT NULL DEFAULT 1,
  `basicauth` tinyint(2) NOT NULL DEFAULT 0,
  `sortorder` bigint(10) NOT NULL,
  `requireconfirmation` tinyint(2) NOT NULL DEFAULT 1,
  `servicetype` varchar(255) DEFAULT NULL,
  `loginpagename` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Details for an oauth 2 connect identity issuer.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_oauth2_refresh_token`
--

CREATE TABLE `mdl_oauth2_refresh_token` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `issuerid` bigint(10) NOT NULL,
  `token` longtext NOT NULL,
  `scopehash` varchar(40) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores refresh tokens which can be exchanged for access toke' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_oauth2_system_account`
--

CREATE TABLE `mdl_oauth2_system_account` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `issuerid` bigint(10) NOT NULL,
  `refreshtoken` longtext NOT NULL,
  `grantedscopes` longtext NOT NULL,
  `email` longtext DEFAULT NULL,
  `username` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stored details used to get an access token as a system user ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_oauth2_user_field_mapping`
--

CREATE TABLE `mdl_oauth2_user_field_mapping` (
  `id` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `issuerid` bigint(10) NOT NULL,
  `externalfield` varchar(500) NOT NULL DEFAULT '',
  `internalfield` varchar(64) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Mapping of oauth user fields to moodle fields.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_page`
--

CREATE TABLE `mdl_page` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext DEFAULT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT 0,
  `content` longtext DEFAULT NULL,
  `contentformat` smallint(4) NOT NULL DEFAULT 0,
  `legacyfiles` smallint(4) NOT NULL DEFAULT 0,
  `legacyfileslast` bigint(10) DEFAULT NULL,
  `display` smallint(4) NOT NULL DEFAULT 0,
  `displayoptions` longtext DEFAULT NULL,
  `revision` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Each record is one page and its config data' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_paygw_paypal`
--

CREATE TABLE `mdl_paygw_paypal` (
  `id` bigint(10) NOT NULL,
  `paymentid` bigint(10) NOT NULL,
  `pp_orderid` varchar(255) NOT NULL DEFAULT 'The ID of the order in PayPal'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores PayPal related information' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_payments`
--

CREATE TABLE `mdl_payments` (
  `id` bigint(10) NOT NULL,
  `component` varchar(100) NOT NULL DEFAULT '',
  `paymentarea` varchar(50) NOT NULL DEFAULT '',
  `itemid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `amount` varchar(20) NOT NULL DEFAULT '',
  `currency` varchar(3) NOT NULL DEFAULT '',
  `accountid` bigint(10) NOT NULL,
  `gateway` varchar(100) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores information about payments' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_payment_accounts`
--

CREATE TABLE `mdl_payment_accounts` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `idnumber` varchar(100) DEFAULT NULL,
  `contextid` bigint(10) NOT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `archived` tinyint(1) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) DEFAULT NULL,
  `timemodified` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Payment accounts' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_payment_gateways`
--

CREATE TABLE `mdl_payment_gateways` (
  `id` bigint(10) NOT NULL,
  `accountid` bigint(10) NOT NULL,
  `gateway` varchar(100) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT 1,
  `config` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Configuration for one gateway for one payment account' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_portfolio_instance`
--

CREATE TABLE `mdl_portfolio_instance` (
  `id` bigint(10) NOT NULL,
  `plugin` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(255) NOT NULL DEFAULT '',
  `visible` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='base table (not including config data) for instances of port' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_portfolio_instance_config`
--

CREATE TABLE `mdl_portfolio_instance_config` (
  `id` bigint(10) NOT NULL,
  `instance` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='config for portfolio plugin instances' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_portfolio_instance_user`
--

CREATE TABLE `mdl_portfolio_instance_user` (
  `id` bigint(10) NOT NULL,
  `instance` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='user data for portfolio instances.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_portfolio_log`
--

CREATE TABLE `mdl_portfolio_log` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `time` bigint(10) NOT NULL,
  `portfolio` bigint(10) NOT NULL,
  `caller_class` varchar(150) NOT NULL DEFAULT '',
  `caller_file` varchar(255) NOT NULL DEFAULT '',
  `caller_component` varchar(255) DEFAULT NULL,
  `caller_sha1` varchar(255) NOT NULL DEFAULT '',
  `tempdataid` bigint(10) NOT NULL DEFAULT 0,
  `returnurl` varchar(255) NOT NULL DEFAULT '',
  `continueurl` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='log of portfolio transfers (used to later check for duplicat' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_portfolio_mahara_queue`
--

CREATE TABLE `mdl_portfolio_mahara_queue` (
  `id` bigint(10) NOT NULL,
  `transferid` bigint(10) NOT NULL,
  `token` varchar(50) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='maps mahara tokens to transfer ids' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_portfolio_tempdata`
--

CREATE TABLE `mdl_portfolio_tempdata` (
  `id` bigint(10) NOT NULL,
  `data` longtext DEFAULT NULL,
  `expirytime` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `instance` bigint(10) DEFAULT 0,
  `queued` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='stores temporary data for portfolio exports. the id of this ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_post`
--

CREATE TABLE `mdl_post` (
  `id` bigint(10) NOT NULL,
  `module` varchar(20) NOT NULL DEFAULT '',
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `groupid` bigint(10) NOT NULL DEFAULT 0,
  `moduleid` bigint(10) NOT NULL DEFAULT 0,
  `coursemoduleid` bigint(10) NOT NULL DEFAULT 0,
  `subject` varchar(128) NOT NULL DEFAULT '',
  `summary` longtext DEFAULT NULL,
  `content` longtext DEFAULT NULL,
  `uniquehash` varchar(255) NOT NULL DEFAULT '',
  `rating` bigint(10) NOT NULL DEFAULT 0,
  `format` bigint(10) NOT NULL DEFAULT 0,
  `summaryformat` tinyint(2) NOT NULL DEFAULT 0,
  `attachment` varchar(100) DEFAULT NULL,
  `publishstate` varchar(20) NOT NULL DEFAULT 'draft',
  `lastmodified` bigint(10) NOT NULL DEFAULT 0,
  `created` bigint(10) NOT NULL DEFAULT 0,
  `usermodified` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Generic post table to hold data blog entries etc in differen' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_profiling`
--

CREATE TABLE `mdl_profiling` (
  `id` bigint(10) NOT NULL,
  `runid` varchar(32) NOT NULL DEFAULT '',
  `url` varchar(255) NOT NULL DEFAULT '',
  `data` longtext NOT NULL,
  `totalexecutiontime` bigint(10) NOT NULL,
  `totalcputime` bigint(10) NOT NULL,
  `totalcalls` bigint(10) NOT NULL,
  `totalmemory` bigint(10) NOT NULL,
  `runreference` tinyint(2) NOT NULL DEFAULT 0,
  `runcomment` varchar(255) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores the results of all the profiling runs' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_ddimageortext`
--

CREATE TABLE `mdl_qtype_ddimageortext` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines drag and drop (text or images onto a background imag' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_ddimageortext_drags`
--

CREATE TABLE `mdl_qtype_ddimageortext_drags` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `no` bigint(10) NOT NULL DEFAULT 0,
  `draggroup` bigint(10) NOT NULL DEFAULT 0,
  `infinite` smallint(4) NOT NULL DEFAULT 0,
  `label` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Images to drag. Actual file names are not stored here we use' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_ddimageortext_drops`
--

CREATE TABLE `mdl_qtype_ddimageortext_drops` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `no` bigint(10) NOT NULL DEFAULT 0,
  `xleft` bigint(10) NOT NULL DEFAULT 0,
  `ytop` bigint(10) NOT NULL DEFAULT 0,
  `choice` bigint(10) NOT NULL DEFAULT 0,
  `label` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Drop boxes' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_ddmarker`
--

CREATE TABLE `mdl_qtype_ddmarker` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0,
  `showmisplaced` smallint(4) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines drag and drop (text or images onto a background imag' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_ddmarker_drags`
--

CREATE TABLE `mdl_qtype_ddmarker_drags` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `no` bigint(10) NOT NULL DEFAULT 0,
  `label` longtext NOT NULL,
  `infinite` smallint(4) NOT NULL DEFAULT 0,
  `noofdrags` bigint(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Labels for markers to drag.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_ddmarker_drops`
--

CREATE TABLE `mdl_qtype_ddmarker_drops` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `no` bigint(10) NOT NULL DEFAULT 0,
  `shape` varchar(255) DEFAULT NULL,
  `coords` longtext NOT NULL,
  `choice` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='drop regions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_essay_options`
--

CREATE TABLE `mdl_qtype_essay_options` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL,
  `responseformat` varchar(16) NOT NULL DEFAULT 'editor',
  `responserequired` tinyint(2) NOT NULL DEFAULT 1,
  `responsefieldlines` smallint(4) NOT NULL DEFAULT 15,
  `minwordlimit` bigint(10) DEFAULT NULL,
  `maxwordlimit` bigint(10) DEFAULT NULL,
  `attachments` smallint(4) NOT NULL DEFAULT 0,
  `attachmentsrequired` smallint(4) NOT NULL DEFAULT 0,
  `graderinfo` longtext DEFAULT NULL,
  `graderinfoformat` smallint(4) NOT NULL DEFAULT 0,
  `responsetemplate` longtext DEFAULT NULL,
  `responsetemplateformat` smallint(4) NOT NULL DEFAULT 0,
  `maxbytes` bigint(10) NOT NULL DEFAULT 0,
  `filetypeslist` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Extra options for essay questions.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_match_options`
--

CREATE TABLE `mdl_qtype_match_options` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines the question-type specific options for matching ques' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_match_subquestions`
--

CREATE TABLE `mdl_qtype_match_subquestions` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `questiontext` longtext NOT NULL,
  `questiontextformat` tinyint(2) NOT NULL DEFAULT 0,
  `answertext` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The subquestions that make up a matching question' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_multichoice_options`
--

CREATE TABLE `mdl_qtype_multichoice_options` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `layout` smallint(4) NOT NULL DEFAULT 0,
  `single` smallint(4) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `answernumbering` varchar(10) NOT NULL DEFAULT 'abc',
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0,
  `showstandardinstruction` tinyint(2) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Options for multiple choice questions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_randomsamatch_options`
--

CREATE TABLE `mdl_qtype_randomsamatch_options` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `choose` bigint(10) NOT NULL DEFAULT 4,
  `subcats` tinyint(2) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Info about a random short-answer matching question' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_qtype_shortanswer_options`
--

CREATE TABLE `mdl_qtype_shortanswer_options` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `usecase` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Options for short answer questions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question`
--

CREATE TABLE `mdl_question` (
  `id` bigint(10) NOT NULL,
  `parent` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `questiontext` longtext NOT NULL,
  `questiontextformat` tinyint(2) NOT NULL DEFAULT 0,
  `generalfeedback` longtext NOT NULL,
  `generalfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `defaultmark` decimal(12,7) NOT NULL DEFAULT 1.0000000,
  `penalty` decimal(12,7) NOT NULL DEFAULT 0.3333333,
  `qtype` varchar(20) NOT NULL DEFAULT '',
  `length` bigint(10) NOT NULL DEFAULT 1,
  `stamp` varchar(255) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `createdby` bigint(10) DEFAULT NULL,
  `modifiedby` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table stores the definition of one version of a questio' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_answers`
--

CREATE TABLE `mdl_question_answers` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `answer` longtext NOT NULL,
  `answerformat` tinyint(2) NOT NULL DEFAULT 0,
  `fraction` decimal(12,7) NOT NULL DEFAULT 0.0000000,
  `feedback` longtext NOT NULL,
  `feedbackformat` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Answers, with a fractional grade (0-1) and feedback' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_attempts`
--

CREATE TABLE `mdl_question_attempts` (
  `id` bigint(10) NOT NULL,
  `questionusageid` bigint(10) NOT NULL,
  `slot` bigint(10) NOT NULL,
  `behaviour` varchar(32) NOT NULL DEFAULT '',
  `questionid` bigint(10) NOT NULL,
  `variant` bigint(10) NOT NULL DEFAULT 1,
  `maxmark` decimal(12,7) NOT NULL,
  `minfraction` decimal(12,7) NOT NULL,
  `maxfraction` decimal(12,7) NOT NULL DEFAULT 1.0000000,
  `flagged` tinyint(1) NOT NULL DEFAULT 0,
  `questionsummary` longtext DEFAULT NULL,
  `rightanswer` longtext DEFAULT NULL,
  `responsesummary` longtext DEFAULT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Each row here corresponds to an attempt at one question, as ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_attempt_steps`
--

CREATE TABLE `mdl_question_attempt_steps` (
  `id` bigint(10) NOT NULL,
  `questionattemptid` bigint(10) NOT NULL,
  `sequencenumber` bigint(10) NOT NULL,
  `state` varchar(13) NOT NULL DEFAULT '',
  `fraction` decimal(12,7) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `userid` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores one step in in a question attempt. As well as the dat' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_attempt_step_data`
--

CREATE TABLE `mdl_question_attempt_step_data` (
  `id` bigint(10) NOT NULL,
  `attemptstepid` bigint(10) NOT NULL,
  `name` varchar(32) NOT NULL DEFAULT '',
  `value` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Each question_attempt_step has an associative array of the d' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_bank_entries`
--

CREATE TABLE `mdl_question_bank_entries` (
  `id` bigint(10) NOT NULL,
  `questioncategoryid` bigint(10) NOT NULL DEFAULT 0,
  `idnumber` varchar(100) DEFAULT NULL,
  `ownerid` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Each question bank entry. This table has one row for each qu' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_calculated`
--

CREATE TABLE `mdl_question_calculated` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `answer` bigint(10) NOT NULL DEFAULT 0,
  `tolerance` varchar(20) NOT NULL DEFAULT '0.0',
  `tolerancetype` bigint(10) NOT NULL DEFAULT 1,
  `correctanswerlength` bigint(10) NOT NULL DEFAULT 2,
  `correctanswerformat` bigint(10) NOT NULL DEFAULT 2
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Options for questions of type calculated' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_calculated_options`
--

CREATE TABLE `mdl_question_calculated_options` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `synchronize` tinyint(2) NOT NULL DEFAULT 0,
  `single` smallint(4) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 0,
  `correctfeedback` longtext DEFAULT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext DEFAULT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext DEFAULT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `answernumbering` varchar(10) NOT NULL DEFAULT 'abc',
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Options for questions of type calculated' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_categories`
--

CREATE TABLE `mdl_question_categories` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `contextid` bigint(10) NOT NULL DEFAULT 0,
  `info` longtext NOT NULL,
  `infoformat` tinyint(2) NOT NULL DEFAULT 0,
  `stamp` varchar(255) NOT NULL DEFAULT '',
  `parent` bigint(10) NOT NULL DEFAULT 0,
  `sortorder` bigint(10) NOT NULL DEFAULT 999,
  `idnumber` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Categories are for grouping questions' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_question_categories`
--

INSERT INTO `mdl_question_categories` (`id`, `name`, `contextid`, `info`, `infoformat`, `stamp`, `parent`, `sortorder`, `idnumber`) VALUES
(1, 'top', 2, '', 0, 'localhost+251129115720+CGSf4e', 0, 0, NULL),
(2, 'Default for Site home', 2, 'The default category for questions shared in context \'Site home\'.', 0, 'localhost+251129115720+JpIaPJ', 1, 999, NULL),
(3, 'top', 1, '', 0, 'localhost+251129115720+Hdhfhd', 0, 0, NULL),
(4, 'Default for System', 1, 'The default category for questions shared in context \'System\'.', 0, 'localhost+251129115720+s1m59A', 3, 999, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_datasets`
--

CREATE TABLE `mdl_question_datasets` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `datasetdefinition` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Many-many relation between questions and dataset definitions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_dataset_definitions`
--

CREATE TABLE `mdl_question_dataset_definitions` (
  `id` bigint(10) NOT NULL,
  `category` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `type` bigint(10) NOT NULL DEFAULT 0,
  `options` varchar(255) NOT NULL DEFAULT '',
  `itemcount` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Organises and stores properties for dataset items' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_dataset_items`
--

CREATE TABLE `mdl_question_dataset_items` (
  `id` bigint(10) NOT NULL,
  `definition` bigint(10) NOT NULL DEFAULT 0,
  `itemnumber` bigint(10) NOT NULL DEFAULT 0,
  `value` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Individual dataset items' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_ddwtos`
--

CREATE TABLE `mdl_question_ddwtos` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines drag and drop (words into sentences) questions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_gapselect`
--

CREATE TABLE `mdl_question_gapselect` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines select missing words questions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_hints`
--

CREATE TABLE `mdl_question_hints` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL,
  `hint` longtext NOT NULL,
  `hintformat` smallint(4) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(1) DEFAULT NULL,
  `clearwrong` tinyint(1) DEFAULT NULL,
  `options` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores the the part of the question definition that gives di' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_multianswer`
--

CREATE TABLE `mdl_question_multianswer` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `sequence` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Options for multianswer questions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_numerical`
--

CREATE TABLE `mdl_question_numerical` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `answer` bigint(10) NOT NULL DEFAULT 0,
  `tolerance` varchar(255) NOT NULL DEFAULT '0.0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Options for numerical questions.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_numerical_options`
--

CREATE TABLE `mdl_question_numerical_options` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `showunits` smallint(4) NOT NULL DEFAULT 0,
  `unitsleft` smallint(4) NOT NULL DEFAULT 0,
  `unitgradingtype` smallint(4) NOT NULL DEFAULT 0,
  `unitpenalty` decimal(12,7) NOT NULL DEFAULT 0.1000000
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Options for questions of type numerical This table is also u' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_numerical_units`
--

CREATE TABLE `mdl_question_numerical_units` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `multiplier` decimal(38,19) NOT NULL DEFAULT 1.0000000000000000000,
  `unit` varchar(50) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Optional unit options for numerical questions. This table is' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_references`
--

CREATE TABLE `mdl_question_references` (
  `id` bigint(10) NOT NULL,
  `usingcontextid` bigint(10) NOT NULL DEFAULT 0,
  `component` varchar(100) DEFAULT NULL,
  `questionarea` varchar(50) DEFAULT NULL,
  `itemid` bigint(10) DEFAULT NULL,
  `questionbankentryid` bigint(10) NOT NULL DEFAULT 0,
  `version` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Records where a specific question is used.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_response_analysis`
--

CREATE TABLE `mdl_question_response_analysis` (
  `id` bigint(10) NOT NULL,
  `hashcode` varchar(40) NOT NULL DEFAULT '',
  `whichtries` varchar(255) NOT NULL DEFAULT '',
  `timemodified` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL,
  `variant` bigint(10) DEFAULT NULL,
  `subqid` varchar(100) NOT NULL DEFAULT '',
  `aid` varchar(100) DEFAULT NULL,
  `response` longtext DEFAULT NULL,
  `credit` decimal(15,5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Analysis of student responses given to questions.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_response_count`
--

CREATE TABLE `mdl_question_response_count` (
  `id` bigint(10) NOT NULL,
  `analysisid` bigint(10) NOT NULL,
  `try` bigint(10) NOT NULL,
  `rcount` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Count for each responses for each try at a question.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_set_references`
--

CREATE TABLE `mdl_question_set_references` (
  `id` bigint(10) NOT NULL,
  `usingcontextid` bigint(10) NOT NULL DEFAULT 0,
  `component` varchar(100) DEFAULT NULL,
  `questionarea` varchar(50) DEFAULT NULL,
  `itemid` bigint(10) DEFAULT NULL,
  `questionscontextid` bigint(10) NOT NULL DEFAULT 0,
  `filtercondition` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Records where groups of questions are used.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_statistics`
--

CREATE TABLE `mdl_question_statistics` (
  `id` bigint(10) NOT NULL,
  `hashcode` varchar(40) NOT NULL DEFAULT '',
  `timemodified` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL,
  `slot` bigint(10) DEFAULT NULL,
  `subquestion` smallint(4) NOT NULL,
  `variant` bigint(10) DEFAULT NULL,
  `s` bigint(10) NOT NULL DEFAULT 0,
  `effectiveweight` decimal(15,5) DEFAULT NULL,
  `negcovar` tinyint(2) NOT NULL DEFAULT 0,
  `discriminationindex` decimal(15,5) DEFAULT NULL,
  `discriminativeefficiency` decimal(15,5) DEFAULT NULL,
  `sd` decimal(15,10) DEFAULT NULL,
  `facility` decimal(15,10) DEFAULT NULL,
  `subquestions` longtext DEFAULT NULL,
  `maxmark` decimal(12,7) DEFAULT NULL,
  `positions` longtext DEFAULT NULL,
  `randomguessscore` decimal(12,7) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Statistics for individual questions used in an activity.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_truefalse`
--

CREATE TABLE `mdl_question_truefalse` (
  `id` bigint(10) NOT NULL,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `trueanswer` bigint(10) NOT NULL DEFAULT 0,
  `falseanswer` bigint(10) NOT NULL DEFAULT 0,
  `showstandardinstruction` tinyint(2) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Options for True-False questions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_usages`
--

CREATE TABLE `mdl_question_usages` (
  `id` bigint(10) NOT NULL,
  `contextid` bigint(10) NOT NULL,
  `component` varchar(255) NOT NULL DEFAULT '',
  `preferredbehaviour` varchar(32) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table''s main purpose it to assign a unique id to each a' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_question_versions`
--

CREATE TABLE `mdl_question_versions` (
  `id` bigint(10) NOT NULL,
  `questionbankentryid` bigint(10) NOT NULL DEFAULT 0,
  `version` bigint(10) NOT NULL DEFAULT 1,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `status` varchar(10) NOT NULL DEFAULT 'ready'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='A join table linking the different question version definiti' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz`
--

CREATE TABLE `mdl_quiz` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext NOT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT 0,
  `timeopen` bigint(10) NOT NULL DEFAULT 0,
  `timeclose` bigint(10) NOT NULL DEFAULT 0,
  `timelimit` bigint(10) NOT NULL DEFAULT 0,
  `overduehandling` varchar(16) NOT NULL DEFAULT 'autoabandon',
  `graceperiod` bigint(10) NOT NULL DEFAULT 0,
  `preferredbehaviour` varchar(32) NOT NULL DEFAULT '',
  `canredoquestions` smallint(4) NOT NULL DEFAULT 0,
  `attempts` mediumint(6) NOT NULL DEFAULT 0,
  `attemptonlast` smallint(4) NOT NULL DEFAULT 0,
  `grademethod` smallint(4) NOT NULL DEFAULT 1,
  `decimalpoints` smallint(4) NOT NULL DEFAULT 2,
  `questiondecimalpoints` smallint(4) NOT NULL DEFAULT -1,
  `reviewattempt` mediumint(6) NOT NULL DEFAULT 0,
  `reviewcorrectness` mediumint(6) NOT NULL DEFAULT 0,
  `reviewmaxmarks` mediumint(6) NOT NULL DEFAULT 0,
  `reviewmarks` mediumint(6) NOT NULL DEFAULT 0,
  `reviewspecificfeedback` mediumint(6) NOT NULL DEFAULT 0,
  `reviewgeneralfeedback` mediumint(6) NOT NULL DEFAULT 0,
  `reviewrightanswer` mediumint(6) NOT NULL DEFAULT 0,
  `reviewoverallfeedback` mediumint(6) NOT NULL DEFAULT 0,
  `questionsperpage` bigint(10) NOT NULL DEFAULT 0,
  `navmethod` varchar(16) NOT NULL DEFAULT 'free',
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 0,
  `sumgrades` decimal(10,5) NOT NULL DEFAULT 0.00000,
  `grade` decimal(10,5) NOT NULL DEFAULT 0.00000,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `password` varchar(255) NOT NULL DEFAULT '',
  `subnet` varchar(255) NOT NULL DEFAULT '',
  `browsersecurity` varchar(32) NOT NULL DEFAULT '',
  `delay1` bigint(10) NOT NULL DEFAULT 0,
  `delay2` bigint(10) NOT NULL DEFAULT 0,
  `showuserpicture` smallint(4) NOT NULL DEFAULT 0,
  `showblocks` smallint(4) NOT NULL DEFAULT 0,
  `completionattemptsexhausted` tinyint(1) DEFAULT 0,
  `completionminattempts` bigint(10) NOT NULL DEFAULT 0,
  `allowofflineattempts` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The settings for each quiz.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quizaccess_seb_quizsettings`
--

CREATE TABLE `mdl_quizaccess_seb_quizsettings` (
  `id` bigint(10) NOT NULL,
  `quizid` bigint(10) NOT NULL,
  `cmid` bigint(10) NOT NULL,
  `templateid` bigint(10) NOT NULL,
  `requiresafeexambrowser` tinyint(1) NOT NULL,
  `showsebtaskbar` tinyint(1) DEFAULT NULL,
  `showwificontrol` tinyint(1) DEFAULT NULL,
  `showreloadbutton` tinyint(1) DEFAULT NULL,
  `showtime` tinyint(1) DEFAULT NULL,
  `showkeyboardlayout` tinyint(1) DEFAULT NULL,
  `allowuserquitseb` tinyint(1) DEFAULT NULL,
  `quitpassword` longtext DEFAULT NULL,
  `linkquitseb` longtext DEFAULT NULL,
  `userconfirmquit` tinyint(1) DEFAULT NULL,
  `enableaudiocontrol` tinyint(1) DEFAULT NULL,
  `muteonstartup` tinyint(1) DEFAULT NULL,
  `allowspellchecking` tinyint(1) DEFAULT NULL,
  `allowreloadinexam` tinyint(1) DEFAULT NULL,
  `activateurlfiltering` tinyint(1) DEFAULT NULL,
  `filterembeddedcontent` tinyint(1) DEFAULT NULL,
  `expressionsallowed` longtext DEFAULT NULL,
  `regexallowed` longtext DEFAULT NULL,
  `expressionsblocked` longtext DEFAULT NULL,
  `regexblocked` longtext DEFAULT NULL,
  `allowedbrowserexamkeys` longtext DEFAULT NULL,
  `showsebdownloadlink` tinyint(1) DEFAULT NULL,
  `usermodified` bigint(10) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores the quiz level Safe Exam Browser configuration.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quizaccess_seb_template`
--

CREATE TABLE `mdl_quizaccess_seb_template` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` longtext NOT NULL,
  `content` longtext NOT NULL,
  `enabled` tinyint(1) NOT NULL,
  `sortorder` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Templates for Safe Exam Browser configuration.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_attempts`
--

CREATE TABLE `mdl_quiz_attempts` (
  `id` bigint(10) NOT NULL,
  `quiz` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `attempt` mediumint(6) NOT NULL DEFAULT 0,
  `uniqueid` bigint(10) NOT NULL DEFAULT 0,
  `layout` longtext NOT NULL,
  `currentpage` bigint(10) NOT NULL DEFAULT 0,
  `preview` smallint(3) NOT NULL DEFAULT 0,
  `state` varchar(16) NOT NULL DEFAULT 'inprogress',
  `timestart` bigint(10) NOT NULL DEFAULT 0,
  `timefinish` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `timemodifiedoffline` bigint(10) NOT NULL DEFAULT 0,
  `timecheckstate` bigint(10) DEFAULT 0,
  `sumgrades` decimal(10,5) DEFAULT NULL,
  `gradednotificationsenttime` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores users attempts at quizzes.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_feedback`
--

CREATE TABLE `mdl_quiz_feedback` (
  `id` bigint(10) NOT NULL,
  `quizid` bigint(10) NOT NULL DEFAULT 0,
  `feedbacktext` longtext NOT NULL,
  `feedbacktextformat` tinyint(2) NOT NULL DEFAULT 0,
  `mingrade` decimal(10,5) NOT NULL DEFAULT 0.00000,
  `maxgrade` decimal(10,5) NOT NULL DEFAULT 0.00000
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Feedback given to students based on which grade band their o' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_grades`
--

CREATE TABLE `mdl_quiz_grades` (
  `id` bigint(10) NOT NULL,
  `quiz` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `grade` decimal(10,5) NOT NULL DEFAULT 0.00000,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores the overall grade for each user on the quiz, based on' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_overrides`
--

CREATE TABLE `mdl_quiz_overrides` (
  `id` bigint(10) NOT NULL,
  `quiz` bigint(10) NOT NULL DEFAULT 0,
  `groupid` bigint(10) DEFAULT NULL,
  `userid` bigint(10) DEFAULT NULL,
  `timeopen` bigint(10) DEFAULT NULL,
  `timeclose` bigint(10) DEFAULT NULL,
  `timelimit` bigint(10) DEFAULT NULL,
  `attempts` mediumint(6) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The overrides to quiz settings on a per-user and per-group b' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_overview_regrades`
--

CREATE TABLE `mdl_quiz_overview_regrades` (
  `id` bigint(10) NOT NULL,
  `questionusageid` bigint(10) NOT NULL,
  `slot` bigint(10) NOT NULL,
  `newfraction` decimal(12,7) DEFAULT NULL,
  `oldfraction` decimal(12,7) DEFAULT NULL,
  `regraded` smallint(4) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table records which question attempts need regrading an' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_reports`
--

CREATE TABLE `mdl_quiz_reports` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `displayorder` bigint(10) NOT NULL,
  `capability` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Lists all the installed quiz reports and their display order' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_quiz_reports`
--

INSERT INTO `mdl_quiz_reports` (`id`, `name`, `displayorder`, `capability`) VALUES
(1, 'grading', 6000, 'mod/quiz:grade'),
(2, 'overview', 10000, NULL),
(3, 'responses', 9000, NULL),
(4, 'statistics', 8000, 'quiz/statistics:view');

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_sections`
--

CREATE TABLE `mdl_quiz_sections` (
  `id` bigint(10) NOT NULL,
  `quizid` bigint(10) NOT NULL,
  `firstslot` bigint(10) NOT NULL,
  `heading` varchar(1333) DEFAULT NULL,
  `shufflequestions` smallint(4) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores sections of a quiz with section name (heading), from ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_slots`
--

CREATE TABLE `mdl_quiz_slots` (
  `id` bigint(10) NOT NULL,
  `slot` bigint(10) NOT NULL,
  `quizid` bigint(10) NOT NULL DEFAULT 0,
  `page` bigint(10) NOT NULL,
  `displaynumber` varchar(16) DEFAULT NULL,
  `requireprevious` smallint(4) NOT NULL DEFAULT 0,
  `maxmark` decimal(12,7) NOT NULL DEFAULT 0.0000000
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores the question used in a quiz, with the order, and for ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_statistics`
--

CREATE TABLE `mdl_quiz_statistics` (
  `id` bigint(10) NOT NULL,
  `hashcode` varchar(40) NOT NULL DEFAULT '',
  `whichattempts` smallint(4) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `firstattemptscount` bigint(10) NOT NULL,
  `highestattemptscount` bigint(10) NOT NULL,
  `lastattemptscount` bigint(10) NOT NULL,
  `allattemptscount` bigint(10) NOT NULL,
  `firstattemptsavg` decimal(15,5) DEFAULT NULL,
  `highestattemptsavg` decimal(15,5) DEFAULT NULL,
  `lastattemptsavg` decimal(15,5) DEFAULT NULL,
  `allattemptsavg` decimal(15,5) DEFAULT NULL,
  `median` decimal(15,5) DEFAULT NULL,
  `standarddeviation` decimal(15,5) DEFAULT NULL,
  `skewness` decimal(15,10) DEFAULT NULL,
  `kurtosis` decimal(15,5) DEFAULT NULL,
  `cic` decimal(15,10) DEFAULT NULL,
  `errorratio` decimal(15,10) DEFAULT NULL,
  `standarderror` decimal(15,10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='table to cache results from analysis done in statistics repo' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_rating`
--

CREATE TABLE `mdl_rating` (
  `id` bigint(10) NOT NULL,
  `contextid` bigint(10) NOT NULL,
  `component` varchar(100) NOT NULL DEFAULT '',
  `ratingarea` varchar(50) NOT NULL DEFAULT '',
  `itemid` bigint(10) NOT NULL,
  `scaleid` bigint(10) NOT NULL,
  `rating` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='moodle ratings' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_registration_hubs`
--

CREATE TABLE `mdl_registration_hubs` (
  `id` bigint(10) NOT NULL,
  `token` varchar(255) NOT NULL DEFAULT '',
  `hubname` varchar(255) NOT NULL DEFAULT '',
  `huburl` varchar(255) NOT NULL DEFAULT '',
  `confirmed` tinyint(1) NOT NULL DEFAULT 0,
  `secret` varchar(255) DEFAULT NULL,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='hub where the site is registered on with their associated to' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_reportbuilder_audience`
--

CREATE TABLE `mdl_reportbuilder_audience` (
  `id` bigint(10) NOT NULL,
  `reportid` bigint(10) NOT NULL,
  `heading` varchar(255) DEFAULT NULL,
  `classname` varchar(255) NOT NULL DEFAULT '',
  `configdata` longtext NOT NULL,
  `usercreated` bigint(10) NOT NULL DEFAULT 0,
  `usermodified` bigint(10) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines report audience' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_reportbuilder_column`
--

CREATE TABLE `mdl_reportbuilder_column` (
  `id` bigint(10) NOT NULL,
  `reportid` bigint(10) NOT NULL DEFAULT 0,
  `uniqueidentifier` varchar(255) NOT NULL DEFAULT '',
  `aggregation` varchar(32) DEFAULT NULL,
  `heading` varchar(255) DEFAULT NULL,
  `columnorder` bigint(10) NOT NULL,
  `sortenabled` tinyint(1) NOT NULL DEFAULT 0,
  `sortdirection` tinyint(1) NOT NULL,
  `sortorder` bigint(10) DEFAULT NULL,
  `usercreated` bigint(10) NOT NULL DEFAULT 0,
  `usermodified` bigint(10) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to represent a report column' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_reportbuilder_filter`
--

CREATE TABLE `mdl_reportbuilder_filter` (
  `id` bigint(10) NOT NULL,
  `reportid` bigint(10) NOT NULL DEFAULT 0,
  `uniqueidentifier` varchar(255) NOT NULL DEFAULT '',
  `heading` varchar(255) DEFAULT NULL,
  `iscondition` tinyint(1) NOT NULL DEFAULT 0,
  `filterorder` bigint(10) NOT NULL,
  `usercreated` bigint(10) NOT NULL DEFAULT 0,
  `usermodified` bigint(10) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to represent a report filter/condition' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_reportbuilder_report`
--

CREATE TABLE `mdl_reportbuilder_report` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `source` varchar(255) NOT NULL DEFAULT '',
  `type` tinyint(2) NOT NULL DEFAULT 0,
  `uniquerows` tinyint(1) NOT NULL DEFAULT 0,
  `conditiondata` longtext DEFAULT NULL,
  `settingsdata` longtext DEFAULT NULL,
  `contextid` bigint(10) NOT NULL,
  `component` varchar(100) NOT NULL DEFAULT '',
  `area` varchar(100) NOT NULL DEFAULT '',
  `itemid` bigint(10) NOT NULL DEFAULT 0,
  `usercreated` bigint(10) NOT NULL DEFAULT 0,
  `usermodified` bigint(10) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to represent a report' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_reportbuilder_schedule`
--

CREATE TABLE `mdl_reportbuilder_schedule` (
  `id` bigint(10) NOT NULL,
  `reportid` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT 1,
  `audiences` longtext NOT NULL,
  `format` varchar(255) NOT NULL DEFAULT '',
  `subject` varchar(255) NOT NULL DEFAULT '',
  `message` longtext NOT NULL,
  `messageformat` bigint(10) NOT NULL,
  `userviewas` bigint(10) NOT NULL DEFAULT 0,
  `timescheduled` bigint(10) NOT NULL DEFAULT 0,
  `recurrence` bigint(10) NOT NULL DEFAULT 0,
  `reportempty` bigint(10) NOT NULL DEFAULT 0,
  `timelastsent` bigint(10) NOT NULL DEFAULT 0,
  `timenextsend` bigint(10) NOT NULL DEFAULT 0,
  `usercreated` bigint(10) NOT NULL DEFAULT 0,
  `usermodified` bigint(10) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to represent a report schedule' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_repository`
--

CREATE TABLE `mdl_repository` (
  `id` bigint(10) NOT NULL,
  `type` varchar(255) NOT NULL DEFAULT '',
  `visible` tinyint(1) DEFAULT 1,
  `sortorder` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table contains one entry for every configured external ' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_repository`
--

INSERT INTO `mdl_repository` (`id`, `type`, `visible`, `sortorder`) VALUES
(1, 'areafiles', 1, 1),
(2, 'contentbank', 1, 2),
(3, 'local', 1, 3),
(4, 'recent', 1, 4),
(5, 'upload', 1, 5),
(6, 'url', 1, 6),
(7, 'user', 1, 7),
(8, 'wikimedia', 1, 8);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_repository_instances`
--

CREATE TABLE `mdl_repository_instances` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `typeid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `contextid` bigint(10) NOT NULL,
  `username` varchar(255) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `timecreated` bigint(10) DEFAULT NULL,
  `timemodified` bigint(10) DEFAULT NULL,
  `readonly` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table contains one entry for every configured external ' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_repository_instances`
--

INSERT INTO `mdl_repository_instances` (`id`, `name`, `typeid`, `userid`, `contextid`, `username`, `password`, `timecreated`, `timemodified`, `readonly`) VALUES
(1, '', 1, 0, 1, NULL, NULL, 1764416645, 1764416645, 0),
(2, '', 2, 0, 1, NULL, NULL, 1764416645, 1764416645, 0),
(3, '', 3, 0, 1, NULL, NULL, 1764416647, 1764416647, 0),
(4, '', 4, 0, 1, NULL, NULL, 1764416649, 1764416649, 0),
(5, '', 5, 0, 1, NULL, NULL, 1764416649, 1764416649, 0),
(6, '', 6, 0, 1, NULL, NULL, 1764416650, 1764416650, 0),
(7, '', 7, 0, 1, NULL, NULL, 1764416650, 1764416650, 0),
(8, '', 8, 0, 1, NULL, NULL, 1764416651, 1764416651, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_repository_instance_config`
--

CREATE TABLE `mdl_repository_instance_config` (
  `id` bigint(10) NOT NULL,
  `instanceid` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The config for intances' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_repository_onedrive_access`
--

CREATE TABLE `mdl_repository_onedrive_access` (
  `id` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `permissionid` varchar(255) NOT NULL DEFAULT '',
  `itemid` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of temporary access grants.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_resource`
--

CREATE TABLE `mdl_resource` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext DEFAULT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT 0,
  `tobemigrated` smallint(4) NOT NULL DEFAULT 0,
  `legacyfiles` smallint(4) NOT NULL DEFAULT 0,
  `legacyfileslast` bigint(10) DEFAULT NULL,
  `display` smallint(4) NOT NULL DEFAULT 0,
  `displayoptions` longtext DEFAULT NULL,
  `filterfiles` smallint(4) NOT NULL DEFAULT 0,
  `revision` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Each record is one resource and its config data' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_resource_old`
--

CREATE TABLE `mdl_resource_old` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `type` varchar(30) NOT NULL DEFAULT '',
  `reference` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext DEFAULT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT 0,
  `alltext` longtext NOT NULL,
  `popup` longtext NOT NULL,
  `options` varchar(255) NOT NULL DEFAULT '',
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `oldid` bigint(10) NOT NULL,
  `cmid` bigint(10) DEFAULT NULL,
  `newmodule` varchar(50) DEFAULT NULL,
  `newid` bigint(10) DEFAULT NULL,
  `migrated` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='backup of all old resource instances from 1.9' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role`
--

CREATE TABLE `mdl_role` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `shortname` varchar(100) NOT NULL DEFAULT '',
  `description` longtext NOT NULL,
  `sortorder` bigint(10) NOT NULL DEFAULT 0,
  `archetype` varchar(30) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='moodle roles' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_role`
--

INSERT INTO `mdl_role` (`id`, `name`, `shortname`, `description`, `sortorder`, `archetype`) VALUES
(1, '', 'manager', '', 1, 'manager'),
(2, '', 'coursecreator', '', 2, 'coursecreator'),
(3, '', 'editingteacher', '', 3, 'editingteacher'),
(4, '', 'teacher', '', 4, 'teacher'),
(5, '', 'student', '', 5, 'student'),
(6, '', 'guest', '', 6, 'guest'),
(7, '', 'user', '', 7, 'user'),
(8, '', 'frontpage', '', 8, 'frontpage');

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role_allow_assign`
--

CREATE TABLE `mdl_role_allow_assign` (
  `id` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `allowassign` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='this defines what role can assign what role' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_role_allow_assign`
--

INSERT INTO `mdl_role_allow_assign` (`id`, `roleid`, `allowassign`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 3, 4),
(7, 3, 5);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role_allow_override`
--

CREATE TABLE `mdl_role_allow_override` (
  `id` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `allowoverride` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='this defines what role can override what role' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_role_allow_override`
--

INSERT INTO `mdl_role_allow_override` (`id`, `roleid`, `allowoverride`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 1, 8),
(9, 3, 4),
(10, 3, 5),
(11, 3, 6);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role_allow_switch`
--

CREATE TABLE `mdl_role_allow_switch` (
  `id` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL,
  `allowswitch` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table stores which which other roles a user is allowed ' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_role_allow_switch`
--

INSERT INTO `mdl_role_allow_switch` (`id`, `roleid`, `allowswitch`) VALUES
(1, 1, 3),
(2, 1, 4),
(3, 1, 5),
(4, 1, 6),
(5, 3, 4),
(6, 3, 5),
(7, 3, 6),
(8, 4, 5),
(9, 4, 6);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role_allow_view`
--

CREATE TABLE `mdl_role_allow_view` (
  `id` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL,
  `allowview` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table stores which which other roles a user is allowed ' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_role_allow_view`
--

INSERT INTO `mdl_role_allow_view` (`id`, `roleid`, `allowview`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 1, 8),
(9, 2, 2),
(10, 2, 3),
(11, 2, 4),
(12, 2, 5),
(13, 3, 2),
(14, 3, 3),
(15, 3, 4),
(16, 3, 5),
(17, 4, 2),
(18, 4, 3),
(19, 4, 4),
(20, 4, 5),
(21, 5, 2),
(22, 5, 3),
(23, 5, 4),
(24, 5, 5);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role_assignments`
--

CREATE TABLE `mdl_role_assignments` (
  `id` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `contextid` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `modifierid` bigint(10) NOT NULL DEFAULT 0,
  `component` varchar(100) NOT NULL DEFAULT '',
  `itemid` bigint(10) NOT NULL DEFAULT 0,
  `sortorder` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='assigning roles in different context' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role_capabilities`
--

CREATE TABLE `mdl_role_capabilities` (
  `id` bigint(10) NOT NULL,
  `contextid` bigint(10) NOT NULL DEFAULT 0,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `capability` varchar(255) NOT NULL DEFAULT '',
  `permission` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `modifierid` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='permission has to be signed, overriding a capability for a p' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_role_capabilities`
--

INSERT INTO `mdl_role_capabilities` (`id`, `contextid`, `roleid`, `capability`, `permission`, `timemodified`, `modifierid`) VALUES
(1, 1, 1, 'moodle/site:configview', 1, 1764416549, 0),
(2, 1, 2, 'moodle/site:configview', 1, 1764416549, 0),
(3, 1, 1, 'moodle/site:readallmessages', 1, 1764416549, 0),
(4, 1, 3, 'moodle/site:readallmessages', 1, 1764416549, 0),
(5, 1, 1, 'moodle/site:manageallmessaging', 1, 1764416549, 0),
(6, 1, 1, 'moodle/site:deleteanymessage', 1, 1764416549, 0),
(7, 1, 1, 'moodle/site:sendmessage', 1, 1764416549, 0),
(8, 1, 7, 'moodle/site:sendmessage', 1, 1764416549, 0),
(9, 1, 7, 'moodle/site:senderrormessage', 1, 1764416549, 0),
(10, 1, 7, 'moodle/site:deleteownmessage', 1, 1764416549, 0),
(11, 1, 1, 'moodle/site:approvecourse', 1, 1764416549, 0),
(12, 1, 3, 'moodle/backup:backupcourse', 1, 1764416549, 0),
(13, 1, 1, 'moodle/backup:backupcourse', 1, 1764416549, 0),
(14, 1, 3, 'moodle/backup:backupsection', 1, 1764416549, 0),
(15, 1, 1, 'moodle/backup:backupsection', 1, 1764416549, 0),
(16, 1, 3, 'moodle/backup:backupactivity', 1, 1764416549, 0),
(17, 1, 1, 'moodle/backup:backupactivity', 1, 1764416549, 0),
(18, 1, 3, 'moodle/backup:backuptargetimport', 1, 1764416549, 0),
(19, 1, 1, 'moodle/backup:backuptargetimport', 1, 1764416549, 0),
(20, 1, 3, 'moodle/backup:downloadfile', 1, 1764416549, 0),
(21, 1, 1, 'moodle/backup:downloadfile', 1, 1764416549, 0),
(22, 1, 3, 'moodle/backup:configure', 1, 1764416549, 0),
(23, 1, 1, 'moodle/backup:configure', 1, 1764416549, 0),
(24, 1, 1, 'moodle/backup:userinfo', 1, 1764416549, 0),
(25, 1, 1, 'moodle/backup:anonymise', 1, 1764416549, 0),
(26, 1, 3, 'moodle/restore:restorecourse', 1, 1764416549, 0),
(27, 1, 1, 'moodle/restore:restorecourse', 1, 1764416549, 0),
(28, 1, 3, 'moodle/restore:restoresection', 1, 1764416549, 0),
(29, 1, 1, 'moodle/restore:restoresection', 1, 1764416549, 0),
(30, 1, 3, 'moodle/restore:restoreactivity', 1, 1764416549, 0),
(31, 1, 1, 'moodle/restore:restoreactivity', 1, 1764416549, 0),
(32, 1, 3, 'moodle/restore:viewautomatedfilearea', 1, 1764416549, 0),
(33, 1, 1, 'moodle/restore:viewautomatedfilearea', 1, 1764416549, 0),
(34, 1, 3, 'moodle/restore:restoretargetimport', 1, 1764416549, 0),
(35, 1, 1, 'moodle/restore:restoretargetimport', 1, 1764416549, 0),
(36, 1, 3, 'moodle/restore:uploadfile', 1, 1764416549, 0),
(37, 1, 1, 'moodle/restore:uploadfile', 1, 1764416549, 0),
(38, 1, 3, 'moodle/restore:configure', 1, 1764416549, 0),
(39, 1, 1, 'moodle/restore:configure', 1, 1764416549, 0),
(40, 1, 2, 'moodle/restore:rolldates', 1, 1764416549, 0),
(41, 1, 1, 'moodle/restore:rolldates', 1, 1764416549, 0),
(42, 1, 1, 'moodle/restore:userinfo', 1, 1764416549, 0),
(43, 1, 1, 'moodle/restore:createuser', 1, 1764416549, 0),
(44, 1, 3, 'moodle/site:manageblocks', 1, 1764416549, 0),
(45, 1, 1, 'moodle/site:manageblocks', 1, 1764416549, 0),
(46, 1, 3, 'moodle/site:accessallgroups', 1, 1764416549, 0),
(47, 1, 1, 'moodle/site:accessallgroups', 1, 1764416549, 0),
(48, 1, 1, 'moodle/site:viewanonymousevents', 1, 1764416549, 0),
(49, 1, 4, 'moodle/site:viewfullnames', 1, 1764416549, 0),
(50, 1, 3, 'moodle/site:viewfullnames', 1, 1764416549, 0),
(51, 1, 1, 'moodle/site:viewfullnames', 1, 1764416549, 0),
(52, 1, 4, 'moodle/site:viewuseridentity', 1, 1764416549, 0),
(53, 1, 3, 'moodle/site:viewuseridentity', 1, 1764416549, 0),
(54, 1, 1, 'moodle/site:viewuseridentity', 1, 1764416549, 0),
(55, 1, 4, 'moodle/site:viewreports', 1, 1764416549, 0),
(56, 1, 3, 'moodle/site:viewreports', 1, 1764416549, 0),
(57, 1, 1, 'moodle/site:viewreports', 1, 1764416549, 0),
(58, 1, 3, 'moodle/site:trustcontent', 1, 1764416549, 0),
(59, 1, 1, 'moodle/site:trustcontent', 1, 1764416549, 0),
(60, 1, 1, 'moodle/site:uploadusers', 1, 1764416549, 0),
(61, 1, 3, 'moodle/filter:manage', 1, 1764416549, 0),
(62, 1, 1, 'moodle/filter:manage', 1, 1764416549, 0),
(63, 1, 1, 'moodle/user:create', 1, 1764416549, 0),
(64, 1, 1, 'moodle/user:delete', 1, 1764416549, 0),
(65, 1, 1, 'moodle/user:update', 1, 1764416549, 0),
(66, 1, 6, 'moodle/user:viewdetails', 1, 1764416549, 0),
(67, 1, 5, 'moodle/user:viewdetails', 1, 1764416549, 0),
(68, 1, 4, 'moodle/user:viewdetails', 1, 1764416549, 0),
(69, 1, 3, 'moodle/user:viewdetails', 1, 1764416549, 0),
(70, 1, 1, 'moodle/user:viewdetails', 1, 1764416549, 0),
(71, 1, 1, 'moodle/user:viewalldetails', 1, 1764416549, 0),
(72, 1, 1, 'moodle/user:viewlastip', 1, 1764416549, 0),
(73, 1, 4, 'moodle/user:viewhiddendetails', 1, 1764416549, 0),
(74, 1, 3, 'moodle/user:viewhiddendetails', 1, 1764416549, 0),
(75, 1, 1, 'moodle/user:viewhiddendetails', 1, 1764416549, 0),
(76, 1, 1, 'moodle/user:loginas', 1, 1764416549, 0),
(77, 1, 1, 'moodle/user:managesyspages', 1, 1764416549, 0),
(78, 1, 7, 'moodle/user:manageownblocks', 1, 1764416549, 0),
(79, 1, 7, 'moodle/user:manageownfiles', 1, 1764416549, 0),
(80, 1, 1, 'moodle/my:configsyspages', 1, 1764416549, 0),
(81, 1, 3, 'moodle/role:assign', 1, 1764416549, 0),
(82, 1, 1, 'moodle/role:assign', 1, 1764416549, 0),
(83, 1, 4, 'moodle/role:review', 1, 1764416549, 0),
(84, 1, 3, 'moodle/role:review', 1, 1764416549, 0),
(85, 1, 1, 'moodle/role:review', 1, 1764416549, 0),
(86, 1, 1, 'moodle/role:override', 1, 1764416549, 0),
(87, 1, 3, 'moodle/role:safeoverride', 1, 1764416549, 0),
(88, 1, 1, 'moodle/role:manage', 1, 1764416549, 0),
(89, 1, 3, 'moodle/role:switchroles', 1, 1764416549, 0),
(90, 1, 1, 'moodle/role:switchroles', 1, 1764416549, 0),
(91, 1, 1, 'moodle/category:manage', 1, 1764416549, 0),
(92, 1, 6, 'moodle/category:viewcourselist', 1, 1764416549, 0),
(93, 1, 7, 'moodle/category:viewcourselist', 1, 1764416549, 0),
(94, 1, 2, 'moodle/category:viewhiddencategories', 1, 1764416549, 0),
(95, 1, 1, 'moodle/category:viewhiddencategories', 1, 1764416549, 0),
(96, 1, 1, 'moodle/cohort:manage', 1, 1764416550, 0),
(97, 1, 1, 'moodle/cohort:assign', 1, 1764416550, 0),
(98, 1, 3, 'moodle/cohort:view', 1, 1764416550, 0),
(99, 1, 1, 'moodle/cohort:view', 1, 1764416550, 0),
(100, 1, 2, 'moodle/course:create', 1, 1764416550, 0),
(101, 1, 1, 'moodle/course:create', 1, 1764416550, 0),
(102, 1, 3, 'moodle/course:creategroupconversations', 1, 1764416550, 0),
(103, 1, 1, 'moodle/course:creategroupconversations', 1, 1764416550, 0),
(104, 1, 1, 'moodle/course:delete', 1, 1764416550, 0),
(105, 1, 3, 'moodle/course:update', 1, 1764416550, 0),
(106, 1, 1, 'moodle/course:update', 1, 1764416550, 0),
(107, 1, 1, 'moodle/course:view', 1, 1764416550, 0),
(108, 1, 3, 'moodle/course:enrolreview', 1, 1764416550, 0),
(109, 1, 1, 'moodle/course:enrolreview', 1, 1764416550, 0),
(110, 1, 3, 'moodle/course:enrolconfig', 1, 1764416550, 0),
(111, 1, 1, 'moodle/course:enrolconfig', 1, 1764416550, 0),
(112, 1, 3, 'moodle/course:reviewotherusers', 1, 1764416550, 0),
(113, 1, 1, 'moodle/course:reviewotherusers', 1, 1764416550, 0),
(114, 1, 4, 'moodle/course:bulkmessaging', 1, 1764416550, 0),
(115, 1, 3, 'moodle/course:bulkmessaging', 1, 1764416550, 0),
(116, 1, 1, 'moodle/course:bulkmessaging', 1, 1764416550, 0),
(117, 1, 4, 'moodle/course:viewhiddenuserfields', 1, 1764416550, 0),
(118, 1, 3, 'moodle/course:viewhiddenuserfields', 1, 1764416550, 0),
(119, 1, 1, 'moodle/course:viewhiddenuserfields', 1, 1764416550, 0),
(120, 1, 2, 'moodle/course:viewhiddencourses', 1, 1764416550, 0),
(121, 1, 4, 'moodle/course:viewhiddencourses', 1, 1764416550, 0),
(122, 1, 3, 'moodle/course:viewhiddencourses', 1, 1764416550, 0),
(123, 1, 1, 'moodle/course:viewhiddencourses', 1, 1764416550, 0),
(124, 1, 3, 'moodle/course:visibility', 1, 1764416550, 0),
(125, 1, 1, 'moodle/course:visibility', 1, 1764416550, 0),
(126, 1, 3, 'moodle/course:managefiles', 1, 1764416550, 0),
(127, 1, 1, 'moodle/course:managefiles', 1, 1764416550, 0),
(128, 1, 1, 'moodle/course:ignoreavailabilityrestrictions', 1, 1764416550, 0),
(129, 1, 2, 'moodle/course:ignoreavailabilityrestrictions', 1, 1764416550, 0),
(130, 1, 3, 'moodle/course:ignoreavailabilityrestrictions', 1, 1764416550, 0),
(131, 1, 4, 'moodle/course:ignoreavailabilityrestrictions', 1, 1764416550, 0),
(132, 1, 3, 'moodle/course:manageactivities', 1, 1764416550, 0),
(133, 1, 1, 'moodle/course:manageactivities', 1, 1764416550, 0),
(134, 1, 3, 'moodle/course:activityvisibility', 1, 1764416550, 0),
(135, 1, 1, 'moodle/course:activityvisibility', 1, 1764416550, 0),
(136, 1, 4, 'moodle/course:viewhiddenactivities', 1, 1764416550, 0),
(137, 1, 3, 'moodle/course:viewhiddenactivities', 1, 1764416550, 0),
(138, 1, 1, 'moodle/course:viewhiddenactivities', 1, 1764416550, 0),
(139, 1, 5, 'moodle/course:viewparticipants', 1, 1764416550, 0),
(140, 1, 4, 'moodle/course:viewparticipants', 1, 1764416550, 0),
(141, 1, 3, 'moodle/course:viewparticipants', 1, 1764416550, 0),
(142, 1, 1, 'moodle/course:viewparticipants', 1, 1764416550, 0),
(143, 1, 3, 'moodle/course:changefullname', 1, 1764416550, 0),
(144, 1, 1, 'moodle/course:changefullname', 1, 1764416550, 0),
(145, 1, 3, 'moodle/course:changeshortname', 1, 1764416550, 0),
(146, 1, 1, 'moodle/course:changeshortname', 1, 1764416550, 0),
(147, 1, 1, 'moodle/course:changelockedcustomfields', 1, 1764416550, 0),
(148, 1, 3, 'moodle/course:renameroles', 1, 1764416550, 0),
(149, 1, 1, 'moodle/course:renameroles', 1, 1764416550, 0),
(150, 1, 3, 'moodle/course:changeidnumber', 1, 1764416550, 0),
(151, 1, 1, 'moodle/course:changeidnumber', 1, 1764416550, 0),
(152, 1, 3, 'moodle/course:changecategory', 1, 1764416550, 0),
(153, 1, 1, 'moodle/course:changecategory', 1, 1764416550, 0),
(154, 1, 3, 'moodle/course:changesummary', 1, 1764416550, 0),
(155, 1, 1, 'moodle/course:changesummary', 1, 1764416550, 0),
(156, 1, 3, 'moodle/course:setforcedlanguage', 1, 1764416550, 0),
(157, 1, 1, 'moodle/course:setforcedlanguage', 1, 1764416550, 0),
(158, 1, 1, 'moodle/site:viewparticipants', 1, 1764416550, 0),
(159, 1, 5, 'moodle/course:isincompletionreports', 1, 1764416550, 0),
(160, 1, 5, 'moodle/course:viewscales', 1, 1764416550, 0),
(161, 1, 4, 'moodle/course:viewscales', 1, 1764416550, 0),
(162, 1, 3, 'moodle/course:viewscales', 1, 1764416550, 0),
(163, 1, 1, 'moodle/course:viewscales', 1, 1764416550, 0),
(164, 1, 3, 'moodle/course:managescales', 1, 1764416550, 0),
(165, 1, 1, 'moodle/course:managescales', 1, 1764416550, 0),
(166, 1, 3, 'moodle/course:managegroups', 1, 1764416550, 0),
(167, 1, 1, 'moodle/course:managegroups', 1, 1764416550, 0),
(168, 1, 4, 'moodle/course:viewhiddengroups', 1, 1764416550, 0),
(169, 1, 3, 'moodle/course:viewhiddengroups', 1, 1764416550, 0),
(170, 1, 1, 'moodle/course:viewhiddengroups', 1, 1764416550, 0),
(171, 1, 3, 'moodle/course:reset', 1, 1764416550, 0),
(172, 1, 1, 'moodle/course:reset', 1, 1764416550, 0),
(173, 1, 3, 'moodle/course:viewsuspendedusers', 1, 1764416550, 0),
(174, 1, 1, 'moodle/course:viewsuspendedusers', 1, 1764416550, 0),
(175, 1, 1, 'moodle/course:tag', 1, 1764416550, 0),
(176, 1, 3, 'moodle/course:tag', 1, 1764416550, 0),
(177, 1, 6, 'moodle/blog:view', 1, 1764416550, 0),
(178, 1, 7, 'moodle/blog:view', 1, 1764416550, 0),
(179, 1, 5, 'moodle/blog:view', 1, 1764416550, 0),
(180, 1, 4, 'moodle/blog:view', 1, 1764416550, 0),
(181, 1, 3, 'moodle/blog:view', 1, 1764416550, 0),
(182, 1, 1, 'moodle/blog:view', 1, 1764416550, 0),
(183, 1, 6, 'moodle/blog:search', 1, 1764416550, 0),
(184, 1, 7, 'moodle/blog:search', 1, 1764416550, 0),
(185, 1, 5, 'moodle/blog:search', 1, 1764416550, 0),
(186, 1, 4, 'moodle/blog:search', 1, 1764416550, 0),
(187, 1, 3, 'moodle/blog:search', 1, 1764416550, 0),
(188, 1, 1, 'moodle/blog:search', 1, 1764416550, 0),
(189, 1, 1, 'moodle/blog:viewdrafts', 1, 1764416550, 0),
(190, 1, 7, 'moodle/blog:create', 1, 1764416550, 0),
(191, 1, 1, 'moodle/blog:create', 1, 1764416550, 0),
(192, 1, 4, 'moodle/blog:manageentries', 1, 1764416550, 0),
(193, 1, 3, 'moodle/blog:manageentries', 1, 1764416550, 0),
(194, 1, 1, 'moodle/blog:manageentries', 1, 1764416550, 0),
(195, 1, 5, 'moodle/blog:manageexternal', 1, 1764416550, 0),
(196, 1, 7, 'moodle/blog:manageexternal', 1, 1764416550, 0),
(197, 1, 4, 'moodle/blog:manageexternal', 1, 1764416550, 0),
(198, 1, 3, 'moodle/blog:manageexternal', 1, 1764416550, 0),
(199, 1, 1, 'moodle/blog:manageexternal', 1, 1764416550, 0),
(200, 1, 7, 'moodle/calendar:manageownentries', 1, 1764416550, 0),
(201, 1, 1, 'moodle/calendar:manageownentries', 1, 1764416550, 0),
(202, 1, 4, 'moodle/calendar:managegroupentries', 1, 1764416550, 0),
(203, 1, 3, 'moodle/calendar:managegroupentries', 1, 1764416550, 0),
(204, 1, 1, 'moodle/calendar:managegroupentries', 1, 1764416550, 0),
(205, 1, 4, 'moodle/calendar:manageentries', 1, 1764416550, 0),
(206, 1, 3, 'moodle/calendar:manageentries', 1, 1764416550, 0),
(207, 1, 1, 'moodle/calendar:manageentries', 1, 1764416550, 0),
(208, 1, 1, 'moodle/user:editprofile', 1, 1764416550, 0),
(209, 1, 6, 'moodle/user:editownprofile', -1000, 1764416550, 0),
(210, 1, 7, 'moodle/user:editownprofile', 1, 1764416550, 0),
(211, 1, 1, 'moodle/user:editownprofile', 1, 1764416550, 0),
(212, 1, 6, 'moodle/user:changeownpassword', -1000, 1764416550, 0),
(213, 1, 7, 'moodle/user:changeownpassword', 1, 1764416550, 0),
(214, 1, 1, 'moodle/user:changeownpassword', 1, 1764416550, 0),
(215, 1, 5, 'moodle/user:readuserposts', 1, 1764416550, 0),
(216, 1, 4, 'moodle/user:readuserposts', 1, 1764416550, 0),
(217, 1, 3, 'moodle/user:readuserposts', 1, 1764416551, 0),
(218, 1, 1, 'moodle/user:readuserposts', 1, 1764416551, 0),
(219, 1, 5, 'moodle/user:readuserblogs', 1, 1764416551, 0),
(220, 1, 4, 'moodle/user:readuserblogs', 1, 1764416551, 0),
(221, 1, 3, 'moodle/user:readuserblogs', 1, 1764416551, 0),
(222, 1, 1, 'moodle/user:readuserblogs', 1, 1764416551, 0),
(223, 1, 1, 'moodle/user:editmessageprofile', 1, 1764416551, 0),
(224, 1, 6, 'moodle/user:editownmessageprofile', -1000, 1764416551, 0),
(225, 1, 7, 'moodle/user:editownmessageprofile', 1, 1764416551, 0),
(226, 1, 1, 'moodle/user:editownmessageprofile', 1, 1764416551, 0),
(227, 1, 3, 'moodle/question:managecategory', 1, 1764416551, 0),
(228, 1, 1, 'moodle/question:managecategory', 1, 1764416551, 0),
(229, 1, 3, 'moodle/question:add', 1, 1764416551, 0),
(230, 1, 1, 'moodle/question:add', 1, 1764416551, 0),
(231, 1, 3, 'moodle/question:editmine', 1, 1764416551, 0),
(232, 1, 1, 'moodle/question:editmine', 1, 1764416551, 0),
(233, 1, 3, 'moodle/question:editall', 1, 1764416551, 0),
(234, 1, 1, 'moodle/question:editall', 1, 1764416551, 0),
(235, 1, 3, 'moodle/question:viewmine', 1, 1764416551, 0),
(236, 1, 1, 'moodle/question:viewmine', 1, 1764416551, 0),
(237, 1, 3, 'moodle/question:viewall', 1, 1764416551, 0),
(238, 1, 1, 'moodle/question:viewall', 1, 1764416551, 0),
(239, 1, 3, 'moodle/question:usemine', 1, 1764416551, 0),
(240, 1, 1, 'moodle/question:usemine', 1, 1764416551, 0),
(241, 1, 3, 'moodle/question:useall', 1, 1764416551, 0),
(242, 1, 1, 'moodle/question:useall', 1, 1764416551, 0),
(243, 1, 3, 'moodle/question:movemine', 1, 1764416551, 0),
(244, 1, 1, 'moodle/question:movemine', 1, 1764416551, 0),
(245, 1, 3, 'moodle/question:moveall', 1, 1764416551, 0),
(246, 1, 1, 'moodle/question:moveall', 1, 1764416551, 0),
(247, 1, 1, 'moodle/question:config', 1, 1764416551, 0),
(248, 1, 5, 'moodle/question:flag', 1, 1764416551, 0),
(249, 1, 4, 'moodle/question:flag', 1, 1764416551, 0),
(250, 1, 3, 'moodle/question:flag', 1, 1764416551, 0),
(251, 1, 1, 'moodle/question:flag', 1, 1764416551, 0),
(252, 1, 3, 'moodle/question:tagmine', 1, 1764416551, 0),
(253, 1, 1, 'moodle/question:tagmine', 1, 1764416551, 0),
(254, 1, 3, 'moodle/question:tagall', 1, 1764416551, 0),
(255, 1, 1, 'moodle/question:tagall', 1, 1764416551, 0),
(256, 1, 4, 'moodle/site:doclinks', 1, 1764416551, 0),
(257, 1, 3, 'moodle/site:doclinks', 1, 1764416551, 0),
(258, 1, 1, 'moodle/site:doclinks', 1, 1764416551, 0),
(259, 1, 3, 'moodle/course:sectionvisibility', 1, 1764416551, 0),
(260, 1, 1, 'moodle/course:sectionvisibility', 1, 1764416551, 0),
(261, 1, 3, 'moodle/course:useremail', 1, 1764416551, 0),
(262, 1, 1, 'moodle/course:useremail', 1, 1764416551, 0),
(263, 1, 3, 'moodle/course:viewhiddensections', 1, 1764416551, 0),
(264, 1, 1, 'moodle/course:viewhiddensections', 1, 1764416551, 0),
(265, 1, 3, 'moodle/course:setcurrentsection', 1, 1764416551, 0),
(266, 1, 1, 'moodle/course:setcurrentsection', 1, 1764416551, 0),
(267, 1, 3, 'moodle/course:movesections', 1, 1764416551, 0),
(268, 1, 1, 'moodle/course:movesections', 1, 1764416551, 0),
(269, 1, 4, 'moodle/grade:viewall', 1, 1764416551, 0),
(270, 1, 3, 'moodle/grade:viewall', 1, 1764416551, 0),
(271, 1, 1, 'moodle/grade:viewall', 1, 1764416551, 0),
(272, 1, 5, 'moodle/grade:view', 1, 1764416551, 0),
(273, 1, 4, 'moodle/grade:viewhidden', 1, 1764416551, 0),
(274, 1, 3, 'moodle/grade:viewhidden', 1, 1764416551, 0),
(275, 1, 1, 'moodle/grade:viewhidden', 1, 1764416551, 0),
(276, 1, 3, 'moodle/grade:import', 1, 1764416551, 0),
(277, 1, 1, 'moodle/grade:import', 1, 1764416551, 0),
(278, 1, 4, 'moodle/grade:export', 1, 1764416551, 0),
(279, 1, 3, 'moodle/grade:export', 1, 1764416551, 0),
(280, 1, 1, 'moodle/grade:export', 1, 1764416551, 0),
(281, 1, 3, 'moodle/grade:manage', 1, 1764416551, 0),
(282, 1, 1, 'moodle/grade:manage', 1, 1764416551, 0),
(283, 1, 3, 'moodle/grade:edit', 1, 1764416551, 0),
(284, 1, 1, 'moodle/grade:edit', 1, 1764416551, 0),
(285, 1, 3, 'moodle/grade:managegradingforms', 1, 1764416551, 0),
(286, 1, 1, 'moodle/grade:managegradingforms', 1, 1764416551, 0),
(287, 1, 1, 'moodle/grade:sharegradingforms', 1, 1764416551, 0),
(288, 1, 1, 'moodle/grade:managesharedforms', 1, 1764416551, 0),
(289, 1, 3, 'moodle/grade:manageoutcomes', 1, 1764416551, 0),
(290, 1, 1, 'moodle/grade:manageoutcomes', 1, 1764416551, 0),
(291, 1, 3, 'moodle/grade:manageletters', 1, 1764416551, 0),
(292, 1, 1, 'moodle/grade:manageletters', 1, 1764416551, 0),
(293, 1, 3, 'moodle/grade:hide', 1, 1764416551, 0),
(294, 1, 1, 'moodle/grade:hide', 1, 1764416551, 0),
(295, 1, 3, 'moodle/grade:lock', 1, 1764416551, 0),
(296, 1, 1, 'moodle/grade:lock', 1, 1764416551, 0),
(297, 1, 3, 'moodle/grade:unlock', 1, 1764416551, 0),
(298, 1, 1, 'moodle/grade:unlock', 1, 1764416551, 0),
(299, 1, 7, 'moodle/my:manageblocks', 1, 1764416551, 0),
(300, 1, 4, 'moodle/notes:view', 1, 1764416551, 0),
(301, 1, 3, 'moodle/notes:view', 1, 1764416551, 0),
(302, 1, 1, 'moodle/notes:view', 1, 1764416551, 0),
(303, 1, 4, 'moodle/notes:manage', 1, 1764416551, 0),
(304, 1, 3, 'moodle/notes:manage', 1, 1764416551, 0),
(305, 1, 1, 'moodle/notes:manage', 1, 1764416551, 0),
(306, 1, 1, 'moodle/tag:manage', 1, 1764416551, 0),
(307, 1, 1, 'moodle/tag:edit', 1, 1764416551, 0),
(308, 1, 7, 'moodle/tag:flag', 1, 1764416551, 0),
(309, 1, 4, 'moodle/tag:editblocks', 1, 1764416551, 0),
(310, 1, 3, 'moodle/tag:editblocks', 1, 1764416551, 0),
(311, 1, 1, 'moodle/tag:editblocks', 1, 1764416551, 0),
(312, 1, 6, 'moodle/block:view', 1, 1764416551, 0),
(313, 1, 7, 'moodle/block:view', 1, 1764416551, 0),
(314, 1, 5, 'moodle/block:view', 1, 1764416551, 0),
(315, 1, 4, 'moodle/block:view', 1, 1764416551, 0),
(316, 1, 3, 'moodle/block:view', 1, 1764416551, 0),
(317, 1, 3, 'moodle/block:edit', 1, 1764416551, 0),
(318, 1, 1, 'moodle/block:edit', 1, 1764416551, 0),
(319, 1, 7, 'moodle/portfolio:export', 1, 1764416551, 0),
(320, 1, 5, 'moodle/portfolio:export', 1, 1764416551, 0),
(321, 1, 4, 'moodle/portfolio:export', 1, 1764416551, 0),
(322, 1, 3, 'moodle/portfolio:export', 1, 1764416551, 0),
(323, 1, 8, 'moodle/comment:view', 1, 1764416551, 0),
(324, 1, 6, 'moodle/comment:view', 1, 1764416551, 0),
(325, 1, 7, 'moodle/comment:view', 1, 1764416551, 0),
(326, 1, 5, 'moodle/comment:view', 1, 1764416551, 0),
(327, 1, 4, 'moodle/comment:view', 1, 1764416551, 0),
(328, 1, 3, 'moodle/comment:view', 1, 1764416551, 0),
(329, 1, 1, 'moodle/comment:view', 1, 1764416551, 0),
(330, 1, 7, 'moodle/comment:post', 1, 1764416551, 0),
(331, 1, 5, 'moodle/comment:post', 1, 1764416551, 0),
(332, 1, 4, 'moodle/comment:post', 1, 1764416551, 0),
(333, 1, 3, 'moodle/comment:post', 1, 1764416551, 0),
(334, 1, 1, 'moodle/comment:post', 1, 1764416551, 0),
(335, 1, 3, 'moodle/comment:delete', 1, 1764416551, 0),
(336, 1, 1, 'moodle/comment:delete', 1, 1764416551, 0),
(337, 1, 1, 'moodle/webservice:createtoken', 1, 1764416551, 0),
(338, 1, 7, 'moodle/webservice:createmobiletoken', 1, 1764416551, 0),
(339, 1, 7, 'moodle/rating:view', 1, 1764416552, 0),
(340, 1, 5, 'moodle/rating:view', 1, 1764416552, 0),
(341, 1, 4, 'moodle/rating:view', 1, 1764416552, 0),
(342, 1, 3, 'moodle/rating:view', 1, 1764416552, 0),
(343, 1, 1, 'moodle/rating:view', 1, 1764416552, 0),
(344, 1, 7, 'moodle/rating:viewany', 1, 1764416552, 0),
(345, 1, 5, 'moodle/rating:viewany', 1, 1764416552, 0),
(346, 1, 4, 'moodle/rating:viewany', 1, 1764416552, 0),
(347, 1, 3, 'moodle/rating:viewany', 1, 1764416552, 0),
(348, 1, 1, 'moodle/rating:viewany', 1, 1764416552, 0),
(349, 1, 7, 'moodle/rating:viewall', 1, 1764416552, 0),
(350, 1, 5, 'moodle/rating:viewall', 1, 1764416552, 0),
(351, 1, 4, 'moodle/rating:viewall', 1, 1764416552, 0),
(352, 1, 3, 'moodle/rating:viewall', 1, 1764416552, 0),
(353, 1, 1, 'moodle/rating:viewall', 1, 1764416552, 0),
(354, 1, 7, 'moodle/rating:rate', 1, 1764416552, 0),
(355, 1, 5, 'moodle/rating:rate', 1, 1764416552, 0),
(356, 1, 4, 'moodle/rating:rate', 1, 1764416552, 0),
(357, 1, 3, 'moodle/rating:rate', 1, 1764416552, 0),
(358, 1, 1, 'moodle/rating:rate', 1, 1764416552, 0),
(359, 1, 4, 'moodle/course:markcomplete', 1, 1764416552, 0),
(360, 1, 3, 'moodle/course:markcomplete', 1, 1764416552, 0),
(361, 1, 1, 'moodle/course:markcomplete', 1, 1764416552, 0),
(362, 1, 4, 'moodle/course:overridecompletion', 1, 1764416552, 0),
(363, 1, 3, 'moodle/course:overridecompletion', 1, 1764416552, 0),
(364, 1, 1, 'moodle/course:overridecompletion', 1, 1764416552, 0),
(365, 1, 1, 'moodle/badges:manageglobalsettings', 1, 1764416552, 0),
(366, 1, 7, 'moodle/badges:viewbadges', 1, 1764416552, 0),
(367, 1, 7, 'moodle/badges:manageownbadges', 1, 1764416552, 0),
(368, 1, 7, 'moodle/badges:viewotherbadges', 1, 1764416552, 0),
(369, 1, 7, 'moodle/badges:earnbadge', 1, 1764416552, 0),
(370, 1, 1, 'moodle/badges:createbadge', 1, 1764416552, 0),
(371, 1, 3, 'moodle/badges:createbadge', 1, 1764416552, 0),
(372, 1, 1, 'moodle/badges:deletebadge', 1, 1764416552, 0),
(373, 1, 3, 'moodle/badges:deletebadge', 1, 1764416552, 0),
(374, 1, 1, 'moodle/badges:configuredetails', 1, 1764416552, 0),
(375, 1, 3, 'moodle/badges:configuredetails', 1, 1764416552, 0),
(376, 1, 1, 'moodle/badges:configurecriteria', 1, 1764416552, 0),
(377, 1, 3, 'moodle/badges:configurecriteria', 1, 1764416552, 0),
(378, 1, 1, 'moodle/badges:configuremessages', 1, 1764416552, 0),
(379, 1, 3, 'moodle/badges:configuremessages', 1, 1764416552, 0),
(380, 1, 1, 'moodle/badges:awardbadge', 1, 1764416552, 0),
(381, 1, 4, 'moodle/badges:awardbadge', 1, 1764416552, 0),
(382, 1, 3, 'moodle/badges:awardbadge', 1, 1764416552, 0),
(383, 1, 1, 'moodle/badges:revokebadge', 1, 1764416552, 0),
(384, 1, 4, 'moodle/badges:revokebadge', 1, 1764416552, 0),
(385, 1, 3, 'moodle/badges:revokebadge', 1, 1764416552, 0),
(386, 1, 1, 'moodle/badges:viewawarded', 1, 1764416552, 0),
(387, 1, 4, 'moodle/badges:viewawarded', 1, 1764416552, 0),
(388, 1, 3, 'moodle/badges:viewawarded', 1, 1764416552, 0),
(389, 1, 6, 'moodle/search:query', 1, 1764416552, 0),
(390, 1, 7, 'moodle/search:query', 1, 1764416552, 0),
(391, 1, 5, 'moodle/search:query', 1, 1764416552, 0),
(392, 1, 4, 'moodle/search:query', 1, 1764416552, 0),
(393, 1, 3, 'moodle/search:query', 1, 1764416552, 0),
(394, 1, 1, 'moodle/search:query', 1, 1764416552, 0),
(395, 1, 1, 'moodle/competency:competencymanage', 1, 1764416552, 0),
(396, 1, 7, 'moodle/competency:competencyview', 1, 1764416552, 0),
(397, 1, 3, 'moodle/competency:competencygrade', 1, 1764416552, 0),
(398, 1, 4, 'moodle/competency:competencygrade', 1, 1764416552, 0),
(399, 1, 1, 'moodle/competency:competencygrade', 1, 1764416552, 0),
(400, 1, 3, 'moodle/competency:coursecompetencymanage', 1, 1764416552, 0),
(401, 1, 1, 'moodle/competency:coursecompetencymanage', 1, 1764416552, 0),
(402, 1, 1, 'moodle/competency:coursecompetencyconfigure', 1, 1764416552, 0),
(403, 1, 5, 'moodle/competency:coursecompetencygradable', 1, 1764416552, 0),
(404, 1, 7, 'moodle/competency:coursecompetencyview', 1, 1764416552, 0),
(405, 1, 1, 'moodle/competency:planmanage', 1, 1764416552, 0),
(406, 1, 1, 'moodle/competency:planmanagedraft', 1, 1764416552, 0),
(407, 1, 1, 'moodle/competency:planview', 1, 1764416552, 0),
(408, 1, 1, 'moodle/competency:planviewdraft', 1, 1764416552, 0),
(409, 1, 7, 'moodle/competency:planviewown', 1, 1764416552, 0),
(410, 1, 1, 'moodle/competency:planrequestreview', 1, 1764416552, 0),
(411, 1, 7, 'moodle/competency:planrequestreviewown', 1, 1764416552, 0),
(412, 1, 1, 'moodle/competency:planreview', 1, 1764416552, 0),
(413, 1, 1, 'moodle/competency:plancomment', 1, 1764416552, 0),
(414, 1, 7, 'moodle/competency:plancommentown', 1, 1764416552, 0),
(415, 1, 1, 'moodle/competency:usercompetencyview', 1, 1764416552, 0),
(416, 1, 3, 'moodle/competency:usercompetencyview', 1, 1764416552, 0),
(417, 1, 4, 'moodle/competency:usercompetencyview', 1, 1764416552, 0),
(418, 1, 1, 'moodle/competency:usercompetencyrequestreview', 1, 1764416552, 0),
(419, 1, 7, 'moodle/competency:usercompetencyrequestreviewown', 1, 1764416552, 0),
(420, 1, 1, 'moodle/competency:usercompetencyreview', 1, 1764416552, 0),
(421, 1, 1, 'moodle/competency:usercompetencycomment', 1, 1764416552, 0),
(422, 1, 7, 'moodle/competency:usercompetencycommentown', 1, 1764416552, 0),
(423, 1, 1, 'moodle/competency:templatemanage', 1, 1764416552, 0),
(424, 1, 4, 'moodle/analytics:listinsights', 1, 1764416552, 0),
(425, 1, 3, 'moodle/analytics:listinsights', 1, 1764416552, 0),
(426, 1, 1, 'moodle/analytics:listinsights', 1, 1764416552, 0),
(427, 1, 1, 'moodle/analytics:managemodels', 1, 1764416552, 0),
(428, 1, 1, 'moodle/competency:templateview', 1, 1764416552, 0),
(429, 1, 1, 'moodle/competency:userevidencemanage', 1, 1764416552, 0),
(430, 1, 7, 'moodle/competency:userevidencemanageown', 1, 1764416552, 0),
(431, 1, 1, 'moodle/competency:userevidenceview', 1, 1764416552, 0),
(432, 1, 4, 'moodle/site:messageanyuser', 1, 1764416552, 0),
(433, 1, 3, 'moodle/site:messageanyuser', 1, 1764416552, 0),
(434, 1, 1, 'moodle/site:messageanyuser', 1, 1764416552, 0),
(435, 1, 7, 'moodle/course:togglecompletion', 1, 1764416552, 0),
(436, 1, 7, 'moodle/analytics:listowninsights', 1, 1764416552, 0),
(437, 1, 3, 'moodle/h5p:setdisplayoptions', 1, 1764416552, 0),
(438, 1, 1, 'moodle/h5p:deploy', 1, 1764416552, 0),
(439, 1, 3, 'moodle/h5p:deploy', 1, 1764416552, 0),
(440, 1, 1, 'moodle/h5p:updatelibraries', 1, 1764416552, 0),
(441, 1, 1, 'moodle/course:recommendactivity', 1, 1764416552, 0),
(442, 1, 1, 'moodle/contentbank:access', 1, 1764416552, 0),
(443, 1, 2, 'moodle/contentbank:access', 1, 1764416552, 0),
(444, 1, 3, 'moodle/contentbank:access', 1, 1764416552, 0),
(445, 1, 1, 'moodle/contentbank:upload', 1, 1764416552, 0),
(446, 1, 2, 'moodle/contentbank:upload', 1, 1764416552, 0),
(447, 1, 3, 'moodle/contentbank:upload', 1, 1764416552, 0),
(448, 1, 1, 'moodle/contentbank:deleteanycontent', 1, 1764416552, 0),
(449, 1, 2, 'moodle/contentbank:deleteanycontent', 1, 1764416552, 0),
(450, 1, 7, 'moodle/contentbank:deleteowncontent', 1, 1764416552, 0),
(451, 1, 1, 'moodle/contentbank:manageanycontent', 1, 1764416552, 0),
(452, 1, 2, 'moodle/contentbank:manageanycontent', 1, 1764416552, 0),
(453, 1, 1, 'moodle/contentbank:manageowncontent', 1, 1764416552, 0),
(454, 1, 2, 'moodle/contentbank:manageowncontent', 1, 1764416553, 0),
(455, 1, 3, 'moodle/contentbank:manageowncontent', 1, 1764416553, 0),
(456, 1, 1, 'moodle/contentbank:useeditor', 1, 1764416553, 0),
(457, 1, 2, 'moodle/contentbank:useeditor', 1, 1764416553, 0),
(458, 1, 3, 'moodle/contentbank:useeditor', 1, 1764416553, 0),
(459, 1, 1, 'moodle/contentbank:downloadcontent', 1, 1764416553, 0),
(460, 1, 2, 'moodle/contentbank:downloadcontent', 1, 1764416553, 0),
(461, 1, 3, 'moodle/contentbank:downloadcontent', 1, 1764416553, 0),
(462, 1, 1, 'moodle/contentbank:copyanycontent', 1, 1764416553, 0),
(463, 1, 2, 'moodle/contentbank:copyanycontent', 1, 1764416553, 0),
(464, 1, 1, 'moodle/contentbank:copycontent', 1, 1764416553, 0),
(465, 1, 2, 'moodle/contentbank:copycontent', 1, 1764416553, 0),
(466, 1, 3, 'moodle/contentbank:copycontent', 1, 1764416553, 0),
(467, 1, 5, 'moodle/course:downloadcoursecontent', 1, 1764416553, 0),
(468, 1, 4, 'moodle/course:downloadcoursecontent', 1, 1764416553, 0),
(469, 1, 3, 'moodle/course:downloadcoursecontent', 1, 1764416553, 0),
(470, 1, 1, 'moodle/course:downloadcoursecontent', 1, 1764416553, 0),
(471, 1, 3, 'moodle/course:configuredownloadcontent', 1, 1764416553, 0),
(472, 1, 1, 'moodle/course:configuredownloadcontent', 1, 1764416553, 0),
(473, 1, 1, 'moodle/contentbank:viewunlistedcontent', 1, 1764416553, 0),
(474, 1, 2, 'moodle/contentbank:viewunlistedcontent', 1, 1764416553, 0),
(475, 1, 7, 'moodle/reportbuilder:view', 1, 1764416553, 0),
(476, 1, 1, 'moodle/reportbuilder:edit', 1, 1764416553, 0),
(477, 1, 3, 'moodle/moodlenet:shareactivity', 1, 1764416553, 0),
(478, 1, 1, 'moodle/moodlenet:shareactivity', 1, 1764416553, 0),
(479, 1, 3, 'moodle/course:configurecoursecommunication', 1, 1764416553, 0),
(480, 1, 1, 'moodle/course:configurecoursecommunication', 1, 1764416553, 0),
(481, 1, 3, 'moodle/moodlenet:sharecourse', 1, 1764416553, 0),
(482, 1, 1, 'moodle/moodlenet:sharecourse', 1, 1764416553, 0),
(483, 1, 6, 'mod/assign:view', 1, 1764416591, 0),
(484, 1, 5, 'mod/assign:view', 1, 1764416591, 0),
(485, 1, 4, 'mod/assign:view', 1, 1764416591, 0),
(486, 1, 3, 'mod/assign:view', 1, 1764416591, 0),
(487, 1, 1, 'mod/assign:view', 1, 1764416591, 0),
(488, 1, 5, 'mod/assign:submit', 1, 1764416591, 0),
(489, 1, 4, 'mod/assign:grade', 1, 1764416591, 0),
(490, 1, 3, 'mod/assign:grade', 1, 1764416591, 0),
(491, 1, 1, 'mod/assign:grade', 1, 1764416591, 0),
(492, 1, 4, 'mod/assign:exportownsubmission', 1, 1764416591, 0),
(493, 1, 3, 'mod/assign:exportownsubmission', 1, 1764416591, 0),
(494, 1, 1, 'mod/assign:exportownsubmission', 1, 1764416591, 0),
(495, 1, 5, 'mod/assign:exportownsubmission', 1, 1764416591, 0),
(496, 1, 3, 'mod/assign:addinstance', 1, 1764416591, 0),
(497, 1, 1, 'mod/assign:addinstance', 1, 1764416591, 0),
(498, 1, 4, 'mod/assign:grantextension', 1, 1764416591, 0),
(499, 1, 3, 'mod/assign:grantextension', 1, 1764416591, 0),
(500, 1, 1, 'mod/assign:grantextension', 1, 1764416591, 0),
(501, 1, 3, 'mod/assign:revealidentities', 1, 1764416591, 0),
(502, 1, 1, 'mod/assign:revealidentities', 1, 1764416591, 0),
(503, 1, 3, 'mod/assign:reviewgrades', 1, 1764416591, 0),
(504, 1, 1, 'mod/assign:reviewgrades', 1, 1764416591, 0),
(505, 1, 3, 'mod/assign:releasegrades', 1, 1764416591, 0),
(506, 1, 1, 'mod/assign:releasegrades', 1, 1764416591, 0),
(507, 1, 3, 'mod/assign:managegrades', 1, 1764416591, 0),
(508, 1, 1, 'mod/assign:managegrades', 1, 1764416591, 0),
(509, 1, 3, 'mod/assign:manageallocations', 1, 1764416591, 0),
(510, 1, 1, 'mod/assign:manageallocations', 1, 1764416591, 0),
(511, 1, 3, 'mod/assign:viewgrades', 1, 1764416591, 0),
(512, 1, 1, 'mod/assign:viewgrades', 1, 1764416591, 0),
(513, 1, 4, 'mod/assign:viewgrades', 1, 1764416591, 0),
(514, 1, 1, 'mod/assign:viewblinddetails', 1, 1764416591, 0),
(515, 1, 4, 'mod/assign:receivegradernotifications', 1, 1764416591, 0),
(516, 1, 3, 'mod/assign:receivegradernotifications', 1, 1764416591, 0),
(517, 1, 1, 'mod/assign:receivegradernotifications', 1, 1764416591, 0),
(518, 1, 3, 'mod/assign:manageoverrides', 1, 1764416591, 0),
(519, 1, 1, 'mod/assign:manageoverrides', 1, 1764416591, 0),
(520, 1, 4, 'mod/assign:showhiddengrader', 1, 1764416591, 0),
(521, 1, 3, 'mod/assign:showhiddengrader', 1, 1764416591, 0),
(522, 1, 1, 'mod/assign:showhiddengrader', 1, 1764416591, 0),
(523, 1, 5, 'mod/assign:viewownsubmissionsummary', 1, 1764416591, 0),
(524, 1, 3, 'mod/bigbluebuttonbn:addinstance', 1, 1764416592, 0),
(525, 1, 1, 'mod/bigbluebuttonbn:addinstance', 1, 1764416592, 0),
(526, 1, 3, 'mod/bigbluebuttonbn:addinstancewithmeeting', 1, 1764416592, 0),
(527, 1, 1, 'mod/bigbluebuttonbn:addinstancewithmeeting', 1, 1764416592, 0),
(528, 1, 3, 'mod/bigbluebuttonbn:addinstancewithrecording', 1, 1764416592, 0),
(529, 1, 1, 'mod/bigbluebuttonbn:addinstancewithrecording', 1, 1764416592, 0),
(530, 1, 1, 'mod/bigbluebuttonbn:join', 1, 1764416592, 0),
(531, 1, 3, 'mod/bigbluebuttonbn:join', 1, 1764416592, 0),
(532, 1, 4, 'mod/bigbluebuttonbn:join', 1, 1764416592, 0),
(533, 1, 5, 'mod/bigbluebuttonbn:join', 1, 1764416592, 0),
(534, 1, 6, 'mod/bigbluebuttonbn:join', 1, 1764416592, 0),
(535, 1, 5, 'mod/bigbluebuttonbn:view', 1, 1764416592, 0),
(536, 1, 4, 'mod/bigbluebuttonbn:view', 1, 1764416592, 0),
(537, 1, 3, 'mod/bigbluebuttonbn:view', 1, 1764416592, 0),
(538, 1, 1, 'mod/bigbluebuttonbn:view', 1, 1764416592, 0),
(539, 1, 1, 'mod/bigbluebuttonbn:managerecordings', 1, 1764416592, 0),
(540, 1, 3, 'mod/bigbluebuttonbn:managerecordings', 1, 1764416592, 0),
(541, 1, 1, 'mod/bigbluebuttonbn:viewallrecordingformats', 1, 1764416592, 0),
(542, 1, 3, 'mod/bigbluebuttonbn:viewallrecordingformats', 1, 1764416592, 0),
(543, 1, 1, 'mod/bigbluebuttonbn:publishrecordings', 1, 1764416592, 0),
(544, 1, 3, 'mod/bigbluebuttonbn:publishrecordings', 1, 1764416592, 0),
(545, 1, 1, 'mod/bigbluebuttonbn:unpublishrecordings', 1, 1764416592, 0),
(546, 1, 3, 'mod/bigbluebuttonbn:unpublishrecordings', 1, 1764416592, 0),
(547, 1, 1, 'mod/bigbluebuttonbn:protectrecordings', 1, 1764416592, 0),
(548, 1, 3, 'mod/bigbluebuttonbn:protectrecordings', 1, 1764416592, 0),
(549, 1, 1, 'mod/bigbluebuttonbn:unprotectrecordings', 1, 1764416592, 0),
(550, 1, 3, 'mod/bigbluebuttonbn:unprotectrecordings', 1, 1764416592, 0),
(551, 1, 1, 'mod/bigbluebuttonbn:deleterecordings', 1, 1764416592, 0),
(552, 1, 3, 'mod/bigbluebuttonbn:deleterecordings', 1, 1764416592, 0),
(553, 1, 1, 'mod/bigbluebuttonbn:importrecordings', 1, 1764416592, 0),
(554, 1, 3, 'mod/bigbluebuttonbn:importrecordings', 1, 1764416592, 0),
(555, 1, 3, 'mod/book:addinstance', 1, 1764416593, 0),
(556, 1, 1, 'mod/book:addinstance', 1, 1764416593, 0),
(557, 1, 6, 'mod/book:read', 1, 1764416593, 0),
(558, 1, 8, 'mod/book:read', 1, 1764416593, 0),
(559, 1, 5, 'mod/book:read', 1, 1764416593, 0),
(560, 1, 4, 'mod/book:read', 1, 1764416593, 0),
(561, 1, 3, 'mod/book:read', 1, 1764416593, 0),
(562, 1, 1, 'mod/book:read', 1, 1764416593, 0),
(563, 1, 4, 'mod/book:viewhiddenchapters', 1, 1764416593, 0),
(564, 1, 3, 'mod/book:viewhiddenchapters', 1, 1764416593, 0),
(565, 1, 1, 'mod/book:viewhiddenchapters', 1, 1764416593, 0),
(566, 1, 3, 'mod/book:edit', 1, 1764416593, 0),
(567, 1, 1, 'mod/book:edit', 1, 1764416593, 0),
(568, 1, 3, 'mod/chat:addinstance', 1, 1764416593, 0),
(569, 1, 1, 'mod/chat:addinstance', 1, 1764416593, 0),
(570, 1, 5, 'mod/chat:chat', 1, 1764416593, 0),
(571, 1, 4, 'mod/chat:chat', 1, 1764416593, 0),
(572, 1, 3, 'mod/chat:chat', 1, 1764416593, 0),
(573, 1, 1, 'mod/chat:chat', 1, 1764416593, 0),
(574, 1, 5, 'mod/chat:readlog', 1, 1764416593, 0),
(575, 1, 4, 'mod/chat:readlog', 1, 1764416593, 0),
(576, 1, 3, 'mod/chat:readlog', 1, 1764416593, 0),
(577, 1, 1, 'mod/chat:readlog', 1, 1764416593, 0),
(578, 1, 4, 'mod/chat:deletelog', 1, 1764416593, 0),
(579, 1, 3, 'mod/chat:deletelog', 1, 1764416593, 0),
(580, 1, 1, 'mod/chat:deletelog', 1, 1764416593, 0),
(581, 1, 4, 'mod/chat:exportparticipatedsession', 1, 1764416593, 0),
(582, 1, 3, 'mod/chat:exportparticipatedsession', 1, 1764416593, 0),
(583, 1, 1, 'mod/chat:exportparticipatedsession', 1, 1764416593, 0),
(584, 1, 4, 'mod/chat:exportsession', 1, 1764416593, 0),
(585, 1, 3, 'mod/chat:exportsession', 1, 1764416593, 0),
(586, 1, 1, 'mod/chat:exportsession', 1, 1764416593, 0),
(587, 1, 7, 'mod/chat:view', 1, 1764416593, 0),
(588, 1, 6, 'mod/chat:view', 1, 1764416593, 0),
(589, 1, 3, 'mod/choice:addinstance', 1, 1764416594, 0),
(590, 1, 1, 'mod/choice:addinstance', 1, 1764416594, 0),
(591, 1, 5, 'mod/choice:choose', 1, 1764416594, 0),
(592, 1, 4, 'mod/choice:choose', 1, 1764416594, 0),
(593, 1, 3, 'mod/choice:choose', 1, 1764416594, 0),
(594, 1, 4, 'mod/choice:readresponses', 1, 1764416594, 0),
(595, 1, 3, 'mod/choice:readresponses', 1, 1764416594, 0),
(596, 1, 1, 'mod/choice:readresponses', 1, 1764416594, 0),
(597, 1, 4, 'mod/choice:deleteresponses', 1, 1764416594, 0),
(598, 1, 3, 'mod/choice:deleteresponses', 1, 1764416594, 0),
(599, 1, 1, 'mod/choice:deleteresponses', 1, 1764416594, 0),
(600, 1, 4, 'mod/choice:downloadresponses', 1, 1764416594, 0),
(601, 1, 3, 'mod/choice:downloadresponses', 1, 1764416594, 0),
(602, 1, 1, 'mod/choice:downloadresponses', 1, 1764416594, 0),
(603, 1, 7, 'mod/choice:view', 1, 1764416594, 0),
(604, 1, 6, 'mod/choice:view', 1, 1764416594, 0),
(605, 1, 3, 'mod/data:addinstance', 1, 1764416594, 0),
(606, 1, 1, 'mod/data:addinstance', 1, 1764416594, 0),
(607, 1, 8, 'mod/data:viewentry', 1, 1764416594, 0),
(608, 1, 6, 'mod/data:viewentry', 1, 1764416594, 0),
(609, 1, 5, 'mod/data:viewentry', 1, 1764416594, 0),
(610, 1, 4, 'mod/data:viewentry', 1, 1764416594, 0),
(611, 1, 3, 'mod/data:viewentry', 1, 1764416594, 0),
(612, 1, 1, 'mod/data:viewentry', 1, 1764416594, 0),
(613, 1, 5, 'mod/data:writeentry', 1, 1764416594, 0),
(614, 1, 4, 'mod/data:writeentry', 1, 1764416594, 0),
(615, 1, 3, 'mod/data:writeentry', 1, 1764416594, 0),
(616, 1, 1, 'mod/data:writeentry', 1, 1764416594, 0),
(617, 1, 5, 'mod/data:comment', 1, 1764416594, 0),
(618, 1, 4, 'mod/data:comment', 1, 1764416594, 0),
(619, 1, 3, 'mod/data:comment', 1, 1764416594, 0),
(620, 1, 1, 'mod/data:comment', 1, 1764416594, 0),
(621, 1, 4, 'mod/data:rate', 1, 1764416594, 0),
(622, 1, 3, 'mod/data:rate', 1, 1764416594, 0),
(623, 1, 1, 'mod/data:rate', 1, 1764416594, 0),
(624, 1, 4, 'mod/data:viewrating', 1, 1764416594, 0),
(625, 1, 3, 'mod/data:viewrating', 1, 1764416594, 0),
(626, 1, 1, 'mod/data:viewrating', 1, 1764416594, 0),
(627, 1, 4, 'mod/data:viewanyrating', 1, 1764416594, 0),
(628, 1, 3, 'mod/data:viewanyrating', 1, 1764416594, 0),
(629, 1, 1, 'mod/data:viewanyrating', 1, 1764416594, 0),
(630, 1, 4, 'mod/data:viewallratings', 1, 1764416594, 0),
(631, 1, 3, 'mod/data:viewallratings', 1, 1764416594, 0),
(632, 1, 1, 'mod/data:viewallratings', 1, 1764416594, 0),
(633, 1, 4, 'mod/data:approve', 1, 1764416594, 0),
(634, 1, 3, 'mod/data:approve', 1, 1764416594, 0),
(635, 1, 1, 'mod/data:approve', 1, 1764416594, 0),
(636, 1, 4, 'mod/data:manageentries', 1, 1764416594, 0),
(637, 1, 3, 'mod/data:manageentries', 1, 1764416595, 0),
(638, 1, 1, 'mod/data:manageentries', 1, 1764416595, 0),
(639, 1, 4, 'mod/data:managecomments', 1, 1764416595, 0),
(640, 1, 3, 'mod/data:managecomments', 1, 1764416595, 0),
(641, 1, 1, 'mod/data:managecomments', 1, 1764416595, 0),
(642, 1, 3, 'mod/data:managetemplates', 1, 1764416595, 0),
(643, 1, 1, 'mod/data:managetemplates', 1, 1764416595, 0),
(644, 1, 4, 'mod/data:viewalluserpresets', 1, 1764416595, 0),
(645, 1, 3, 'mod/data:viewalluserpresets', 1, 1764416595, 0),
(646, 1, 1, 'mod/data:viewalluserpresets', 1, 1764416595, 0),
(647, 1, 1, 'mod/data:manageuserpresets', 1, 1764416595, 0),
(648, 1, 1, 'mod/data:exportentry', 1, 1764416595, 0),
(649, 1, 4, 'mod/data:exportentry', 1, 1764416595, 0),
(650, 1, 3, 'mod/data:exportentry', 1, 1764416595, 0),
(651, 1, 1, 'mod/data:exportownentry', 1, 1764416595, 0),
(652, 1, 4, 'mod/data:exportownentry', 1, 1764416595, 0),
(653, 1, 3, 'mod/data:exportownentry', 1, 1764416595, 0),
(654, 1, 5, 'mod/data:exportownentry', 1, 1764416595, 0),
(655, 1, 1, 'mod/data:exportallentries', 1, 1764416595, 0),
(656, 1, 4, 'mod/data:exportallentries', 1, 1764416595, 0),
(657, 1, 3, 'mod/data:exportallentries', 1, 1764416595, 0),
(658, 1, 1, 'mod/data:exportuserinfo', 1, 1764416595, 0),
(659, 1, 4, 'mod/data:exportuserinfo', 1, 1764416595, 0),
(660, 1, 3, 'mod/data:exportuserinfo', 1, 1764416595, 0),
(661, 1, 6, 'mod/data:view', 1, 1764416595, 0),
(662, 1, 5, 'mod/data:view', 1, 1764416595, 0),
(663, 1, 4, 'mod/data:view', 1, 1764416595, 0),
(664, 1, 3, 'mod/data:view', 1, 1764416595, 0),
(665, 1, 1, 'mod/data:view', 1, 1764416595, 0),
(666, 1, 3, 'mod/feedback:addinstance', 1, 1764416595, 0),
(667, 1, 1, 'mod/feedback:addinstance', 1, 1764416595, 0),
(668, 1, 6, 'mod/feedback:view', 1, 1764416595, 0),
(669, 1, 8, 'mod/feedback:view', 1, 1764416595, 0),
(670, 1, 5, 'mod/feedback:view', 1, 1764416595, 0),
(671, 1, 4, 'mod/feedback:view', 1, 1764416595, 0),
(672, 1, 3, 'mod/feedback:view', 1, 1764416595, 0),
(673, 1, 1, 'mod/feedback:view', 1, 1764416595, 0),
(674, 1, 8, 'mod/feedback:complete', 1, 1764416595, 0),
(675, 1, 5, 'mod/feedback:complete', 1, 1764416595, 0),
(676, 1, 5, 'mod/feedback:viewanalysepage', 1, 1764416595, 0),
(677, 1, 3, 'mod/feedback:viewanalysepage', 1, 1764416595, 0),
(678, 1, 1, 'mod/feedback:viewanalysepage', 1, 1764416595, 0),
(679, 1, 3, 'mod/feedback:deletesubmissions', 1, 1764416595, 0),
(680, 1, 1, 'mod/feedback:deletesubmissions', 1, 1764416595, 0),
(681, 1, 1, 'mod/feedback:mapcourse', 1, 1764416595, 0),
(682, 1, 3, 'mod/feedback:edititems', 1, 1764416595, 0),
(683, 1, 1, 'mod/feedback:edititems', 1, 1764416595, 0),
(684, 1, 3, 'mod/feedback:createprivatetemplate', 1, 1764416595, 0),
(685, 1, 1, 'mod/feedback:createprivatetemplate', 1, 1764416595, 0),
(686, 1, 3, 'mod/feedback:createpublictemplate', 1, 1764416595, 0),
(687, 1, 1, 'mod/feedback:createpublictemplate', 1, 1764416596, 0),
(688, 1, 3, 'mod/feedback:deletetemplate', 1, 1764416596, 0),
(689, 1, 1, 'mod/feedback:deletetemplate', 1, 1764416596, 0),
(690, 1, 4, 'mod/feedback:viewreports', 1, 1764416596, 0),
(691, 1, 3, 'mod/feedback:viewreports', 1, 1764416596, 0),
(692, 1, 1, 'mod/feedback:viewreports', 1, 1764416596, 0),
(693, 1, 4, 'mod/feedback:receivemail', 1, 1764416596, 0),
(694, 1, 3, 'mod/feedback:receivemail', 1, 1764416596, 0),
(695, 1, 3, 'mod/folder:addinstance', 1, 1764416596, 0),
(696, 1, 1, 'mod/folder:addinstance', 1, 1764416596, 0),
(697, 1, 6, 'mod/folder:view', 1, 1764416596, 0),
(698, 1, 7, 'mod/folder:view', 1, 1764416596, 0),
(699, 1, 3, 'mod/folder:managefiles', 1, 1764416596, 0),
(700, 1, 3, 'mod/forum:addinstance', 1, 1764416596, 0),
(701, 1, 1, 'mod/forum:addinstance', 1, 1764416596, 0),
(702, 1, 8, 'mod/forum:viewdiscussion', 1, 1764416596, 0),
(703, 1, 6, 'mod/forum:viewdiscussion', 1, 1764416596, 0),
(704, 1, 5, 'mod/forum:viewdiscussion', 1, 1764416597, 0),
(705, 1, 4, 'mod/forum:viewdiscussion', 1, 1764416597, 0),
(706, 1, 3, 'mod/forum:viewdiscussion', 1, 1764416597, 0),
(707, 1, 1, 'mod/forum:viewdiscussion', 1, 1764416597, 0),
(708, 1, 4, 'mod/forum:viewhiddentimedposts', 1, 1764416597, 0),
(709, 1, 3, 'mod/forum:viewhiddentimedposts', 1, 1764416597, 0),
(710, 1, 1, 'mod/forum:viewhiddentimedposts', 1, 1764416597, 0),
(711, 1, 5, 'mod/forum:startdiscussion', 1, 1764416597, 0),
(712, 1, 4, 'mod/forum:startdiscussion', 1, 1764416597, 0),
(713, 1, 3, 'mod/forum:startdiscussion', 1, 1764416597, 0),
(714, 1, 1, 'mod/forum:startdiscussion', 1, 1764416597, 0),
(715, 1, 5, 'mod/forum:replypost', 1, 1764416597, 0),
(716, 1, 4, 'mod/forum:replypost', 1, 1764416597, 0),
(717, 1, 3, 'mod/forum:replypost', 1, 1764416597, 0),
(718, 1, 1, 'mod/forum:replypost', 1, 1764416597, 0),
(719, 1, 4, 'mod/forum:addnews', 1, 1764416597, 0),
(720, 1, 3, 'mod/forum:addnews', 1, 1764416597, 0),
(721, 1, 1, 'mod/forum:addnews', 1, 1764416597, 0),
(722, 1, 4, 'mod/forum:replynews', 1, 1764416597, 0),
(723, 1, 3, 'mod/forum:replynews', 1, 1764416597, 0),
(724, 1, 1, 'mod/forum:replynews', 1, 1764416597, 0),
(725, 1, 5, 'mod/forum:viewrating', 1, 1764416597, 0),
(726, 1, 4, 'mod/forum:viewrating', 1, 1764416597, 0),
(727, 1, 3, 'mod/forum:viewrating', 1, 1764416597, 0),
(728, 1, 1, 'mod/forum:viewrating', 1, 1764416597, 0),
(729, 1, 4, 'mod/forum:viewanyrating', 1, 1764416597, 0),
(730, 1, 3, 'mod/forum:viewanyrating', 1, 1764416597, 0),
(731, 1, 1, 'mod/forum:viewanyrating', 1, 1764416597, 0),
(732, 1, 4, 'mod/forum:viewallratings', 1, 1764416597, 0),
(733, 1, 3, 'mod/forum:viewallratings', 1, 1764416597, 0),
(734, 1, 1, 'mod/forum:viewallratings', 1, 1764416597, 0),
(735, 1, 4, 'mod/forum:rate', 1, 1764416597, 0),
(736, 1, 3, 'mod/forum:rate', 1, 1764416597, 0),
(737, 1, 1, 'mod/forum:rate', 1, 1764416597, 0),
(738, 1, 4, 'mod/forum:postprivatereply', 1, 1764416597, 0),
(739, 1, 3, 'mod/forum:postprivatereply', 1, 1764416597, 0),
(740, 1, 1, 'mod/forum:postprivatereply', 1, 1764416597, 0),
(741, 1, 4, 'mod/forum:readprivatereplies', 1, 1764416597, 0),
(742, 1, 3, 'mod/forum:readprivatereplies', 1, 1764416597, 0),
(743, 1, 1, 'mod/forum:readprivatereplies', 1, 1764416597, 0),
(744, 1, 5, 'mod/forum:createattachment', 1, 1764416597, 0),
(745, 1, 4, 'mod/forum:createattachment', 1, 1764416597, 0),
(746, 1, 3, 'mod/forum:createattachment', 1, 1764416597, 0),
(747, 1, 1, 'mod/forum:createattachment', 1, 1764416597, 0),
(748, 1, 5, 'mod/forum:deleteownpost', 1, 1764416597, 0),
(749, 1, 4, 'mod/forum:deleteownpost', 1, 1764416597, 0),
(750, 1, 3, 'mod/forum:deleteownpost', 1, 1764416597, 0),
(751, 1, 1, 'mod/forum:deleteownpost', 1, 1764416597, 0),
(752, 1, 4, 'mod/forum:deleteanypost', 1, 1764416597, 0),
(753, 1, 3, 'mod/forum:deleteanypost', 1, 1764416597, 0),
(754, 1, 1, 'mod/forum:deleteanypost', 1, 1764416597, 0),
(755, 1, 4, 'mod/forum:splitdiscussions', 1, 1764416597, 0),
(756, 1, 3, 'mod/forum:splitdiscussions', 1, 1764416597, 0),
(757, 1, 1, 'mod/forum:splitdiscussions', 1, 1764416597, 0),
(758, 1, 4, 'mod/forum:movediscussions', 1, 1764416597, 0),
(759, 1, 3, 'mod/forum:movediscussions', 1, 1764416597, 0),
(760, 1, 1, 'mod/forum:movediscussions', 1, 1764416597, 0),
(761, 1, 4, 'mod/forum:pindiscussions', 1, 1764416597, 0),
(762, 1, 3, 'mod/forum:pindiscussions', 1, 1764416597, 0),
(763, 1, 1, 'mod/forum:pindiscussions', 1, 1764416597, 0),
(764, 1, 4, 'mod/forum:editanypost', 1, 1764416597, 0),
(765, 1, 3, 'mod/forum:editanypost', 1, 1764416597, 0),
(766, 1, 1, 'mod/forum:editanypost', 1, 1764416597, 0),
(767, 1, 4, 'mod/forum:viewqandawithoutposting', 1, 1764416597, 0),
(768, 1, 3, 'mod/forum:viewqandawithoutposting', 1, 1764416597, 0),
(769, 1, 1, 'mod/forum:viewqandawithoutposting', 1, 1764416597, 0),
(770, 1, 4, 'mod/forum:viewsubscribers', 1, 1764416597, 0),
(771, 1, 3, 'mod/forum:viewsubscribers', 1, 1764416597, 0),
(772, 1, 1, 'mod/forum:viewsubscribers', 1, 1764416597, 0),
(773, 1, 4, 'mod/forum:managesubscriptions', 1, 1764416597, 0),
(774, 1, 3, 'mod/forum:managesubscriptions', 1, 1764416597, 0),
(775, 1, 1, 'mod/forum:managesubscriptions', 1, 1764416597, 0),
(776, 1, 4, 'mod/forum:postwithoutthrottling', 1, 1764416597, 0),
(777, 1, 3, 'mod/forum:postwithoutthrottling', 1, 1764416597, 0),
(778, 1, 1, 'mod/forum:postwithoutthrottling', 1, 1764416597, 0),
(779, 1, 4, 'mod/forum:exportdiscussion', 1, 1764416597, 0),
(780, 1, 3, 'mod/forum:exportdiscussion', 1, 1764416597, 0),
(781, 1, 1, 'mod/forum:exportdiscussion', 1, 1764416597, 0),
(782, 1, 4, 'mod/forum:exportforum', 1, 1764416597, 0),
(783, 1, 3, 'mod/forum:exportforum', 1, 1764416597, 0),
(784, 1, 1, 'mod/forum:exportforum', 1, 1764416597, 0),
(785, 1, 4, 'mod/forum:exportpost', 1, 1764416597, 0),
(786, 1, 3, 'mod/forum:exportpost', 1, 1764416597, 0),
(787, 1, 1, 'mod/forum:exportpost', 1, 1764416597, 0),
(788, 1, 4, 'mod/forum:exportownpost', 1, 1764416597, 0),
(789, 1, 3, 'mod/forum:exportownpost', 1, 1764416597, 0),
(790, 1, 1, 'mod/forum:exportownpost', 1, 1764416597, 0),
(791, 1, 5, 'mod/forum:exportownpost', 1, 1764416597, 0),
(792, 1, 4, 'mod/forum:addquestion', 1, 1764416597, 0),
(793, 1, 3, 'mod/forum:addquestion', 1, 1764416597, 0),
(794, 1, 1, 'mod/forum:addquestion', 1, 1764416597, 0),
(795, 1, 5, 'mod/forum:allowforcesubscribe', 1, 1764416597, 0),
(796, 1, 4, 'mod/forum:allowforcesubscribe', 1, 1764416597, 0),
(797, 1, 3, 'mod/forum:allowforcesubscribe', 1, 1764416597, 0),
(798, 1, 8, 'mod/forum:allowforcesubscribe', 1, 1764416597, 0),
(799, 1, 4, 'mod/forum:canposttomygroups', 1, 1764416597, 0),
(800, 1, 3, 'mod/forum:canposttomygroups', 1, 1764416597, 0),
(801, 1, 1, 'mod/forum:canposttomygroups', 1, 1764416597, 0),
(802, 1, 4, 'mod/forum:canoverridediscussionlock', 1, 1764416597, 0),
(803, 1, 3, 'mod/forum:canoverridediscussionlock', 1, 1764416597, 0),
(804, 1, 1, 'mod/forum:canoverridediscussionlock', 1, 1764416597, 0),
(805, 1, 4, 'mod/forum:canoverridecutoff', 1, 1764416597, 0),
(806, 1, 3, 'mod/forum:canoverridecutoff', 1, 1764416597, 0),
(807, 1, 1, 'mod/forum:canoverridecutoff', 1, 1764416597, 0),
(808, 1, 7, 'mod/forum:cantogglefavourite', 1, 1764416597, 0),
(809, 1, 4, 'mod/forum:grade', 1, 1764416597, 0),
(810, 1, 3, 'mod/forum:grade', 1, 1764416597, 0),
(811, 1, 1, 'mod/forum:grade', 1, 1764416597, 0),
(812, 1, 5, 'mod/forum:canmailnow', 1, 1764416597, 0),
(813, 1, 4, 'mod/forum:canmailnow', 1, 1764416597, 0),
(814, 1, 3, 'mod/forum:canmailnow', 1, 1764416597, 0),
(815, 1, 1, 'mod/forum:canmailnow', 1, 1764416597, 0),
(816, 1, 3, 'mod/glossary:addinstance', 1, 1764416598, 0),
(817, 1, 1, 'mod/glossary:addinstance', 1, 1764416598, 0),
(818, 1, 8, 'mod/glossary:view', 1, 1764416598, 0),
(819, 1, 6, 'mod/glossary:view', 1, 1764416598, 0),
(820, 1, 5, 'mod/glossary:view', 1, 1764416598, 0),
(821, 1, 4, 'mod/glossary:view', 1, 1764416598, 0),
(822, 1, 3, 'mod/glossary:view', 1, 1764416598, 0),
(823, 1, 1, 'mod/glossary:view', 1, 1764416598, 0),
(824, 1, 5, 'mod/glossary:write', 1, 1764416598, 0),
(825, 1, 4, 'mod/glossary:write', 1, 1764416598, 0),
(826, 1, 3, 'mod/glossary:write', 1, 1764416598, 0),
(827, 1, 1, 'mod/glossary:write', 1, 1764416598, 0),
(828, 1, 4, 'mod/glossary:manageentries', 1, 1764416598, 0),
(829, 1, 3, 'mod/glossary:manageentries', 1, 1764416598, 0),
(830, 1, 1, 'mod/glossary:manageentries', 1, 1764416598, 0),
(831, 1, 4, 'mod/glossary:managecategories', 1, 1764416598, 0),
(832, 1, 3, 'mod/glossary:managecategories', 1, 1764416598, 0),
(833, 1, 1, 'mod/glossary:managecategories', 1, 1764416598, 0),
(834, 1, 5, 'mod/glossary:comment', 1, 1764416598, 0),
(835, 1, 4, 'mod/glossary:comment', 1, 1764416598, 0),
(836, 1, 3, 'mod/glossary:comment', 1, 1764416598, 0),
(837, 1, 1, 'mod/glossary:comment', 1, 1764416598, 0),
(838, 1, 4, 'mod/glossary:managecomments', 1, 1764416598, 0),
(839, 1, 3, 'mod/glossary:managecomments', 1, 1764416598, 0),
(840, 1, 1, 'mod/glossary:managecomments', 1, 1764416598, 0),
(841, 1, 4, 'mod/glossary:import', 1, 1764416598, 0),
(842, 1, 3, 'mod/glossary:import', 1, 1764416598, 0),
(843, 1, 1, 'mod/glossary:import', 1, 1764416598, 0),
(844, 1, 4, 'mod/glossary:export', 1, 1764416598, 0),
(845, 1, 3, 'mod/glossary:export', 1, 1764416598, 0),
(846, 1, 1, 'mod/glossary:export', 1, 1764416598, 0),
(847, 1, 4, 'mod/glossary:approve', 1, 1764416598, 0),
(848, 1, 3, 'mod/glossary:approve', 1, 1764416598, 0),
(849, 1, 1, 'mod/glossary:approve', 1, 1764416598, 0),
(850, 1, 4, 'mod/glossary:rate', 1, 1764416598, 0),
(851, 1, 3, 'mod/glossary:rate', 1, 1764416598, 0),
(852, 1, 1, 'mod/glossary:rate', 1, 1764416598, 0),
(853, 1, 4, 'mod/glossary:viewrating', 1, 1764416598, 0),
(854, 1, 3, 'mod/glossary:viewrating', 1, 1764416598, 0),
(855, 1, 1, 'mod/glossary:viewrating', 1, 1764416598, 0),
(856, 1, 4, 'mod/glossary:viewanyrating', 1, 1764416598, 0),
(857, 1, 3, 'mod/glossary:viewanyrating', 1, 1764416598, 0),
(858, 1, 1, 'mod/glossary:viewanyrating', 1, 1764416599, 0),
(859, 1, 4, 'mod/glossary:viewallratings', 1, 1764416599, 0),
(860, 1, 3, 'mod/glossary:viewallratings', 1, 1764416599, 0),
(861, 1, 1, 'mod/glossary:viewallratings', 1, 1764416599, 0),
(862, 1, 4, 'mod/glossary:exportentry', 1, 1764416599, 0),
(863, 1, 3, 'mod/glossary:exportentry', 1, 1764416599, 0);
INSERT INTO `mdl_role_capabilities` (`id`, `contextid`, `roleid`, `capability`, `permission`, `timemodified`, `modifierid`) VALUES
(864, 1, 1, 'mod/glossary:exportentry', 1, 1764416599, 0),
(865, 1, 4, 'mod/glossary:exportownentry', 1, 1764416599, 0),
(866, 1, 3, 'mod/glossary:exportownentry', 1, 1764416599, 0),
(867, 1, 1, 'mod/glossary:exportownentry', 1, 1764416599, 0),
(868, 1, 5, 'mod/glossary:exportownentry', 1, 1764416599, 0),
(869, 1, 6, 'mod/h5pactivity:view', 1, 1764416599, 0),
(870, 1, 5, 'mod/h5pactivity:view', 1, 1764416599, 0),
(871, 1, 4, 'mod/h5pactivity:view', 1, 1764416599, 0),
(872, 1, 3, 'mod/h5pactivity:view', 1, 1764416599, 0),
(873, 1, 1, 'mod/h5pactivity:view', 1, 1764416599, 0),
(874, 1, 3, 'mod/h5pactivity:addinstance', 1, 1764416599, 0),
(875, 1, 1, 'mod/h5pactivity:addinstance', 1, 1764416599, 0),
(876, 1, 5, 'mod/h5pactivity:submit', 1, 1764416599, 0),
(877, 1, 3, 'mod/h5pactivity:reviewattempts', 1, 1764416599, 0),
(878, 1, 1, 'mod/h5pactivity:reviewattempts', 1, 1764416599, 0),
(879, 1, 6, 'mod/imscp:view', 1, 1764416600, 0),
(880, 1, 7, 'mod/imscp:view', 1, 1764416600, 0),
(881, 1, 3, 'mod/imscp:addinstance', 1, 1764416600, 0),
(882, 1, 1, 'mod/imscp:addinstance', 1, 1764416600, 0),
(883, 1, 3, 'mod/label:addinstance', 1, 1764416600, 0),
(884, 1, 1, 'mod/label:addinstance', 1, 1764416600, 0),
(885, 1, 7, 'mod/label:view', 1, 1764416600, 0),
(886, 1, 6, 'mod/label:view', 1, 1764416600, 0),
(887, 1, 3, 'mod/lesson:addinstance', 1, 1764416600, 0),
(888, 1, 1, 'mod/lesson:addinstance', 1, 1764416600, 0),
(889, 1, 3, 'mod/lesson:edit', 1, 1764416600, 0),
(890, 1, 1, 'mod/lesson:edit', 1, 1764416600, 0),
(891, 1, 4, 'mod/lesson:grade', 1, 1764416600, 0),
(892, 1, 3, 'mod/lesson:grade', 1, 1764416600, 0),
(893, 1, 1, 'mod/lesson:grade', 1, 1764416601, 0),
(894, 1, 4, 'mod/lesson:viewreports', 1, 1764416601, 0),
(895, 1, 3, 'mod/lesson:viewreports', 1, 1764416601, 0),
(896, 1, 1, 'mod/lesson:viewreports', 1, 1764416601, 0),
(897, 1, 4, 'mod/lesson:manage', 1, 1764416601, 0),
(898, 1, 3, 'mod/lesson:manage', 1, 1764416601, 0),
(899, 1, 1, 'mod/lesson:manage', 1, 1764416601, 0),
(900, 1, 3, 'mod/lesson:manageoverrides', 1, 1764416601, 0),
(901, 1, 1, 'mod/lesson:manageoverrides', 1, 1764416601, 0),
(902, 1, 7, 'mod/lesson:view', 1, 1764416601, 0),
(903, 1, 6, 'mod/lesson:view', 1, 1764416601, 0),
(904, 1, 5, 'mod/lti:view', 1, 1764416601, 0),
(905, 1, 4, 'mod/lti:view', 1, 1764416601, 0),
(906, 1, 3, 'mod/lti:view', 1, 1764416601, 0),
(907, 1, 1, 'mod/lti:view', 1, 1764416601, 0),
(908, 1, 3, 'mod/lti:addinstance', 1, 1764416601, 0),
(909, 1, 1, 'mod/lti:addinstance', 1, 1764416601, 0),
(910, 1, 4, 'mod/lti:manage', 1, 1764416601, 0),
(911, 1, 3, 'mod/lti:manage', 1, 1764416601, 0),
(912, 1, 1, 'mod/lti:manage', 1, 1764416601, 0),
(913, 1, 3, 'mod/lti:addcoursetool', 1, 1764416601, 0),
(914, 1, 1, 'mod/lti:addcoursetool', 1, 1764416601, 0),
(915, 1, 3, 'mod/lti:addpreconfiguredinstance', 1, 1764416601, 0),
(916, 1, 1, 'mod/lti:addpreconfiguredinstance', 1, 1764416601, 0),
(917, 1, 3, 'mod/lti:requesttooladd', 1, 1764416601, 0),
(918, 1, 1, 'mod/lti:requesttooladd', 1, 1764416601, 0),
(919, 1, 6, 'mod/page:view', 1, 1764416602, 0),
(920, 1, 7, 'mod/page:view', 1, 1764416602, 0),
(921, 1, 3, 'mod/page:addinstance', 1, 1764416602, 0),
(922, 1, 1, 'mod/page:addinstance', 1, 1764416602, 0),
(923, 1, 6, 'mod/quiz:view', 1, 1764416602, 0),
(924, 1, 5, 'mod/quiz:view', 1, 1764416602, 0),
(925, 1, 4, 'mod/quiz:view', 1, 1764416602, 0),
(926, 1, 3, 'mod/quiz:view', 1, 1764416602, 0),
(927, 1, 1, 'mod/quiz:view', 1, 1764416602, 0),
(928, 1, 3, 'mod/quiz:addinstance', 1, 1764416602, 0),
(929, 1, 1, 'mod/quiz:addinstance', 1, 1764416602, 0),
(930, 1, 5, 'mod/quiz:attempt', 1, 1764416602, 0),
(931, 1, 5, 'mod/quiz:reviewmyattempts', 1, 1764416602, 0),
(932, 1, 3, 'mod/quiz:manage', 1, 1764416602, 0),
(933, 1, 1, 'mod/quiz:manage', 1, 1764416602, 0),
(934, 1, 3, 'mod/quiz:manageoverrides', 1, 1764416602, 0),
(935, 1, 1, 'mod/quiz:manageoverrides', 1, 1764416602, 0),
(936, 1, 4, 'mod/quiz:viewoverrides', 1, 1764416602, 0),
(937, 1, 3, 'mod/quiz:viewoverrides', 1, 1764416602, 0),
(938, 1, 1, 'mod/quiz:viewoverrides', 1, 1764416602, 0),
(939, 1, 4, 'mod/quiz:preview', 1, 1764416602, 0),
(940, 1, 3, 'mod/quiz:preview', 1, 1764416602, 0),
(941, 1, 1, 'mod/quiz:preview', 1, 1764416602, 0),
(942, 1, 4, 'mod/quiz:grade', 1, 1764416602, 0),
(943, 1, 3, 'mod/quiz:grade', 1, 1764416602, 0),
(944, 1, 1, 'mod/quiz:grade', 1, 1764416602, 0),
(945, 1, 4, 'mod/quiz:regrade', 1, 1764416602, 0),
(946, 1, 3, 'mod/quiz:regrade', 1, 1764416602, 0),
(947, 1, 1, 'mod/quiz:regrade', 1, 1764416602, 0),
(948, 1, 4, 'mod/quiz:viewreports', 1, 1764416602, 0),
(949, 1, 3, 'mod/quiz:viewreports', 1, 1764416602, 0),
(950, 1, 1, 'mod/quiz:viewreports', 1, 1764416602, 0),
(951, 1, 3, 'mod/quiz:deleteattempts', 1, 1764416602, 0),
(952, 1, 1, 'mod/quiz:deleteattempts', 1, 1764416602, 0),
(953, 1, 3, 'mod/quiz:reopenattempts', 1, 1764416602, 0),
(954, 1, 1, 'mod/quiz:reopenattempts', 1, 1764416602, 0),
(955, 1, 6, 'mod/resource:view', 1, 1764416603, 0),
(956, 1, 7, 'mod/resource:view', 1, 1764416603, 0),
(957, 1, 3, 'mod/resource:addinstance', 1, 1764416603, 0),
(958, 1, 1, 'mod/resource:addinstance', 1, 1764416603, 0),
(959, 1, 3, 'mod/scorm:addinstance', 1, 1764416603, 0),
(960, 1, 1, 'mod/scorm:addinstance', 1, 1764416604, 0),
(961, 1, 4, 'mod/scorm:viewreport', 1, 1764416604, 0),
(962, 1, 3, 'mod/scorm:viewreport', 1, 1764416604, 0),
(963, 1, 1, 'mod/scorm:viewreport', 1, 1764416604, 0),
(964, 1, 5, 'mod/scorm:skipview', 1, 1764416604, 0),
(965, 1, 5, 'mod/scorm:savetrack', 1, 1764416604, 0),
(966, 1, 4, 'mod/scorm:savetrack', 1, 1764416604, 0),
(967, 1, 3, 'mod/scorm:savetrack', 1, 1764416604, 0),
(968, 1, 1, 'mod/scorm:savetrack', 1, 1764416604, 0),
(969, 1, 5, 'mod/scorm:viewscores', 1, 1764416604, 0),
(970, 1, 4, 'mod/scorm:viewscores', 1, 1764416604, 0),
(971, 1, 3, 'mod/scorm:viewscores', 1, 1764416604, 0),
(972, 1, 1, 'mod/scorm:viewscores', 1, 1764416604, 0),
(973, 1, 4, 'mod/scorm:deleteresponses', 1, 1764416604, 0),
(974, 1, 3, 'mod/scorm:deleteresponses', 1, 1764416604, 0),
(975, 1, 1, 'mod/scorm:deleteresponses', 1, 1764416604, 0),
(976, 1, 3, 'mod/survey:addinstance', 1, 1764416605, 0),
(977, 1, 1, 'mod/survey:addinstance', 1, 1764416605, 0),
(978, 1, 5, 'mod/survey:participate', 1, 1764416605, 0),
(979, 1, 4, 'mod/survey:participate', 1, 1764416605, 0),
(980, 1, 3, 'mod/survey:participate', 1, 1764416605, 0),
(981, 1, 1, 'mod/survey:participate', 1, 1764416605, 0),
(982, 1, 4, 'mod/survey:readresponses', 1, 1764416605, 0),
(983, 1, 3, 'mod/survey:readresponses', 1, 1764416605, 0),
(984, 1, 1, 'mod/survey:readresponses', 1, 1764416605, 0),
(985, 1, 4, 'mod/survey:download', 1, 1764416605, 0),
(986, 1, 3, 'mod/survey:download', 1, 1764416605, 0),
(987, 1, 1, 'mod/survey:download', 1, 1764416605, 0),
(988, 1, 6, 'mod/url:view', 1, 1764416605, 0),
(989, 1, 7, 'mod/url:view', 1, 1764416605, 0),
(990, 1, 3, 'mod/url:addinstance', 1, 1764416605, 0),
(991, 1, 1, 'mod/url:addinstance', 1, 1764416605, 0),
(992, 1, 3, 'mod/wiki:addinstance', 1, 1764416605, 0),
(993, 1, 1, 'mod/wiki:addinstance', 1, 1764416605, 0),
(994, 1, 6, 'mod/wiki:viewpage', 1, 1764416605, 0),
(995, 1, 8, 'mod/wiki:viewpage', 1, 1764416605, 0),
(996, 1, 5, 'mod/wiki:viewpage', 1, 1764416605, 0),
(997, 1, 4, 'mod/wiki:viewpage', 1, 1764416605, 0),
(998, 1, 3, 'mod/wiki:viewpage', 1, 1764416605, 0),
(999, 1, 1, 'mod/wiki:viewpage', 1, 1764416605, 0),
(1000, 1, 5, 'mod/wiki:editpage', 1, 1764416605, 0),
(1001, 1, 4, 'mod/wiki:editpage', 1, 1764416605, 0),
(1002, 1, 3, 'mod/wiki:editpage', 1, 1764416606, 0),
(1003, 1, 1, 'mod/wiki:editpage', 1, 1764416606, 0),
(1004, 1, 5, 'mod/wiki:createpage', 1, 1764416606, 0),
(1005, 1, 4, 'mod/wiki:createpage', 1, 1764416606, 0),
(1006, 1, 3, 'mod/wiki:createpage', 1, 1764416606, 0),
(1007, 1, 1, 'mod/wiki:createpage', 1, 1764416606, 0),
(1008, 1, 5, 'mod/wiki:viewcomment', 1, 1764416606, 0),
(1009, 1, 4, 'mod/wiki:viewcomment', 1, 1764416606, 0),
(1010, 1, 3, 'mod/wiki:viewcomment', 1, 1764416606, 0),
(1011, 1, 1, 'mod/wiki:viewcomment', 1, 1764416606, 0),
(1012, 1, 5, 'mod/wiki:editcomment', 1, 1764416606, 0),
(1013, 1, 4, 'mod/wiki:editcomment', 1, 1764416606, 0),
(1014, 1, 3, 'mod/wiki:editcomment', 1, 1764416606, 0),
(1015, 1, 1, 'mod/wiki:editcomment', 1, 1764416606, 0),
(1016, 1, 4, 'mod/wiki:managecomment', 1, 1764416606, 0),
(1017, 1, 3, 'mod/wiki:managecomment', 1, 1764416606, 0),
(1018, 1, 1, 'mod/wiki:managecomment', 1, 1764416606, 0),
(1019, 1, 4, 'mod/wiki:managefiles', 1, 1764416606, 0),
(1020, 1, 3, 'mod/wiki:managefiles', 1, 1764416606, 0),
(1021, 1, 1, 'mod/wiki:managefiles', 1, 1764416606, 0),
(1022, 1, 4, 'mod/wiki:overridelock', 1, 1764416606, 0),
(1023, 1, 3, 'mod/wiki:overridelock', 1, 1764416606, 0),
(1024, 1, 1, 'mod/wiki:overridelock', 1, 1764416606, 0),
(1025, 1, 4, 'mod/wiki:managewiki', 1, 1764416606, 0),
(1026, 1, 3, 'mod/wiki:managewiki', 1, 1764416606, 0),
(1027, 1, 1, 'mod/wiki:managewiki', 1, 1764416606, 0),
(1028, 1, 6, 'mod/workshop:view', 1, 1764416606, 0),
(1029, 1, 5, 'mod/workshop:view', 1, 1764416606, 0),
(1030, 1, 4, 'mod/workshop:view', 1, 1764416606, 0),
(1031, 1, 3, 'mod/workshop:view', 1, 1764416606, 0),
(1032, 1, 1, 'mod/workshop:view', 1, 1764416606, 0),
(1033, 1, 3, 'mod/workshop:addinstance', 1, 1764416606, 0),
(1034, 1, 1, 'mod/workshop:addinstance', 1, 1764416606, 0),
(1035, 1, 4, 'mod/workshop:switchphase', 1, 1764416606, 0),
(1036, 1, 3, 'mod/workshop:switchphase', 1, 1764416606, 0),
(1037, 1, 1, 'mod/workshop:switchphase', 1, 1764416606, 0),
(1038, 1, 3, 'mod/workshop:editdimensions', 1, 1764416606, 0),
(1039, 1, 1, 'mod/workshop:editdimensions', 1, 1764416606, 0),
(1040, 1, 5, 'mod/workshop:submit', 1, 1764416606, 0),
(1041, 1, 5, 'mod/workshop:peerassess', 1, 1764416606, 0),
(1042, 1, 4, 'mod/workshop:manageexamples', 1, 1764416606, 0),
(1043, 1, 3, 'mod/workshop:manageexamples', 1, 1764416606, 0),
(1044, 1, 1, 'mod/workshop:manageexamples', 1, 1764416606, 0),
(1045, 1, 4, 'mod/workshop:allocate', 1, 1764416606, 0),
(1046, 1, 3, 'mod/workshop:allocate', 1, 1764416606, 0),
(1047, 1, 1, 'mod/workshop:allocate', 1, 1764416606, 0),
(1048, 1, 4, 'mod/workshop:publishsubmissions', 1, 1764416606, 0),
(1049, 1, 3, 'mod/workshop:publishsubmissions', 1, 1764416606, 0),
(1050, 1, 1, 'mod/workshop:publishsubmissions', 1, 1764416606, 0),
(1051, 1, 5, 'mod/workshop:viewauthornames', 1, 1764416606, 0),
(1052, 1, 4, 'mod/workshop:viewauthornames', 1, 1764416606, 0),
(1053, 1, 3, 'mod/workshop:viewauthornames', 1, 1764416606, 0),
(1054, 1, 1, 'mod/workshop:viewauthornames', 1, 1764416606, 0),
(1055, 1, 4, 'mod/workshop:viewreviewernames', 1, 1764416606, 0),
(1056, 1, 3, 'mod/workshop:viewreviewernames', 1, 1764416606, 0),
(1057, 1, 1, 'mod/workshop:viewreviewernames', 1, 1764416606, 0),
(1058, 1, 4, 'mod/workshop:viewallsubmissions', 1, 1764416606, 0),
(1059, 1, 3, 'mod/workshop:viewallsubmissions', 1, 1764416606, 0),
(1060, 1, 1, 'mod/workshop:viewallsubmissions', 1, 1764416606, 0),
(1061, 1, 5, 'mod/workshop:viewpublishedsubmissions', 1, 1764416606, 0),
(1062, 1, 4, 'mod/workshop:viewpublishedsubmissions', 1, 1764416606, 0),
(1063, 1, 3, 'mod/workshop:viewpublishedsubmissions', 1, 1764416606, 0),
(1064, 1, 1, 'mod/workshop:viewpublishedsubmissions', 1, 1764416606, 0),
(1065, 1, 5, 'mod/workshop:viewauthorpublished', 1, 1764416606, 0),
(1066, 1, 4, 'mod/workshop:viewauthorpublished', 1, 1764416607, 0),
(1067, 1, 3, 'mod/workshop:viewauthorpublished', 1, 1764416607, 0),
(1068, 1, 1, 'mod/workshop:viewauthorpublished', 1, 1764416607, 0),
(1069, 1, 4, 'mod/workshop:viewallassessments', 1, 1764416607, 0),
(1070, 1, 3, 'mod/workshop:viewallassessments', 1, 1764416607, 0),
(1071, 1, 1, 'mod/workshop:viewallassessments', 1, 1764416607, 0),
(1072, 1, 4, 'mod/workshop:overridegrades', 1, 1764416607, 0),
(1073, 1, 3, 'mod/workshop:overridegrades', 1, 1764416607, 0),
(1074, 1, 1, 'mod/workshop:overridegrades', 1, 1764416607, 0),
(1075, 1, 4, 'mod/workshop:ignoredeadlines', 1, 1764416607, 0),
(1076, 1, 3, 'mod/workshop:ignoredeadlines', 1, 1764416607, 0),
(1077, 1, 1, 'mod/workshop:ignoredeadlines', 1, 1764416607, 0),
(1078, 1, 4, 'mod/workshop:deletesubmissions', 1, 1764416607, 0),
(1079, 1, 3, 'mod/workshop:deletesubmissions', 1, 1764416607, 0),
(1080, 1, 1, 'mod/workshop:deletesubmissions', 1, 1764416607, 0),
(1081, 1, 1, 'mod/workshop:exportsubmissions', 1, 1764416607, 0),
(1082, 1, 4, 'mod/workshop:exportsubmissions', 1, 1764416607, 0),
(1083, 1, 3, 'mod/workshop:exportsubmissions', 1, 1764416607, 0),
(1084, 1, 5, 'mod/workshop:exportsubmissions', 1, 1764416607, 0),
(1085, 1, 7, 'auth/oauth2:managelinkedlogins', 1, 1764416609, 0),
(1086, 1, 3, 'communication/matrix:moderator', 1, 1764416610, 0),
(1087, 1, 1, 'communication/matrix:moderator', 1, 1764416610, 0),
(1088, 1, 4, 'communication/matrix:moderator', 1, 1764416610, 0),
(1089, 1, 1, 'enrol/category:config', 1, 1764416611, 0),
(1090, 1, 3, 'enrol/category:config', 1, 1764416611, 0),
(1091, 1, 3, 'enrol/cohort:config', 1, 1764416612, 0),
(1092, 1, 1, 'enrol/cohort:config', 1, 1764416612, 0),
(1093, 1, 1, 'enrol/cohort:unenrol', 1, 1764416612, 0),
(1094, 1, 1, 'enrol/database:unenrol', 1, 1764416612, 0),
(1095, 1, 1, 'enrol/database:config', 1, 1764416612, 0),
(1096, 1, 3, 'enrol/database:config', 1, 1764416612, 0),
(1097, 1, 1, 'enrol/fee:config', 1, 1764416612, 0),
(1098, 1, 1, 'enrol/fee:manage', 1, 1764416612, 0),
(1099, 1, 3, 'enrol/fee:manage', 1, 1764416612, 0),
(1100, 1, 1, 'enrol/fee:unenrol', 1, 1764416612, 0),
(1101, 1, 1, 'enrol/guest:config', 1, 1764416613, 0),
(1102, 1, 3, 'enrol/guest:config', 1, 1764416613, 0),
(1103, 1, 1, 'enrol/imsenterprise:config', 1, 1764416613, 0),
(1104, 1, 3, 'enrol/imsenterprise:config', 1, 1764416613, 0),
(1105, 1, 1, 'enrol/ldap:manage', 1, 1764416613, 0),
(1106, 1, 1, 'enrol/lti:config', 1, 1764416614, 0),
(1107, 1, 3, 'enrol/lti:config', 1, 1764416614, 0),
(1108, 1, 1, 'enrol/lti:unenrol', 1, 1764416614, 0),
(1109, 1, 3, 'enrol/lti:unenrol', 1, 1764416614, 0),
(1110, 1, 1, 'enrol/manual:config', 1, 1764416614, 0),
(1111, 1, 1, 'enrol/manual:enrol', 1, 1764416614, 0),
(1112, 1, 3, 'enrol/manual:enrol', 1, 1764416614, 0),
(1113, 1, 1, 'enrol/manual:manage', 1, 1764416614, 0),
(1114, 1, 3, 'enrol/manual:manage', 1, 1764416614, 0),
(1115, 1, 1, 'enrol/manual:unenrol', 1, 1764416614, 0),
(1116, 1, 3, 'enrol/manual:unenrol', 1, 1764416614, 0),
(1117, 1, 1, 'enrol/meta:config', 1, 1764416614, 0),
(1118, 1, 3, 'enrol/meta:config', 1, 1764416614, 0),
(1119, 1, 1, 'enrol/meta:selectaslinked', 1, 1764416614, 0),
(1120, 1, 1, 'enrol/meta:unenrol', 1, 1764416614, 0),
(1121, 1, 1, 'enrol/mnet:config', 1, 1764416615, 0),
(1122, 1, 3, 'enrol/mnet:config', 1, 1764416615, 0),
(1123, 1, 1, 'enrol/paypal:config', 1, 1764416615, 0),
(1124, 1, 1, 'enrol/paypal:manage', 1, 1764416615, 0),
(1125, 1, 3, 'enrol/paypal:manage', 1, 1764416615, 0),
(1126, 1, 1, 'enrol/paypal:unenrol', 1, 1764416615, 0),
(1127, 1, 3, 'enrol/self:config', 1, 1764416615, 0),
(1128, 1, 1, 'enrol/self:config', 1, 1764416615, 0),
(1129, 1, 3, 'enrol/self:manage', 1, 1764416615, 0),
(1130, 1, 1, 'enrol/self:manage', 1, 1764416615, 0),
(1131, 1, 5, 'enrol/self:unenrolself', 1, 1764416615, 0),
(1132, 1, 3, 'enrol/self:unenrol', 1, 1764416615, 0),
(1133, 1, 1, 'enrol/self:unenrol', 1, 1764416615, 0),
(1134, 1, 7, 'enrol/self:enrolself', 1, 1764416615, 0),
(1135, 1, 7, 'message/airnotifier:managedevice', 1, 1764416616, 0),
(1136, 1, 3, 'block/accessreview:addinstance', 1, 1764416618, 0),
(1137, 1, 1, 'block/accessreview:addinstance', 1, 1764416618, 0),
(1138, 1, 3, 'block/accessreview:view', 1, 1764416618, 0),
(1139, 1, 1, 'block/accessreview:view', 1, 1764416618, 0),
(1140, 1, 3, 'block/activity_modules:addinstance', 1, 1764416618, 0),
(1141, 1, 1, 'block/activity_modules:addinstance', 1, 1764416618, 0),
(1142, 1, 3, 'block/activity_results:addinstance', 1, 1764416618, 0),
(1143, 1, 1, 'block/activity_results:addinstance', 1, 1764416618, 0),
(1144, 1, 7, 'block/admin_bookmarks:myaddinstance', 1, 1764416619, 0),
(1145, 1, 3, 'block/admin_bookmarks:addinstance', 1, 1764416619, 0),
(1146, 1, 1, 'block/admin_bookmarks:addinstance', 1, 1764416619, 0),
(1147, 1, 3, 'block/badges:addinstance', 1, 1764416619, 0),
(1148, 1, 1, 'block/badges:addinstance', 1, 1764416619, 0),
(1149, 1, 7, 'block/badges:myaddinstance', 1, 1764416619, 0),
(1150, 1, 3, 'block/blog_menu:addinstance', 1, 1764416619, 0),
(1151, 1, 1, 'block/blog_menu:addinstance', 1, 1764416619, 0),
(1152, 1, 3, 'block/blog_recent:addinstance', 1, 1764416619, 0),
(1153, 1, 1, 'block/blog_recent:addinstance', 1, 1764416619, 0),
(1154, 1, 3, 'block/blog_tags:addinstance', 1, 1764416620, 0),
(1155, 1, 1, 'block/blog_tags:addinstance', 1, 1764416620, 0),
(1156, 1, 7, 'block/calendar_month:myaddinstance', 1, 1764416620, 0),
(1157, 1, 3, 'block/calendar_month:addinstance', 1, 1764416620, 0),
(1158, 1, 1, 'block/calendar_month:addinstance', 1, 1764416620, 0),
(1159, 1, 7, 'block/calendar_upcoming:myaddinstance', 1, 1764416620, 0),
(1160, 1, 3, 'block/calendar_upcoming:addinstance', 1, 1764416620, 0),
(1161, 1, 1, 'block/calendar_upcoming:addinstance', 1, 1764416620, 0),
(1162, 1, 7, 'block/comments:myaddinstance', 1, 1764416620, 0),
(1163, 1, 3, 'block/comments:addinstance', 1, 1764416620, 0),
(1164, 1, 1, 'block/comments:addinstance', 1, 1764416620, 0),
(1165, 1, 3, 'block/completionstatus:addinstance', 1, 1764416620, 0),
(1166, 1, 1, 'block/completionstatus:addinstance', 1, 1764416620, 0),
(1167, 1, 7, 'block/course_list:myaddinstance', 1, 1764416621, 0),
(1168, 1, 3, 'block/course_list:addinstance', 1, 1764416621, 0),
(1169, 1, 1, 'block/course_list:addinstance', 1, 1764416621, 0),
(1170, 1, 3, 'block/course_summary:addinstance', 1, 1764416621, 0),
(1171, 1, 1, 'block/course_summary:addinstance', 1, 1764416621, 0),
(1172, 1, 3, 'block/feedback:addinstance', 1, 1764416621, 0),
(1173, 1, 1, 'block/feedback:addinstance', 1, 1764416621, 0),
(1174, 1, 7, 'block/globalsearch:myaddinstance', 1, 1764416621, 0),
(1175, 1, 3, 'block/globalsearch:addinstance', 1, 1764416621, 0),
(1176, 1, 1, 'block/globalsearch:addinstance', 1, 1764416621, 0),
(1177, 1, 7, 'block/glossary_random:myaddinstance', 1, 1764416622, 0),
(1178, 1, 3, 'block/glossary_random:addinstance', 1, 1764416622, 0),
(1179, 1, 1, 'block/glossary_random:addinstance', 1, 1764416622, 0),
(1180, 1, 7, 'block/html:myaddinstance', 1, 1764416622, 0),
(1181, 1, 3, 'block/html:addinstance', 1, 1764416622, 0),
(1182, 1, 1, 'block/html:addinstance', 1, 1764416622, 0),
(1183, 1, 3, 'block/login:addinstance', 1, 1764416622, 0),
(1184, 1, 1, 'block/login:addinstance', 1, 1764416622, 0),
(1185, 1, 3, 'block/lp:addinstance', 1, 1764416622, 0),
(1186, 1, 1, 'block/lp:addinstance', 1, 1764416622, 0),
(1187, 1, 7, 'block/lp:myaddinstance', 1, 1764416622, 0),
(1188, 1, 7, 'block/mentees:myaddinstance', 1, 1764416622, 0),
(1189, 1, 3, 'block/mentees:addinstance', 1, 1764416623, 0),
(1190, 1, 1, 'block/mentees:addinstance', 1, 1764416623, 0),
(1191, 1, 7, 'block/mnet_hosts:myaddinstance', 1, 1764416623, 0),
(1192, 1, 3, 'block/mnet_hosts:addinstance', 1, 1764416623, 0),
(1193, 1, 1, 'block/mnet_hosts:addinstance', 1, 1764416623, 0),
(1194, 1, 7, 'block/myoverview:myaddinstance', 1, 1764416623, 0),
(1195, 1, 7, 'block/myprofile:myaddinstance', 1, 1764416623, 0),
(1196, 1, 3, 'block/myprofile:addinstance', 1, 1764416623, 0),
(1197, 1, 1, 'block/myprofile:addinstance', 1, 1764416623, 0),
(1198, 1, 7, 'block/navigation:myaddinstance', 1, 1764416623, 0),
(1199, 1, 3, 'block/navigation:addinstance', 1, 1764416623, 0),
(1200, 1, 1, 'block/navigation:addinstance', 1, 1764416623, 0),
(1201, 1, 7, 'block/news_items:myaddinstance', 1, 1764416624, 0),
(1202, 1, 3, 'block/news_items:addinstance', 1, 1764416624, 0),
(1203, 1, 1, 'block/news_items:addinstance', 1, 1764416624, 0),
(1204, 1, 7, 'block/online_users:myaddinstance', 1, 1764416624, 0),
(1205, 1, 3, 'block/online_users:addinstance', 1, 1764416624, 0),
(1206, 1, 1, 'block/online_users:addinstance', 1, 1764416624, 0),
(1207, 1, 7, 'block/online_users:viewlist', 1, 1764416624, 0),
(1208, 1, 6, 'block/online_users:viewlist', -1, 1764416624, 0),
(1209, 1, 5, 'block/online_users:viewlist', 1, 1764416624, 0),
(1210, 1, 4, 'block/online_users:viewlist', 1, 1764416624, 0),
(1211, 1, 3, 'block/online_users:viewlist', 1, 1764416624, 0),
(1212, 1, 1, 'block/online_users:viewlist', 1, 1764416624, 0),
(1213, 1, 7, 'block/private_files:myaddinstance', 1, 1764416624, 0),
(1214, 1, 3, 'block/private_files:addinstance', 1, 1764416624, 0),
(1215, 1, 1, 'block/private_files:addinstance', 1, 1764416624, 0),
(1216, 1, 3, 'block/recent_activity:addinstance', 1, 1764416624, 0),
(1217, 1, 1, 'block/recent_activity:addinstance', 1, 1764416624, 0),
(1218, 1, 7, 'block/recent_activity:viewaddupdatemodule', 1, 1764416624, 0),
(1219, 1, 7, 'block/recent_activity:viewdeletemodule', 1, 1764416625, 0),
(1220, 1, 7, 'block/recentlyaccessedcourses:myaddinstance', 1, 1764416625, 0),
(1221, 1, 7, 'block/recentlyaccesseditems:myaddinstance', 1, 1764416625, 0),
(1222, 1, 7, 'block/rss_client:myaddinstance', 1, 1764416625, 0),
(1223, 1, 3, 'block/rss_client:addinstance', 1, 1764416625, 0),
(1224, 1, 1, 'block/rss_client:addinstance', 1, 1764416625, 0),
(1225, 1, 4, 'block/rss_client:manageownfeeds', 1, 1764416626, 0),
(1226, 1, 3, 'block/rss_client:manageownfeeds', 1, 1764416626, 0),
(1227, 1, 1, 'block/rss_client:manageownfeeds', 1, 1764416626, 0),
(1228, 1, 1, 'block/rss_client:manageanyfeeds', 1, 1764416626, 0),
(1229, 1, 3, 'block/search_forums:addinstance', 1, 1764416626, 0),
(1230, 1, 1, 'block/search_forums:addinstance', 1, 1764416626, 0),
(1231, 1, 3, 'block/section_links:addinstance', 1, 1764416626, 0),
(1232, 1, 1, 'block/section_links:addinstance', 1, 1764416626, 0),
(1233, 1, 3, 'block/selfcompletion:addinstance', 1, 1764416626, 0),
(1234, 1, 1, 'block/selfcompletion:addinstance', 1, 1764416626, 0),
(1235, 1, 7, 'block/settings:myaddinstance', 1, 1764416626, 0),
(1236, 1, 3, 'block/settings:addinstance', 1, 1764416626, 0),
(1237, 1, 1, 'block/settings:addinstance', 1, 1764416626, 0),
(1238, 1, 3, 'block/site_main_menu:addinstance', 1, 1764416627, 0),
(1239, 1, 1, 'block/site_main_menu:addinstance', 1, 1764416627, 0),
(1240, 1, 3, 'block/social_activities:addinstance', 1, 1764416627, 0),
(1241, 1, 1, 'block/social_activities:addinstance', 1, 1764416627, 0),
(1242, 1, 7, 'block/starredcourses:myaddinstance', 1, 1764416627, 0),
(1243, 1, 3, 'block/tag_flickr:addinstance', 1, 1764416627, 0),
(1244, 1, 1, 'block/tag_flickr:addinstance', 1, 1764416627, 0),
(1245, 1, 3, 'block/tag_youtube:addinstance', 1, 1764416628, 0),
(1246, 1, 1, 'block/tag_youtube:addinstance', 1, 1764416628, 0),
(1247, 1, 7, 'block/tags:myaddinstance', 1, 1764416628, 0),
(1248, 1, 3, 'block/tags:addinstance', 1, 1764416628, 0),
(1249, 1, 1, 'block/tags:addinstance', 1, 1764416628, 0),
(1250, 1, 7, 'block/timeline:myaddinstance', 1, 1764416628, 0),
(1251, 1, 4, 'report/completion:view', 1, 1764416636, 0),
(1252, 1, 3, 'report/completion:view', 1, 1764416636, 0),
(1253, 1, 1, 'report/completion:view', 1, 1764416637, 0),
(1254, 1, 4, 'report/courseoverview:view', 1, 1764416637, 0),
(1255, 1, 3, 'report/courseoverview:view', 1, 1764416637, 0),
(1256, 1, 1, 'report/courseoverview:view', 1, 1764416637, 0),
(1257, 1, 4, 'report/log:view', 1, 1764416638, 0),
(1258, 1, 3, 'report/log:view', 1, 1764416638, 0),
(1259, 1, 1, 'report/log:view', 1, 1764416638, 0),
(1260, 1, 4, 'report/log:viewtoday', 1, 1764416638, 0),
(1261, 1, 3, 'report/log:viewtoday', 1, 1764416638, 0),
(1262, 1, 1, 'report/log:viewtoday', 1, 1764416638, 0),
(1263, 1, 4, 'report/loglive:view', 1, 1764416638, 0),
(1264, 1, 3, 'report/loglive:view', 1, 1764416638, 0),
(1265, 1, 1, 'report/loglive:view', 1, 1764416638, 0),
(1266, 1, 4, 'report/outline:view', 1, 1764416638, 0),
(1267, 1, 3, 'report/outline:view', 1, 1764416638, 0),
(1268, 1, 1, 'report/outline:view', 1, 1764416638, 0),
(1269, 1, 4, 'report/outline:viewuserreport', 1, 1764416638, 0),
(1270, 1, 3, 'report/outline:viewuserreport', 1, 1764416638, 0),
(1271, 1, 1, 'report/outline:viewuserreport', 1, 1764416638, 0),
(1272, 1, 4, 'report/participation:view', 1, 1764416638, 0),
(1273, 1, 3, 'report/participation:view', 1, 1764416638, 0),
(1274, 1, 1, 'report/participation:view', 1, 1764416639, 0),
(1275, 1, 1, 'report/performance:view', 1, 1764416639, 0),
(1276, 1, 4, 'report/progress:view', 1, 1764416639, 0),
(1277, 1, 3, 'report/progress:view', 1, 1764416639, 0),
(1278, 1, 1, 'report/progress:view', 1, 1764416639, 0),
(1279, 1, 1, 'report/security:view', 1, 1764416639, 0),
(1280, 1, 4, 'report/stats:view', 1, 1764416639, 0),
(1281, 1, 3, 'report/stats:view', 1, 1764416640, 0),
(1282, 1, 1, 'report/stats:view', 1, 1764416640, 0),
(1283, 1, 1, 'report/status:view', 1, 1764416640, 0),
(1284, 1, 6, 'report/usersessions:manageownsessions', -1000, 1764416640, 0),
(1285, 1, 7, 'report/usersessions:manageownsessions', 1, 1764416640, 0),
(1286, 1, 1, 'report/usersessions:manageownsessions', 1, 1764416640, 0),
(1287, 1, 4, 'gradeexport/ods:view', 1, 1764416640, 0),
(1288, 1, 3, 'gradeexport/ods:view', 1, 1764416640, 0),
(1289, 1, 1, 'gradeexport/ods:view', 1, 1764416640, 0),
(1290, 1, 1, 'gradeexport/ods:publish', 1, 1764416640, 0),
(1291, 1, 4, 'gradeexport/txt:view', 1, 1764416640, 0),
(1292, 1, 3, 'gradeexport/txt:view', 1, 1764416640, 0),
(1293, 1, 1, 'gradeexport/txt:view', 1, 1764416640, 0),
(1294, 1, 1, 'gradeexport/txt:publish', 1, 1764416640, 0),
(1295, 1, 4, 'gradeexport/xls:view', 1, 1764416641, 0),
(1296, 1, 3, 'gradeexport/xls:view', 1, 1764416641, 0),
(1297, 1, 1, 'gradeexport/xls:view', 1, 1764416641, 0),
(1298, 1, 1, 'gradeexport/xls:publish', 1, 1764416641, 0),
(1299, 1, 4, 'gradeexport/xml:view', 1, 1764416641, 0),
(1300, 1, 3, 'gradeexport/xml:view', 1, 1764416641, 0),
(1301, 1, 1, 'gradeexport/xml:view', 1, 1764416641, 0),
(1302, 1, 1, 'gradeexport/xml:publish', 1, 1764416641, 0),
(1303, 1, 3, 'gradeimport/csv:view', 1, 1764416641, 0),
(1304, 1, 1, 'gradeimport/csv:view', 1, 1764416641, 0),
(1305, 1, 3, 'gradeimport/direct:view', 1, 1764416641, 0),
(1306, 1, 1, 'gradeimport/direct:view', 1, 1764416641, 0),
(1307, 1, 3, 'gradeimport/xml:view', 1, 1764416642, 0),
(1308, 1, 1, 'gradeimport/xml:view', 1, 1764416642, 0),
(1309, 1, 1, 'gradeimport/xml:publish', 1, 1764416642, 0),
(1310, 1, 4, 'gradereport/grader:view', 1, 1764416642, 0),
(1311, 1, 3, 'gradereport/grader:view', 1, 1764416642, 0),
(1312, 1, 1, 'gradereport/grader:view', 1, 1764416642, 0),
(1313, 1, 4, 'gradereport/history:view', 1, 1764416642, 0),
(1314, 1, 3, 'gradereport/history:view', 1, 1764416642, 0),
(1315, 1, 1, 'gradereport/history:view', 1, 1764416642, 0),
(1316, 1, 4, 'gradereport/outcomes:view', 1, 1764416642, 0),
(1317, 1, 3, 'gradereport/outcomes:view', 1, 1764416642, 0),
(1318, 1, 1, 'gradereport/outcomes:view', 1, 1764416642, 0),
(1319, 1, 7, 'gradereport/overview:view', 1, 1764416642, 0),
(1320, 1, 3, 'gradereport/singleview:view', 1, 1764416643, 0),
(1321, 1, 1, 'gradereport/singleview:view', 1, 1764416643, 0),
(1322, 1, 3, 'gradereport/summary:view', 1, 1764416643, 0),
(1323, 1, 4, 'gradereport/summary:view', 1, 1764416643, 0),
(1324, 1, 1, 'gradereport/summary:view', 1, 1764416643, 0),
(1325, 1, 5, 'gradereport/user:view', 1, 1764416643, 0),
(1326, 1, 4, 'gradereport/user:view', 1, 1764416643, 0),
(1327, 1, 3, 'gradereport/user:view', 1, 1764416643, 0),
(1328, 1, 1, 'gradereport/user:view', 1, 1764416643, 0),
(1329, 1, 7, 'repository/areafiles:view', 1, 1764416645, 0),
(1330, 1, 2, 'repository/contentbank:view', 1, 1764416646, 0),
(1331, 1, 3, 'repository/contentbank:view', 1, 1764416646, 0),
(1332, 1, 1, 'repository/contentbank:view', 1, 1764416646, 0),
(1333, 1, 2, 'repository/contentbank:accesscoursecontent', 1, 1764416646, 0),
(1334, 1, 3, 'repository/contentbank:accesscoursecontent', 1, 1764416646, 0),
(1335, 1, 1, 'repository/contentbank:accesscoursecontent', 1, 1764416646, 0),
(1336, 1, 2, 'repository/contentbank:accesscoursecategorycontent', 1, 1764416646, 0),
(1337, 1, 1, 'repository/contentbank:accesscoursecategorycontent', 1, 1764416646, 0),
(1338, 1, 7, 'repository/contentbank:accessgeneralcontent', 1, 1764416646, 0),
(1339, 1, 2, 'repository/coursefiles:view', 1, 1764416646, 0),
(1340, 1, 4, 'repository/coursefiles:view', 1, 1764416646, 0),
(1341, 1, 3, 'repository/coursefiles:view', 1, 1764416646, 0),
(1342, 1, 1, 'repository/coursefiles:view', 1, 1764416646, 0),
(1343, 1, 7, 'repository/dropbox:view', 1, 1764416646, 0),
(1344, 1, 7, 'repository/equella:view', 1, 1764416646, 0),
(1345, 1, 2, 'repository/filesystem:view', 1, 1764416647, 0),
(1346, 1, 4, 'repository/filesystem:view', 1, 1764416647, 0),
(1347, 1, 3, 'repository/filesystem:view', 1, 1764416647, 0),
(1348, 1, 1, 'repository/filesystem:view', 1, 1764416647, 0),
(1349, 1, 7, 'repository/flickr:view', 1, 1764416647, 0),
(1350, 1, 7, 'repository/flickr_public:view', 1, 1764416647, 0),
(1351, 1, 7, 'repository/googledocs:view', 1, 1764416647, 0),
(1352, 1, 2, 'repository/local:view', 1, 1764416648, 0),
(1353, 1, 4, 'repository/local:view', 1, 1764416648, 0),
(1354, 1, 3, 'repository/local:view', 1, 1764416648, 0),
(1355, 1, 1, 'repository/local:view', 1, 1764416648, 0),
(1356, 1, 7, 'repository/merlot:view', 1, 1764416648, 0),
(1357, 1, 7, 'repository/nextcloud:view', 1, 1764416648, 0),
(1358, 1, 7, 'repository/onedrive:view', 1, 1764416648, 0),
(1359, 1, 7, 'repository/recent:view', 1, 1764416649, 0),
(1360, 1, 7, 'repository/s3:view', 1, 1764416649, 0),
(1361, 1, 7, 'repository/upload:view', 1, 1764416649, 0),
(1362, 1, 7, 'repository/url:view', 1, 1764416650, 0),
(1363, 1, 7, 'repository/user:view', 1, 1764416650, 0),
(1364, 1, 2, 'repository/webdav:view', 1, 1764416650, 0),
(1365, 1, 4, 'repository/webdav:view', 1, 1764416650, 0),
(1366, 1, 3, 'repository/webdav:view', 1, 1764416650, 0),
(1367, 1, 1, 'repository/webdav:view', 1, 1764416650, 0),
(1368, 1, 7, 'repository/wikimedia:view', 1, 1764416651, 0),
(1369, 1, 7, 'repository/youtube:view', 1, 1764416651, 0),
(1370, 1, 3, 'moodle/question:commentmine', 1, 1764416653, 0),
(1371, 1, 1, 'moodle/question:commentmine', 1, 1764416653, 0),
(1372, 1, 3, 'moodle/question:commentall', 1, 1764416653, 0),
(1373, 1, 1, 'moodle/question:commentall', 1, 1764416653, 0),
(1374, 1, 1, 'qbank/customfields:changelockedcustomfields', 1, 1764416653, 0),
(1375, 1, 3, 'qbank/customfields:viewhiddencustomfields', 1, 1764416653, 0),
(1376, 1, 1, 'qbank/customfields:viewhiddencustomfields', 1, 1764416653, 0),
(1377, 1, 4, 'tool/brickfield:viewcoursetools', 1, 1764416661, 0),
(1378, 1, 3, 'tool/brickfield:viewcoursetools', 1, 1764416661, 0),
(1379, 1, 1, 'tool/brickfield:viewcoursetools', 1, 1764416661, 0),
(1380, 1, 1, 'tool/brickfield:viewsystemtools', 1, 1764416661, 0),
(1381, 1, 1, 'tool/customlang:view', 1, 1764416662, 0),
(1382, 1, 1, 'tool/customlang:edit', 1, 1764416662, 0),
(1383, 1, 1, 'tool/customlang:export', 1, 1764416662, 0),
(1384, 1, 7, 'tool/dataprivacy:downloadownrequest', 1, 1764416663, 0),
(1385, 1, 7, 'tool/dataprivacy:requestdelete', 1, 1764416663, 0),
(1386, 1, 1, 'tool/lpmigrate:frameworksmigrate', 1, 1764416665, 0),
(1387, 1, 7, 'tool/mfa:mfaaccess', 1, 1764416666, 0),
(1388, 1, 4, 'tool/monitor:subscribe', 1, 1764416667, 0),
(1389, 1, 3, 'tool/monitor:subscribe', 1, 1764416667, 0),
(1390, 1, 1, 'tool/monitor:subscribe', 1, 1764416667, 0),
(1391, 1, 4, 'tool/monitor:managerules', 1, 1764416667, 0),
(1392, 1, 3, 'tool/monitor:managerules', 1, 1764416667, 0),
(1393, 1, 1, 'tool/monitor:managerules', 1, 1764416667, 0),
(1394, 1, 1, 'tool/monitor:managetool', 1, 1764416667, 0),
(1395, 1, 7, 'tool/policy:accept', 1, 1764416668, 0),
(1396, 1, 1, 'tool/policy:managedocs', 1, 1764416668, 0),
(1397, 1, 1, 'tool/policy:viewacceptances', 1, 1764416668, 0),
(1398, 1, 3, 'tool/recyclebin:deleteitems', 1, 1764416669, 0),
(1399, 1, 1, 'tool/recyclebin:deleteitems', 1, 1764416669, 0),
(1400, 1, 3, 'tool/recyclebin:restoreitems', 1, 1764416669, 0),
(1401, 1, 1, 'tool/recyclebin:restoreitems', 1, 1764416669, 0),
(1402, 1, 4, 'tool/recyclebin:viewitems', 1, 1764416669, 0),
(1403, 1, 3, 'tool/recyclebin:viewitems', 1, 1764416669, 0),
(1404, 1, 1, 'tool/recyclebin:viewitems', 1, 1764416669, 0),
(1405, 1, 1, 'tool/uploaduser:uploaduserpictures', 1, 1764416670, 0),
(1406, 1, 1, 'tool/usertours:managetours', 1, 1764416672, 0),
(1407, 1, 1, 'contenttype/h5p:access', 1, 1764416674, 0),
(1408, 1, 2, 'contenttype/h5p:access', 1, 1764416674, 0),
(1409, 1, 3, 'contenttype/h5p:access', 1, 1764416674, 0),
(1410, 1, 1, 'contenttype/h5p:upload', 1, 1764416674, 0),
(1411, 1, 2, 'contenttype/h5p:upload', 1, 1764416674, 0),
(1412, 1, 3, 'contenttype/h5p:upload', 1, 1764416674, 0),
(1413, 1, 1, 'contenttype/h5p:useeditor', 1, 1764416674, 0),
(1414, 1, 2, 'contenttype/h5p:useeditor', 1, 1764416674, 0),
(1415, 1, 3, 'contenttype/h5p:useeditor', 1, 1764416674, 0),
(1416, 1, 3, 'booktool/importhtml:import', 1, 1764416677, 0),
(1417, 1, 1, 'booktool/importhtml:import', 1, 1764416678, 0),
(1418, 1, 6, 'booktool/print:print', 1, 1764416678, 0),
(1419, 1, 8, 'booktool/print:print', 1, 1764416678, 0),
(1420, 1, 5, 'booktool/print:print', 1, 1764416678, 0),
(1421, 1, 4, 'booktool/print:print', 1, 1764416678, 0),
(1422, 1, 3, 'booktool/print:print', 1, 1764416678, 0),
(1423, 1, 1, 'booktool/print:print', 1, 1764416678, 0),
(1424, 1, 4, 'forumreport/summary:view', 1, 1764416681, 0),
(1425, 1, 3, 'forumreport/summary:view', 1, 1764416681, 0),
(1426, 1, 1, 'forumreport/summary:view', 1, 1764416681, 0),
(1427, 1, 4, 'forumreport/summary:viewall', 1, 1764416681, 0),
(1428, 1, 3, 'forumreport/summary:viewall', 1, 1764416681, 0),
(1429, 1, 1, 'forumreport/summary:viewall', 1, 1764416681, 0),
(1430, 1, 4, 'quiz/grading:viewstudentnames', 1, 1764416683, 0),
(1431, 1, 3, 'quiz/grading:viewstudentnames', 1, 1764416683, 0),
(1432, 1, 1, 'quiz/grading:viewstudentnames', 1, 1764416683, 0),
(1433, 1, 4, 'quiz/grading:viewidnumber', 1, 1764416683, 0),
(1434, 1, 3, 'quiz/grading:viewidnumber', 1, 1764416683, 0),
(1435, 1, 1, 'quiz/grading:viewidnumber', 1, 1764416683, 0),
(1436, 1, 4, 'quiz/statistics:view', 1, 1764416683, 0),
(1437, 1, 3, 'quiz/statistics:view', 1, 1764416683, 0),
(1438, 1, 1, 'quiz/statistics:view', 1, 1764416684, 0),
(1439, 1, 1, 'quizaccess/seb:managetemplates', 1, 1764416685, 0),
(1440, 1, 1, 'quizaccess/seb:bypassseb', 1, 1764416685, 0),
(1441, 1, 3, 'quizaccess/seb:bypassseb', 1, 1764416685, 0),
(1442, 1, 1, 'quizaccess/seb:manage_seb_requiresafeexambrowser', 1, 1764416685, 0),
(1443, 1, 3, 'quizaccess/seb:manage_seb_requiresafeexambrowser', 1, 1764416685, 0),
(1444, 1, 1, 'quizaccess/seb:manage_seb_templateid', 1, 1764416685, 0),
(1445, 1, 3, 'quizaccess/seb:manage_seb_templateid', 1, 1764416685, 0),
(1446, 1, 1, 'quizaccess/seb:manage_filemanager_sebconfigfile', 1, 1764416685, 0),
(1447, 1, 3, 'quizaccess/seb:manage_filemanager_sebconfigfile', 1, 1764416685, 0),
(1448, 1, 1, 'quizaccess/seb:manage_seb_showsebdownloadlink', 1, 1764416685, 0),
(1449, 1, 3, 'quizaccess/seb:manage_seb_showsebdownloadlink', 1, 1764416685, 0),
(1450, 1, 1, 'quizaccess/seb:manage_seb_allowedbrowserexamkeys', 1, 1764416685, 0),
(1451, 1, 3, 'quizaccess/seb:manage_seb_allowedbrowserexamkeys', 1, 1764416685, 0),
(1452, 1, 1, 'quizaccess/seb:manage_seb_linkquitseb', 1, 1764416685, 0),
(1453, 1, 3, 'quizaccess/seb:manage_seb_linkquitseb', 1, 1764416685, 0),
(1454, 1, 1, 'quizaccess/seb:manage_seb_userconfirmquit', 1, 1764416685, 0),
(1455, 1, 3, 'quizaccess/seb:manage_seb_userconfirmquit', 1, 1764416685, 0),
(1456, 1, 1, 'quizaccess/seb:manage_seb_allowuserquitseb', 1, 1764416685, 0),
(1457, 1, 3, 'quizaccess/seb:manage_seb_allowuserquitseb', 1, 1764416685, 0),
(1458, 1, 1, 'quizaccess/seb:manage_seb_quitpassword', 1, 1764416685, 0),
(1459, 1, 3, 'quizaccess/seb:manage_seb_quitpassword', 1, 1764416685, 0),
(1460, 1, 1, 'quizaccess/seb:manage_seb_allowreloadinexam', 1, 1764416685, 0),
(1461, 1, 3, 'quizaccess/seb:manage_seb_allowreloadinexam', 1, 1764416685, 0),
(1462, 1, 1, 'quizaccess/seb:manage_seb_showsebtaskbar', 1, 1764416685, 0),
(1463, 1, 3, 'quizaccess/seb:manage_seb_showsebtaskbar', 1, 1764416685, 0),
(1464, 1, 1, 'quizaccess/seb:manage_seb_showreloadbutton', 1, 1764416685, 0),
(1465, 1, 3, 'quizaccess/seb:manage_seb_showreloadbutton', 1, 1764416685, 0),
(1466, 1, 1, 'quizaccess/seb:manage_seb_showtime', 1, 1764416685, 0),
(1467, 1, 3, 'quizaccess/seb:manage_seb_showtime', 1, 1764416685, 0),
(1468, 1, 1, 'quizaccess/seb:manage_seb_showkeyboardlayout', 1, 1764416685, 0),
(1469, 1, 3, 'quizaccess/seb:manage_seb_showkeyboardlayout', 1, 1764416685, 0),
(1470, 1, 1, 'quizaccess/seb:manage_seb_showwificontrol', 1, 1764416685, 0),
(1471, 1, 3, 'quizaccess/seb:manage_seb_showwificontrol', 1, 1764416685, 0),
(1472, 1, 1, 'quizaccess/seb:manage_seb_enableaudiocontrol', 1, 1764416685, 0),
(1473, 1, 3, 'quizaccess/seb:manage_seb_enableaudiocontrol', 1, 1764416685, 0),
(1474, 1, 1, 'quizaccess/seb:manage_seb_muteonstartup', 1, 1764416685, 0),
(1475, 1, 3, 'quizaccess/seb:manage_seb_muteonstartup', 1, 1764416685, 0),
(1476, 1, 1, 'quizaccess/seb:manage_seb_allowspellchecking', 1, 1764416685, 0),
(1477, 1, 3, 'quizaccess/seb:manage_seb_allowspellchecking', 1, 1764416685, 0),
(1478, 1, 1, 'quizaccess/seb:manage_seb_activateurlfiltering', 1, 1764416685, 0),
(1479, 1, 3, 'quizaccess/seb:manage_seb_activateurlfiltering', 1, 1764416685, 0),
(1480, 1, 1, 'quizaccess/seb:manage_seb_filterembeddedcontent', 1, 1764416685, 0),
(1481, 1, 3, 'quizaccess/seb:manage_seb_filterembeddedcontent', 1, 1764416685, 0),
(1482, 1, 1, 'quizaccess/seb:manage_seb_expressionsallowed', 1, 1764416685, 0),
(1483, 1, 3, 'quizaccess/seb:manage_seb_expressionsallowed', 1, 1764416685, 0),
(1484, 1, 1, 'quizaccess/seb:manage_seb_regexallowed', 1, 1764416685, 0),
(1485, 1, 3, 'quizaccess/seb:manage_seb_regexallowed', 1, 1764416685, 0),
(1486, 1, 1, 'quizaccess/seb:manage_seb_expressionsblocked', 1, 1764416685, 0),
(1487, 1, 3, 'quizaccess/seb:manage_seb_expressionsblocked', 1, 1764416685, 0),
(1488, 1, 1, 'quizaccess/seb:manage_seb_regexblocked', 1, 1764416685, 0),
(1489, 1, 3, 'quizaccess/seb:manage_seb_regexblocked', 1, 1764416685, 0),
(1490, 1, 3, 'atto/h5p:addembed', 1, 1764416691, 0),
(1491, 1, 7, 'atto/recordrtc:recordaudio', 1, 1764416693, 0),
(1492, 1, 7, 'atto/recordrtc:recordvideo', 1, 1764416693, 0),
(1493, 1, 3, 'tiny/h5p:addembed', 1, 1764416696, 0),
(1494, 1, 7, 'tiny/recordrtc:recordaudio', 1, 1764416697, 0),
(1495, 1, 7, 'tiny/recordrtc:recordvideo', 1, 1764416697, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role_context_levels`
--

CREATE TABLE `mdl_role_context_levels` (
  `id` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL,
  `contextlevel` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Lists which roles can be assigned at which context levels. T' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_role_context_levels`
--

INSERT INTO `mdl_role_context_levels` (`id`, `roleid`, `contextlevel`) VALUES
(1, 1, 10),
(4, 2, 10),
(2, 1, 40),
(5, 2, 40),
(3, 1, 50),
(6, 3, 50),
(8, 4, 50),
(10, 5, 50),
(7, 3, 70),
(9, 4, 70),
(11, 5, 70);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_role_names`
--

CREATE TABLE `mdl_role_names` (
  `id` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `contextid` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='role names in native strings' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scale`
--

CREATE TABLE `mdl_scale` (
  `id` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `scale` longtext NOT NULL,
  `description` longtext NOT NULL,
  `descriptionformat` tinyint(2) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines grading scales' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_scale`
--

INSERT INTO `mdl_scale` (`id`, `courseid`, `userid`, `name`, `scale`, `description`, `descriptionformat`, `timemodified`) VALUES
(1, 0, 0, 'Separate and Connected ways of knowing', 'Mostly separate knowing,Separate and connected,Mostly connected knowing', 'The scale based on the theory of separate and connected knowing. This theory describes two different ways that we can evaluate and learn about the things we see and hear.<ul><li><strong>Separate knowers</strong> remain as objective as possible without including feelings and emotions. In a discussion with other people, they like to defend their own ideas, using logic to find holes in opponent\'s ideas.</li><li><strong>Connected knowers</strong> are more sensitive to other people. They are skilled at empathy and tend to listen and ask questions until they feel they can connect and \"understand things from their point of view\". They learn by trying to share the experiences that led to the knowledge they find in other people.</li></ul>', 0, 1764416553),
(2, 0, 0, 'Default competence scale', 'Not yet competent,Competent', 'A binary rating scale that provides no further information beyond whether someone has demonstrated proficiency or not.', 0, 1764416554);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scale_history`
--

CREATE TABLE `mdl_scale_history` (
  `id` bigint(10) NOT NULL,
  `action` bigint(10) NOT NULL DEFAULT 0,
  `oldid` bigint(10) NOT NULL,
  `source` varchar(255) DEFAULT NULL,
  `timemodified` bigint(10) DEFAULT NULL,
  `loggeduser` bigint(10) DEFAULT NULL,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `scale` longtext NOT NULL,
  `description` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='History table' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm`
--

CREATE TABLE `mdl_scorm` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `scormtype` varchar(50) NOT NULL DEFAULT 'local',
  `reference` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext NOT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT 0,
  `version` varchar(9) NOT NULL DEFAULT '',
  `maxgrade` double NOT NULL DEFAULT 0,
  `grademethod` tinyint(2) NOT NULL DEFAULT 0,
  `whatgrade` bigint(10) NOT NULL DEFAULT 0,
  `maxattempt` bigint(10) NOT NULL DEFAULT 1,
  `forcecompleted` tinyint(1) NOT NULL DEFAULT 0,
  `forcenewattempt` tinyint(1) NOT NULL DEFAULT 0,
  `lastattemptlock` tinyint(1) NOT NULL DEFAULT 0,
  `masteryoverride` tinyint(1) NOT NULL DEFAULT 1,
  `displayattemptstatus` tinyint(1) NOT NULL DEFAULT 1,
  `displaycoursestructure` tinyint(1) NOT NULL DEFAULT 0,
  `updatefreq` tinyint(1) NOT NULL DEFAULT 0,
  `sha1hash` varchar(40) DEFAULT NULL,
  `md5hash` varchar(32) NOT NULL DEFAULT '',
  `revision` bigint(10) NOT NULL DEFAULT 0,
  `launch` bigint(10) NOT NULL DEFAULT 0,
  `skipview` tinyint(1) NOT NULL DEFAULT 1,
  `hidebrowse` tinyint(1) NOT NULL DEFAULT 0,
  `hidetoc` tinyint(1) NOT NULL DEFAULT 0,
  `nav` tinyint(1) NOT NULL DEFAULT 1,
  `navpositionleft` bigint(10) DEFAULT -100,
  `navpositiontop` bigint(10) DEFAULT -100,
  `auto` tinyint(1) NOT NULL DEFAULT 0,
  `popup` tinyint(1) NOT NULL DEFAULT 0,
  `options` varchar(255) NOT NULL DEFAULT '',
  `width` bigint(10) NOT NULL DEFAULT 100,
  `height` bigint(10) NOT NULL DEFAULT 600,
  `timeopen` bigint(10) NOT NULL DEFAULT 0,
  `timeclose` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `completionstatusrequired` tinyint(1) DEFAULT NULL,
  `completionscorerequired` bigint(10) DEFAULT NULL,
  `completionstatusallscos` tinyint(1) DEFAULT NULL,
  `autocommit` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='each table is one SCORM module and its configuration' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_aicc_session`
--

CREATE TABLE `mdl_scorm_aicc_session` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `scormid` bigint(10) NOT NULL DEFAULT 0,
  `hacpsession` varchar(255) NOT NULL DEFAULT '',
  `scoid` bigint(10) DEFAULT 0,
  `scormmode` varchar(50) DEFAULT NULL,
  `scormstatus` varchar(255) DEFAULT NULL,
  `attempt` bigint(10) DEFAULT NULL,
  `lessonstatus` varchar(255) DEFAULT NULL,
  `sessiontime` varchar(255) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Used by AICC HACP to store session information' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_attempt`
--

CREATE TABLE `mdl_scorm_attempt` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `scormid` bigint(10) NOT NULL,
  `attempt` bigint(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of SCORM attempts made by user.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_element`
--

CREATE TABLE `mdl_scorm_element` (
  `id` bigint(10) NOT NULL,
  `element` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of scorm elements.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_scoes`
--

CREATE TABLE `mdl_scorm_scoes` (
  `id` bigint(10) NOT NULL,
  `scorm` bigint(10) NOT NULL DEFAULT 0,
  `manifest` varchar(255) NOT NULL DEFAULT '',
  `organization` varchar(255) NOT NULL DEFAULT '',
  `parent` varchar(255) NOT NULL DEFAULT '',
  `identifier` varchar(255) NOT NULL DEFAULT '',
  `launch` longtext NOT NULL,
  `scormtype` varchar(5) NOT NULL DEFAULT '',
  `title` varchar(255) NOT NULL DEFAULT '',
  `sortorder` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='each SCO part of the SCORM module' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_scoes_data`
--

CREATE TABLE `mdl_scorm_scoes_data` (
  `id` bigint(10) NOT NULL,
  `scoid` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Contains variable data get from packages' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_scoes_value`
--

CREATE TABLE `mdl_scorm_scoes_value` (
  `id` bigint(10) NOT NULL,
  `scoid` bigint(10) NOT NULL,
  `attemptid` bigint(10) NOT NULL,
  `elementid` bigint(10) NOT NULL,
  `value` longtext NOT NULL,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Values passed from SCORM package' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_seq_mapinfo`
--

CREATE TABLE `mdl_scorm_seq_mapinfo` (
  `id` bigint(10) NOT NULL,
  `scoid` bigint(10) NOT NULL DEFAULT 0,
  `objectiveid` bigint(10) NOT NULL DEFAULT 0,
  `targetobjectiveid` bigint(10) NOT NULL DEFAULT 0,
  `readsatisfiedstatus` tinyint(1) NOT NULL DEFAULT 1,
  `readnormalizedmeasure` tinyint(1) NOT NULL DEFAULT 1,
  `writesatisfiedstatus` tinyint(1) NOT NULL DEFAULT 0,
  `writenormalizedmeasure` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='SCORM2004 objective mapinfo description' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_seq_objective`
--

CREATE TABLE `mdl_scorm_seq_objective` (
  `id` bigint(10) NOT NULL,
  `scoid` bigint(10) NOT NULL DEFAULT 0,
  `primaryobj` tinyint(1) NOT NULL DEFAULT 0,
  `objectiveid` varchar(255) NOT NULL DEFAULT '',
  `satisfiedbymeasure` tinyint(1) NOT NULL DEFAULT 1,
  `minnormalizedmeasure` float(11,4) NOT NULL DEFAULT 0.0000
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='SCORM2004 objective description' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_seq_rolluprule`
--

CREATE TABLE `mdl_scorm_seq_rolluprule` (
  `id` bigint(10) NOT NULL,
  `scoid` bigint(10) NOT NULL DEFAULT 0,
  `childactivityset` varchar(15) NOT NULL DEFAULT '',
  `minimumcount` bigint(10) NOT NULL DEFAULT 0,
  `minimumpercent` float(11,4) NOT NULL DEFAULT 0.0000,
  `conditioncombination` varchar(3) NOT NULL DEFAULT 'all',
  `action` varchar(15) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='SCORM2004 sequencing rule' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_seq_rolluprulecond`
--

CREATE TABLE `mdl_scorm_seq_rolluprulecond` (
  `id` bigint(10) NOT NULL,
  `scoid` bigint(10) NOT NULL DEFAULT 0,
  `rollupruleid` bigint(10) NOT NULL DEFAULT 0,
  `operator` varchar(5) NOT NULL DEFAULT 'noOp',
  `cond` varchar(25) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='SCORM2004 sequencing rule' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_seq_rulecond`
--

CREATE TABLE `mdl_scorm_seq_rulecond` (
  `id` bigint(10) NOT NULL,
  `scoid` bigint(10) NOT NULL DEFAULT 0,
  `ruleconditionsid` bigint(10) NOT NULL DEFAULT 0,
  `refrencedobjective` varchar(255) NOT NULL DEFAULT '',
  `measurethreshold` float(11,4) NOT NULL DEFAULT 0.0000,
  `operator` varchar(5) NOT NULL DEFAULT 'noOp',
  `cond` varchar(30) NOT NULL DEFAULT 'always'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='SCORM2004 rule condition' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_scorm_seq_ruleconds`
--

CREATE TABLE `mdl_scorm_seq_ruleconds` (
  `id` bigint(10) NOT NULL,
  `scoid` bigint(10) NOT NULL DEFAULT 0,
  `conditioncombination` varchar(3) NOT NULL DEFAULT 'all',
  `ruletype` tinyint(2) NOT NULL DEFAULT 0,
  `action` varchar(25) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='SCORM2004 rule conditions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_search_index_requests`
--

CREATE TABLE `mdl_search_index_requests` (
  `id` bigint(10) NOT NULL,
  `contextid` bigint(10) NOT NULL,
  `searcharea` varchar(255) NOT NULL DEFAULT '',
  `timerequested` bigint(10) NOT NULL,
  `partialarea` varchar(255) NOT NULL DEFAULT '',
  `partialtime` bigint(10) NOT NULL,
  `indexpriority` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Records requests for (re)indexing of specific contexts. Entr' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_search_simpledb_index`
--

CREATE TABLE `mdl_search_simpledb_index` (
  `id` bigint(10) NOT NULL,
  `docid` varchar(255) NOT NULL DEFAULT '',
  `itemid` bigint(10) NOT NULL,
  `title` longtext DEFAULT NULL,
  `content` longtext DEFAULT NULL,
  `contextid` bigint(10) NOT NULL,
  `areaid` varchar(255) NOT NULL DEFAULT '',
  `type` tinyint(1) NOT NULL,
  `courseid` bigint(10) NOT NULL,
  `owneruserid` bigint(10) DEFAULT NULL,
  `modified` bigint(10) NOT NULL,
  `userid` bigint(10) DEFAULT NULL,
  `description1` longtext DEFAULT NULL,
  `description2` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='search_simpledb table containing the index data.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_sessions`
--

CREATE TABLE `mdl_sessions` (
  `id` bigint(10) NOT NULL,
  `state` bigint(10) NOT NULL DEFAULT 0,
  `sid` varchar(128) NOT NULL DEFAULT '',
  `userid` bigint(10) NOT NULL,
  `sessdata` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `firstip` varchar(45) DEFAULT NULL,
  `lastip` varchar(45) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Database based session storage - now recommended' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_sessions`
--

INSERT INTO `mdl_sessions` (`id`, `state`, `sid`, `userid`, `sessdata`, `timecreated`, `timemodified`, `firstip`, `lastip`) VALUES
(5, 0, 'm6o320tge9jv276kgh0ajllkcj', 2, NULL, 1764417746, 1764420403, '0:0:0:0:0:0:0:1', '0:0:0:0:0:0:0:1');

-- --------------------------------------------------------

--
-- Table structure for table `mdl_stats_daily`
--

CREATE TABLE `mdl_stats_daily` (
  `id` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `timeend` bigint(10) NOT NULL DEFAULT 0,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `stattype` varchar(20) NOT NULL DEFAULT 'activity',
  `stat1` bigint(10) NOT NULL DEFAULT 0,
  `stat2` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='to accumulate daily stats' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_stats_monthly`
--

CREATE TABLE `mdl_stats_monthly` (
  `id` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `timeend` bigint(10) NOT NULL DEFAULT 0,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `stattype` varchar(20) NOT NULL DEFAULT 'activity',
  `stat1` bigint(10) NOT NULL DEFAULT 0,
  `stat2` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='To accumulate monthly stats' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_stats_user_daily`
--

CREATE TABLE `mdl_stats_user_daily` (
  `id` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `timeend` bigint(10) NOT NULL DEFAULT 0,
  `statsreads` bigint(10) NOT NULL DEFAULT 0,
  `statswrites` bigint(10) NOT NULL DEFAULT 0,
  `stattype` varchar(30) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='To accumulate daily stats per course/user' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_stats_user_monthly`
--

CREATE TABLE `mdl_stats_user_monthly` (
  `id` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `timeend` bigint(10) NOT NULL DEFAULT 0,
  `statsreads` bigint(10) NOT NULL DEFAULT 0,
  `statswrites` bigint(10) NOT NULL DEFAULT 0,
  `stattype` varchar(30) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='To accumulate monthly stats per course/user' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_stats_user_weekly`
--

CREATE TABLE `mdl_stats_user_weekly` (
  `id` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `timeend` bigint(10) NOT NULL DEFAULT 0,
  `statsreads` bigint(10) NOT NULL DEFAULT 0,
  `statswrites` bigint(10) NOT NULL DEFAULT 0,
  `stattype` varchar(30) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='To accumulate weekly stats per course/user' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_stats_weekly`
--

CREATE TABLE `mdl_stats_weekly` (
  `id` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `timeend` bigint(10) NOT NULL DEFAULT 0,
  `roleid` bigint(10) NOT NULL DEFAULT 0,
  `stattype` varchar(20) NOT NULL DEFAULT 'activity',
  `stat1` bigint(10) NOT NULL DEFAULT 0,
  `stat2` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='To accumulate weekly stats' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_survey`
--

CREATE TABLE `mdl_survey` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `template` bigint(10) NOT NULL DEFAULT 0,
  `days` mediumint(6) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext NOT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT 0,
  `questions` varchar(255) NOT NULL DEFAULT '',
  `completionsubmit` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Each record is one SURVEY module with its configuration' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_survey`
--

INSERT INTO `mdl_survey` (`id`, `course`, `template`, `days`, `timecreated`, `timemodified`, `name`, `intro`, `introformat`, `questions`, `completionsubmit`) VALUES
(1, 0, 0, 0, 985017600, 985017600, 'collesaname', 'collesaintro', 0, '25,26,27,28,29,30,43,44', 0),
(2, 0, 0, 0, 985017600, 985017600, 'collespname', 'collespintro', 0, '31,32,33,34,35,36,43,44', 0),
(3, 0, 0, 0, 985017600, 985017600, 'collesapname', 'collesapintro', 0, '37,38,39,40,41,42,43,44', 0),
(4, 0, 0, 0, 985017600, 985017600, 'attlsname', 'attlsintro', 0, '65,67,68', 0),
(5, 0, 0, 0, 985017600, 985017600, 'ciqname', 'ciqintro', 0, '69,70,71,72,73', 0);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_survey_analysis`
--

CREATE TABLE `mdl_survey_analysis` (
  `id` bigint(10) NOT NULL,
  `survey` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `notes` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='text about each survey submission' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_survey_answers`
--

CREATE TABLE `mdl_survey_answers` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `survey` bigint(10) NOT NULL DEFAULT 0,
  `question` bigint(10) NOT NULL DEFAULT 0,
  `time` bigint(10) NOT NULL DEFAULT 0,
  `answer1` longtext NOT NULL,
  `answer2` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='the answers to each questions filled by the users' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_survey_questions`
--

CREATE TABLE `mdl_survey_questions` (
  `id` bigint(10) NOT NULL,
  `text` varchar(255) NOT NULL DEFAULT '',
  `shorttext` varchar(30) NOT NULL DEFAULT '',
  `multi` varchar(100) NOT NULL DEFAULT '',
  `intro` varchar(50) NOT NULL DEFAULT '',
  `type` smallint(3) NOT NULL DEFAULT 0,
  `options` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='the questions conforming one survey' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_survey_questions`
--

INSERT INTO `mdl_survey_questions` (`id`, `text`, `shorttext`, `multi`, `intro`, `type`, `options`) VALUES
(1, 'colles1', 'colles1short', '', '', 1, 'scaletimes5'),
(2, 'colles2', 'colles2short', '', '', 1, 'scaletimes5'),
(3, 'colles3', 'colles3short', '', '', 1, 'scaletimes5'),
(4, 'colles4', 'colles4short', '', '', 1, 'scaletimes5'),
(5, 'colles5', 'colles5short', '', '', 1, 'scaletimes5'),
(6, 'colles6', 'colles6short', '', '', 1, 'scaletimes5'),
(7, 'colles7', 'colles7short', '', '', 1, 'scaletimes5'),
(8, 'colles8', 'colles8short', '', '', 1, 'scaletimes5'),
(9, 'colles9', 'colles9short', '', '', 1, 'scaletimes5'),
(10, 'colles10', 'colles10short', '', '', 1, 'scaletimes5'),
(11, 'colles11', 'colles11short', '', '', 1, 'scaletimes5'),
(12, 'colles12', 'colles12short', '', '', 1, 'scaletimes5'),
(13, 'colles13', 'colles13short', '', '', 1, 'scaletimes5'),
(14, 'colles14', 'colles14short', '', '', 1, 'scaletimes5'),
(15, 'colles15', 'colles15short', '', '', 1, 'scaletimes5'),
(16, 'colles16', 'colles16short', '', '', 1, 'scaletimes5'),
(17, 'colles17', 'colles17short', '', '', 1, 'scaletimes5'),
(18, 'colles18', 'colles18short', '', '', 1, 'scaletimes5'),
(19, 'colles19', 'colles19short', '', '', 1, 'scaletimes5'),
(20, 'colles20', 'colles20short', '', '', 1, 'scaletimes5'),
(21, 'colles21', 'colles21short', '', '', 1, 'scaletimes5'),
(22, 'colles22', 'colles22short', '', '', 1, 'scaletimes5'),
(23, 'colles23', 'colles23short', '', '', 1, 'scaletimes5'),
(24, 'colles24', 'colles24short', '', '', 1, 'scaletimes5'),
(25, 'collesm1', 'collesm1short', '1,2,3,4', 'collesmintro', 1, 'scaletimes5'),
(26, 'collesm2', 'collesm2short', '5,6,7,8', 'collesmintro', 1, 'scaletimes5'),
(27, 'collesm3', 'collesm3short', '9,10,11,12', 'collesmintro', 1, 'scaletimes5'),
(28, 'collesm4', 'collesm4short', '13,14,15,16', 'collesmintro', 1, 'scaletimes5'),
(29, 'collesm5', 'collesm5short', '17,18,19,20', 'collesmintro', 1, 'scaletimes5'),
(30, 'collesm6', 'collesm6short', '21,22,23,24', 'collesmintro', 1, 'scaletimes5'),
(31, 'collesm1', 'collesm1short', '1,2,3,4', 'collesmintro', 2, 'scaletimes5'),
(32, 'collesm2', 'collesm2short', '5,6,7,8', 'collesmintro', 2, 'scaletimes5'),
(33, 'collesm3', 'collesm3short', '9,10,11,12', 'collesmintro', 2, 'scaletimes5'),
(34, 'collesm4', 'collesm4short', '13,14,15,16', 'collesmintro', 2, 'scaletimes5'),
(35, 'collesm5', 'collesm5short', '17,18,19,20', 'collesmintro', 2, 'scaletimes5'),
(36, 'collesm6', 'collesm6short', '21,22,23,24', 'collesmintro', 2, 'scaletimes5'),
(37, 'collesm1', 'collesm1short', '1,2,3,4', 'collesmintro', 3, 'scaletimes5'),
(38, 'collesm2', 'collesm2short', '5,6,7,8', 'collesmintro', 3, 'scaletimes5'),
(39, 'collesm3', 'collesm3short', '9,10,11,12', 'collesmintro', 3, 'scaletimes5'),
(40, 'collesm4', 'collesm4short', '13,14,15,16', 'collesmintro', 3, 'scaletimes5'),
(41, 'collesm5', 'collesm5short', '17,18,19,20', 'collesmintro', 3, 'scaletimes5'),
(42, 'collesm6', 'collesm6short', '21,22,23,24', 'collesmintro', 3, 'scaletimes5'),
(43, 'howlong', '', '', '', 1, 'howlongoptions'),
(44, 'othercomments', '', '', '', 0, NULL),
(45, 'attls1', 'attls1short', '', '', 1, 'scaleagree5'),
(46, 'attls2', 'attls2short', '', '', 1, 'scaleagree5'),
(47, 'attls3', 'attls3short', '', '', 1, 'scaleagree5'),
(48, 'attls4', 'attls4short', '', '', 1, 'scaleagree5'),
(49, 'attls5', 'attls5short', '', '', 1, 'scaleagree5'),
(50, 'attls6', 'attls6short', '', '', 1, 'scaleagree5'),
(51, 'attls7', 'attls7short', '', '', 1, 'scaleagree5'),
(52, 'attls8', 'attls8short', '', '', 1, 'scaleagree5'),
(53, 'attls9', 'attls9short', '', '', 1, 'scaleagree5'),
(54, 'attls10', 'attls10short', '', '', 1, 'scaleagree5'),
(55, 'attls11', 'attls11short', '', '', 1, 'scaleagree5'),
(56, 'attls12', 'attls12short', '', '', 1, 'scaleagree5'),
(57, 'attls13', 'attls13short', '', '', 1, 'scaleagree5'),
(58, 'attls14', 'attls14short', '', '', 1, 'scaleagree5'),
(59, 'attls15', 'attls15short', '', '', 1, 'scaleagree5'),
(60, 'attls16', 'attls16short', '', '', 1, 'scaleagree5'),
(61, 'attls17', 'attls17short', '', '', 1, 'scaleagree5'),
(62, 'attls18', 'attls18short', '', '', 1, 'scaleagree5'),
(63, 'attls19', 'attls19short', '', '', 1, 'scaleagree5'),
(64, 'attls20', 'attls20short', '', '', 1, 'scaleagree5'),
(65, 'attlsm1', 'attlsm1', '45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64', 'attlsmintro', 1, 'scaleagree5'),
(66, '-', '-', '-', '-', 0, '-'),
(67, 'attlsm2', 'attlsm2', '63,62,59,57,55,49,52,50,48,47', 'attlsmintro', -1, 'scaleagree5'),
(68, 'attlsm3', 'attlsm3', '46,54,45,51,60,53,56,58,61,64', 'attlsmintro', -1, 'scaleagree5'),
(69, 'ciq1', 'ciq1short', '', '', 0, NULL),
(70, 'ciq2', 'ciq2short', '', '', 0, NULL),
(71, 'ciq3', 'ciq3short', '', '', 0, NULL),
(72, 'ciq4', 'ciq4short', '', '', 0, NULL),
(73, 'ciq5', 'ciq5short', '', '', 0, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_tag`
--

CREATE TABLE `mdl_tag` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `tagcollid` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `rawname` varchar(255) NOT NULL DEFAULT '',
  `isstandard` tinyint(1) NOT NULL DEFAULT 0,
  `description` longtext DEFAULT NULL,
  `descriptionformat` tinyint(2) NOT NULL DEFAULT 0,
  `flag` smallint(4) DEFAULT 0,
  `timemodified` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Tag table - this generic table will replace the old "tags" t' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_tag_area`
--

CREATE TABLE `mdl_tag_area` (
  `id` bigint(10) NOT NULL,
  `component` varchar(100) NOT NULL DEFAULT '',
  `itemtype` varchar(100) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT 1,
  `tagcollid` bigint(10) NOT NULL,
  `callback` varchar(100) DEFAULT NULL,
  `callbackfile` varchar(100) DEFAULT NULL,
  `showstandard` tinyint(1) NOT NULL DEFAULT 0,
  `multiplecontexts` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines various tag areas, one area is identified by compone' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_tag_area`
--

INSERT INTO `mdl_tag_area` (`id`, `component`, `itemtype`, `enabled`, `tagcollid`, `callback`, `callbackfile`, `showstandard`, `multiplecontexts`) VALUES
(1, 'core', 'user', 1, 1, 'user_get_tagged_users', '/user/lib.php', 2, 0),
(2, 'core', 'course', 1, 1, 'course_get_tagged_courses', '/course/lib.php', 0, 0),
(3, 'core_question', 'question', 1, 1, NULL, NULL, 0, 1),
(4, 'core', 'post', 1, 1, 'blog_get_tagged_posts', '/blog/lib.php', 0, 0),
(5, 'core', 'blog_external', 1, 1, NULL, NULL, 0, 0),
(6, 'core', 'course_modules', 1, 1, 'course_get_tagged_course_modules', '/course/lib.php', 0, 0),
(7, 'core_badges', 'badge', 1, 1, 'badge_get_tagged_badges', '/badges/lib.php', 0, 0),
(8, 'mod_book', 'book_chapters', 1, 1, 'mod_book_get_tagged_chapters', '/mod/book/locallib.php', 0, 0),
(9, 'mod_data', 'data_records', 1, 1, 'mod_data_get_tagged_records', '/mod/data/locallib.php', 0, 0),
(10, 'mod_forum', 'forum_posts', 1, 1, 'mod_forum_get_tagged_posts', '/mod/forum/locallib.php', 0, 0),
(11, 'mod_glossary', 'glossary_entries', 1, 1, 'mod_glossary_get_tagged_entries', '/mod/glossary/locallib.php', 0, 0),
(12, 'mod_wiki', 'wiki_pages', 1, 1, 'mod_wiki_get_tagged_pages', '/mod/wiki/locallib.php', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_tag_coll`
--

CREATE TABLE `mdl_tag_coll` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `isdefault` tinyint(2) NOT NULL DEFAULT 0,
  `component` varchar(100) DEFAULT NULL,
  `sortorder` mediumint(5) NOT NULL DEFAULT 0,
  `searchable` tinyint(2) NOT NULL DEFAULT 1,
  `customurl` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines different set of tags' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_tag_coll`
--

INSERT INTO `mdl_tag_coll` (`id`, `name`, `isdefault`, `component`, `sortorder`, `searchable`, `customurl`) VALUES
(1, NULL, 1, NULL, 0, 1, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_tag_correlation`
--

CREATE TABLE `mdl_tag_correlation` (
  `id` bigint(10) NOT NULL,
  `tagid` bigint(10) NOT NULL,
  `correlatedtags` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The rationale for the ''tag_correlation'' table is performance' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_tag_instance`
--

CREATE TABLE `mdl_tag_instance` (
  `id` bigint(10) NOT NULL,
  `tagid` bigint(10) NOT NULL,
  `component` varchar(100) NOT NULL DEFAULT '',
  `itemtype` varchar(100) NOT NULL DEFAULT '',
  `itemid` bigint(10) NOT NULL,
  `contextid` bigint(10) DEFAULT NULL,
  `tiuserid` bigint(10) NOT NULL DEFAULT 0,
  `ordering` bigint(10) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='tag_instance table holds the information of associations bet' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_task_adhoc`
--

CREATE TABLE `mdl_task_adhoc` (
  `id` bigint(10) NOT NULL,
  `component` varchar(255) NOT NULL DEFAULT '',
  `classname` varchar(255) NOT NULL DEFAULT '',
  `nextruntime` bigint(10) NOT NULL,
  `faildelay` bigint(10) DEFAULT NULL,
  `customdata` longtext DEFAULT NULL,
  `userid` bigint(10) DEFAULT NULL,
  `blocking` tinyint(2) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timestarted` bigint(10) DEFAULT NULL,
  `hostname` varchar(255) DEFAULT NULL,
  `pid` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of adhoc tasks waiting to run.' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_task_adhoc`
--

INSERT INTO `mdl_task_adhoc` (`id`, `component`, `classname`, `nextruntime`, `faildelay`, `customdata`, `userid`, `blocking`, `timecreated`, `timestarted`, `hostname`, `pid`) VALUES
(1, 'tool_moodlenet', '\\tool_moodlenet\\task\\post_install', 1764416666, 0, '', NULL, 0, 1764416667, NULL, NULL, NULL),
(2, 'tool_langimport', '\\tool_langimport\\task\\install_langpacks', 1764419610, 0, '{\"langs\":[\"pt_br\",\"pt\"]}', 2, 0, 1764419611, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `mdl_task_log`
--

CREATE TABLE `mdl_task_log` (
  `id` bigint(10) NOT NULL,
  `type` smallint(4) NOT NULL,
  `component` varchar(255) NOT NULL DEFAULT '',
  `classname` varchar(255) NOT NULL DEFAULT '',
  `userid` bigint(10) NOT NULL,
  `timestart` decimal(20,10) NOT NULL,
  `timeend` decimal(20,10) NOT NULL,
  `dbreads` bigint(10) NOT NULL,
  `dbwrites` bigint(10) NOT NULL,
  `result` tinyint(2) NOT NULL,
  `output` longtext NOT NULL,
  `hostname` varchar(255) DEFAULT NULL,
  `pid` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The log table for all tasks' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Table structure for table `mdl_task_scheduled`
--

CREATE TABLE `mdl_task_scheduled` (
  `id` bigint(10) NOT NULL,
  `component` varchar(255) NOT NULL DEFAULT '',
  `classname` varchar(255) NOT NULL DEFAULT '',
  `lastruntime` bigint(10) DEFAULT NULL,
  `nextruntime` bigint(10) DEFAULT NULL,
  `blocking` tinyint(2) NOT NULL DEFAULT 0,
  `minute` varchar(200) NOT NULL DEFAULT '',
  `hour` varchar(70) NOT NULL DEFAULT '',
  `day` varchar(90) NOT NULL DEFAULT '',
  `month` varchar(30) NOT NULL DEFAULT '',
  `dayofweek` varchar(25) NOT NULL DEFAULT '',
  `faildelay` bigint(10) DEFAULT NULL,
  `customised` tinyint(2) NOT NULL DEFAULT 0,
  `disabled` tinyint(1) NOT NULL DEFAULT 0,
  `timestarted` bigint(10) DEFAULT NULL,
  `hostname` varchar(255) DEFAULT NULL,
  `pid` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of scheduled tasks to be run by cron.' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_task_scheduled`
--

INSERT INTO `mdl_task_scheduled` (`id`, `component`, `classname`, `lastruntime`, `nextruntime`, `blocking`, `minute`, `hour`, `day`, `month`, `dayofweek`, `faildelay`, `customised`, `disabled`, `timestarted`, `hostname`, `pid`) VALUES
(1, 'moodle', '\\core\\task\\session_cleanup_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(2, 'moodle', '\\core\\task\\delete_unconfirmed_users_task', 0, 1764417600, 0, '0', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(3, 'moodle', '\\core\\task\\delete_incomplete_users_task', 0, 1764417900, 0, '5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(4, 'moodle', '\\core\\task\\backup_cleanup_task', 0, 1764418200, 0, '10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(5, 'moodle', '\\core\\task\\tag_cron_task', 0, 1764469080, 0, '18', '3', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(6, 'moodle', '\\core\\task\\context_cleanup_task', 0, 1764419100, 0, '25', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(7, 'moodle', '\\core\\task\\cache_cleanup_task', 0, 1764419400, 0, '30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(8, 'moodle', '\\core\\task\\messaging_cleanup_task', 0, 1764419700, 0, '35', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(9, 'moodle', '\\core\\task\\send_new_user_passwords_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(10, 'moodle', '\\core\\task\\send_failed_login_notifications_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(11, 'moodle', '\\core\\task\\create_contexts_task', 0, 1764457200, 1, '0', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(12, 'moodle', '\\core\\task\\grade_cron_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(13, 'moodle', '\\core\\task\\grade_history_cleanup_task', 0, 1764457200, 0, '*', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(14, 'moodle', '\\core\\task\\completion_regular_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(15, 'moodle', '\\core\\task\\completion_daily_task', 0, 1764418260, 0, '11', '13', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(16, 'moodle', '\\core\\task\\portfolio_cron_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(17, 'moodle', '\\core\\task\\plagiarism_cron_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(18, 'moodle', '\\core\\task\\calendar_cron_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(19, 'moodle', '\\core\\task\\blog_cron_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(20, 'moodle', '\\core\\task\\question_preview_cleanup_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(21, 'moodle', '\\core\\task\\registration_cron_task', 0, 1764632580, 0, '43', '0', '*', '*', '2', 0, 0, 0, NULL, NULL, NULL),
(22, 'moodle', '\\core\\task\\check_for_updates_task', 0, 1764477660, 0, '41', '5', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(23, 'moodle', '\\core\\task\\cache_cron_task', 0, 1764417000, 0, '50', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(24, 'moodle', '\\core\\task\\automated_backup_task', 0, 1764417000, 0, '50', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(25, 'moodle', '\\core\\task\\badges_cron_task', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(26, 'moodle', '\\core\\task\\badges_message_task', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(27, 'moodle', '\\core\\task\\file_temp_cleanup_task', 0, 1764417300, 0, '55', '*/6', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(28, 'moodle', '\\core\\task\\file_trash_cleanup_task', 0, 1764417300, 0, '55', '*/6', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(29, 'moodle', '\\core\\task\\search_index_task', 0, 1764417600, 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(30, 'moodle', '\\core\\task\\search_optimize_task', 0, 1764458100, 0, '15', '*/12', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(31, 'moodle', '\\core\\task\\stats_cron_task', 0, 1764457200, 0, '0', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(32, 'moodle', '\\core\\task\\password_reset_cleanup_task', 0, 1764435600, 0, '0', '*/6', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(33, 'moodle', '\\core\\task\\complete_plans_task', 0, 1764419220, 0, '27', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(34, 'moodle', '\\core\\task\\sync_plans_from_template_cohorts_task', 0, 1764416700, 0, '45', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(35, 'moodle', '\\core_files\\task\\conversion_cleanup_task', 0, 1764465360, 0, '16', '2', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(36, 'moodle', '\\core\\oauth2\\refresh_system_tokens_task', 0, 1764419400, 0, '30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(37, 'moodle', '\\core\\task\\analytics_cleanup_task', 0, 1764420120, 0, '42', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(38, 'moodle', '\\core\\task\\task_log_cleanup_task', 0, 1764440700, 0, '25', '19', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(39, 'moodle', '\\core\\task\\h5p_get_content_types_task', 0, 1764565380, 0, '3', '6', '1', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(40, 'moodle', '\\core\\task\\h5p_clean_orphaned_records_task', 0, 1764457860, 0, '11', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(41, 'moodle', '\\core\\task\\antivirus_cleanup_task', 0, 1764459060, 0, '31', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(42, 'moodle', '\\core_reportbuilder\\task\\send_schedules', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(43, 'moodle', '\\core\\task\\task_lock_cleanup_task', 0, 1764457200, 0, '0', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(44, 'moodle', '\\core_xapi\\task\\state_cleanup_task', 0, 1764459960, 0, '46', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(45, 'moodle', '\\core\\task\\show_started_courses_task', 0, 1764460800, 0, '00', '01', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(46, 'moodle', '\\core\\task\\hide_ended_courses_task', 0, 1764460800, 0, '00', '01', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(47, 'moodle', '\\core\\task\\automated_backup_report_task', 0, 1764416580, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(48, 'mod_assign', '\\mod_assign\\task\\cron_task', 0, 1764416640, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(49, 'mod_bigbluebuttonbn', '\\mod_bigbluebuttonbn\\task\\check_pending_recordings', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(50, 'mod_bigbluebuttonbn', '\\mod_bigbluebuttonbn\\task\\check_dismissed_recordings', 0, 1764543600, 0, '*', '*', '*/10', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(51, 'mod_chat', '\\mod_chat\\task\\cron_task', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(52, 'mod_forum', '\\mod_forum\\task\\cron_task', 0, 1764416640, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(53, 'mod_lti', '\\mod_lti\\task\\clean_access_tokens', 0, 1764489120, 0, '52', '8', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(54, 'mod_quiz', '\\mod_quiz\\task\\update_overdue_attempts', 0, 1764416640, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(55, 'mod_quiz', '\\mod_quiz\\task\\quiz_notify_attempt_manual_grading_completed', 0, 1764419280, 0, '28', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(56, 'mod_scorm', '\\mod_scorm\\task\\cron_task', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(57, 'mod_workshop', '\\mod_workshop\\task\\cron_task', 0, 1764416640, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(58, 'auth_cas', '\\auth_cas\\task\\sync_task', 0, 1764457200, 0, '0', '0', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(59, 'auth_db', '\\auth_db\\task\\sync_users', 0, 1764460140, 0, '49', '0', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(60, 'auth_ldap', '\\auth_ldap\\task\\sync_roles', 0, 1764457200, 0, '0', '0', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(61, 'auth_ldap', '\\auth_ldap\\task\\sync_task', 0, 1764457200, 0, '0', '0', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(62, 'auth_mnet', '\\auth_mnet\\task\\cron_task', 0, 1764417000, 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(63, 'enrol_category', '\\enrol_category\\task\\enrol_category_sync', 0, 1764416640, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(64, 'enrol_cohort', '\\enrol_cohort\\task\\enrol_cohort_sync', 0, 1764418380, 0, '13', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(65, 'enrol_database', '\\enrol_database\\task\\sync_enrolments', 0, 1764451020, 0, '17', '22', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(66, 'enrol_flatfile', '\\enrol_flatfile\\task\\flatfile_sync_task', 0, 1764418500, 0, '15', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(67, 'enrol_imsenterprise', '\\enrol_imsenterprise\\task\\cron_task', 0, 1764418200, 0, '10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(68, 'enrol_ldap', '\\enrol_ldap\\task\\sync_enrolments', 0, 1764467940, 0, '59', '2', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(69, 'enrol_lti', '\\enrol_lti\\task\\sync_grades', 0, 1764417600, 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(70, 'enrol_lti', '\\enrol_lti\\task\\sync_members', 0, 1764417600, 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(71, 'enrol_lti', '\\enrol_lti\\local\\ltiadvantage\\task\\sync_members', 0, 1764417600, 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(72, 'enrol_lti', '\\enrol_lti\\local\\ltiadvantage\\task\\sync_grades', 0, 1764417600, 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(73, 'enrol_manual', '\\enrol_manual\\task\\sync_enrolments', 0, 1764417000, 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(74, 'enrol_manual', '\\enrol_manual\\task\\send_expiry_notifications', 0, 1764417000, 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(75, 'enrol_meta', '\\enrol_meta\\task\\enrol_meta_sync', 0, 1764418200, 0, '10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(76, 'enrol_paypal', '\\enrol_paypal\\task\\process_expirations', 0, 1764416640, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(77, 'enrol_self', '\\enrol_self\\task\\sync_enrolments', 0, 1764417000, 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(78, 'enrol_self', '\\enrol_self\\task\\send_expiry_notifications', 0, 1764417000, 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(79, 'message_email', '\\message_email\\task\\send_email_task', 0, 1764450000, 0, '0', '22', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(80, 'block_recent_activity', '\\block_recent_activity\\task\\cleanup', 0, 1764493320, 0, '2', '10', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(81, 'block_rss_client', '\\block_rss_client\\task\\refreshfeeds', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(82, 'editor_atto', '\\editor_atto\\task\\autosave_cleanup_task', 0, 1764903660, 0, '1', '4', '*', '*', '5', 0, 0, 0, NULL, NULL, NULL),
(83, 'repository_dropbox', '\\repository_dropbox\\task\\cron_task', 0, 1764416700, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(84, 'repository_filesystem', '\\repository_filesystem\\task\\cron_task', 0, 1764416700, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(85, 'repository_onedrive', '\\repository_onedrive\\remove_temp_access_task', 0, 1764443340, 0, '9', '20', '*', '*', '6', 0, 0, 0, NULL, NULL, NULL),
(86, 'tool_analytics', '\\tool_analytics\\task\\train_models', 0, 1764421200, 0, '0', '14', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(87, 'tool_analytics', '\\tool_analytics\\task\\predict_models', 0, 1764417600, 0, '0', '13', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(88, 'tool_brickfield', '\\tool_brickfield\\task\\bulk_process_courses', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(89, 'tool_brickfield', '\\tool_brickfield\\task\\bulk_process_caches', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(90, 'tool_brickfield', '\\tool_brickfield\\task\\checkid_validation', 0, 1764489900, 0, '05', '9', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(91, 'tool_brickfield', '\\tool_brickfield\\task\\update_summarydata', 0, 1764460200, 0, '50', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(92, 'tool_brickfield', '\\tool_brickfield\\task\\process_analysis_requests', 0, 1764416700, 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(93, 'tool_cohortroles', '\\tool_cohortroles\\task\\cohort_role_sync', 0, 1764417840, 0, '4', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(94, 'tool_dataprivacy', '\\tool_dataprivacy\\task\\expired_retention_period', 0, 1764421200, 0, '0', '14', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(95, 'tool_dataprivacy', '\\tool_dataprivacy\\task\\delete_expired_contexts', 0, 1764417600, 0, '0', '13', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(96, 'tool_dataprivacy', '\\tool_dataprivacy\\task\\delete_expired_requests', 0, 1764426540, 0, '29', '15', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(97, 'tool_dataprivacy', '\\tool_dataprivacy\\task\\delete_existing_deleted_users', 0, 1764466860, 0, '41', '2', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(98, 'tool_langimport', '\\tool_langimport\\task\\update_langpacks_task', 0, 1764474840, 0, '54', '4', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(99, 'tool_messageinbound', '\\tool_messageinbound\\task\\pickup_task', 0, 1764416700, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(100, 'tool_messageinbound', '\\tool_messageinbound\\task\\cleanup_task', 0, 1764464100, 0, '55', '1', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(101, 'tool_monitor', '\\tool_monitor\\task\\clean_events', 0, 1764416700, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(102, 'tool_monitor', '\\tool_monitor\\task\\check_subscriptions', 0, 1764469800, 0, '30', '3', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(103, 'tool_recyclebin', '\\tool_recyclebin\\task\\cleanup_course_bin', 0, 1764417600, 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(104, 'tool_recyclebin', '\\tool_recyclebin\\task\\cleanup_category_bin', 0, 1764417600, 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(105, 'cachestore_redis', '\\cachestore_redis\\task\\ttl', 0, 1764417780, 0, '3', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(106, 'ltiservice_gradebookservices', '\\ltiservice_gradebookservices\\task\\cleanup_task', 0, 1764421860, 0, '11', '14', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(107, 'workshopallocation_scheduled', '\\workshopallocation_scheduled\\task\\cron_task', 0, 1764416700, 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(108, 'logstore_standard', '\\logstore_standard\\task\\cleanup_task', 0, 1764474780, 0, '53', '4', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(109, 'factor_grace', '\\factor_grace\\task\\revoke_expired_factors', 0, 1764460020, 0, '47', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(110, 'factor_nosetup', '\\factor_nosetup\\task\\delete_unusable_factors', 0, 1764459120, 0, '32', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL);

-- --------------------------------------------------------

--
