-- Table structure for table `[[dbprefix]]message_conversations`
--

CREATE TABLE `[[dbprefix]]message_conversations` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]messconv_typ_ix` (`type`),
  KEY `[[dbprefix]]messconv_con_ix` (`convhash`),
  KEY `[[dbprefix]]messconv_comiteitecon_ix` (`component`,`itemtype`,`itemid`,`contextid`),
  KEY `[[dbprefix]]messconv_con2_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores all message conversations' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]message_conversation_actions`
--

CREATE TABLE `[[dbprefix]]message_conversation_actions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `action` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]messconvacti_use_ix` (`userid`),
  KEY `[[dbprefix]]messconvacti_con_ix` (`conversationid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores all per-user actions on individual conversations' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]message_conversation_members`
--

CREATE TABLE `[[dbprefix]]message_conversation_members` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `conversationid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]messconvmemb_con_ix` (`conversationid`),
  KEY `[[dbprefix]]messconvmemb_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores all members in a conversations' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]message_email_messages`
--

CREATE TABLE `[[dbprefix]]message_email_messages` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `useridto` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `messageid` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]messemaimess_use_ix` (`useridto`),
  KEY `[[dbprefix]]messemaimess_con_ix` (`conversationid`),
  KEY `[[dbprefix]]messemaimess_mes_ix` (`messageid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Keeps track of what emails to send in an email digest' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]message_popup`
--

CREATE TABLE `[[dbprefix]]message_popup` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `messageid` bigint(10) NOT NULL,
  `isread` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]messpopu_mesisr_uix` (`messageid`,`isread`),
  KEY `[[dbprefix]]messpopu_isr_ix` (`isread`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Keep state of notifications for the popup message processor' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]message_popup_notifications`
--

CREATE TABLE `[[dbprefix]]message_popup_notifications` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `notificationid` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]messpopunoti_not_ix` (`notificationid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='List of notifications to display in the message output popup' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]message_processors`
--

CREATE TABLE `[[dbprefix]]message_processors` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(166) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='List of message output plugins' AUTO_INCREMENT=4 ;

--
-- Dumping data for table `[[dbprefix]]message_processors`
--

INSERT INTO `[[dbprefix]]message_processors` VALUES
(1, 'airnotifier', 1),
(2, 'email', 1),
(3, 'popup', 1);

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

--
-- Table structure for table `[[dbprefix]]message_providers`
--

CREATE TABLE `[[dbprefix]]message_providers` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `component` varchar(200) NOT NULL DEFAULT '',
  `capability` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]messprov_comnam_uix` (`component`,`name`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table stores the message providers (modules and core sy' AUTO_INCREMENT=47 ;

--
-- Dumping data for table `[[dbprefix]]message_providers`
--

INSERT INTO `[[dbprefix]]message_providers` 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, 'assignment_updates', 'mod_assignment', NULL),
(24, 'recording_ready', 'mod_bigbluebuttonbn', NULL),
(25, 'instance_updated', 'mod_bigbluebuttonbn', NULL),
(26, 'submission', 'mod_feedback', NULL),
(27, 'message', 'mod_feedback', NULL),
(28, 'posts', 'mod_forum', NULL),
(29, 'digests', 'mod_forum', NULL),
(30, 'graded_essay', 'mod_lesson', NULL),
(31, 'submission', 'mod_quiz', 'mod/quiz:emailnotifysubmission'),
(32, 'confirmation', 'mod_quiz', 'mod/quiz:emailconfirmsubmission'),
(33, 'attempt_overdue', 'mod_quiz', 'mod/quiz:emailwarnoverdue'),
(34, 'attempt_grading_complete', 'mod_quiz', 'mod/quiz:emailnotifyattemptgraded'),
(35, 'flatfile_enrolment', 'enrol_flatfile', NULL),
(36, 'imsenterprise_enrolment', 'enrol_imsenterprise', NULL),
(37, 'expiry_notification', 'enrol_manual', NULL),
(38, 'paypal_enrolment', 'enrol_paypal', NULL),
(39, 'expiry_notification', 'enrol_self', NULL),
(40, 'contactdataprotectionofficer', 'tool_dataprivacy', 'tool/dataprivacy:managedatarequests'),
(41, 'datarequestprocessingresults', 'tool_dataprivacy', NULL),
(42, 'notifyexceptions', 'tool_dataprivacy', 'tool/dataprivacy:managedatarequests'),
(43, 'invalidrecipienthandler', 'tool_messageinbound', NULL),
(44, 'messageprocessingerror', 'tool_messageinbound', NULL),
(45, 'messageprocessingsuccess', 'tool_messageinbound', NULL),
(46, 'notification', 'tool_monitor', 'tool/monitor:subscribe');

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

--
-- Table structure for table `[[dbprefix]]message_read`
--

CREATE TABLE `[[dbprefix]]message_read` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `useridfrom` bigint(10) NOT NULL DEFAULT '0',
  `useridto` bigint(10) NOT NULL DEFAULT '0',
  `subject` longtext,
  `fullmessage` longtext,
  `fullmessageformat` smallint(4) DEFAULT '0',
  `fullmessagehtml` longtext,
  `smallmessage` longtext,
  `notification` tinyint(1) DEFAULT '0',
  `contexturl` longtext,
  `contexturlname` longtext,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]messread_useusetimtim_ix` (`useridfrom`,`useridto`,`timeuserfromdeleted`,`timeusertodeleted`),
  KEY `[[dbprefix]]messread_nottim_ix` (`notification`,`timeread`),
  KEY `[[dbprefix]]messread_usetimnot_ix` (`useridfrom`,`timeuserfromdeleted`,`notification`),
  KEY `[[dbprefix]]messread_usetimnot2_ix` (`useridto`,`timeusertodeleted`,`notification`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores all messages that have been read' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]message_users_blocked`
--

CREATE TABLE `[[dbprefix]]message_users_blocked` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL,
  `blockeduserid` bigint(10) NOT NULL,
  `timecreated` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]messuserbloc_useblo_uix` (`userid`,`blockeduserid`),
  KEY `[[dbprefix]]messuserbloc_use_ix` (`userid`),
  KEY `[[dbprefix]]messuserbloc_blo_ix` (`blockeduserid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Maintains lists of blocked users' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]message_user_actions`
--

CREATE TABLE `[[dbprefix]]message_user_actions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL,
  `messageid` bigint(10) NOT NULL,
  `action` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]messuseracti_usemesa_uix` (`userid`,`messageid`,`action`),
  KEY `[[dbprefix]]messuseracti_use_ix` (`userid`),
  KEY `[[dbprefix]]messuseracti_mes_ix` (`messageid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores all per-user actions on individual messages' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]mnetservice_enrol_courses`
--

CREATE TABLE `[[dbprefix]]mnetservice_enrol_courses` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]mnetenrocour_hosrem_uix` (`hostid`,`remoteid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Caches the information fetched via XML-RPC about courses on ' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]mnetservice_enrol_enrolments`
--

CREATE TABLE `[[dbprefix]]mnetservice_enrol_enrolments` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]mnetenroenro_use_ix` (`userid`),
  KEY `[[dbprefix]]mnetenroenro_hos_ix` (`hostid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Caches the information about enrolments of our local users i' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]mnet_application`
--

CREATE TABLE `[[dbprefix]]mnet_application` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Information about applications on remote hosts' AUTO_INCREMENT=3 ;

--
-- Dumping data for table `[[dbprefix]]mnet_application`
--

INSERT INTO `[[dbprefix]]mnet_application` 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 `[[dbprefix]]mnet_host`
--

CREATE TABLE `[[dbprefix]]mnet_host` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]mnethost_app_ix` (`applicationid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Information about the local and remote hosts for RPC' AUTO_INCREMENT=3 ;

--
-- Dumping data for table `[[dbprefix]]mnet_host`
--

INSERT INTO `[[dbprefix]]mnet_host` VALUES
(1, 0, '[[softurl]]', '[[serverip]]', '', '', 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 `[[dbprefix]]mnet_host2service`
--

CREATE TABLE `[[dbprefix]]mnet_host2service` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]mnethost_hosser_uix` (`hostid`,`serviceid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Information about the services for a given host' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]mnet_log`
--

CREATE TABLE `[[dbprefix]]mnet_log` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]mnetlog_hosusecou_ix` (`hostid`,`userid`,`course`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Store session data from users migrating to other sites' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]mnet_remote_rpc`
--

CREATE TABLE `[[dbprefix]]mnet_remote_rpc` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table describes functions that might be called remotely' AUTO_INCREMENT=17 ;

--
-- Dumping data for table `[[dbprefix]]mnet_remote_rpc`
--

INSERT INTO `[[dbprefix]]mnet_remote_rpc` 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 `[[dbprefix]]mnet_remote_service2rpc`
--

CREATE TABLE `[[dbprefix]]mnet_remote_service2rpc` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `serviceid` bigint(10) NOT NULL DEFAULT '0',
  `rpcid` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]mnetremoserv_rpcser_uix` (`rpcid`,`serviceid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Group functions or methods under a service' AUTO_INCREMENT=17 ;

--
-- Dumping data for table `[[dbprefix]]mnet_remote_service2rpc`
--

INSERT INTO `[[dbprefix]]mnet_remote_service2rpc` 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 `[[dbprefix]]mnet_rpc`
--

CREATE TABLE `[[dbprefix]]mnet_rpc` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]mnetrpc_enaxml_ix` (`enabled`,`xmlrpcpath`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Functions or methods that we may publish or subscribe to' AUTO_INCREMENT=16 ;

--
-- Dumping data for table `[[dbprefix]]mnet_rpc`
--

INSERT INTO `[[dbprefix]]mnet_rpc` 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 `[[dbprefix]]mnet_service`
--

CREATE TABLE `[[dbprefix]]mnet_service` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='A service is a group of functions' AUTO_INCREMENT=5 ;

--
-- Dumping data for table `[[dbprefix]]mnet_service`
--

INSERT INTO `[[dbprefix]]mnet_service` VALUES
(1, 'sso_idp', '', '1', 1),
(2, 'sso_sp', '', '1', 1),
(3, 'mnet_enrol', '', '1', 1),
(4, 'pf', '', '1', 1);

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

--
-- Table structure for table `[[dbprefix]]mnet_service2rpc`
--

CREATE TABLE `[[dbprefix]]mnet_service2rpc` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `serviceid` bigint(10) NOT NULL DEFAULT '0',
  `rpcid` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]mnetserv_rpcser_uix` (`rpcid`,`serviceid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Group functions or methods under a service' AUTO_INCREMENT=16 ;

--
-- Dumping data for table `[[dbprefix]]mnet_service2rpc`
--

INSERT INTO `[[dbprefix]]mnet_service2rpc` 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 `[[dbprefix]]mnet_sso_access_control`
--

CREATE TABLE `[[dbprefix]]mnet_sso_access_control` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `username` varchar(100) NOT NULL DEFAULT '',
  `mnet_host_id` bigint(10) NOT NULL DEFAULT '0',
  `accessctrl` varchar(20) NOT NULL DEFAULT 'allow',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]mnetssoaccecont_mneu_uix` (`mnet_host_id`,`username`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Users by host permitted (or not) to login from a remote prov' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]modules`
--

CREATE TABLE `[[dbprefix]]modules` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]modu_nam_ix` (`name`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='modules available in the site' AUTO_INCREMENT=25 ;

--
-- Dumping data for table `[[dbprefix]]modules`
--

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

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

--
-- Table structure for table `[[dbprefix]]my_pages`
--

CREATE TABLE `[[dbprefix]]my_pages` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]mypage_usepri_ix` (`userid`,`private`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Extra user pages for the My Moodle system' AUTO_INCREMENT=5 ;

--
-- Dumping data for table `[[dbprefix]]my_pages`
--

INSERT INTO `[[dbprefix]]my_pages` 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 `[[dbprefix]]notifications`
--

CREATE TABLE `[[dbprefix]]notifications` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `useridfrom` bigint(10) NOT NULL,
  `useridto` bigint(10) NOT NULL,
  `subject` longtext,
  `fullmessage` longtext,
  `fullmessageformat` tinyint(1) NOT NULL DEFAULT '0',
  `fullmessagehtml` longtext,
  `smallmessage` longtext,
  `component` varchar(100) DEFAULT NULL,
  `eventtype` varchar(100) DEFAULT NULL,
  `contexturl` longtext,
  `contexturlname` longtext,
  `timeread` bigint(10) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `customdata` longtext,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]noti_use_ix` (`useridfrom`),
  KEY `[[dbprefix]]noti_use2_ix` (`useridto`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores all notifications' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]oauth2_endpoint`
--

CREATE TABLE `[[dbprefix]]oauth2_endpoint` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]oautendp_iss_ix` (`issuerid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Describes the named endpoint for an oauth2 service.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]oauth2_user_field_mapping`
--

CREATE TABLE `[[dbprefix]]oauth2_user_field_mapping` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]oautuserfielmapp_iss_uix` (`issuerid`,`internalfield`),
  KEY `[[dbprefix]]oautuserfielmapp_iss_ix` (`issuerid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Mapping of oauth user fields to moodle fields.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]page`
--

CREATE TABLE `[[dbprefix]]page` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `course` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext,
  `introformat` smallint(4) NOT NULL DEFAULT '0',
  `content` longtext,
  `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,
  `revision` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]page_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Each record is one page and its config data' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]paygw_paypal`
--

CREATE TABLE `[[dbprefix]]paygw_paypal` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `paymentid` bigint(10) NOT NULL,
  `pp_orderid` varchar(255) NOT NULL DEFAULT 'The ID of the order in PayPal',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]paygpayp_pay_uix` (`paymentid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores PayPal related information' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]payments`
--

CREATE TABLE `[[dbprefix]]payments` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]paym_gat_ix` (`gateway`),
  KEY `[[dbprefix]]paym_compayite_ix` (`component`,`paymentarea`,`itemid`),
  KEY `[[dbprefix]]paym_use_ix` (`userid`),
  KEY `[[dbprefix]]paym_acc_ix` (`accountid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores information about payments' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]payment_accounts`
--

CREATE TABLE `[[dbprefix]]payment_accounts` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Payment accounts' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]payment_gateways`
--

CREATE TABLE `[[dbprefix]]payment_gateways` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `accountid` bigint(10) NOT NULL,
  `gateway` varchar(100) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT '1',
  `config` longtext,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]paymgate_acc_ix` (`accountid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Configuration for one gateway for one payment account' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]portfolio_instance`
--

CREATE TABLE `[[dbprefix]]portfolio_instance` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `plugin` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(255) NOT NULL DEFAULT '',
  `visible` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='base table (not including config data) for instances of port' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]portfolio_instance_config`
--

CREATE TABLE `[[dbprefix]]portfolio_instance_config` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `instance` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]portinstconf_nam_ix` (`name`),
  KEY `[[dbprefix]]portinstconf_ins_ix` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='config for portfolio plugin instances' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]portfolio_instance_user`
--

CREATE TABLE `[[dbprefix]]portfolio_instance_user` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `instance` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]portinstuser_ins_ix` (`instance`),
  KEY `[[dbprefix]]portinstuser_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='user data for portfolio instances.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]portfolio_log`
--

CREATE TABLE `[[dbprefix]]portfolio_log` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]portlog_use_ix` (`userid`),
  KEY `[[dbprefix]]portlog_por_ix` (`portfolio`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='log of portfolio transfers (used to later check for duplicat' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]portfolio_tempdata`
--

CREATE TABLE `[[dbprefix]]portfolio_tempdata` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `data` longtext,
  `expirytime` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `instance` bigint(10) DEFAULT '0',
  `queued` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]porttemp_use_ix` (`userid`),
  KEY `[[dbprefix]]porttemp_ins_ix` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='stores temporary data for portfolio exports. the id of this ' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]post`
--

CREATE TABLE `[[dbprefix]]post` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `content` longtext,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]post_iduse_uix` (`id`,`userid`),
  KEY `[[dbprefix]]post_las_ix` (`lastmodified`),
  KEY `[[dbprefix]]post_mod_ix` (`module`),
  KEY `[[dbprefix]]post_sub_ix` (`subject`),
  KEY `[[dbprefix]]post_use_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Generic post table to hold data blog entries etc in differen' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]profiling`
--

CREATE TABLE `[[dbprefix]]profiling` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]prof_run_uix` (`runid`),
  KEY `[[dbprefix]]prof_urlrun_ix` (`url`,`runreference`),
  KEY `[[dbprefix]]prof_timrun_ix` (`timecreated`,`runreference`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores the results of all the profiling runs' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_ddimageortext`
--

CREATE TABLE `[[dbprefix]]qtype_ddimageortext` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]qtypddim_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Defines drag and drop (text or images onto a background imag' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_ddimageortext_drags`
--

CREATE TABLE `[[dbprefix]]qtype_ddimageortext_drags` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]qtypddimdrag_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Images to drag. Actual file names are not stored here we use' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_ddimageortext_drops`
--

CREATE TABLE `[[dbprefix]]qtype_ddimageortext_drops` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]qtypddimdrop_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Drop boxes' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_ddmarker`
--

CREATE TABLE `[[dbprefix]]qtype_ddmarker` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]qtypddma_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Defines drag and drop (text or images onto a background imag' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_ddmarker_drags`
--

CREATE TABLE `[[dbprefix]]qtype_ddmarker_drags` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]qtypddmadrag_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Labels for markers to drag.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_ddmarker_drops`
--

CREATE TABLE `[[dbprefix]]qtype_ddmarker_drops` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]qtypddmadrop_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='drop regions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_essay_options`
--

CREATE TABLE `[[dbprefix]]qtype_essay_options` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `graderinfoformat` smallint(4) NOT NULL DEFAULT '0',
  `responsetemplate` longtext,
  `responsetemplateformat` smallint(4) NOT NULL DEFAULT '0',
  `maxbytes` bigint(10) NOT NULL DEFAULT '0',
  `filetypeslist` longtext,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]qtypessaopti_que_uix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Extra options for essay questions.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_match_options`
--

CREATE TABLE `[[dbprefix]]qtype_match_options` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]qtypmatcopti_que_uix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Defines the question-type specific options for matching ques' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_match_subquestions`
--

CREATE TABLE `[[dbprefix]]qtype_match_subquestions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `questionid` bigint(10) NOT NULL DEFAULT '0',
  `questiontext` longtext NOT NULL,
  `questiontextformat` tinyint(2) NOT NULL DEFAULT '0',
  `answertext` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]qtypmatcsubq_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The subquestions that make up a matching question' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_multichoice_options`
--

CREATE TABLE `[[dbprefix]]qtype_multichoice_options` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]qtypmultopti_que_uix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Options for multiple choice questions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_randomsamatch_options`
--

CREATE TABLE `[[dbprefix]]qtype_randomsamatch_options` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]qtyprandopti_que_uix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Info about a random short-answer matching question' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]qtype_shortanswer_options`
--

CREATE TABLE `[[dbprefix]]qtype_shortanswer_options` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `questionid` bigint(10) NOT NULL DEFAULT '0',
  `usecase` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]qtypshoropti_que_uix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Options for short answer questions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question`
--

CREATE TABLE `[[dbprefix]]question` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]ques_qty_ix` (`qtype`),
  KEY `[[dbprefix]]ques_par_ix` (`parent`),
  KEY `[[dbprefix]]ques_cre_ix` (`createdby`),
  KEY `[[dbprefix]]ques_mod_ix` (`modifiedby`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table stores the definition of one version of a questio' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_answers`
--

CREATE TABLE `[[dbprefix]]question_answers` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesansw_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Answers, with a fractional grade (0-1) and feedback' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_attempts`
--

CREATE TABLE `[[dbprefix]]question_attempts` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `rightanswer` longtext,
  `responsesummary` longtext,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quesatte_queslo_uix` (`questionusageid`,`slot`),
  KEY `[[dbprefix]]quesatte_beh_ix` (`behaviour`),
  KEY `[[dbprefix]]quesatte_que_ix` (`questionid`),
  KEY `[[dbprefix]]quesatte_que2_ix` (`questionusageid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Each row here corresponds to an attempt at one question, as ' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_attempt_steps`
--

CREATE TABLE `[[dbprefix]]question_attempt_steps` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quesattestep_queseq_uix` (`questionattemptid`,`sequencenumber`),
  KEY `[[dbprefix]]quesattestep_que_ix` (`questionattemptid`),
  KEY `[[dbprefix]]quesattestep_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores one step in in a question attempt. As well as the dat' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_attempt_step_data`
--

CREATE TABLE `[[dbprefix]]question_attempt_step_data` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `attemptstepid` bigint(10) NOT NULL,
  `name` varchar(32) NOT NULL DEFAULT '',
  `value` longtext,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesattestepdata_att_ix` (`attemptstepid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Each question_attempt_step has an associative array of the d' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_bank_entries`
--

CREATE TABLE `[[dbprefix]]question_bank_entries` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `questioncategoryid` bigint(10) NOT NULL DEFAULT '0',
  `idnumber` varchar(100) DEFAULT NULL,
  `ownerid` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quesbankentr_queidn_uix` (`questioncategoryid`,`idnumber`),
  KEY `[[dbprefix]]quesbankentr_que_ix` (`questioncategoryid`),
  KEY `[[dbprefix]]quesbankentr_own_ix` (`ownerid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Each question bank entry. This table has one row for each qu' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_calculated`
--

CREATE TABLE `[[dbprefix]]question_calculated` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quescalc_ans_ix` (`answer`),
  KEY `[[dbprefix]]quescalc_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Options for questions of type calculated' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_calculated_options`
--

CREATE TABLE `[[dbprefix]]question_calculated_options` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
  `partiallycorrectfeedback` longtext,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
  `incorrectfeedback` longtext,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
  `answernumbering` varchar(10) NOT NULL DEFAULT 'abc',
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quescalcopti_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Options for questions of type calculated' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_categories`
--

CREATE TABLE `[[dbprefix]]question_categories` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quescate_consta_uix` (`contextid`,`stamp`),
  UNIQUE KEY `[[dbprefix]]quescate_conidn_uix` (`contextid`,`idnumber`),
  KEY `[[dbprefix]]quescate_con_ix` (`contextid`),
  KEY `[[dbprefix]]quescate_par_ix` (`parent`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Categories are for grouping questions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_datasets`
--

CREATE TABLE `[[dbprefix]]question_datasets` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `question` bigint(10) NOT NULL DEFAULT '0',
  `datasetdefinition` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesdata_quedat_ix` (`question`,`datasetdefinition`),
  KEY `[[dbprefix]]quesdata_que_ix` (`question`),
  KEY `[[dbprefix]]quesdata_dat_ix` (`datasetdefinition`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Many-many relation between questions and dataset definitions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_dataset_definitions`
--

CREATE TABLE `[[dbprefix]]question_dataset_definitions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesdatadefi_cat_ix` (`category`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Organises and stores properties for dataset items' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_dataset_items`
--

CREATE TABLE `[[dbprefix]]question_dataset_items` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `definition` bigint(10) NOT NULL DEFAULT '0',
  `itemnumber` bigint(10) NOT NULL DEFAULT '0',
  `value` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesdataitem_def_ix` (`definition`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Individual dataset items' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_ddwtos`
--

CREATE TABLE `[[dbprefix]]question_ddwtos` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesddwt_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Defines drag and drop (words into sentences) questions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_gapselect`
--

CREATE TABLE `[[dbprefix]]question_gapselect` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesgaps_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Defines select missing words questions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_hints`
--

CREATE TABLE `[[dbprefix]]question_hints` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]queshint_que_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores the the part of the question definition that gives di' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_multianswer`
--

CREATE TABLE `[[dbprefix]]question_multianswer` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `question` bigint(10) NOT NULL DEFAULT '0',
  `sequence` longtext NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesmult_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Options for multianswer questions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_numerical`
--

CREATE TABLE `[[dbprefix]]question_numerical` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `question` bigint(10) NOT NULL DEFAULT '0',
  `answer` bigint(10) NOT NULL DEFAULT '0',
  `tolerance` varchar(255) NOT NULL DEFAULT '0.0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesnume_ans_ix` (`answer`),
  KEY `[[dbprefix]]quesnume_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Options for numerical questions.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_numerical_options`
--

CREATE TABLE `[[dbprefix]]question_numerical_options` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesnumeopti_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Options for questions of type numerical This table is also u' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_numerical_units`
--

CREATE TABLE `[[dbprefix]]question_numerical_units` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `question` bigint(10) NOT NULL DEFAULT '0',
  `multiplier` decimal(38,19) NOT NULL DEFAULT '1.0000000000000000000',
  `unit` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quesnumeunit_queuni_uix` (`question`,`unit`),
  KEY `[[dbprefix]]quesnumeunit_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Optional unit options for numerical questions. This table is' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_references`
--

CREATE TABLE `[[dbprefix]]question_references` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quesrefe_usicomqueit_uix` (`usingcontextid`,`component`,`questionarea`,`itemid`),
  KEY `[[dbprefix]]quesrefe_usi_ix` (`usingcontextid`),
  KEY `[[dbprefix]]quesrefe_que_ix` (`questionbankentryid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Records where a specific question is used.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_response_analysis`
--

CREATE TABLE `[[dbprefix]]question_response_analysis` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `credit` decimal(15,5) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Analysis of student responses given to questions.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_response_count`
--

CREATE TABLE `[[dbprefix]]question_response_count` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `analysisid` bigint(10) NOT NULL,
  `try` bigint(10) NOT NULL,
  `rcount` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesrespcoun_ana_ix` (`analysisid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Count for each responses for each try at a question.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_set_references`
--

CREATE TABLE `[[dbprefix]]question_set_references` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quessetrefe_usicomqu_uix` (`usingcontextid`,`component`,`questionarea`,`itemid`),
  KEY `[[dbprefix]]quessetrefe_usi_ix` (`usingcontextid`),
  KEY `[[dbprefix]]quessetrefe_que_ix` (`questionscontextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Records where groups of questions are used.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_statistics`
--

CREATE TABLE `[[dbprefix]]question_statistics` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `maxmark` decimal(12,7) DEFAULT NULL,
  `positions` longtext,
  `randomguessscore` decimal(12,7) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Statistics for individual questions used in an activity.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_truefalse`
--

CREATE TABLE `[[dbprefix]]question_truefalse` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `question` bigint(10) NOT NULL DEFAULT '0',
  `trueanswer` bigint(10) NOT NULL DEFAULT '0',
  `falseanswer` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]questrue_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Options for True-False questions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_usages`
--

CREATE TABLE `[[dbprefix]]question_usages` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `contextid` bigint(10) NOT NULL,
  `component` varchar(255) NOT NULL DEFAULT '',
  `preferredbehaviour` varchar(32) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesusag_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table''s main purpose it to assign a unique id to each a' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]question_versions`
--

CREATE TABLE `[[dbprefix]]question_versions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quesvers_que_ix` (`questionbankentryid`),
  KEY `[[dbprefix]]quesvers_que2_ix` (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='A join table linking the different question version definiti' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]quizaccess_seb_template`
--

CREATE TABLE `[[dbprefix]]quizaccess_seb_template` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quizsebtemp_use_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Templates for Safe Exam Browser configuration.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]quiz_attempts`
--

CREATE TABLE `[[dbprefix]]quiz_attempts` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quizatte_quiuseatt_uix` (`quiz`,`userid`,`attempt`),
  UNIQUE KEY `[[dbprefix]]quizatte_uni_uix` (`uniqueid`),
  KEY `[[dbprefix]]quizatte_statim_ix` (`state`,`timecheckstate`),
  KEY `[[dbprefix]]quizatte_qui_ix` (`quiz`),
  KEY `[[dbprefix]]quizatte_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores users attempts at quizzes.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]quiz_feedback`
--

CREATE TABLE `[[dbprefix]]quiz_feedback` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quizfeed_qui_ix` (`quizid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Feedback given to students based on which grade band their o' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]quiz_grades`
--

CREATE TABLE `[[dbprefix]]quiz_grades` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quizgrad_use_ix` (`userid`),
  KEY `[[dbprefix]]quizgrad_qui_ix` (`quiz`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores the overall grade for each user on the quiz, based on' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]quiz_overview_regrades`
--

CREATE TABLE `[[dbprefix]]quiz_overview_regrades` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]quizoverregr_queslo_ix` (`questionusageid`,`slot`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table records which question attempts need regrading an' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]quiz_reports`
--

CREATE TABLE `[[dbprefix]]quiz_reports` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `displayorder` bigint(10) NOT NULL,
  `capability` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quizrepo_nam_uix` (`name`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Lists all the installed quiz reports and their display order' AUTO_INCREMENT=5 ;

--
-- Dumping data for table `[[dbprefix]]quiz_reports`
--

INSERT INTO `[[dbprefix]]quiz_reports` 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 `[[dbprefix]]quiz_sections`
--

CREATE TABLE `[[dbprefix]]quiz_sections` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `quizid` bigint(10) NOT NULL,
  `firstslot` bigint(10) NOT NULL,
  `heading` varchar(1333) DEFAULT NULL,
  `shufflequestions` smallint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quizsect_quifir_uix` (`quizid`,`firstslot`),
  KEY `[[dbprefix]]quizsect_qui_ix` (`quizid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores sections of a quiz with section name (heading), from ' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]quiz_slots`
--

CREATE TABLE `[[dbprefix]]quiz_slots` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `slot` bigint(10) NOT NULL,
  `quizid` bigint(10) NOT NULL DEFAULT '0',
  `page` bigint(10) NOT NULL,
  `requireprevious` smallint(4) NOT NULL DEFAULT '0',
  `maxmark` decimal(12,7) NOT NULL DEFAULT '0.0000000',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]quizslot_quislo_uix` (`quizid`,`slot`),
  KEY `[[dbprefix]]quizslot_qui_ix` (`quizid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores the question used in a quiz, with the order, and for ' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]quiz_statistics`
--

CREATE TABLE `[[dbprefix]]quiz_statistics` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='table to cache results from analysis done in statistics repo' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]rating`
--

CREATE TABLE `[[dbprefix]]rating` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]rati_comratconite_ix` (`component`,`ratingarea`,`contextid`,`itemid`),
  KEY `[[dbprefix]]rati_con_ix` (`contextid`),
  KEY `[[dbprefix]]rati_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='moodle ratings' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]reportbuilder_audience`
--

CREATE TABLE `[[dbprefix]]reportbuilder_audience` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]repoaudi_rep_ix` (`reportid`),
  KEY `[[dbprefix]]repoaudi_use_ix` (`usercreated`),
  KEY `[[dbprefix]]repoaudi_use2_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Defines report audience' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]reportbuilder_column`
--

CREATE TABLE `[[dbprefix]]reportbuilder_column` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]repocolu_rep_ix` (`reportid`),
  KEY `[[dbprefix]]repocolu_use_ix` (`usercreated`),
  KEY `[[dbprefix]]repocolu_use2_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Table to represent a report column' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]reportbuilder_filter`
--

CREATE TABLE `[[dbprefix]]reportbuilder_filter` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]repofilt_rep_ix` (`reportid`),
  KEY `[[dbprefix]]repofilt_use_ix` (`usercreated`),
  KEY `[[dbprefix]]repofilt_use2_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Table to represent a report filter/condition' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]reportbuilder_report`
--

CREATE TABLE `[[dbprefix]]reportbuilder_report` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `settingsdata` longtext,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]reporepo_use_ix` (`usercreated`),
  KEY `[[dbprefix]]reporepo_use2_ix` (`usermodified`),
  KEY `[[dbprefix]]reporepo_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Table to represent a report' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]reportbuilder_schedule`
--

CREATE TABLE `[[dbprefix]]reportbuilder_schedule` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]reposche_rep_ix` (`reportid`),
  KEY `[[dbprefix]]reposche_use_ix` (`userviewas`),
  KEY `[[dbprefix]]reposche_use2_ix` (`usercreated`),
  KEY `[[dbprefix]]reposche_use3_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Table to represent a report schedule' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]repository`
--

CREATE TABLE `[[dbprefix]]repository` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `type` varchar(255) NOT NULL DEFAULT '',
  `visible` tinyint(1) DEFAULT '1',
  `sortorder` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table contains one entry for every configured external ' AUTO_INCREMENT=9 ;

--
-- Dumping data for table `[[dbprefix]]repository`
--

INSERT INTO `[[dbprefix]]repository` 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 `[[dbprefix]]repository_instance_config`
--

CREATE TABLE `[[dbprefix]]repository_instance_config` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `instanceid` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The config for intances' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]repository_onedrive_access`
--

CREATE TABLE `[[dbprefix]]repository_onedrive_access` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]repoonedacce_use_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='List of temporary access grants.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]resource`
--

CREATE TABLE `[[dbprefix]]resource` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `course` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext,
  `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,
  `filterfiles` smallint(4) NOT NULL DEFAULT '0',
  `revision` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]reso_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Each record is one resource and its config data' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]resource_old`
--

CREATE TABLE `[[dbprefix]]resource_old` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]resoold_old_uix` (`oldid`),
  KEY `[[dbprefix]]resoold_cmi_ix` (`cmid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='backup of all old resource instances from 1.9' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]role`
--

CREATE TABLE `[[dbprefix]]role` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]role_sor_uix` (`sortorder`),
  UNIQUE KEY `[[dbprefix]]role_sho_uix` (`shortname`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='moodle roles' AUTO_INCREMENT=9 ;

--
-- Dumping data for table `[[dbprefix]]role`
--

INSERT INTO `[[dbprefix]]role` 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 `[[dbprefix]]role_allow_assign`
--

CREATE TABLE `[[dbprefix]]role_allow_assign` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `roleid` bigint(10) NOT NULL DEFAULT '0',
  `allowassign` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]rolealloassi_rolall_uix` (`roleid`,`allowassign`),
  KEY `[[dbprefix]]rolealloassi_rol_ix` (`roleid`),
  KEY `[[dbprefix]]rolealloassi_all_ix` (`allowassign`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='this defines what role can assign what role' AUTO_INCREMENT=8 ;

--
-- Dumping data for table `[[dbprefix]]role_allow_assign`
--

INSERT INTO `[[dbprefix]]role_allow_assign` 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 `[[dbprefix]]role_allow_override`
--

CREATE TABLE `[[dbprefix]]role_allow_override` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `roleid` bigint(10) NOT NULL DEFAULT '0',
  `allowoverride` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]rolealloover_rolall_uix` (`roleid`,`allowoverride`),
  KEY `[[dbprefix]]rolealloover_rol_ix` (`roleid`),
  KEY `[[dbprefix]]rolealloover_all_ix` (`allowoverride`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='this defines what role can override what role' AUTO_INCREMENT=12 ;

--
-- Dumping data for table `[[dbprefix]]role_allow_override`
--

INSERT INTO `[[dbprefix]]role_allow_override` 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 `[[dbprefix]]role_allow_switch`
--

CREATE TABLE `[[dbprefix]]role_allow_switch` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `roleid` bigint(10) NOT NULL,
  `allowswitch` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]rolealloswit_rolall_uix` (`roleid`,`allowswitch`),
  KEY `[[dbprefix]]rolealloswit_rol_ix` (`roleid`),
  KEY `[[dbprefix]]rolealloswit_all_ix` (`allowswitch`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table stores which which other roles a user is allowed ' AUTO_INCREMENT=10 ;

--
-- Dumping data for table `[[dbprefix]]role_allow_switch`
--

INSERT INTO `[[dbprefix]]role_allow_switch` 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 `[[dbprefix]]role_allow_view`
--

CREATE TABLE `[[dbprefix]]role_allow_view` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `roleid` bigint(10) NOT NULL,
  `allowview` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]rolealloview_rolall_uix` (`roleid`,`allowview`),
  KEY `[[dbprefix]]rolealloview_rol_ix` (`roleid`),
  KEY `[[dbprefix]]rolealloview_all_ix` (`allowview`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table stores which which other roles a user is allowed ' AUTO_INCREMENT=25 ;

--
-- Dumping data for table `[[dbprefix]]role_allow_view`
--

INSERT INTO `[[dbprefix]]role_allow_view` 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 `[[dbprefix]]role_assignments`
--

CREATE TABLE `[[dbprefix]]role_assignments` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]roleassi_sor_ix` (`sortorder`),
  KEY `[[dbprefix]]roleassi_rolcon_ix` (`roleid`,`contextid`),
  KEY `[[dbprefix]]roleassi_useconrol_ix` (`userid`,`contextid`,`roleid`),
  KEY `[[dbprefix]]roleassi_comiteuse_ix` (`component`,`itemid`,`userid`),
  KEY `[[dbprefix]]roleassi_rol_ix` (`roleid`),
  KEY `[[dbprefix]]roleassi_con_ix` (`contextid`),
  KEY `[[dbprefix]]roleassi_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='assigning roles in different context' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]role_capabilities`
--

CREATE TABLE `[[dbprefix]]role_capabilities` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]rolecapa_rolconcap_uix` (`roleid`,`contextid`,`capability`),
  KEY `[[dbprefix]]rolecapa_rol_ix` (`roleid`),
  KEY `[[dbprefix]]rolecapa_con_ix` (`contextid`),
  KEY `[[dbprefix]]rolecapa_mod_ix` (`modifierid`),
  KEY `[[dbprefix]]rolecapa_cap_ix` (`capability`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='permission has to be signed, overriding a capability for a p' AUTO_INCREMENT=1481 ;

--
-- Dumping data for table `[[dbprefix]]role_capabilities`
--

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

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

--
-- Table structure for table `[[dbprefix]]role_context_levels`
--

CREATE TABLE `[[dbprefix]]role_context_levels` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `roleid` bigint(10) NOT NULL,
  `contextlevel` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]rolecontleve_conrol_uix` (`contextlevel`,`roleid`),
  KEY `[[dbprefix]]rolecontleve_rol_ix` (`roleid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Lists which roles can be assigned at which context levels. T' AUTO_INCREMENT=12 ;

--
-- Dumping data for table `[[dbprefix]]role_context_levels`
--

INSERT INTO `[[dbprefix]]role_context_levels` 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 `[[dbprefix]]role_names`
--

CREATE TABLE `[[dbprefix]]role_names` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `roleid` bigint(10) NOT NULL DEFAULT '0',
  `contextid` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]rolename_rolcon_uix` (`roleid`,`contextid`),
  KEY `[[dbprefix]]rolename_rol_ix` (`roleid`),
  KEY `[[dbprefix]]rolename_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='role names in native strings' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scale`
--

CREATE TABLE `[[dbprefix]]scale` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]scal_cou_ix` (`courseid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Defines grading scales' AUTO_INCREMENT=3 ;

--
-- Dumping data for table `[[dbprefix]]scale`
--

INSERT INTO `[[dbprefix]]scale` 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, [[timestamp]]),
(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, [[timestamp]]);

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

--
-- Table structure for table `[[dbprefix]]scale_history`
--

CREATE TABLE `[[dbprefix]]scale_history` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]scalhist_act_ix` (`action`),
  KEY `[[dbprefix]]scalhist_tim_ix` (`timemodified`),
  KEY `[[dbprefix]]scalhist_old_ix` (`oldid`),
  KEY `[[dbprefix]]scalhist_cou_ix` (`courseid`),
  KEY `[[dbprefix]]scalhist_log_ix` (`loggeduser`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='History table' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm`
--

CREATE TABLE `[[dbprefix]]scorm` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]scor_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='each table is one SCORM module and its configuration' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_aicc_session`
--

CREATE TABLE `[[dbprefix]]scorm_aicc_session` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]scoraiccsess_sco_ix` (`scormid`),
  KEY `[[dbprefix]]scoraiccsess_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Used by AICC HACP to store session information' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_scoes`
--

CREATE TABLE `[[dbprefix]]scorm_scoes` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]scorscoe_sco_ix` (`scorm`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='each SCO part of the SCORM module' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_scoes_data`
--

CREATE TABLE `[[dbprefix]]scorm_scoes_data` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `scoid` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]scorscoedata_sco_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Contains variable data get from packages' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_scoes_track`
--

CREATE TABLE `[[dbprefix]]scorm_scoes_track` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `scormid` bigint(10) NOT NULL DEFAULT '0',
  `scoid` bigint(10) NOT NULL DEFAULT '0',
  `attempt` bigint(10) NOT NULL DEFAULT '1',
  `element` varchar(255) NOT NULL DEFAULT '',
  `value` longtext NOT NULL,
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]scorscoetrac_usescos_uix` (`userid`,`scormid`,`scoid`,`attempt`,`element`),
  KEY `[[dbprefix]]scorscoetrac_use_ix` (`userid`),
  KEY `[[dbprefix]]scorscoetrac_sco_ix` (`scormid`),
  KEY `[[dbprefix]]scorscoetrac_sco2_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='to track SCOes' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_seq_mapinfo`
--

CREATE TABLE `[[dbprefix]]scorm_seq_mapinfo` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]scorseqmapi_scoidobj_uix` (`scoid`,`id`,`objectiveid`),
  KEY `[[dbprefix]]scorseqmapi_sco_ix` (`scoid`),
  KEY `[[dbprefix]]scorseqmapi_obj_ix` (`objectiveid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='SCORM2004 objective mapinfo description' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_seq_objective`
--

CREATE TABLE `[[dbprefix]]scorm_seq_objective` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]scorseqobje_scoid_uix` (`scoid`,`id`),
  KEY `[[dbprefix]]scorseqobje_sco_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='SCORM2004 objective description' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_seq_rolluprule`
--

CREATE TABLE `[[dbprefix]]scorm_seq_rolluprule` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]scorseqroll_scoid_uix` (`scoid`,`id`),
  KEY `[[dbprefix]]scorseqroll_sco_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='SCORM2004 sequencing rule' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_seq_rolluprulecond`
--

CREATE TABLE `[[dbprefix]]scorm_seq_rolluprulecond` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]scorseqroll_scorolid_uix` (`scoid`,`rollupruleid`,`id`),
  KEY `[[dbprefix]]scorseqroll_sco2_ix` (`scoid`),
  KEY `[[dbprefix]]scorseqroll_rol_ix` (`rollupruleid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='SCORM2004 sequencing rule' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_seq_rulecond`
--

CREATE TABLE `[[dbprefix]]scorm_seq_rulecond` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]scorseqrule_idscorul_uix` (`id`,`scoid`,`ruleconditionsid`),
  KEY `[[dbprefix]]scorseqrule_sco2_ix` (`scoid`),
  KEY `[[dbprefix]]scorseqrule_rul_ix` (`ruleconditionsid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='SCORM2004 rule condition' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]scorm_seq_ruleconds`
--

CREATE TABLE `[[dbprefix]]scorm_seq_ruleconds` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]scorseqrule_scoid_uix` (`scoid`,`id`),
  KEY `[[dbprefix]]scorseqrule_sco_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='SCORM2004 rule conditions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]search_index_requests`
--

CREATE TABLE `[[dbprefix]]search_index_requests` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]searinderequ_indtim_ix` (`indexpriority`,`timerequested`),
  KEY `[[dbprefix]]searinderequ_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Records requests for (re)indexing of specific contexts. Entr' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]search_simpledb_index`
--

CREATE TABLE `[[dbprefix]]search_simpledb_index` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `docid` varchar(255) NOT NULL DEFAULT '',
  `itemid` bigint(10) NOT NULL,
  `title` longtext,
  `content` longtext,
  `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,
  `description2` longtext,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]searsimpinde_doc_uix` (`docid`),
  KEY `[[dbprefix]]searsimpinde_owncon_ix` (`owneruserid`,`contextid`),
  FULLTEXT KEY `[[dbprefix]]search_simpledb_index_index` (`title`,`content`,`description1`,`description2`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='search_simpledb table containing the index data.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]sessions`
--

CREATE TABLE `[[dbprefix]]sessions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `state` bigint(10) NOT NULL DEFAULT '0',
  `sid` varchar(128) NOT NULL DEFAULT '',
  `userid` bigint(10) NOT NULL,
  `sessdata` longtext,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `firstip` varchar(45) DEFAULT NULL,
  `lastip` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]sess_sid_uix` (`sid`),
  KEY `[[dbprefix]]sess_sta_ix` (`state`),
  KEY `[[dbprefix]]sess_tim_ix` (`timecreated`),
  KEY `[[dbprefix]]sess_tim2_ix` (`timemodified`),
  KEY `[[dbprefix]]sess_use_ix` (`userid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Database based session storage - now recommended' AUTO_INCREMENT=1 ;

--
-- Dumping data for table `[[dbprefix]]sessions`
--


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

--
-- Table structure for table `[[dbprefix]]stats_daily`
--

CREATE TABLE `[[dbprefix]]stats_daily` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]statdail_cou_ix` (`courseid`),
  KEY `[[dbprefix]]statdail_tim_ix` (`timeend`),
  KEY `[[dbprefix]]statdail_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='to accumulate daily stats' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]stats_monthly`
--

CREATE TABLE `[[dbprefix]]stats_monthly` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]statmont_cou_ix` (`courseid`),
  KEY `[[dbprefix]]statmont_tim_ix` (`timeend`),
  KEY `[[dbprefix]]statmont_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='To accumulate monthly stats' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]stats_user_daily`
--

CREATE TABLE `[[dbprefix]]stats_user_daily` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]statuserdail_cou_ix` (`courseid`),
  KEY `[[dbprefix]]statuserdail_use_ix` (`userid`),
  KEY `[[dbprefix]]statuserdail_rol_ix` (`roleid`),
  KEY `[[dbprefix]]statuserdail_tim_ix` (`timeend`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='To accumulate daily stats per course/user' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]stats_user_monthly`
--

CREATE TABLE `[[dbprefix]]stats_user_monthly` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]statusermont_cou_ix` (`courseid`),
  KEY `[[dbprefix]]statusermont_use_ix` (`userid`),
  KEY `[[dbprefix]]statusermont_rol_ix` (`roleid`),
  KEY `[[dbprefix]]statusermont_tim_ix` (`timeend`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='To accumulate monthly stats per course/user' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]stats_user_weekly`
--

CREATE TABLE `[[dbprefix]]stats_user_weekly` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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 '',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]statuserweek_cou_ix` (`courseid`),
  KEY `[[dbprefix]]statuserweek_use_ix` (`userid`),
  KEY `[[dbprefix]]statuserweek_rol_ix` (`roleid`),
  KEY `[[dbprefix]]statuserweek_tim_ix` (`timeend`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='To accumulate weekly stats per course/user' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]stats_weekly`
--

CREATE TABLE `[[dbprefix]]stats_weekly` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]statweek_cou_ix` (`courseid`),
  KEY `[[dbprefix]]statweek_tim_ix` (`timeend`),
  KEY `[[dbprefix]]statweek_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='To accumulate weekly stats' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]survey`
--

CREATE TABLE `[[dbprefix]]survey` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]surv_cou_ix` (`course`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Each record is one SURVEY module with its configuration' AUTO_INCREMENT=6 ;

--
-- Dumping data for table `[[dbprefix]]survey`
--

INSERT INTO `[[dbprefix]]survey` 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 `[[dbprefix]]survey_analysis`
--

CREATE TABLE `[[dbprefix]]survey_analysis` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `survey` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `notes` longtext NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]survanal_use_ix` (`userid`),
  KEY `[[dbprefix]]survanal_sur_ix` (`survey`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='text about each survey submission' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]survey_answers`
--

CREATE TABLE `[[dbprefix]]survey_answers` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]survansw_use_ix` (`userid`),
  KEY `[[dbprefix]]survansw_sur_ix` (`survey`),
  KEY `[[dbprefix]]survansw_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='the answers to each questions filled by the users' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]survey_questions`
--

CREATE TABLE `[[dbprefix]]survey_questions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='the questions conforming one survey' AUTO_INCREMENT=74 ;

--
-- Dumping data for table `[[dbprefix]]survey_questions`
--

INSERT INTO `[[dbprefix]]survey_questions` 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 `[[dbprefix]]tag`
--

CREATE TABLE `[[dbprefix]]tag` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  `descriptionformat` tinyint(2) NOT NULL DEFAULT '0',
  `flag` smallint(4) DEFAULT '0',
  `timemodified` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]tag_tagnam_uix` (`tagcollid`,`name`),
  KEY `[[dbprefix]]tag_tagiss_ix` (`tagcollid`,`isstandard`),
  KEY `[[dbprefix]]tag_use_ix` (`userid`),
  KEY `[[dbprefix]]tag_tag_ix` (`tagcollid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Tag table - this generic table will replace the old "tags" t' AUTO_INCREMENT=1 ;



--
-- Dumping data for table `[[dbprefix]]tag_area`
--

INSERT INTO `[[dbprefix]]tag_area` 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, 'mod_book', 'book_chapters', 1, 1, 'mod_book_get_tagged_chapters', '/mod/book/locallib.php', 0, 0),
(8, 'mod_data', 'data_records', 1, 1, 'mod_data_get_tagged_records', '/mod/data/locallib.php', 0, 0),
(9, 'mod_forum', 'forum_posts', 1, 1, 'mod_forum_get_tagged_posts', '/mod/forum/locallib.php', 0, 0),
(10, 'mod_glossary', 'glossary_entries', 1, 1, 'mod_glossary_get_tagged_entries', '/mod/glossary/locallib.php', 0, 0),
(11, 'mod_wiki', 'wiki_pages', 1, 1, 'mod_wiki_get_tagged_pages', '/mod/wiki/locallib.php', 0, 0);

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

--
-- Table structure for table `[[dbprefix]]tag_coll`
--

CREATE TABLE `[[dbprefix]]tag_coll` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Defines different set of tags' AUTO_INCREMENT=2 ;

--
-- Dumping data for table `[[dbprefix]]tag_coll`
--

INSERT INTO `[[dbprefix]]tag_coll` VALUES
(1, NULL, 1, NULL, 0, 1, NULL);

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

--
-- Table structure for table `[[dbprefix]]tag_correlation`
--

CREATE TABLE `[[dbprefix]]tag_correlation` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `tagid` bigint(10) NOT NULL,
  `correlatedtags` longtext NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]tagcorr_tag_ix` (`tagid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The rationale for the ''tag_correlation'' table is performance' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tag_instance`
--

CREATE TABLE `[[dbprefix]]tag_instance` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]taginst_comiteitecon_uix` (`component`,`itemtype`,`itemid`,`contextid`,`tiuserid`,`tagid`),
  KEY `[[dbprefix]]taginst_itecomtagcon_ix` (`itemtype`,`component`,`tagid`,`contextid`),
  KEY `[[dbprefix]]taginst_tag_ix` (`tagid`),
  KEY `[[dbprefix]]taginst_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='tag_instance table holds the information of associations bet' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]task_adhoc`
--

CREATE TABLE `[[dbprefix]]task_adhoc` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `component` varchar(255) NOT NULL DEFAULT '',
  `classname` varchar(255) NOT NULL DEFAULT '',
  `nextruntime` bigint(10) NOT NULL,
  `faildelay` bigint(10) DEFAULT NULL,
  `customdata` longtext,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]taskadho_nex_ix` (`nextruntime`),
  KEY `[[dbprefix]]taskadho_use_ix` (`userid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='List of adhoc tasks waiting to run.' AUTO_INCREMENT=2 ;

--
-- Dumping data for table `[[dbprefix]]task_adhoc`
--

INSERT INTO `[[dbprefix]]task_adhoc` VALUES
(1, 'tool_moodlenet', '\\tool_moodlenet\\task\\post_install', [[timestamp]], 0, '', NULL, 0, [[timestamp]], NULL, NULL, NULL);

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

--
-- Table structure for table `[[dbprefix]]task_log`
--

CREATE TABLE `[[dbprefix]]task_log` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]tasklog_cla_ix` (`classname`),
  KEY `[[dbprefix]]tasklog_tim_ix` (`timestart`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The log table for all tasks' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]task_scheduled`
--

CREATE TABLE `[[dbprefix]]task_scheduled` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `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,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]tasksche_cla_uix` (`classname`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='List of scheduled tasks to be run by cron.' AUTO_INCREMENT=112 ;

--
-- Dumping data for table `[[dbprefix]]task_scheduled`
--

INSERT INTO `[[dbprefix]]task_scheduled` VALUES
(1, 'moodle', '\\core\\task\\session_cleanup_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(2, 'moodle', '\\core\\task\\delete_unconfirmed_users_task', 0, [[timestamp]], 0, '0', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(3, 'moodle', '\\core\\task\\delete_incomplete_users_task', 0, [[timestamp]], 0, '5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(4, 'moodle', '\\core\\task\\backup_cleanup_task', 0, [[timestamp]], 0, '10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(5, 'moodle', '\\core\\task\\tag_cron_task', 0, [[timestamp]], 0, '12', '3', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(6, 'moodle', '\\core\\task\\context_cleanup_task', 0, [[timestamp]], 0, '25', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(7, 'moodle', '\\core\\task\\cache_cleanup_task', 0, [[timestamp]], 0, '30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(8, 'moodle', '\\core\\task\\messaging_cleanup_task', 0, [[timestamp]], 0, '35', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(9, 'moodle', '\\core\\task\\send_new_user_passwords_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(10, 'moodle', '\\core\\task\\send_failed_login_notifications_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(11, 'moodle', '\\core\\task\\create_contexts_task', 0, [[timestamp_nextday]], 1, '0', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(12, 'moodle', '\\core\\task\\legacy_plugin_cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(13, 'moodle', '\\core\\task\\grade_cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(14, 'moodle', '\\core\\task\\grade_history_cleanup_task', 0, [[timestamp_nextday]], 0, '*', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(15, 'moodle', '\\core\\task\\completion_regular_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(16, 'moodle', '\\core\\task\\completion_daily_task', 0, [[timestamp_nextday]], 0, '12', '22', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(17, 'moodle', '\\core\\task\\portfolio_cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(18, 'moodle', '\\core\\task\\plagiarism_cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(19, 'moodle', '\\core\\task\\calendar_cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(20, 'moodle', '\\core\\task\\blog_cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(21, 'moodle', '\\core\\task\\question_preview_cleanup_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(22, 'moodle', '\\core\\task\\question_stats_cleanup_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(23, 'moodle', '\\core\\task\\registration_cron_task', 0, [[timestamp_nextday]], 0, '57', '2', '*', '*', '0', 0, 0, 0, NULL, NULL, NULL),
(24, 'moodle', '\\core\\task\\check_for_updates_task', 0, [[timestamp]], 0, '32', '5', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(25, 'moodle', '\\core\\task\\cache_cron_task', 0, [[timestamp]], 0, '50', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(26, 'moodle', '\\core\\task\\automated_backup_task', 0, [[timestamp]], 0, '50', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(27, 'moodle', '\\core\\task\\badges_cron_task', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(28, 'moodle', '\\core\\task\\badges_message_task', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(29, 'moodle', '\\core\\task\\file_temp_cleanup_task', 0, [[timestamp]], 0, '55', '*/6', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(30, 'moodle', '\\core\\task\\file_trash_cleanup_task', 0, [[timestamp]], 0, '55', '*/6', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(31, 'moodle', '\\core\\task\\search_index_task', 0, [[timestamp]], 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(32, 'moodle', '\\core\\task\\search_optimize_task', 0, [[timestamp]], 0, '15', '*/12', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(33, 'moodle', '\\core\\task\\stats_cron_task', 0, [[timestamp_nextday]], 0, '0', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(34, 'moodle', '\\core\\task\\password_reset_cleanup_task', 0, [[timestamp]], 0, '0', '*/6', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(35, 'moodle', '\\core\\task\\complete_plans_task', 0, [[timestamp]], 0, '34', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(36, 'moodle', '\\core\\task\\sync_plans_from_template_cohorts_task', 0, [[timestamp]], 0, '7', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(37, 'moodle', '\\core_files\\task\\conversion_cleanup_task', 0, [[timestamp_nextday]], 0, '37', '2', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(38, 'moodle', '\\core\\oauth2\\refresh_system_tokens_task', 0, [[timestamp]], 0, '30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(39, 'moodle', '\\core\\task\\analytics_cleanup_task', 0, [[timestamp]], 0, '42', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(40, 'moodle', '\\core\\task\\task_log_cleanup_task', 0, [[timestamp_nextday]], 0, '46', '20', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(41, 'moodle', '\\core\\task\\h5p_get_content_types_task', 0, [[timestamp_nextday]], 0, '33', '17', '1', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(42, 'moodle', '\\core\\task\\h5p_clean_orphaned_records_task', 0, [[timestamp_nextday]], 0, '16', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(43, 'moodle', '\\core\\task\\antivirus_cleanup_task', 0, [[timestamp_nextday]], 0, '1', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(44, 'moodle', '\\core_reportbuilder\\task\\send_schedules', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(45, 'mod_assign', '\\mod_assign\\task\\cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(46, 'mod_bigbluebuttonbn', '\\mod_bigbluebuttonbn\\task\\check_pending_recordings', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(47, 'mod_bigbluebuttonbn', '\\mod_bigbluebuttonbn\\task\\check_dismissed_recordings', 0, [[timestamp]], 0, '*', '*', '*/10', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(48, 'mod_chat', '\\mod_chat\\task\\cron_task', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(49, 'mod_forum', '\\mod_forum\\task\\cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(50, 'mod_lti', '\\mod_lti\\task\\clean_access_tokens', 0, [[timestamp]], 0, '5', '14', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(51, 'mod_quiz', '\\mod_quiz\\task\\update_overdue_attempts', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(52, 'mod_quiz', '\\mod_quiz\\task\\legacy_quiz_reports_cron', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(53, 'mod_quiz', '\\mod_quiz\\task\\legacy_quiz_accessrules_cron', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(54, 'mod_quiz', '\\mod_quiz\\task\\quiz_notify_attempt_manual_grading_completed', 0, [[timestamp]], 0, '41', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(55, 'mod_scorm', '\\mod_scorm\\task\\cron_task', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(56, 'mod_workshop', '\\mod_workshop\\task\\cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(57, 'mod_workshop', '\\mod_workshop\\task\\legacy_workshop_allocation_cron', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(58, 'auth_cas', '\\auth_cas\\task\\sync_task', 0, [[timestamp_nextday]], 0, '0', '0', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(59, 'auth_db', '\\auth_db\\task\\sync_users', 0, [[timestamp_nextday]], 0, '38', '22', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(60, 'auth_ldap', '\\auth_ldap\\task\\sync_roles', 0, [[timestamp_nextday]], 0, '0', '0', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(61, 'auth_ldap', '\\auth_ldap\\task\\sync_task', 0, [[timestamp_nextday]], 0, '0', '0', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(62, 'auth_mnet', '\\auth_mnet\\task\\cron_task', 0, [[timestamp]], 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(63, 'enrol_category', '\\enrol_category\\task\\enrol_category_sync', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(64, 'enrol_cohort', '\\enrol_cohort\\task\\enrol_cohort_sync', 0, [[timestamp]], 0, '48', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(65, 'enrol_database', '\\enrol_database\\task\\sync_enrolments', 0, [[timestamp_nextday]], 0, '2', '19', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(66, 'enrol_flatfile', '\\enrol_flatfile\\task\\flatfile_sync_task', 0, [[timestamp]], 0, '15', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(67, 'enrol_imsenterprise', '\\enrol_imsenterprise\\task\\cron_task', 0, [[timestamp]], 0, '10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(68, 'enrol_ldap', '\\enrol_ldap\\task\\sync_enrolments', 0, [[timestamp]], 0, '51', '14', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(69, 'enrol_lti', '\\enrol_lti\\task\\sync_grades', 0, [[timestamp]], 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(70, 'enrol_lti', '\\enrol_lti\\task\\sync_members', 0, [[timestamp]], 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(71, 'enrol_lti', '\\enrol_lti\\local\\ltiadvantage\\task\\sync_members', 0, [[timestamp]], 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(72, 'enrol_lti', '\\enrol_lti\\local\\ltiadvantage\\task\\sync_grades', 0, [[timestamp]], 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(73, 'enrol_manual', '\\enrol_manual\\task\\sync_enrolments', 0, [[timestamp]], 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(74, 'enrol_manual', '\\enrol_manual\\task\\send_expiry_notifications', 0, [[timestamp]], 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(75, 'enrol_meta', '\\enrol_meta\\task\\enrol_meta_sync', 0, [[timestamp]], 0, '52', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(76, 'enrol_paypal', '\\enrol_paypal\\task\\process_expirations', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(77, 'enrol_self', '\\enrol_self\\task\\sync_enrolments', 0, [[timestamp]], 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(78, 'enrol_self', '\\enrol_self\\task\\send_expiry_notifications', 0, [[timestamp]], 0, '*/10', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(79, 'message_email', '\\message_email\\task\\send_email_task', 0, [[timestamp_nextday]], 0, '0', '22', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(80, 'block_recent_activity', '\\block_recent_activity\\task\\cleanup', 0, [[timestamp_nextday]], 0, '38', '23', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(81, 'block_rss_client', '\\block_rss_client\\task\\refreshfeeds', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(82, 'editor_atto', '\\editor_atto\\task\\autosave_cleanup_task', 0, [[timestamp_nextday]], 0, '43', '12', '*', '*', '4', 0, 0, 0, NULL, NULL, NULL),
(83, 'repository_dropbox', '\\repository_dropbox\\task\\cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(84, 'repository_filesystem', '\\repository_filesystem\\task\\cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(85, 'repository_onedrive', '\\repository_onedrive\\remove_temp_access_task', 0, [[timestamp_nextday]], 0, '56', '20', '*', '*', '0', 0, 0, 0, NULL, NULL, NULL),
(86, 'tool_analytics', '\\tool_analytics\\task\\train_models', 0, [[timestamp_nextday]], 0, '0', '20', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(87, 'tool_analytics', '\\tool_analytics\\task\\predict_models', 0, [[timestamp_nextday]], 0, '0', '18', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(88, 'tool_brickfield', '\\tool_brickfield\\task\\bulk_process_courses', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(89, 'tool_brickfield', '\\tool_brickfield\\task\\bulk_process_caches', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(90, 'tool_brickfield', '\\tool_brickfield\\task\\checkid_validation', 0, [[timestamp]], 0, '05', '9', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(91, 'tool_brickfield', '\\tool_brickfield\\task\\update_summarydata', 0, [[timestamp_nextday]], 0, '50', '0', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(92, 'tool_brickfield', '\\tool_brickfield\\task\\process_analysis_requests', 0, [[timestamp]], 0, '*/5', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(93, 'tool_cohortroles', '\\tool_cohortroles\\task\\cohort_role_sync', 0, [[timestamp]], 0, '57', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(94, 'tool_dataprivacy', '\\tool_dataprivacy\\task\\expired_retention_period', 0, [[timestamp_nextday]], 0, '0', '19', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(95, 'tool_dataprivacy', '\\tool_dataprivacy\\task\\delete_expired_contexts', 0, [[timestamp_nextday]], 0, '0', '1', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(96, 'tool_dataprivacy', '\\tool_dataprivacy\\task\\delete_expired_requests', 0, [[timestamp]], 0, '34', '15', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(97, 'tool_dataprivacy', '\\tool_dataprivacy\\task\\delete_existing_deleted_users', 0, [[timestamp]], 0, '50', '3', '*', '*', '*', 0, 0, 1, NULL, NULL, NULL),
(98, 'tool_langimport', '\\tool_langimport\\task\\update_langpacks_task', 0, [[timestamp]], 0, '52', '4', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(99, 'tool_messageinbound', '\\tool_messageinbound\\task\\pickup_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(100, 'tool_messageinbound', '\\tool_messageinbound\\task\\cleanup_task', 0, [[timestamp_nextday]], 0, '55', '1', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(101, 'tool_monitor', '\\tool_monitor\\task\\clean_events', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(102, 'tool_monitor', '\\tool_monitor\\task\\check_subscriptions', 0, [[timestamp]], 0, '39', '11', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(103, 'tool_recyclebin', '\\tool_recyclebin\\task\\cleanup_course_bin', 0, [[timestamp]], 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(104, 'tool_recyclebin', '\\tool_recyclebin\\task\\cleanup_category_bin', 0, [[timestamp]], 0, '*/30', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(105, 'cachestore_redis', '\\cachestore_redis\\task\\ttl', 0, [[timestamp]], 0, '43', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(106, 'assignfeedback_editpdf', '\\assignfeedback_editpdf\\task\\convert_submissions', 0, [[timestamp]], 0, '*/15', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(107, 'ltiservice_gradebookservices', '\\ltiservice_gradebookservices\\task\\cleanup_task', 0, [[timestamp_nextday]], 0, '24', '19', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(108, 'quiz_statistics', '\\quiz_statistics\\task\\recalculate', 0, [[timestamp]], 0, '15', '*/4', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(109, 'workshopallocation_scheduled', '\\workshopallocation_scheduled\\task\\cron_task', 0, [[timestamp]], 0, '*', '*', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(110, 'logstore_legacy', '\\logstore_legacy\\task\\cleanup_task', 0, [[timestamp]], 0, '37', '5', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL),
(111, 'logstore_standard', '\\logstore_standard\\task\\cleanup_task', 0, [[timestamp]], 0, '50', '4', '*', '*', '*', 0, 0, 0, NULL, NULL, NULL);

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_areas`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_areas` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `type` tinyint(2) NOT NULL DEFAULT '0',
  `contextid` bigint(10) DEFAULT NULL,
  `component` varchar(100) DEFAULT NULL,
  `tablename` varchar(40) DEFAULT NULL,
  `fieldorarea` varchar(50) DEFAULT NULL,
  `itemid` bigint(10) DEFAULT NULL,
  `filename` varchar(1333) DEFAULT NULL,
  `reftable` varchar(40) DEFAULT NULL,
  `refid` bigint(10) DEFAULT NULL,
  `cmid` bigint(10) DEFAULT NULL,
  `courseid` bigint(10) DEFAULT NULL,
  `categoryid` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbricarea_coucmi_ix` (`courseid`,`cmid`),
  KEY `[[dbprefix]]toolbricarea_typtabit_ix` (`type`,`tablename`,`itemid`,`fieldorarea`),
  KEY `[[dbprefix]]toolbricarea_typconco_ix` (`type`,`contextid`,`component`,`fieldorarea`,`itemid`),
  KEY `[[dbprefix]]toolbricarea_refrefty_ix` (`reftable`,`refid`,`type`),
  KEY `[[dbprefix]]toolbricarea_cou_ix` (`courseid`),
  KEY `[[dbprefix]]toolbricarea_cmi_ix` (`cmid`),
  KEY `[[dbprefix]]toolbricarea_cat_ix` (`categoryid`),
  KEY `[[dbprefix]]toolbricarea_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Areas that have been checked for accessibility problems' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_cache_acts`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_cache_acts` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `courseid` bigint(10) NOT NULL,
  `status` tinyint(1) DEFAULT NULL,
  `component` varchar(64) DEFAULT NULL,
  `totalactivities` bigint(10) DEFAULT NULL,
  `failedactivities` bigint(10) DEFAULT NULL,
  `passedactivities` bigint(10) DEFAULT NULL,
  `errorcount` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbriccachacts_sta_ix` (`status`),
  KEY `[[dbprefix]]toolbriccachacts_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Contains accessibility summary information per activity.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_cache_check`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_cache_check` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `courseid` bigint(10) NOT NULL,
  `status` tinyint(1) DEFAULT NULL,
  `checkid` bigint(10) DEFAULT NULL,
  `checkcount` bigint(10) DEFAULT NULL,
  `errorcount` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbriccachchec_sta_ix` (`status`),
  KEY `[[dbprefix]]toolbriccachchec_err_ix` (`errorcount`),
  KEY `[[dbprefix]]toolbriccachchec_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Contains accessibility summary information per check.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_checks`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_checks` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `checktype` varchar(64) DEFAULT NULL,
  `shortname` varchar(64) DEFAULT NULL,
  `checkgroup` bigint(16) DEFAULT '0',
  `status` smallint(4) NOT NULL,
  `severity` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbricchec_che_ix` (`checktype`),
  KEY `[[dbprefix]]toolbricchec_che2_ix` (`checkgroup`),
  KEY `[[dbprefix]]toolbricchec_sta_ix` (`status`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Checks details' AUTO_INCREMENT=32 ;

--
-- Dumping data for table `[[dbprefix]]tool_brickfield_checks`
--

INSERT INTO `[[dbprefix]]tool_brickfield_checks` VALUES
(1, 'full', 'a_links_dont_open_new_window', 4, 1, 1),
(2, 'full', 'a_must_contain_text', 4, 1, 1),
(3, 'full', 'area_dont_open_new_window', 4, 1, 1),
(4, 'full', 'area_has_alt_value', 4, 1, 1),
(5, 'full', 'a_suspicious_link_text', 4, 1, 1),
(6, 'full', 'basefont_is_not_used', 7, 1, 1),
(7, 'full', 'blink_is_not_used', 7, 1, 1),
(8, 'full', 'bold_is_not_used', 7, 1, 1),
(9, 'full', 'content_too_long', 7, 1, 1),
(10, 'full', 'css_text_has_contrast', 7, 1, 1),
(11, 'full', 'embed_has_associated_no_embed', 7, 1, 1),
(12, 'full', 'header_h3', 3, 1, 1),
(13, 'full', 'headers_have_text', 3, 1, 1),
(14, 'full', 'i_is_not_used', 7, 1, 1),
(15, 'full', 'img_alt_is_different', 2, 1, 1),
(16, 'full', 'img_alt_is_too_long', 2, 1, 1),
(17, 'full', 'img_alt_not_empty_in_anchor', 2, 1, 1),
(18, 'full', 'img_alt_not_place_holder', 2, 1, 1),
(19, 'full', 'img_has_alt', 2, 1, 1),
(20, 'full', 'img_with_map_has_use_map', 2, 1, 1),
(21, 'full', 'legend_text_not_empty', 7, 1, 1),
(22, 'full', 'marquee_is_not_used', 7, 1, 1),
(23, 'full', 'no_headings', 3, 1, 1),
(24, 'full', 'object_must_have_embed', 5, 1, 1),
(25, 'full', 'object_must_have_title', 5, 1, 1),
(26, 'full', 'object_must_have_valid_title', 5, 1, 1),
(27, 'full', 'strike_is_not_used', 7, 1, 1),
(28, 'full', 'table_data_should_have_th', 6, 1, 1),
(29, 'full', 'table_summary_does_not_duplicate_caption', 6, 1, 1),
(30, 'full', 'table_td_should_not_merge', 6, 1, 1),
(31, 'full', 'table_th_should_have_scope', 6, 1, 1);

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_content`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_content` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `areaid` bigint(10) NOT NULL,
  `contenthash` varchar(40) NOT NULL DEFAULT '',
  `iscurrent` tinyint(1) NOT NULL DEFAULT '0',
  `status` tinyint(2) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL,
  `timechecked` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbriccont_sta_ix` (`status`),
  KEY `[[dbprefix]]toolbriccont_iscare_ix` (`iscurrent`,`areaid`),
  KEY `[[dbprefix]]toolbriccont_are_ix` (`areaid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Content of an area at a particular time (recognised by a has' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_errors`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_errors` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `resultid` bigint(10) NOT NULL,
  `linenumber` bigint(10) NOT NULL DEFAULT '0',
  `errordata` longtext,
  `htmlcode` longtext,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbricerro_res_ix` (`resultid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Errors during the accessibility checks' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_process`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_process` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `courseid` bigint(10) NOT NULL,
  `item` varchar(64) DEFAULT NULL,
  `contextid` bigint(10) DEFAULT NULL,
  `innercontextid` bigint(10) DEFAULT NULL,
  `timecreated` bigint(16) DEFAULT NULL,
  `timecompleted` bigint(16) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbricproc_tim_ix` (`timecompleted`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Queued records to initiate new processing of specific target' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_results`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_results` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `contentid` bigint(10) DEFAULT NULL,
  `checkid` bigint(10) NOT NULL,
  `errorcount` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbricresu_conche_ix` (`contentid`,`checkid`),
  KEY `[[dbprefix]]toolbricresu_con_ix` (`contentid`),
  KEY `[[dbprefix]]toolbricresu_che_ix` (`checkid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Results of the accessibility checks' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_schedule`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_schedule` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `contextlevel` bigint(10) NOT NULL DEFAULT '50',
  `instanceid` bigint(10) NOT NULL,
  `contextid` bigint(10) DEFAULT NULL,
  `status` tinyint(2) NOT NULL DEFAULT '0',
  `timeanalyzed` bigint(10) DEFAULT '0',
  `timemodified` bigint(10) DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]toolbricsche_conins_uix` (`contextlevel`,`instanceid`),
  KEY `[[dbprefix]]toolbricsche_sta_ix` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Keeps the per course content analysis schedule.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_brickfield_summary`
--

CREATE TABLE `[[dbprefix]]tool_brickfield_summary` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `courseid` bigint(10) NOT NULL,
  `status` tinyint(1) DEFAULT NULL,
  `activities` bigint(10) DEFAULT NULL,
  `activitiespassed` bigint(10) DEFAULT NULL,
  `activitiesfailed` bigint(10) DEFAULT NULL,
  `errorschecktype1` bigint(10) DEFAULT NULL,
  `errorschecktype2` bigint(10) DEFAULT NULL,
  `errorschecktype3` bigint(10) DEFAULT NULL,
  `errorschecktype4` bigint(10) DEFAULT NULL,
  `errorschecktype5` bigint(10) DEFAULT NULL,
  `errorschecktype6` bigint(10) DEFAULT NULL,
  `errorschecktype7` bigint(10) DEFAULT NULL,
  `failedchecktype1` bigint(10) DEFAULT NULL,
  `failedchecktype2` bigint(10) DEFAULT NULL,
  `failedchecktype3` bigint(10) DEFAULT NULL,
  `failedchecktype4` bigint(10) DEFAULT NULL,
  `failedchecktype5` bigint(10) DEFAULT NULL,
  `failedchecktype6` bigint(10) DEFAULT NULL,
  `failedchecktype7` bigint(10) DEFAULT NULL,
  `percentchecktype1` bigint(10) DEFAULT NULL,
  `percentchecktype2` bigint(10) DEFAULT NULL,
  `percentchecktype3` bigint(10) DEFAULT NULL,
  `percentchecktype4` bigint(10) DEFAULT NULL,
  `percentchecktype5` bigint(10) DEFAULT NULL,
  `percentchecktype6` bigint(10) DEFAULT NULL,
  `percentchecktype7` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolbricsumm_sta_ix` (`status`),
  KEY `[[dbprefix]]toolbricsumm_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Contains accessibility check results summary information.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_cohortroles`
--

CREATE TABLE `[[dbprefix]]tool_cohortroles` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `cohortid` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]toolcoho_cohroluse_uix` (`cohortid`,`roleid`,`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Mapping of users to cohort role assignments.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_customlang`
--

CREATE TABLE `[[dbprefix]]tool_customlang` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `lang` varchar(20) NOT NULL DEFAULT '',
  `componentid` bigint(10) NOT NULL,
  `stringid` varchar(255) NOT NULL DEFAULT '',
  `original` longtext NOT NULL,
  `master` longtext,
  `local` longtext,
  `timemodified` bigint(10) NOT NULL,
  `timecustomized` bigint(10) DEFAULT NULL,
  `outdated` smallint(3) DEFAULT '0',
  `modified` smallint(3) DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]toolcust_lancomstr_uix` (`lang`,`componentid`,`stringid`),
  KEY `[[dbprefix]]toolcust_com_ix` (`componentid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Contains the working checkout of all strings and their custo' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_customlang_components`
--

CREATE TABLE `[[dbprefix]]tool_customlang_components` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `version` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Contains the list of all installed plugins that provide thei' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_dataprivacy_category`
--

CREATE TABLE `[[dbprefix]]tool_dataprivacy_category` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `description` longtext,
  `descriptionformat` tinyint(1) DEFAULT NULL,
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Data categories' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_dataprivacy_ctxexpired`
--

CREATE TABLE `[[dbprefix]]tool_dataprivacy_ctxexpired` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `contextid` bigint(10) NOT NULL,
  `unexpiredroles` longtext,
  `expiredroles` longtext,
  `defaultexpired` tinyint(1) NOT NULL,
  `status` tinyint(2) NOT NULL DEFAULT '0',
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]tooldatactxe_con_uix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Default comment for the table, please edit me' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_dataprivacy_ctxinstance`
--

CREATE TABLE `[[dbprefix]]tool_dataprivacy_ctxinstance` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `contextid` bigint(10) NOT NULL,
  `purposeid` bigint(10) DEFAULT NULL,
  `categoryid` bigint(10) DEFAULT NULL,
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]tooldatactxi_con_uix` (`contextid`),
  KEY `[[dbprefix]]tooldatactxi_pur_ix` (`purposeid`),
  KEY `[[dbprefix]]tooldatactxi_cat_ix` (`categoryid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Default comment for the table, please edit me' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_dataprivacy_ctxlevel`
--

CREATE TABLE `[[dbprefix]]tool_dataprivacy_ctxlevel` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `contextlevel` smallint(3) NOT NULL,
  `purposeid` bigint(10) DEFAULT NULL,
  `categoryid` bigint(10) DEFAULT NULL,
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]tooldatactxl_con_uix` (`contextlevel`),
  KEY `[[dbprefix]]tooldatactxl_cat_ix` (`categoryid`),
  KEY `[[dbprefix]]tooldatactxl_pur_ix` (`purposeid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Default comment for the table, please edit me' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_dataprivacy_purpose`
--

CREATE TABLE `[[dbprefix]]tool_dataprivacy_purpose` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `description` longtext,
  `descriptionformat` tinyint(1) DEFAULT NULL,
  `lawfulbases` longtext NOT NULL,
  `sensitivedatareasons` longtext,
  `retentionperiod` varchar(255) NOT NULL DEFAULT '',
  `protected` tinyint(1) DEFAULT NULL,
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Data purposes' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_dataprivacy_purposerole`
--

CREATE TABLE `[[dbprefix]]tool_dataprivacy_purposerole` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `purposeid` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL,
  `lawfulbases` longtext,
  `sensitivedatareasons` longtext,
  `retentionperiod` varchar(255) NOT NULL DEFAULT '',
  `protected` tinyint(1) DEFAULT NULL,
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]tooldatapurp_purrol_uix` (`purposeid`,`roleid`),
  KEY `[[dbprefix]]tooldatapurp_pur_ix` (`purposeid`),
  KEY `[[dbprefix]]tooldatapurp_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Data purpose overrides for a specific role' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_dataprivacy_request`
--

CREATE TABLE `[[dbprefix]]tool_dataprivacy_request` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `type` bigint(10) NOT NULL DEFAULT '0',
  `comments` longtext,
  `commentsformat` tinyint(2) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `requestedby` bigint(10) NOT NULL DEFAULT '0',
  `status` tinyint(2) NOT NULL DEFAULT '0',
  `dpo` bigint(10) DEFAULT '0',
  `dpocomment` longtext,
  `dpocommentformat` tinyint(2) NOT NULL DEFAULT '0',
  `systemapproved` smallint(4) 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',
  `creationmethod` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]tooldatarequ_use_ix` (`userid`),
  KEY `[[dbprefix]]tooldatarequ_req_ix` (`requestedby`),
  KEY `[[dbprefix]]tooldatarequ_dpo_ix` (`dpo`),
  KEY `[[dbprefix]]tooldatarequ_use2_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Table for data requests' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_monitor_events`
--

CREATE TABLE `[[dbprefix]]tool_monitor_events` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `eventname` varchar(254) NOT NULL DEFAULT '',
  `contextid` bigint(10) NOT NULL,
  `contextlevel` bigint(10) NOT NULL,
  `contextinstanceid` bigint(10) NOT NULL,
  `link` varchar(254) NOT NULL DEFAULT '',
  `courseid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='A table that keeps a log of events related to subscriptions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_monitor_history`
--

CREATE TABLE `[[dbprefix]]tool_monitor_history` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `sid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timesent` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]toolmonihist_siduset_uix` (`sid`,`userid`,`timesent`),
  KEY `[[dbprefix]]toolmonihist_sid_ix` (`sid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Table to store history of message notifications sent' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_monitor_rules`
--

CREATE TABLE `[[dbprefix]]tool_monitor_rules` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `description` longtext,
  `descriptionformat` tinyint(1) NOT NULL,
  `name` varchar(254) NOT NULL DEFAULT '',
  `userid` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL,
  `plugin` varchar(254) NOT NULL DEFAULT '',
  `eventname` varchar(254) NOT NULL DEFAULT '',
  `template` longtext NOT NULL,
  `templateformat` tinyint(1) NOT NULL,
  `frequency` smallint(4) NOT NULL,
  `timewindow` mediumint(5) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolmonirule_couuse_ix` (`courseid`,`userid`),
  KEY `[[dbprefix]]toolmonirule_eve_ix` (`eventname`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Table to store rules' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_monitor_subscriptions`
--

CREATE TABLE `[[dbprefix]]tool_monitor_subscriptions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `courseid` bigint(10) NOT NULL,
  `ruleid` bigint(10) NOT NULL,
  `cmid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `lastnotificationsent` bigint(10) NOT NULL DEFAULT '0',
  `inactivedate` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolmonisubs_couuse_ix` (`courseid`,`userid`),
  KEY `[[dbprefix]]toolmonisubs_rul_ix` (`ruleid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Table to store user subscriptions to various rules' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_policy`
--

CREATE TABLE `[[dbprefix]]tool_policy` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `sortorder` mediumint(5) NOT NULL DEFAULT '999',
  `currentversionid` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolpoli_cur_ix` (`currentversionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Contains the list of policy documents defined on the site.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_policy_acceptances`
--

CREATE TABLE `[[dbprefix]]tool_policy_acceptances` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `policyversionid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `status` tinyint(1) DEFAULT NULL,
  `lang` varchar(30) NOT NULL DEFAULT '',
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `note` longtext,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]toolpoliacce_poluse_uix` (`policyversionid`,`userid`),
  KEY `[[dbprefix]]toolpoliacce_pol_ix` (`policyversionid`),
  KEY `[[dbprefix]]toolpoliacce_use_ix` (`userid`),
  KEY `[[dbprefix]]toolpoliacce_use2_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Tracks users accepting the policy versions' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_policy_versions`
--

CREATE TABLE `[[dbprefix]]tool_policy_versions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(1333) NOT NULL DEFAULT '',
  `type` smallint(3) NOT NULL DEFAULT '0',
  `audience` smallint(3) NOT NULL DEFAULT '0',
  `archived` smallint(3) NOT NULL DEFAULT '0',
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `policyid` bigint(10) NOT NULL,
  `agreementstyle` smallint(3) NOT NULL DEFAULT '0',
  `optional` smallint(3) NOT NULL DEFAULT '0',
  `revision` varchar(1333) NOT NULL DEFAULT '',
  `summary` longtext NOT NULL,
  `summaryformat` smallint(3) NOT NULL,
  `content` longtext NOT NULL,
  `contentformat` smallint(3) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolpolivers_use_ix` (`usermodified`),
  KEY `[[dbprefix]]toolpolivers_pol_ix` (`policyid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Holds versions of the policy documents' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_recyclebin_category`
--

CREATE TABLE `[[dbprefix]]tool_recyclebin_category` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `categoryid` bigint(10) NOT NULL,
  `shortname` varchar(255) NOT NULL DEFAULT '',
  `fullname` varchar(255) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolrecycate_tim_ix` (`timecreated`),
  KEY `[[dbprefix]]toolrecycate_cat_ix` (`categoryid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='A list of items in the category recycle bin' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_recyclebin_course`
--

CREATE TABLE `[[dbprefix]]tool_recyclebin_course` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `courseid` bigint(10) NOT NULL,
  `section` bigint(10) NOT NULL,
  `module` bigint(10) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]toolrecycour_tim_ix` (`timecreated`),
  KEY `[[dbprefix]]toolrecycour_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='A list of items in the course recycle bin' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]tool_usertours_steps`
--

CREATE TABLE `[[dbprefix]]tool_usertours_steps` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `tourid` bigint(10) NOT NULL,
  `title` longtext,
  `content` longtext,
  `contentformat` smallint(4) NOT NULL DEFAULT '0',
  `targettype` tinyint(2) NOT NULL,
  `targetvalue` longtext NOT NULL,
  `sortorder` bigint(10) NOT NULL DEFAULT '0',
  `configdata` longtext NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]tooluserstep_tousor_ix` (`tourid`,`sortorder`),
  KEY `[[dbprefix]]tooluserstep_tou_ix` (`tourid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Steps in an tour' AUTO_INCREMENT=7 ;

--
-- Dumping data for table `[[dbprefix]]tool_usertours_steps`
--

INSERT INTO `[[dbprefix]]tool_usertours_steps` VALUES
(1, 1, 'tour_navigation_course_index_student_title,tool_usertours', 'tour_navigation_course_index_student_content,tool_usertours', 1, 0, '#theme_boost-drawers-courseindex .drawercontent', 0, '{}'),
(2, 2, 'tour_navigation_course_edit_teacher_title,tool_usertours', 'tour_navigation_course_edit_teacher_content,tool_usertours', 1, 0, 'form.editmode-switch-form', 0, '{}'),
(3, 2, 'tour_navigation_course_index_teacher_title,tool_usertours', 'tour_navigation_course_index_teacher_content,tool_usertours', 1, 0, '#theme_boost-drawers-courseindex .drawercontent', 1, '{"placement":"right"}'),
(4, 2, 'tour_navigation_course_announcements_teacher_title,tool_usertours', 'tour_navigation_course_announcements_teacher_content,tool_usertours', 1, 0, '.course-content .course-content-item-content .activity-item[data-activityname="Announcements"]', 2, '{"placement":"left"}'),
(5, 3, 'tour_navigation_mycourses_title,tool_usertours', 'tour_navigation_mycourses_content,tool_usertours', 1, 0, '.header-actions-container .btn-group', 0, '{}'),
(6, 4, 'tour_navigation_dashboard_title,tool_usertours', 'tour_navigation_dashboard_content,tool_usertours', 1, 0, '.drawer-toggles .drawer-toggler.drawer-right-toggle', 0, '{"placement":"left"}');

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

--
-- Table structure for table `[[dbprefix]]tool_usertours_tours`
--

CREATE TABLE `[[dbprefix]]tool_usertours_tours` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` longtext,
  `pathmatch` varchar(255) DEFAULT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT '0',
  `sortorder` bigint(10) NOT NULL DEFAULT '0',
  `endtourlabel` varchar(255) DEFAULT NULL,
  `configdata` longtext NOT NULL,
  `displaystepnumbers` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='List of tours' AUTO_INCREMENT=5 ;

--
-- Dumping data for table `[[dbprefix]]tool_usertours_tours`
--

INSERT INTO `[[dbprefix]]tool_usertours_tours` VALUES
(1, 'tour_navigation_course_student_tour_name,tool_usertours', 'tour_navigation_course_student_tour_des,tool_usertours', '/course/view.php%', 1, 3, '', '{"placement":"right","orphan":"0","backdrop":"1","reflex":"0","filtervalues":{"accessdate":{"filter_accessdate":"tool_usertours_accountcreation","filter_accessdate_range":0,"filter_accessdate_enabled":"0"},"category":[],"course":[],"courseformat":[],"role":["student"],"theme":["boost"],"cssselector":[]},"majorupdatetime":1641972472,"shipped_tour":true,"shipped_filename":"40_tour_navigation_course_student.json","shipped_version":3}', 1),
(2, 'tour_navigation_course_teacher_tour_name,tool_usertours', 'tour_navigation_course_teacher_tour_des,tool_usertours', '/course/view.php%', 1, 2, '', '{"placement":"bottom","orphan":"0","backdrop":"1","reflex":"0","filtervalues":{"accessdate":{"filter_accessdate":"tool_usertours_accountcreation","filter_accessdate_range":0,"filter_accessdate_enabled":"0"},"category":[],"course":[],"courseformat":[],"role":["-1","coursecreator","manager","teacher","editingteacher"],"theme":["boost"],"cssselector":[]},"majorupdatetime":1641972470,"shipped_tour":true,"shipped_filename":"40_tour_navigation_course_teacher.json","shipped_version":3}', 1),
(3, 'tour_navigation_mycourses_tour_name,tool_usertours', 'tour_navigation_mycourses_tour_des,tool_usertours', '/my/courses.php', 1, 1, 'tour_navigation_mycourses_endtourlabel,tool_usertours', '{"placement":"bottom","orphan":"0","backdrop":"1","reflex":"0","filtervalues":{"accessdate":{"filter_accessdate":"tool_usertours_accountcreation","filter_accessdate_range":0,"filter_accessdate_enabled":"0"},"category":[],"course":[],"courseformat":[],"role":[],"theme":["boost"],"cssselector":[]},"majorupdatetime":1641972468,"shipped_tour":true,"shipped_filename":"40_tour_navigation_mycourse.json","shipped_version":4}', 1),
(4, 'tour_navigation_dashboard_tour_name,tool_usertours', 'tour_navigation_dashboard_tour_des,tool_usertours', 'FRONTPAGE_MY', 1, 0, '', '{"placement":"left","orphan":"0","backdrop":"1","reflex":"0","filtervalues":{"accessdate":{"filter_accessdate":"tool_usertours_accountcreation","filter_accessdate_range":0,"filter_accessdate_enabled":"0"},"category":[],"course":[],"courseformat":[],"role":[],"theme":["boost"],"cssselector":[]},"majorupdatetime":1641972465,"shipped_tour":true,"shipped_filename":"40_tour_navigation_dashboard.json","shipped_version":4}', 1);

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

--
-- Table structure for table `[[dbprefix]]upgrade_log`
--

CREATE TABLE `[[dbprefix]]upgrade_log` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `type` bigint(10) NOT NULL,
  `plugin` varchar(100) DEFAULT NULL,
  `version` varchar(100) DEFAULT NULL,
  `targetversion` varchar(100) DEFAULT NULL,
  `info` varchar(255) NOT NULL DEFAULT '',
  `details` longtext,
  `backtrace` longtext,
  `userid` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]upgrlog_tim_ix` (`timemodified`),
  KEY `[[dbprefix]]upgrlog_typtim_ix` (`type`,`timemodified`),
  KEY `[[dbprefix]]upgrlog_use_ix` (`userid`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Upgrade logging' AUTO_INCREMENT=1284 ;

--
-- Dumping data for table `[[dbprefix]]upgrade_log`
--

INSERT INTO `[[dbprefix]]upgrade_log` VALUES
(1, 0, 'core', '2022041912', '2022041912', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(2, 0, 'core', '2022041912', '2022041912', 'Core installed', NULL, '', 0, [[timestamp]]),
(3, 0, 'antivirus_clamav', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(4, 0, 'antivirus_clamav', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(5, 0, 'antivirus_clamav', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(6, 0, 'availability_completion', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(7, 0, 'availability_completion', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(8, 0, 'availability_completion', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(9, 0, 'availability_date', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(10, 0, 'availability_date', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(11, 0, 'availability_date', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(12, 0, 'availability_grade', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(13, 0, 'availability_grade', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(14, 0, 'availability_grade', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(15, 0, 'availability_group', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(16, 0, 'availability_group', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(17, 0, 'availability_group', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(18, 0, 'availability_grouping', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(19, 0, 'availability_grouping', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(20, 0, 'availability_grouping', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(21, 0, 'availability_profile', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(22, 0, 'availability_profile', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(23, 0, 'availability_profile', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(24, 0, 'qtype_calculated', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(25, 0, 'qtype_calculated', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(26, 0, 'qtype_calculated', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(27, 0, 'qtype_calculatedmulti', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(28, 0, 'qtype_calculatedmulti', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(29, 0, 'qtype_calculatedmulti', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(30, 0, 'qtype_calculatedsimple', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(31, 0, 'qtype_calculatedsimple', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(32, 0, 'qtype_calculatedsimple', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(33, 0, 'qtype_ddimageortext', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(34, 0, 'qtype_ddimageortext', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(35, 0, 'qtype_ddimageortext', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(36, 0, 'qtype_ddmarker', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(37, 0, 'qtype_ddmarker', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(38, 0, 'qtype_ddmarker', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(39, 0, 'qtype_ddwtos', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(40, 0, 'qtype_ddwtos', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(41, 0, 'qtype_ddwtos', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(42, 0, 'qtype_description', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(43, 0, 'qtype_description', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(44, 0, 'qtype_description', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(45, 0, 'qtype_essay', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(46, 0, 'qtype_essay', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(47, 0, 'qtype_essay', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(48, 0, 'qtype_gapselect', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(49, 0, 'qtype_gapselect', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(50, 0, 'qtype_gapselect', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(51, 0, 'qtype_match', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(52, 0, 'qtype_match', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(53, 0, 'qtype_match', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(54, 0, 'qtype_missingtype', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(55, 0, 'qtype_missingtype', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(56, 0, 'qtype_missingtype', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(57, 0, 'qtype_multianswer', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(58, 0, 'qtype_multianswer', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(59, 0, 'qtype_multianswer', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(60, 0, 'qtype_multichoice', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(61, 0, 'qtype_multichoice', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(62, 0, 'qtype_multichoice', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(63, 0, 'qtype_numerical', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(64, 0, 'qtype_numerical', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(65, 0, 'qtype_numerical', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(66, 0, 'qtype_random', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(67, 0, 'qtype_random', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(68, 0, 'qtype_random', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(69, 0, 'qtype_randomsamatch', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(70, 0, 'qtype_randomsamatch', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(71, 0, 'qtype_randomsamatch', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(72, 0, 'qtype_shortanswer', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(73, 0, 'qtype_shortanswer', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(74, 0, 'qtype_shortanswer', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(75, 0, 'qtype_truefalse', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(76, 0, 'qtype_truefalse', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(77, 0, 'qtype_truefalse', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(78, 0, 'mod_assign', NULL, '2022041902', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(79, 0, 'mod_assign', '2022041902', '2022041902', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(80, 0, 'mod_assign', '2022041902', '2022041902', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(81, 0, 'mod_assignment', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(82, 0, 'mod_assignment', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(83, 0, 'mod_assignment', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(84, 0, 'mod_bigbluebuttonbn', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(85, 0, 'mod_bigbluebuttonbn', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(86, 0, 'mod_bigbluebuttonbn', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(87, 0, 'mod_book', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(88, 0, 'mod_book', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(89, 0, 'mod_book', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(90, 0, 'mod_chat', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(91, 0, 'mod_chat', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(92, 0, 'mod_chat', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(93, 0, 'mod_choice', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(94, 0, 'mod_choice', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(95, 0, 'mod_choice', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(96, 0, 'mod_data', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(97, 0, 'mod_data', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(98, 0, 'mod_data', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(99, 0, 'mod_feedback', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(100, 0, 'mod_feedback', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(101, 0, 'mod_feedback', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(102, 0, 'mod_folder', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(103, 0, 'mod_folder', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(104, 0, 'mod_folder', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(105, 0, 'mod_forum', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(106, 0, 'mod_forum', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(107, 0, 'mod_forum', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(108, 0, 'mod_glossary', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(109, 0, 'mod_glossary', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(110, 0, 'mod_glossary', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(111, 0, 'mod_h5pactivity', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(112, 0, 'mod_h5pactivity', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(113, 0, 'mod_h5pactivity', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(114, 0, 'mod_imscp', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(115, 0, 'mod_imscp', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(116, 0, 'mod_imscp', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(117, 0, 'mod_label', NULL, '2022041902', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(118, 0, 'mod_label', '2022041902', '2022041902', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(119, 0, 'mod_label', '2022041902', '2022041902', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(120, 0, 'mod_lesson', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(121, 0, 'mod_lesson', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(122, 0, 'mod_lesson', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(123, 0, 'mod_lti', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(124, 0, 'mod_lti', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(125, 0, 'mod_lti', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(126, 0, 'mod_page', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(127, 0, 'mod_page', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(128, 0, 'mod_page', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(129, 0, 'mod_quiz', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(130, 0, 'mod_quiz', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(131, 0, 'mod_quiz', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(132, 0, 'mod_resource', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(133, 0, 'mod_resource', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(134, 0, 'mod_resource', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(135, 0, 'mod_scorm', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(136, 0, 'mod_scorm', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(137, 0, 'mod_scorm', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(138, 0, 'mod_survey', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(139, 0, 'mod_survey', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(140, 0, 'mod_survey', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(141, 0, 'mod_url', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(142, 0, 'mod_url', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(143, 0, 'mod_url', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(144, 0, 'mod_wiki', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(145, 0, 'mod_wiki', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(146, 0, 'mod_wiki', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(147, 0, 'mod_workshop', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(148, 0, 'mod_workshop', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(149, 0, 'mod_workshop', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(150, 0, 'auth_cas', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(151, 0, 'auth_cas', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(152, 0, 'auth_cas', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(153, 0, 'auth_db', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(154, 0, 'auth_db', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(155, 0, 'auth_db', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(156, 0, 'auth_email', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(157, 0, 'auth_email', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(158, 0, 'auth_email', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(159, 0, 'auth_ldap', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(160, 0, 'auth_ldap', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(161, 0, 'auth_ldap', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(162, 0, 'auth_lti', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(163, 0, 'auth_lti', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(164, 0, 'auth_lti', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(165, 0, 'auth_manual', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(166, 0, 'auth_manual', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(167, 0, 'auth_manual', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(168, 0, 'auth_mnet', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(169, 0, 'auth_mnet', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(170, 0, 'auth_mnet', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(171, 0, 'auth_nologin', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(172, 0, 'auth_nologin', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(173, 0, 'auth_nologin', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(174, 0, 'auth_none', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(175, 0, 'auth_none', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(176, 0, 'auth_none', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(177, 0, 'auth_oauth2', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(178, 0, 'auth_oauth2', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(179, 0, 'auth_oauth2', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(180, 0, 'auth_shibboleth', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(181, 0, 'auth_shibboleth', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(182, 0, 'auth_shibboleth', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(183, 0, 'auth_webservice', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(184, 0, 'auth_webservice', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(185, 0, 'auth_webservice', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(186, 0, 'calendartype_gregorian', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(187, 0, 'calendartype_gregorian', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(188, 0, 'calendartype_gregorian', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(189, 0, 'customfield_checkbox', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(190, 0, 'customfield_checkbox', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(191, 0, 'customfield_checkbox', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(192, 0, 'customfield_date', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(193, 0, 'customfield_date', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(194, 0, 'customfield_date', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(195, 0, 'customfield_select', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(196, 0, 'customfield_select', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(197, 0, 'customfield_select', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(198, 0, 'customfield_text', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(199, 0, 'customfield_text', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(200, 0, 'customfield_text', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(201, 0, 'customfield_textarea', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(202, 0, 'customfield_textarea', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(203, 0, 'customfield_textarea', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(204, 0, 'enrol_category', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(205, 0, 'enrol_category', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(206, 0, 'enrol_category', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(207, 0, 'enrol_cohort', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(208, 0, 'enrol_cohort', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(209, 0, 'enrol_cohort', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(210, 0, 'enrol_database', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(211, 0, 'enrol_database', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(212, 0, 'enrol_database', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(213, 0, 'enrol_fee', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(214, 0, 'enrol_fee', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(215, 0, 'enrol_fee', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(216, 0, 'enrol_flatfile', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(217, 0, 'enrol_flatfile', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(218, 0, 'enrol_flatfile', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(219, 0, 'enrol_guest', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(220, 0, 'enrol_guest', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(221, 0, 'enrol_guest', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(222, 0, 'enrol_imsenterprise', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(223, 0, 'enrol_imsenterprise', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(224, 0, 'enrol_imsenterprise', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(225, 0, 'enrol_ldap', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(226, 0, 'enrol_ldap', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(227, 0, 'enrol_ldap', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(228, 0, 'enrol_lti', NULL, '2022041903', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(229, 0, 'enrol_lti', '2022041903', '2022041903', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(230, 0, 'enrol_lti', '2022041903', '2022041903', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(231, 0, 'enrol_manual', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(232, 0, 'enrol_manual', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(233, 0, 'enrol_manual', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(234, 0, 'enrol_meta', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(235, 0, 'enrol_meta', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(236, 0, 'enrol_meta', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(237, 0, 'enrol_mnet', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(238, 0, 'enrol_mnet', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(239, 0, 'enrol_mnet', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(240, 0, 'enrol_paypal', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(241, 0, 'enrol_paypal', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(242, 0, 'enrol_paypal', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(243, 0, 'enrol_self', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(244, 0, 'enrol_self', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(245, 0, 'enrol_self', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(246, 0, 'message_airnotifier', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(247, 0, 'message_airnotifier', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(248, 0, 'message_airnotifier', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(249, 0, 'message_email', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(250, 0, 'message_email', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(251, 0, 'message_email', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(252, 0, 'message_popup', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(253, 0, 'message_popup', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(254, 0, 'message_popup', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(255, 0, 'block_accessreview', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(256, 0, 'block_accessreview', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(257, 0, 'block_accessreview', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(258, 0, 'block_activity_modules', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(259, 0, 'block_activity_modules', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(260, 0, 'block_activity_modules', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(261, 0, 'block_activity_results', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(262, 0, 'block_activity_results', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(263, 0, 'block_activity_results', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(264, 0, 'block_admin_bookmarks', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(265, 0, 'block_admin_bookmarks', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(266, 0, 'block_admin_bookmarks', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(267, 0, 'block_badges', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(268, 0, 'block_badges', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(269, 0, 'block_badges', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(270, 0, 'block_blog_menu', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(271, 0, 'block_blog_menu', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(272, 0, 'block_blog_menu', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(273, 0, 'block_blog_recent', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(274, 0, 'block_blog_recent', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(275, 0, 'block_blog_recent', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(276, 0, 'block_blog_tags', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(277, 0, 'block_blog_tags', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(278, 0, 'block_blog_tags', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(279, 0, 'block_calendar_month', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(280, 0, 'block_calendar_month', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(281, 0, 'block_calendar_month', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(282, 0, 'block_calendar_upcoming', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(283, 0, 'block_calendar_upcoming', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(284, 0, 'block_calendar_upcoming', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(285, 0, 'block_comments', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(286, 0, 'block_comments', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(287, 0, 'block_comments', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(288, 0, 'block_completionstatus', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(289, 0, 'block_completionstatus', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(290, 0, 'block_completionstatus', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(291, 0, 'block_course_list', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(292, 0, 'block_course_list', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(293, 0, 'block_course_list', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(294, 0, 'block_course_summary', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(295, 0, 'block_course_summary', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(296, 0, 'block_course_summary', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(297, 0, 'block_feedback', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(298, 0, 'block_feedback', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(299, 0, 'block_feedback', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(300, 0, 'block_globalsearch', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(301, 0, 'block_globalsearch', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(302, 0, 'block_globalsearch', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(303, 0, 'block_glossary_random', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(304, 0, 'block_glossary_random', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(305, 0, 'block_glossary_random', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(306, 0, 'block_html', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(307, 0, 'block_html', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(308, 0, 'block_html', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(309, 0, 'block_login', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(310, 0, 'block_login', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(311, 0, 'block_login', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(312, 0, 'block_lp', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(313, 0, 'block_lp', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(314, 0, 'block_lp', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(315, 0, 'block_mentees', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(316, 0, 'block_mentees', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(317, 0, 'block_mentees', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(318, 0, 'block_mnet_hosts', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(319, 0, 'block_mnet_hosts', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(320, 0, 'block_mnet_hosts', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(321, 0, 'block_myoverview', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(322, 0, 'block_myoverview', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(323, 0, 'block_myoverview', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(324, 0, 'block_myprofile', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(325, 0, 'block_myprofile', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(326, 0, 'block_myprofile', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(327, 0, 'block_navigation', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(328, 0, 'block_navigation', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(329, 0, 'block_navigation', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(330, 0, 'block_news_items', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(331, 0, 'block_news_items', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(332, 0, 'block_news_items', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(333, 0, 'block_online_users', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(334, 0, 'block_online_users', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(335, 0, 'block_online_users', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(336, 0, 'block_private_files', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(337, 0, 'block_private_files', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(338, 0, 'block_private_files', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(339, 0, 'block_recent_activity', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(340, 0, 'block_recent_activity', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(341, 0, 'block_recent_activity', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(342, 0, 'block_recentlyaccessedcourses', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(343, 0, 'block_recentlyaccessedcourses', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(344, 0, 'block_recentlyaccessedcourses', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(345, 0, 'block_recentlyaccesseditems', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(346, 0, 'block_recentlyaccesseditems', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(347, 0, 'block_recentlyaccesseditems', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(348, 0, 'block_rss_client', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(349, 0, 'block_rss_client', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(350, 0, 'block_rss_client', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(351, 0, 'block_search_forums', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(352, 0, 'block_search_forums', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(353, 0, 'block_search_forums', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(354, 0, 'block_section_links', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(355, 0, 'block_section_links', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(356, 0, 'block_section_links', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(357, 0, 'block_selfcompletion', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(358, 0, 'block_selfcompletion', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(359, 0, 'block_selfcompletion', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(360, 0, 'block_settings', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(361, 0, 'block_settings', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(362, 0, 'block_settings', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(363, 0, 'block_site_main_menu', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(364, 0, 'block_site_main_menu', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(365, 0, 'block_site_main_menu', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(366, 0, 'block_social_activities', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(367, 0, 'block_social_activities', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(368, 0, 'block_social_activities', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(369, 0, 'block_starredcourses', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(370, 0, 'block_starredcourses', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(371, 0, 'block_starredcourses', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(372, 0, 'block_tag_flickr', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(373, 0, 'block_tag_flickr', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(374, 0, 'block_tag_flickr', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(375, 0, 'block_tag_youtube', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(376, 0, 'block_tag_youtube', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(377, 0, 'block_tag_youtube', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(378, 0, 'block_tags', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(379, 0, 'block_tags', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(380, 0, 'block_tags', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(381, 0, 'block_timeline', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(382, 0, 'block_timeline', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(383, 0, 'block_timeline', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(384, 0, 'media_html5audio', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(385, 0, 'media_html5audio', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(386, 0, 'media_html5audio', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(387, 0, 'media_html5video', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(388, 0, 'media_html5video', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(389, 0, 'media_html5video', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(390, 0, 'media_videojs', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(391, 0, 'media_videojs', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(392, 0, 'media_videojs', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(393, 0, 'media_vimeo', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(394, 0, 'media_vimeo', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(395, 0, 'media_vimeo', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(396, 0, 'media_youtube', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(397, 0, 'media_youtube', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(398, 0, 'media_youtube', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(399, 0, 'filter_activitynames', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(400, 0, 'filter_activitynames', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(401, 0, 'filter_activitynames', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(402, 0, 'filter_algebra', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(403, 0, 'filter_algebra', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(404, 0, 'filter_algebra', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(405, 0, 'filter_data', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(406, 0, 'filter_data', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(407, 0, 'filter_data', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(408, 0, 'filter_displayh5p', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(409, 0, 'filter_displayh5p', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(410, 0, 'filter_displayh5p', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(411, 0, 'filter_emailprotect', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(412, 0, 'filter_emailprotect', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(413, 0, 'filter_emailprotect', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(414, 0, 'filter_emoticon', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(415, 0, 'filter_emoticon', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(416, 0, 'filter_emoticon', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(417, 0, 'filter_glossary', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(418, 0, 'filter_glossary', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(419, 0, 'filter_glossary', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(420, 0, 'filter_mathjaxloader', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(421, 0, 'filter_mathjaxloader', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(422, 0, 'filter_mathjaxloader', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(423, 0, 'filter_mediaplugin', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(424, 0, 'filter_mediaplugin', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(425, 0, 'filter_mediaplugin', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(426, 0, 'filter_multilang', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(427, 0, 'filter_multilang', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(428, 0, 'filter_multilang', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(429, 0, 'filter_tex', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(430, 0, 'filter_tex', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(431, 0, 'filter_tex', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(432, 0, 'filter_tidy', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(433, 0, 'filter_tidy', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(434, 0, 'filter_tidy', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(435, 0, 'filter_urltolink', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(436, 0, 'filter_urltolink', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(437, 0, 'filter_urltolink', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(438, 0, 'editor_atto', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(439, 0, 'editor_atto', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(440, 0, 'editor_atto', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(441, 0, 'editor_textarea', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(442, 0, 'editor_textarea', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(443, 0, 'editor_textarea', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(444, 0, 'editor_tinymce', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(445, 0, 'editor_tinymce', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(446, 0, 'editor_tinymce', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(447, 0, 'format_singleactivity', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(448, 0, 'format_singleactivity', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(449, 0, 'format_singleactivity', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(450, 0, 'format_social', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(451, 0, 'format_social', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(452, 0, 'format_social', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(453, 0, 'format_topics', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(454, 0, 'format_topics', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(455, 0, 'format_topics', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(456, 0, 'format_weeks', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(457, 0, 'format_weeks', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(458, 0, 'format_weeks', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(459, 0, 'dataformat_csv', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(460, 0, 'dataformat_csv', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(461, 0, 'dataformat_csv', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(462, 0, 'dataformat_excel', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(463, 0, 'dataformat_excel', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(464, 0, 'dataformat_excel', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(465, 0, 'dataformat_html', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(466, 0, 'dataformat_html', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(467, 0, 'dataformat_html', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(468, 0, 'dataformat_json', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(469, 0, 'dataformat_json', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(470, 0, 'dataformat_json', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(471, 0, 'dataformat_ods', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(472, 0, 'dataformat_ods', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(473, 0, 'dataformat_ods', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(474, 0, 'dataformat_pdf', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(475, 0, 'dataformat_pdf', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(476, 0, 'dataformat_pdf', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(477, 0, 'profilefield_checkbox', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(478, 0, 'profilefield_checkbox', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(479, 0, 'profilefield_checkbox', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(480, 0, 'profilefield_datetime', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(481, 0, 'profilefield_datetime', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]);
INSERT INTO `[[dbprefix]]upgrade_log` VALUES
(482, 0, 'profilefield_datetime', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(483, 0, 'profilefield_menu', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(484, 0, 'profilefield_menu', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(485, 0, 'profilefield_menu', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(486, 0, 'profilefield_social', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(487, 0, 'profilefield_social', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(488, 0, 'profilefield_social', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(489, 0, 'profilefield_text', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(490, 0, 'profilefield_text', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(491, 0, 'profilefield_text', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(492, 0, 'profilefield_textarea', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(493, 0, 'profilefield_textarea', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(494, 0, 'profilefield_textarea', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(495, 0, 'report_backups', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(496, 0, 'report_backups', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(497, 0, 'report_backups', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(498, 0, 'report_competency', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(499, 0, 'report_competency', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(500, 0, 'report_competency', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(501, 0, 'report_completion', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(502, 0, 'report_completion', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(503, 0, 'report_completion', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(504, 0, 'report_configlog', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(505, 0, 'report_configlog', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(506, 0, 'report_configlog', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(507, 0, 'report_courseoverview', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(508, 0, 'report_courseoverview', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(509, 0, 'report_courseoverview', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(510, 0, 'report_eventlist', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(511, 0, 'report_eventlist', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(512, 0, 'report_eventlist', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(513, 0, 'report_infectedfiles', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(514, 0, 'report_infectedfiles', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(515, 0, 'report_infectedfiles', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(516, 0, 'report_insights', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(517, 0, 'report_insights', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(518, 0, 'report_insights', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(519, 0, 'report_log', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(520, 0, 'report_log', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(521, 0, 'report_log', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(522, 0, 'report_loglive', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(523, 0, 'report_loglive', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(524, 0, 'report_loglive', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(525, 0, 'report_outline', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(526, 0, 'report_outline', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(527, 0, 'report_outline', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(528, 0, 'report_participation', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(529, 0, 'report_participation', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(530, 0, 'report_participation', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(531, 0, 'report_performance', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(532, 0, 'report_performance', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(533, 0, 'report_performance', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(534, 0, 'report_progress', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(535, 0, 'report_progress', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(536, 0, 'report_progress', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(537, 0, 'report_questioninstances', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(538, 0, 'report_questioninstances', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(539, 0, 'report_questioninstances', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(540, 0, 'report_security', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(541, 0, 'report_security', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(542, 0, 'report_security', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(543, 0, 'report_stats', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(544, 0, 'report_stats', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(545, 0, 'report_stats', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(546, 0, 'report_status', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(547, 0, 'report_status', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(548, 0, 'report_status', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(549, 0, 'report_usersessions', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(550, 0, 'report_usersessions', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(551, 0, 'report_usersessions', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(552, 0, 'gradeexport_ods', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(553, 0, 'gradeexport_ods', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(554, 0, 'gradeexport_ods', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(555, 0, 'gradeexport_txt', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(556, 0, 'gradeexport_txt', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(557, 0, 'gradeexport_txt', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(558, 0, 'gradeexport_xls', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(559, 0, 'gradeexport_xls', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(560, 0, 'gradeexport_xls', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(561, 0, 'gradeexport_xml', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(562, 0, 'gradeexport_xml', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(563, 0, 'gradeexport_xml', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(564, 0, 'gradeimport_csv', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(565, 0, 'gradeimport_csv', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(566, 0, 'gradeimport_csv', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(567, 0, 'gradeimport_direct', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(568, 0, 'gradeimport_direct', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(569, 0, 'gradeimport_direct', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(570, 0, 'gradeimport_xml', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(571, 0, 'gradeimport_xml', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(572, 0, 'gradeimport_xml', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(573, 0, 'gradereport_grader', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(574, 0, 'gradereport_grader', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(575, 0, 'gradereport_grader', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(576, 0, 'gradereport_history', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(577, 0, 'gradereport_history', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(578, 0, 'gradereport_history', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(579, 0, 'gradereport_outcomes', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(580, 0, 'gradereport_outcomes', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(581, 0, 'gradereport_outcomes', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(582, 0, 'gradereport_overview', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(583, 0, 'gradereport_overview', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(584, 0, 'gradereport_overview', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(585, 0, 'gradereport_singleview', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(586, 0, 'gradereport_singleview', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(587, 0, 'gradereport_singleview', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(588, 0, 'gradereport_user', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(589, 0, 'gradereport_user', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(590, 0, 'gradereport_user', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(591, 0, 'gradingform_guide', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(592, 0, 'gradingform_guide', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(593, 0, 'gradingform_guide', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(594, 0, 'gradingform_rubric', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(595, 0, 'gradingform_rubric', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(596, 0, 'gradingform_rubric', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(597, 0, 'mlbackend_php', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(598, 0, 'mlbackend_php', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(599, 0, 'mlbackend_php', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(600, 0, 'mlbackend_python', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(601, 0, 'mlbackend_python', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(602, 0, 'mlbackend_python', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(603, 0, 'mnetservice_enrol', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(604, 0, 'mnetservice_enrol', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(605, 0, 'mnetservice_enrol', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(606, 0, 'webservice_rest', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(607, 0, 'webservice_rest', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(608, 0, 'webservice_rest', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(609, 0, 'webservice_soap', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(610, 0, 'webservice_soap', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(611, 0, 'webservice_soap', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(612, 0, 'webservice_xmlrpc', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(613, 0, 'webservice_xmlrpc', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(614, 0, 'webservice_xmlrpc', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(615, 0, 'repository_areafiles', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(616, 0, 'repository_areafiles', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(617, 0, 'repository_areafiles', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(618, 0, 'repository_contentbank', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(619, 0, 'repository_contentbank', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(620, 0, 'repository_contentbank', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(621, 0, 'repository_coursefiles', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(622, 0, 'repository_coursefiles', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(623, 0, 'repository_coursefiles', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(624, 0, 'repository_dropbox', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(625, 0, 'repository_dropbox', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(626, 0, 'repository_dropbox', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(627, 0, 'repository_equella', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(628, 0, 'repository_equella', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(629, 0, 'repository_equella', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(630, 0, 'repository_filesystem', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(631, 0, 'repository_filesystem', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(632, 0, 'repository_filesystem', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(633, 0, 'repository_flickr', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(634, 0, 'repository_flickr', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(635, 0, 'repository_flickr', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(636, 0, 'repository_flickr_public', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(637, 0, 'repository_flickr_public', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(638, 0, 'repository_flickr_public', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(639, 0, 'repository_googledocs', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(640, 0, 'repository_googledocs', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(641, 0, 'repository_googledocs', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(642, 0, 'repository_local', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(643, 0, 'repository_local', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(644, 0, 'repository_local', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(645, 0, 'repository_merlot', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(646, 0, 'repository_merlot', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(647, 0, 'repository_merlot', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(648, 0, 'repository_nextcloud', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(649, 0, 'repository_nextcloud', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(650, 0, 'repository_nextcloud', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(651, 0, 'repository_onedrive', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(652, 0, 'repository_onedrive', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(653, 0, 'repository_onedrive', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(654, 0, 'repository_recent', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(655, 0, 'repository_recent', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(656, 0, 'repository_recent', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(657, 0, 'repository_s3', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(658, 0, 'repository_s3', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(659, 0, 'repository_s3', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(660, 0, 'repository_upload', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(661, 0, 'repository_upload', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(662, 0, 'repository_upload', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(663, 0, 'repository_url', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(664, 0, 'repository_url', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(665, 0, 'repository_url', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(666, 0, 'repository_user', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(667, 0, 'repository_user', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(668, 0, 'repository_user', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(669, 0, 'repository_webdav', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(670, 0, 'repository_webdav', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(671, 0, 'repository_webdav', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(672, 0, 'repository_wikimedia', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(673, 0, 'repository_wikimedia', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(674, 0, 'repository_wikimedia', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(675, 0, 'repository_youtube', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(676, 0, 'repository_youtube', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(677, 0, 'repository_youtube', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(678, 0, 'portfolio_download', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(679, 0, 'portfolio_download', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(680, 0, 'portfolio_download', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(681, 0, 'portfolio_flickr', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(682, 0, 'portfolio_flickr', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(683, 0, 'portfolio_flickr', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(684, 0, 'portfolio_googledocs', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(685, 0, 'portfolio_googledocs', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(686, 0, 'portfolio_googledocs', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(687, 0, 'portfolio_mahara', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(688, 0, 'portfolio_mahara', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(689, 0, 'portfolio_mahara', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(690, 0, 'search_simpledb', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(691, 0, 'search_simpledb', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(692, 0, 'search_simpledb', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(693, 0, 'search_solr', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(694, 0, 'search_solr', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(695, 0, 'search_solr', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(696, 0, 'qbank_bulkmove', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(697, 0, 'qbank_bulkmove', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(698, 0, 'qbank_bulkmove', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(699, 0, 'qbank_columnsortorder', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(700, 0, 'qbank_columnsortorder', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(701, 0, 'qbank_columnsortorder', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(702, 0, 'qbank_comment', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(703, 0, 'qbank_comment', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(704, 0, 'qbank_comment', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(705, 0, 'qbank_customfields', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(706, 0, 'qbank_customfields', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(707, 0, 'qbank_customfields', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(708, 0, 'qbank_deletequestion', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(709, 0, 'qbank_deletequestion', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(710, 0, 'qbank_deletequestion', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(711, 0, 'qbank_editquestion', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(712, 0, 'qbank_editquestion', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(713, 0, 'qbank_editquestion', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(714, 0, 'qbank_exportquestions', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(715, 0, 'qbank_exportquestions', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(716, 0, 'qbank_exportquestions', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(717, 0, 'qbank_exporttoxml', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(718, 0, 'qbank_exporttoxml', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(719, 0, 'qbank_exporttoxml', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(720, 0, 'qbank_history', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(721, 0, 'qbank_history', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(722, 0, 'qbank_history', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(723, 0, 'qbank_importquestions', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(724, 0, 'qbank_importquestions', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(725, 0, 'qbank_importquestions', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(726, 0, 'qbank_managecategories', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(727, 0, 'qbank_managecategories', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(728, 0, 'qbank_managecategories', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(729, 0, 'qbank_previewquestion', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(730, 0, 'qbank_previewquestion', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(731, 0, 'qbank_previewquestion', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(732, 0, 'qbank_statistics', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(733, 0, 'qbank_statistics', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(734, 0, 'qbank_statistics', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(735, 0, 'qbank_tagquestion', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(736, 0, 'qbank_tagquestion', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(737, 0, 'qbank_tagquestion', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(738, 0, 'qbank_usage', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(739, 0, 'qbank_usage', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(740, 0, 'qbank_usage', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(741, 0, 'qbank_viewcreator', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(742, 0, 'qbank_viewcreator', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(743, 0, 'qbank_viewcreator', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(744, 0, 'qbank_viewquestionname', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(745, 0, 'qbank_viewquestionname', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(746, 0, 'qbank_viewquestionname', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(747, 0, 'qbank_viewquestiontext', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(748, 0, 'qbank_viewquestiontext', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(749, 0, 'qbank_viewquestiontext', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(750, 0, 'qbank_viewquestiontype', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(751, 0, 'qbank_viewquestiontype', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(752, 0, 'qbank_viewquestiontype', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(753, 0, 'qbehaviour_adaptive', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(754, 0, 'qbehaviour_adaptive', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(755, 0, 'qbehaviour_adaptive', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(756, 0, 'qbehaviour_adaptivenopenalty', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(757, 0, 'qbehaviour_adaptivenopenalty', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(758, 0, 'qbehaviour_adaptivenopenalty', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(759, 0, 'qbehaviour_deferredcbm', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(760, 0, 'qbehaviour_deferredcbm', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(761, 0, 'qbehaviour_deferredcbm', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(762, 0, 'qbehaviour_deferredfeedback', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(763, 0, 'qbehaviour_deferredfeedback', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(764, 0, 'qbehaviour_deferredfeedback', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(765, 0, 'qbehaviour_immediatecbm', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(766, 0, 'qbehaviour_immediatecbm', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(767, 0, 'qbehaviour_immediatecbm', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(768, 0, 'qbehaviour_immediatefeedback', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(769, 0, 'qbehaviour_immediatefeedback', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(770, 0, 'qbehaviour_immediatefeedback', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(771, 0, 'qbehaviour_informationitem', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(772, 0, 'qbehaviour_informationitem', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(773, 0, 'qbehaviour_informationitem', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(774, 0, 'qbehaviour_interactive', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(775, 0, 'qbehaviour_interactive', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(776, 0, 'qbehaviour_interactive', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(777, 0, 'qbehaviour_interactivecountback', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(778, 0, 'qbehaviour_interactivecountback', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(779, 0, 'qbehaviour_interactivecountback', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(780, 0, 'qbehaviour_manualgraded', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(781, 0, 'qbehaviour_manualgraded', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(782, 0, 'qbehaviour_manualgraded', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(783, 0, 'qbehaviour_missing', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(784, 0, 'qbehaviour_missing', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(785, 0, 'qbehaviour_missing', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(786, 0, 'qformat_aiken', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(787, 0, 'qformat_aiken', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(788, 0, 'qformat_aiken', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(789, 0, 'qformat_blackboard_six', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(790, 0, 'qformat_blackboard_six', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(791, 0, 'qformat_blackboard_six', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(792, 0, 'qformat_gift', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(793, 0, 'qformat_gift', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(794, 0, 'qformat_gift', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(795, 0, 'qformat_missingword', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(796, 0, 'qformat_missingword', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(797, 0, 'qformat_missingword', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(798, 0, 'qformat_multianswer', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(799, 0, 'qformat_multianswer', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(800, 0, 'qformat_multianswer', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(801, 0, 'qformat_xhtml', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(802, 0, 'qformat_xhtml', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(803, 0, 'qformat_xhtml', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(804, 0, 'qformat_xml', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(805, 0, 'qformat_xml', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(806, 0, 'qformat_xml', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(807, 0, 'tool_admin_presets', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(808, 0, 'tool_admin_presets', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(809, 0, 'tool_admin_presets', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(810, 0, 'tool_analytics', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(811, 0, 'tool_analytics', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(812, 0, 'tool_analytics', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(813, 0, 'tool_availabilityconditions', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(814, 0, 'tool_availabilityconditions', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(815, 0, 'tool_availabilityconditions', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(816, 0, 'tool_behat', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(817, 0, 'tool_behat', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(818, 0, 'tool_behat', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(819, 0, 'tool_brickfield', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(820, 0, 'tool_brickfield', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(821, 0, 'tool_brickfield', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(822, 0, 'tool_capability', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(823, 0, 'tool_capability', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(824, 0, 'tool_capability', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(825, 0, 'tool_cohortroles', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(826, 0, 'tool_cohortroles', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(827, 0, 'tool_cohortroles', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(828, 0, 'tool_componentlibrary', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(829, 0, 'tool_componentlibrary', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(830, 0, 'tool_componentlibrary', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(831, 0, 'tool_customlang', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(832, 0, 'tool_customlang', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(833, 0, 'tool_customlang', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(834, 0, 'tool_dataprivacy', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(835, 0, 'tool_dataprivacy', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(836, 0, 'tool_dataprivacy', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(837, 0, 'tool_dbtransfer', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(838, 0, 'tool_dbtransfer', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(839, 0, 'tool_dbtransfer', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(840, 0, 'tool_filetypes', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(841, 0, 'tool_filetypes', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(842, 0, 'tool_filetypes', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(843, 0, 'tool_generator', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(844, 0, 'tool_generator', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(845, 0, 'tool_generator', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(846, 0, 'tool_httpsreplace', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(847, 0, 'tool_httpsreplace', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(848, 0, 'tool_httpsreplace', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(849, 0, 'tool_innodb', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(850, 0, 'tool_innodb', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(851, 0, 'tool_innodb', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(852, 0, 'tool_installaddon', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(853, 0, 'tool_installaddon', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(854, 0, 'tool_installaddon', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(855, 0, 'tool_langimport', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(856, 0, 'tool_langimport', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(857, 0, 'tool_langimport', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(858, 0, 'tool_licensemanager', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(859, 0, 'tool_licensemanager', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(860, 0, 'tool_licensemanager', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(861, 0, 'tool_log', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(862, 0, 'tool_log', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(863, 0, 'tool_log', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(864, 0, 'tool_lp', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(865, 0, 'tool_lp', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(866, 0, 'tool_lp', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(867, 0, 'tool_lpimportcsv', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(868, 0, 'tool_lpimportcsv', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(869, 0, 'tool_lpimportcsv', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(870, 0, 'tool_lpmigrate', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(871, 0, 'tool_lpmigrate', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(872, 0, 'tool_lpmigrate', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(873, 0, 'tool_messageinbound', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(874, 0, 'tool_messageinbound', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(875, 0, 'tool_messageinbound', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(876, 0, 'tool_mobile', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(877, 0, 'tool_mobile', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(878, 0, 'tool_mobile', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(879, 0, 'tool_monitor', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(880, 0, 'tool_monitor', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(881, 0, 'tool_monitor', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(882, 0, 'tool_moodlenet', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(883, 0, 'tool_moodlenet', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(884, 0, 'tool_moodlenet', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(885, 0, 'tool_multilangupgrade', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(886, 0, 'tool_multilangupgrade', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(887, 0, 'tool_multilangupgrade', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(888, 0, 'tool_oauth2', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(889, 0, 'tool_oauth2', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(890, 0, 'tool_oauth2', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(891, 0, 'tool_phpunit', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(892, 0, 'tool_phpunit', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(893, 0, 'tool_phpunit', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(894, 0, 'tool_policy', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(895, 0, 'tool_policy', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(896, 0, 'tool_policy', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(897, 0, 'tool_profiling', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(898, 0, 'tool_profiling', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(899, 0, 'tool_profiling', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(900, 0, 'tool_recyclebin', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(901, 0, 'tool_recyclebin', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(902, 0, 'tool_recyclebin', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(903, 0, 'tool_replace', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(904, 0, 'tool_replace', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(905, 0, 'tool_replace', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(906, 0, 'tool_spamcleaner', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(907, 0, 'tool_spamcleaner', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(908, 0, 'tool_spamcleaner', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(909, 0, 'tool_task', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(910, 0, 'tool_task', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(911, 0, 'tool_task', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(912, 0, 'tool_templatelibrary', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(913, 0, 'tool_templatelibrary', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(914, 0, 'tool_templatelibrary', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(915, 0, 'tool_unsuproles', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(916, 0, 'tool_unsuproles', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(917, 0, 'tool_unsuproles', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(918, 0, 'tool_uploadcourse', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(919, 0, 'tool_uploadcourse', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(920, 0, 'tool_uploadcourse', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(921, 0, 'tool_uploaduser', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(922, 0, 'tool_uploaduser', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(923, 0, 'tool_uploaduser', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(924, 0, 'tool_usertours', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(925, 0, 'tool_usertours', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(926, 0, 'tool_usertours', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(927, 0, 'tool_xmldb', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(928, 0, 'tool_xmldb', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(929, 0, 'tool_xmldb', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(930, 0, 'cachestore_apcu', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(931, 0, 'cachestore_apcu', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(932, 0, 'cachestore_apcu', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(933, 0, 'cachestore_file', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(934, 0, 'cachestore_file', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(935, 0, 'cachestore_file', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(936, 0, 'cachestore_memcached', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(937, 0, 'cachestore_memcached', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(938, 0, 'cachestore_memcached', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(939, 0, 'cachestore_mongodb', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(940, 0, 'cachestore_mongodb', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(941, 0, 'cachestore_mongodb', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(942, 0, 'cachestore_redis', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(943, 0, 'cachestore_redis', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(944, 0, 'cachestore_redis', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(945, 0, 'cachestore_session', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(946, 0, 'cachestore_session', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(947, 0, 'cachestore_session', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(948, 0, 'cachestore_static', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(949, 0, 'cachestore_static', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(950, 0, 'cachestore_static', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]);
INSERT INTO `[[dbprefix]]upgrade_log` VALUES
(951, 0, 'cachelock_file', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(952, 0, 'cachelock_file', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(953, 0, 'cachelock_file', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(954, 0, 'fileconverter_googledrive', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(955, 0, 'fileconverter_googledrive', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(956, 0, 'fileconverter_googledrive', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(957, 0, 'fileconverter_unoconv', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(958, 0, 'fileconverter_unoconv', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(959, 0, 'fileconverter_unoconv', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(960, 0, 'contenttype_h5p', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(961, 0, 'contenttype_h5p', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(962, 0, 'contenttype_h5p', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(963, 0, 'theme_boost', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(964, 0, 'theme_boost', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(965, 0, 'theme_boost', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(966, 0, 'theme_classic', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(967, 0, 'theme_classic', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(968, 0, 'theme_classic', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(969, 0, 'h5plib_v124', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(970, 0, 'h5plib_v124', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(971, 0, 'h5plib_v124', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(972, 0, 'paygw_paypal', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(973, 0, 'paygw_paypal', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(974, 0, 'paygw_paypal', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(975, 0, 'assignsubmission_comments', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(976, 0, 'assignsubmission_comments', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(977, 0, 'assignsubmission_comments', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(978, 0, 'assignsubmission_file', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(979, 0, 'assignsubmission_file', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(980, 0, 'assignsubmission_file', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(981, 0, 'assignsubmission_onlinetext', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(982, 0, 'assignsubmission_onlinetext', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(983, 0, 'assignsubmission_onlinetext', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(984, 0, 'assignfeedback_comments', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(985, 0, 'assignfeedback_comments', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(986, 0, 'assignfeedback_comments', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(987, 0, 'assignfeedback_editpdf', NULL, '2022041902', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(988, 0, 'assignfeedback_editpdf', '2022041902', '2022041902', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(989, 0, 'assignfeedback_editpdf', '2022041902', '2022041902', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(990, 0, 'assignfeedback_file', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(991, 0, 'assignfeedback_file', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(992, 0, 'assignfeedback_file', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(993, 0, 'assignfeedback_offline', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(994, 0, 'assignfeedback_offline', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(995, 0, 'assignfeedback_offline', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(996, 0, 'assignment_offline', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(997, 0, 'assignment_offline', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(998, 0, 'assignment_offline', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(999, 0, 'assignment_online', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1000, 0, 'assignment_online', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1001, 0, 'assignment_online', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1002, 0, 'assignment_upload', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1003, 0, 'assignment_upload', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1004, 0, 'assignment_upload', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1005, 0, 'assignment_uploadsingle', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1006, 0, 'assignment_uploadsingle', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1007, 0, 'assignment_uploadsingle', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1008, 0, 'booktool_exportimscp', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1009, 0, 'booktool_exportimscp', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1010, 0, 'booktool_exportimscp', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1011, 0, 'booktool_importhtml', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1012, 0, 'booktool_importhtml', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1013, 0, 'booktool_importhtml', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1014, 0, 'booktool_print', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1015, 0, 'booktool_print', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1016, 0, 'booktool_print', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1017, 0, 'datafield_checkbox', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1018, 0, 'datafield_checkbox', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1019, 0, 'datafield_checkbox', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1020, 0, 'datafield_date', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1021, 0, 'datafield_date', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1022, 0, 'datafield_date', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1023, 0, 'datafield_file', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1024, 0, 'datafield_file', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1025, 0, 'datafield_file', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1026, 0, 'datafield_latlong', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1027, 0, 'datafield_latlong', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1028, 0, 'datafield_latlong', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1029, 0, 'datafield_menu', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1030, 0, 'datafield_menu', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1031, 0, 'datafield_menu', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1032, 0, 'datafield_multimenu', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1033, 0, 'datafield_multimenu', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1034, 0, 'datafield_multimenu', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1035, 0, 'datafield_number', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1036, 0, 'datafield_number', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1037, 0, 'datafield_number', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1038, 0, 'datafield_picture', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1039, 0, 'datafield_picture', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1040, 0, 'datafield_picture', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1041, 0, 'datafield_radiobutton', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1042, 0, 'datafield_radiobutton', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1043, 0, 'datafield_radiobutton', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1044, 0, 'datafield_text', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1045, 0, 'datafield_text', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1046, 0, 'datafield_text', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1047, 0, 'datafield_textarea', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1048, 0, 'datafield_textarea', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1049, 0, 'datafield_textarea', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1050, 0, 'datafield_url', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1051, 0, 'datafield_url', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1052, 0, 'datafield_url', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1053, 0, 'datapreset_imagegallery', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1054, 0, 'datapreset_imagegallery', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1055, 0, 'datapreset_imagegallery', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1056, 0, 'forumreport_summary', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1057, 0, 'forumreport_summary', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1058, 0, 'forumreport_summary', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1059, 0, 'ltiservice_basicoutcomes', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1060, 0, 'ltiservice_basicoutcomes', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1061, 0, 'ltiservice_basicoutcomes', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1062, 0, 'ltiservice_gradebookservices', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1063, 0, 'ltiservice_gradebookservices', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1064, 0, 'ltiservice_gradebookservices', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1065, 0, 'ltiservice_memberships', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1066, 0, 'ltiservice_memberships', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1067, 0, 'ltiservice_memberships', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1068, 0, 'ltiservice_profile', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1069, 0, 'ltiservice_profile', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1070, 0, 'ltiservice_profile', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1071, 0, 'ltiservice_toolproxy', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1072, 0, 'ltiservice_toolproxy', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1073, 0, 'ltiservice_toolproxy', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1074, 0, 'ltiservice_toolsettings', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1075, 0, 'ltiservice_toolsettings', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1076, 0, 'ltiservice_toolsettings', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1077, 0, 'quiz_grading', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1078, 0, 'quiz_grading', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1079, 0, 'quiz_grading', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1080, 0, 'quiz_overview', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1081, 0, 'quiz_overview', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1082, 0, 'quiz_overview', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1083, 0, 'quiz_responses', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1084, 0, 'quiz_responses', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1085, 0, 'quiz_responses', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1086, 0, 'quiz_statistics', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1087, 0, 'quiz_statistics', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1088, 0, 'quiz_statistics', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1089, 0, 'quizaccess_delaybetweenattempts', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1090, 0, 'quizaccess_delaybetweenattempts', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1091, 0, 'quizaccess_delaybetweenattempts', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1092, 0, 'quizaccess_ipaddress', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1093, 0, 'quizaccess_ipaddress', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1094, 0, 'quizaccess_ipaddress', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1095, 0, 'quizaccess_numattempts', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1096, 0, 'quizaccess_numattempts', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1097, 0, 'quizaccess_numattempts', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1098, 0, 'quizaccess_offlineattempts', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1099, 0, 'quizaccess_offlineattempts', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1100, 0, 'quizaccess_offlineattempts', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1101, 0, 'quizaccess_openclosedate', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1102, 0, 'quizaccess_openclosedate', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1103, 0, 'quizaccess_openclosedate', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1104, 0, 'quizaccess_password', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1105, 0, 'quizaccess_password', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1106, 0, 'quizaccess_password', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1107, 0, 'quizaccess_seb', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1108, 0, 'quizaccess_seb', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1109, 0, 'quizaccess_seb', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1110, 0, 'quizaccess_securewindow', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1111, 0, 'quizaccess_securewindow', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1112, 0, 'quizaccess_securewindow', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1113, 0, 'quizaccess_timelimit', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1114, 0, 'quizaccess_timelimit', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1115, 0, 'quizaccess_timelimit', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1116, 0, 'scormreport_basic', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1117, 0, 'scormreport_basic', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1118, 0, 'scormreport_basic', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1119, 0, 'scormreport_graphs', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1120, 0, 'scormreport_graphs', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1121, 0, 'scormreport_graphs', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1122, 0, 'scormreport_interactions', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1123, 0, 'scormreport_interactions', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1124, 0, 'scormreport_interactions', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1125, 0, 'scormreport_objectives', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1126, 0, 'scormreport_objectives', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1127, 0, 'scormreport_objectives', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1128, 0, 'workshopform_accumulative', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1129, 0, 'workshopform_accumulative', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1130, 0, 'workshopform_accumulative', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1131, 0, 'workshopform_comments', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1132, 0, 'workshopform_comments', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1133, 0, 'workshopform_comments', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1134, 0, 'workshopform_numerrors', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1135, 0, 'workshopform_numerrors', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1136, 0, 'workshopform_numerrors', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1137, 0, 'workshopform_rubric', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1138, 0, 'workshopform_rubric', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1139, 0, 'workshopform_rubric', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1140, 0, 'workshopallocation_manual', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1141, 0, 'workshopallocation_manual', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1142, 0, 'workshopallocation_manual', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1143, 0, 'workshopallocation_random', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1144, 0, 'workshopallocation_random', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1145, 0, 'workshopallocation_random', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1146, 0, 'workshopallocation_scheduled', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1147, 0, 'workshopallocation_scheduled', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1148, 0, 'workshopallocation_scheduled', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1149, 0, 'workshopeval_best', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1150, 0, 'workshopeval_best', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1151, 0, 'workshopeval_best', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1152, 0, 'atto_accessibilitychecker', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1153, 0, 'atto_accessibilitychecker', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1154, 0, 'atto_accessibilitychecker', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1155, 0, 'atto_accessibilityhelper', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1156, 0, 'atto_accessibilityhelper', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1157, 0, 'atto_accessibilityhelper', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1158, 0, 'atto_align', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1159, 0, 'atto_align', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1160, 0, 'atto_align', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1161, 0, 'atto_backcolor', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1162, 0, 'atto_backcolor', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1163, 0, 'atto_backcolor', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1164, 0, 'atto_bold', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1165, 0, 'atto_bold', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1166, 0, 'atto_bold', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1167, 0, 'atto_charmap', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1168, 0, 'atto_charmap', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1169, 0, 'atto_charmap', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1170, 0, 'atto_clear', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1171, 0, 'atto_clear', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1172, 0, 'atto_clear', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1173, 0, 'atto_collapse', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1174, 0, 'atto_collapse', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1175, 0, 'atto_collapse', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1176, 0, 'atto_emojipicker', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1177, 0, 'atto_emojipicker', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1178, 0, 'atto_emojipicker', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1179, 0, 'atto_emoticon', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1180, 0, 'atto_emoticon', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1181, 0, 'atto_emoticon', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1182, 0, 'atto_equation', NULL, '2022041901', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1183, 0, 'atto_equation', '2022041901', '2022041901', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1184, 0, 'atto_equation', '2022041901', '2022041901', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1185, 0, 'atto_fontcolor', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1186, 0, 'atto_fontcolor', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1187, 0, 'atto_fontcolor', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1188, 0, 'atto_h5p', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1189, 0, 'atto_h5p', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1190, 0, 'atto_h5p', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1191, 0, 'atto_html', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1192, 0, 'atto_html', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1193, 0, 'atto_html', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1194, 0, 'atto_image', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1195, 0, 'atto_image', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1196, 0, 'atto_image', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1197, 0, 'atto_indent', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1198, 0, 'atto_indent', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1199, 0, 'atto_indent', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1200, 0, 'atto_italic', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1201, 0, 'atto_italic', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1202, 0, 'atto_italic', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1203, 0, 'atto_link', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1204, 0, 'atto_link', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1205, 0, 'atto_link', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1206, 0, 'atto_managefiles', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1207, 0, 'atto_managefiles', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1208, 0, 'atto_managefiles', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1209, 0, 'atto_media', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1210, 0, 'atto_media', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1211, 0, 'atto_media', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1212, 0, 'atto_noautolink', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1213, 0, 'atto_noautolink', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1214, 0, 'atto_noautolink', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1215, 0, 'atto_orderedlist', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1216, 0, 'atto_orderedlist', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1217, 0, 'atto_orderedlist', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1218, 0, 'atto_recordrtc', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1219, 0, 'atto_recordrtc', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1220, 0, 'atto_recordrtc', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1221, 0, 'atto_rtl', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1222, 0, 'atto_rtl', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1223, 0, 'atto_rtl', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1224, 0, 'atto_strike', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1225, 0, 'atto_strike', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1226, 0, 'atto_strike', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1227, 0, 'atto_subscript', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1228, 0, 'atto_subscript', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1229, 0, 'atto_subscript', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1230, 0, 'atto_superscript', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1231, 0, 'atto_superscript', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1232, 0, 'atto_superscript', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1233, 0, 'atto_table', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1234, 0, 'atto_table', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1235, 0, 'atto_table', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1236, 0, 'atto_title', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1237, 0, 'atto_title', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1238, 0, 'atto_title', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1239, 0, 'atto_underline', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1240, 0, 'atto_underline', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1241, 0, 'atto_underline', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1242, 0, 'atto_undo', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1243, 0, 'atto_undo', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1244, 0, 'atto_undo', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1245, 0, 'atto_unorderedlist', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1246, 0, 'atto_unorderedlist', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1247, 0, 'atto_unorderedlist', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1248, 0, 'tinymce_ctrlhelp', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1249, 0, 'tinymce_ctrlhelp', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1250, 0, 'tinymce_ctrlhelp', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1251, 0, 'tinymce_managefiles', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1252, 0, 'tinymce_managefiles', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1253, 0, 'tinymce_managefiles', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1254, 0, 'tinymce_moodleemoticon', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1255, 0, 'tinymce_moodleemoticon', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1256, 0, 'tinymce_moodleemoticon', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1257, 0, 'tinymce_moodleimage', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1258, 0, 'tinymce_moodleimage', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1259, 0, 'tinymce_moodleimage', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1260, 0, 'tinymce_moodlemedia', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1261, 0, 'tinymce_moodlemedia', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1262, 0, 'tinymce_moodlemedia', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1263, 0, 'tinymce_moodlenolink', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1264, 0, 'tinymce_moodlenolink', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1265, 0, 'tinymce_moodlenolink', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1266, 0, 'tinymce_pdw', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1267, 0, 'tinymce_pdw', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1268, 0, 'tinymce_pdw', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1269, 0, 'tinymce_spellchecker', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1270, 0, 'tinymce_spellchecker', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1271, 0, 'tinymce_spellchecker', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1272, 0, 'tinymce_wrap', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1273, 0, 'tinymce_wrap', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1274, 0, 'tinymce_wrap', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1275, 0, 'logstore_database', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1276, 0, 'logstore_database', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1277, 0, 'logstore_database', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1278, 0, 'logstore_legacy', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1279, 0, 'logstore_legacy', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1280, 0, 'logstore_legacy', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]),
(1281, 0, 'logstore_standard', NULL, '2022041900', 'Starting plugin installation', NULL, '', 0, [[timestamp]]),
(1282, 0, 'logstore_standard', '2022041900', '2022041900', 'Upgrade savepoint reached', NULL, '', 0, [[timestamp]]),
(1283, 0, 'logstore_standard', '2022041900', '2022041900', 'Plugin installed', NULL, '', 0, [[timestamp]]);

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

--
-- Table structure for table `[[dbprefix]]url`
--

CREATE TABLE `[[dbprefix]]url` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `course` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext,
  `introformat` smallint(4) NOT NULL DEFAULT '0',
  `externalurl` longtext NOT NULL,
  `display` smallint(4) NOT NULL DEFAULT '0',
  `displayoptions` longtext,
  `parameters` longtext,
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]url_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='each record is one url resource' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]user_devices`
--

CREATE TABLE `[[dbprefix]]user_devices` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `appid` varchar(128) NOT NULL DEFAULT '',
  `name` varchar(32) NOT NULL DEFAULT '',
  `model` varchar(32) NOT NULL DEFAULT '',
  `platform` varchar(32) NOT NULL DEFAULT '',
  `version` varchar(32) NOT NULL DEFAULT '',
  `pushid` varchar(255) NOT NULL DEFAULT '',
  `uuid` varchar(255) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]userdevi_pususe_uix` (`pushid`,`userid`),
  KEY `[[dbprefix]]userdevi_uuiuse_ix` (`uuid`,`userid`),
  KEY `[[dbprefix]]userdevi_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table stores user''s mobile devices information in order' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]user_enrolments`
--

CREATE TABLE `[[dbprefix]]user_enrolments` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `status` bigint(10) NOT NULL DEFAULT '0',
  `enrolid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timestart` bigint(10) NOT NULL DEFAULT '0',
  `timeend` bigint(10) NOT NULL DEFAULT '2147483647',
  `modifierid` bigint(10) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]userenro_enruse_uix` (`enrolid`,`userid`),
  KEY `[[dbprefix]]userenro_enr_ix` (`enrolid`),
  KEY `[[dbprefix]]userenro_use_ix` (`userid`),
  KEY `[[dbprefix]]userenro_mod_ix` (`modifierid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Users participating in courses (aka enrolled users) - everyb' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]user_info_category`
--

CREATE TABLE `[[dbprefix]]user_info_category` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `sortorder` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Customisable fields categories' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]user_info_data`
--

CREATE TABLE `[[dbprefix]]user_info_data` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `fieldid` bigint(10) NOT NULL DEFAULT '0',
  `data` longtext NOT NULL,
  `dataformat` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]userinfodata_usefie_uix` (`userid`,`fieldid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Data for the customisable user fields' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]user_info_field`
--

CREATE TABLE `[[dbprefix]]user_info_field` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `shortname` varchar(255) NOT NULL DEFAULT 'shortname',
  `name` longtext NOT NULL,
  `datatype` varchar(255) NOT NULL DEFAULT '',
  `description` longtext,
  `descriptionformat` tinyint(2) NOT NULL DEFAULT '0',
  `categoryid` bigint(10) NOT NULL DEFAULT '0',
  `sortorder` bigint(10) NOT NULL DEFAULT '0',
  `required` tinyint(2) NOT NULL DEFAULT '0',
  `locked` tinyint(2) NOT NULL DEFAULT '0',
  `visible` smallint(4) NOT NULL DEFAULT '0',
  `forceunique` tinyint(2) NOT NULL DEFAULT '0',
  `signup` tinyint(2) NOT NULL DEFAULT '0',
  `defaultdata` longtext,
  `defaultdataformat` tinyint(2) NOT NULL DEFAULT '0',
  `param1` longtext,
  `param2` longtext,
  `param3` longtext,
  `param4` longtext,
  `param5` longtext,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Customisable user profile fields' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]user_lastaccess`
--

CREATE TABLE `[[dbprefix]]user_lastaccess` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `courseid` bigint(10) NOT NULL DEFAULT '0',
  `timeaccess` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]userlast_usecou_uix` (`userid`,`courseid`),
  KEY `[[dbprefix]]userlast_use_ix` (`userid`),
  KEY `[[dbprefix]]userlast_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='To keep track of course page access times, used in online pa' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]user_preferences`
--

CREATE TABLE `[[dbprefix]]user_preferences` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` varchar(1333) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]userpref_usenam_uix` (`userid`,`name`),
  KEY `[[dbprefix]]userpref_nam_ix` (`name`)
) ENGINE=InnoDB  DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Allows modules to store arbitrary user preferences' AUTO_INCREMENT=7 ;

--
-- Dumping data for table `[[dbprefix]]user_preferences`
--

INSERT INTO `[[dbprefix]]user_preferences` VALUES
(1, 2, 'core_message_migrate_data', '1'),
(2, 2, 'auth_manual_passwordupdatetime', '[[timestamp]]'),
(3, 2, 'email_bounce_count', '1'),
(4, 2, 'email_send_count', '1'),
(5, 2, 'core_user_welcome', '[[timestamp]]'),
(6, 2, 'login_failed_count_since_success', '0');

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

--
-- Table structure for table `[[dbprefix]]user_private_key`
--

CREATE TABLE `[[dbprefix]]user_private_key` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `script` varchar(128) NOT NULL DEFAULT '',
  `value` varchar(128) NOT NULL DEFAULT '',
  `userid` bigint(10) NOT NULL,
  `instance` bigint(10) DEFAULT NULL,
  `iprestriction` varchar(255) DEFAULT NULL,
  `validuntil` bigint(10) DEFAULT NULL,
  `timecreated` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]userprivkey_scrval_ix` (`script`,`value`),
  KEY `[[dbprefix]]userprivkey_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='access keys used in cookieless scripts - rss, etc.' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]wiki`
--

CREATE TABLE `[[dbprefix]]wiki` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `course` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT 'Wiki',
  `intro` longtext,
  `introformat` smallint(4) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `firstpagetitle` varchar(255) NOT NULL DEFAULT 'First Page',
  `wikimode` varchar(20) NOT NULL DEFAULT 'collaborative',
  `defaultformat` varchar(20) NOT NULL DEFAULT 'creole',
  `forceformat` tinyint(1) NOT NULL DEFAULT '1',
  `editbegin` bigint(10) NOT NULL DEFAULT '0',
  `editend` bigint(10) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]wiki_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores Wiki activity configuration' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]wiki_links`
--

CREATE TABLE `[[dbprefix]]wiki_links` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `subwikiid` bigint(10) NOT NULL DEFAULT '0',
  `frompageid` bigint(10) NOT NULL DEFAULT '0',
  `topageid` bigint(10) NOT NULL DEFAULT '0',
  `tomissingpage` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]wikilink_fro_ix` (`frompageid`),
  KEY `[[dbprefix]]wikilink_sub_ix` (`subwikiid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Page wiki links' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]wiki_locks`
--

CREATE TABLE `[[dbprefix]]wiki_locks` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `pageid` bigint(10) NOT NULL DEFAULT '0',
  `sectionname` varchar(255) DEFAULT NULL,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `lockedat` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Manages page locks' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]wiki_pages`
--

CREATE TABLE `[[dbprefix]]wiki_pages` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `subwikiid` bigint(10) NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL DEFAULT 'title',
  `cachedcontent` longtext NOT NULL,
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `timerendered` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `pageviews` bigint(10) NOT NULL DEFAULT '0',
  `readonly` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]wikipage_subtituse_uix` (`subwikiid`,`title`,`userid`),
  KEY `[[dbprefix]]wikipage_sub_ix` (`subwikiid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores wiki pages' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]wiki_subwikis`
--

CREATE TABLE `[[dbprefix]]wiki_subwikis` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `wikiid` bigint(10) NOT NULL DEFAULT '0',
  `groupid` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]wikisubw_wikgrouse_uix` (`wikiid`,`groupid`,`userid`),
  KEY `[[dbprefix]]wikisubw_wik_ix` (`wikiid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores subwiki instances' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]wiki_synonyms`
--

CREATE TABLE `[[dbprefix]]wiki_synonyms` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `subwikiid` bigint(10) NOT NULL DEFAULT '0',
  `pageid` bigint(10) NOT NULL DEFAULT '0',
  `pagesynonym` varchar(255) NOT NULL DEFAULT 'Pagesynonym',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]wikisyno_pagpag_uix` (`pageid`,`pagesynonym`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores wiki pages synonyms' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]wiki_versions`
--

CREATE TABLE `[[dbprefix]]wiki_versions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `pageid` bigint(10) NOT NULL DEFAULT '0',
  `content` longtext NOT NULL,
  `contentformat` varchar(20) NOT NULL DEFAULT 'creole',
  `version` mediumint(5) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]wikivers_pag_ix` (`pageid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores wiki page history' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshop`
--

CREATE TABLE `[[dbprefix]]workshop` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `course` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext,
  `introformat` smallint(3) NOT NULL DEFAULT '0',
  `instructauthors` longtext,
  `instructauthorsformat` smallint(3) NOT NULL DEFAULT '0',
  `instructreviewers` longtext,
  `instructreviewersformat` smallint(3) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL,
  `phase` smallint(3) DEFAULT '0',
  `useexamples` tinyint(2) DEFAULT '0',
  `usepeerassessment` tinyint(2) DEFAULT '0',
  `useselfassessment` tinyint(2) DEFAULT '0',
  `grade` decimal(10,5) DEFAULT '80.00000',
  `gradinggrade` decimal(10,5) DEFAULT '20.00000',
  `strategy` varchar(30) NOT NULL DEFAULT '',
  `evaluation` varchar(30) NOT NULL DEFAULT '',
  `gradedecimals` smallint(3) DEFAULT '0',
  `submissiontypetext` tinyint(1) NOT NULL DEFAULT '1',
  `submissiontypefile` tinyint(1) NOT NULL DEFAULT '1',
  `nattachments` smallint(3) DEFAULT '1',
  `submissionfiletypes` varchar(255) DEFAULT NULL,
  `latesubmissions` tinyint(2) DEFAULT '0',
  `maxbytes` bigint(10) DEFAULT '100000',
  `examplesmode` smallint(3) DEFAULT '0',
  `submissionstart` bigint(10) DEFAULT '0',
  `submissionend` bigint(10) DEFAULT '0',
  `assessmentstart` bigint(10) DEFAULT '0',
  `assessmentend` bigint(10) DEFAULT '0',
  `phaseswitchassessment` tinyint(2) NOT NULL DEFAULT '0',
  `conclusion` longtext,
  `conclusionformat` smallint(3) NOT NULL DEFAULT '1',
  `overallfeedbackmode` smallint(3) DEFAULT '1',
  `overallfeedbackfiles` smallint(3) DEFAULT '0',
  `overallfeedbackfiletypes` varchar(255) DEFAULT NULL,
  `overallfeedbackmaxbytes` bigint(10) DEFAULT '100000',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]work_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This table keeps information about the module instances and ' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopallocation_scheduled`
--

CREATE TABLE `[[dbprefix]]workshopallocation_scheduled` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `enabled` tinyint(2) NOT NULL DEFAULT '0',
  `submissionend` bigint(10) NOT NULL,
  `timeallocated` bigint(10) DEFAULT NULL,
  `settings` longtext,
  `resultstatus` bigint(10) DEFAULT NULL,
  `resultmessage` varchar(1333) DEFAULT NULL,
  `resultlog` longtext,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]worksche_wor_uix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Stores the allocation settings for the scheduled allocator' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopeval_best_settings`
--

CREATE TABLE `[[dbprefix]]workshopeval_best_settings` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `comparison` smallint(3) DEFAULT '5',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]workbestsett_wor_uix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Settings for the grading evaluation subplugin Comparison wit' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopform_accumulative`
--

CREATE TABLE `[[dbprefix]]workshopform_accumulative` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `sort` bigint(10) DEFAULT '0',
  `description` longtext,
  `descriptionformat` smallint(3) DEFAULT '0',
  `grade` bigint(10) NOT NULL,
  `weight` mediumint(5) DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]workaccu_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The assessment dimensions definitions of Accumulative gradin' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopform_comments`
--

CREATE TABLE `[[dbprefix]]workshopform_comments` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `sort` bigint(10) DEFAULT '0',
  `description` longtext,
  `descriptionformat` smallint(3) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]workcomm_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The assessment dimensions definitions of Comments strategy f' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopform_numerrors`
--

CREATE TABLE `[[dbprefix]]workshopform_numerrors` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `sort` bigint(10) DEFAULT '0',
  `description` longtext,
  `descriptionformat` smallint(3) DEFAULT '0',
  `descriptiontrust` bigint(10) DEFAULT NULL,
  `grade0` varchar(50) DEFAULT NULL,
  `grade1` varchar(50) DEFAULT NULL,
  `weight` mediumint(5) DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]worknume_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The assessment dimensions definitions of Number of errors gr' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopform_numerrors_map`
--

CREATE TABLE `[[dbprefix]]workshopform_numerrors_map` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `nonegative` bigint(10) NOT NULL,
  `grade` decimal(10,5) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]worknumemap_wornon_uix` (`workshopid`,`nonegative`),
  KEY `[[dbprefix]]worknumemap_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='This maps the number of errors to a percentual grade for sub' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopform_rubric`
--

CREATE TABLE `[[dbprefix]]workshopform_rubric` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `sort` bigint(10) DEFAULT '0',
  `description` longtext,
  `descriptionformat` smallint(3) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]workrubr_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The assessment dimensions definitions of Rubric grading stra' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopform_rubric_config`
--

CREATE TABLE `[[dbprefix]]workshopform_rubric_config` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `layout` varchar(30) DEFAULT 'list',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]workrubrconf_wor_uix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Configuration table for the Rubric grading strategy' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshopform_rubric_levels`
--

CREATE TABLE `[[dbprefix]]workshopform_rubric_levels` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `dimensionid` bigint(10) NOT NULL,
  `grade` decimal(10,5) NOT NULL,
  `definition` longtext,
  `definitionformat` smallint(3) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]workrubrleve_dim_ix` (`dimensionid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='The definition of rubric rating scales' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshop_aggregations`
--

CREATE TABLE `[[dbprefix]]workshop_aggregations` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `gradinggrade` decimal(10,5) DEFAULT NULL,
  `timegraded` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]workaggr_woruse_uix` (`workshopid`,`userid`),
  KEY `[[dbprefix]]workaggr_wor_ix` (`workshopid`),
  KEY `[[dbprefix]]workaggr_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Aggregated grades for assessment are stored here. The aggreg' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshop_assessments`
--

CREATE TABLE `[[dbprefix]]workshop_assessments` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `submissionid` bigint(10) NOT NULL,
  `reviewerid` bigint(10) NOT NULL,
  `weight` bigint(10) NOT NULL DEFAULT '1',
  `timecreated` bigint(10) DEFAULT '0',
  `timemodified` bigint(10) DEFAULT '0',
  `grade` decimal(10,5) DEFAULT NULL,
  `gradinggrade` decimal(10,5) DEFAULT NULL,
  `gradinggradeover` decimal(10,5) DEFAULT NULL,
  `gradinggradeoverby` bigint(10) DEFAULT NULL,
  `feedbackauthor` longtext,
  `feedbackauthorformat` smallint(3) DEFAULT '0',
  `feedbackauthorattachment` smallint(3) DEFAULT '0',
  `feedbackreviewer` longtext,
  `feedbackreviewerformat` smallint(3) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]workasse_sub_ix` (`submissionid`),
  KEY `[[dbprefix]]workasse_gra_ix` (`gradinggradeoverby`),
  KEY `[[dbprefix]]workasse_rev_ix` (`reviewerid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Info about the made assessment and automatically calculated ' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshop_grades`
--

CREATE TABLE `[[dbprefix]]workshop_grades` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assessmentid` bigint(10) NOT NULL,
  `strategy` varchar(30) NOT NULL DEFAULT '',
  `dimensionid` bigint(10) NOT NULL,
  `grade` decimal(10,5) DEFAULT NULL,
  `peercomment` longtext,
  `peercommentformat` smallint(3) DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `[[dbprefix]]workgrad_assstrdim_uix` (`assessmentid`,`strategy`,`dimensionid`),
  KEY `[[dbprefix]]workgrad_ass_ix` (`assessmentid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='How the reviewers filled-up the grading forms, given grades ' AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]workshop_submissions`
--

CREATE TABLE `[[dbprefix]]workshop_submissions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `workshopid` bigint(10) NOT NULL,
  `example` tinyint(2) DEFAULT '0',
  `authorid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `title` varchar(255) NOT NULL DEFAULT '',
  `content` longtext,
  `contentformat` smallint(3) NOT NULL DEFAULT '0',
  `contenttrust` smallint(3) NOT NULL DEFAULT '0',
  `attachment` tinyint(2) DEFAULT '0',
  `grade` decimal(10,5) DEFAULT NULL,
  `gradeover` decimal(10,5) DEFAULT NULL,
  `gradeoverby` bigint(10) DEFAULT NULL,
  `feedbackauthor` longtext,
  `feedbackauthorformat` smallint(3) DEFAULT '0',
  `timegraded` bigint(10) DEFAULT NULL,
  `published` tinyint(2) DEFAULT '0',
  `late` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `[[dbprefix]]worksubm_wor_ix` (`workshopid`),
  KEY `[[dbprefix]]worksubm_gra_ix` (`gradeoverby`),
  KEY `[[dbprefix]]worksubm_aut_ix` (`authorid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[collate]] [[row_format]] COMMENT='Info about the submission and the aggregation of the grade f' AUTO_INCREMENT=1 ;

