-- Table structure for table `mdl_tiny_autosave`
--

CREATE TABLE `mdl_tiny_autosave` (
  `id` bigint(10) NOT NULL,
  `elementid` varchar(255) NOT NULL DEFAULT '',
  `contextid` bigint(10) NOT NULL,
  `pagehash` varchar(64) NOT NULL DEFAULT '',
  `userid` bigint(10) NOT NULL,
  `drafttext` longtext NOT NULL,
  `draftid` bigint(10) DEFAULT NULL,
  `pageinstance` varchar(64) NOT NULL DEFAULT '',
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The content of the textarea saved during autosave operations' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_tiny_autosave`
--

INSERT INTO `mdl_tiny_autosave` (`id`, `elementid`, `contextid`, `pagehash`, `userid`, `drafttext`, `draftid`, `pageinstance`, `timemodified`) VALUES
(2, 'id_description_editor', 3, 'ca45722c74fbdffc1145fa43421cee199fd012df', 2, '', 77339139, 'd9a7bea32ff98a548cdbae24b376bc09', 1764417798);

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

--
-- Table structure for table `mdl_tool_brickfield_areas`
--

CREATE TABLE `mdl_tool_brickfield_areas` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Areas that have been checked for accessibility problems' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_brickfield_cache_acts`
--

CREATE TABLE `mdl_tool_brickfield_cache_acts` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Contains accessibility summary information per activity.' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_brickfield_cache_check`
--

CREATE TABLE `mdl_tool_brickfield_cache_check` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Contains accessibility summary information per check.' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_brickfield_checks`
--

CREATE TABLE `mdl_tool_brickfield_checks` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Checks details' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_tool_brickfield_checks`
--

INSERT INTO `mdl_tool_brickfield_checks` (`id`, `checktype`, `shortname`, `checkgroup`, `status`, `severity`) 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 `mdl_tool_brickfield_content`
--

CREATE TABLE `mdl_tool_brickfield_content` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Content of an area at a particular time (recognised by a has' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_brickfield_errors`
--

CREATE TABLE `mdl_tool_brickfield_errors` (
  `id` bigint(10) NOT NULL,
  `resultid` bigint(10) NOT NULL,
  `linenumber` bigint(10) NOT NULL DEFAULT 0,
  `errordata` longtext DEFAULT NULL,
  `htmlcode` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Errors during the accessibility checks' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_brickfield_process`
--

CREATE TABLE `mdl_tool_brickfield_process` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Queued records to initiate new processing of specific target' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_brickfield_results`
--

CREATE TABLE `mdl_tool_brickfield_results` (
  `id` bigint(10) NOT NULL,
  `contentid` bigint(10) DEFAULT NULL,
  `checkid` bigint(10) NOT NULL,
  `errorcount` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Results of the accessibility checks' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_brickfield_schedule`
--

CREATE TABLE `mdl_tool_brickfield_schedule` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Keeps the per course content analysis schedule.' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_brickfield_summary`
--

CREATE TABLE `mdl_tool_brickfield_summary` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Contains accessibility check results summary information.' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_cohortroles`
--

CREATE TABLE `mdl_tool_cohortroles` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Mapping of users to cohort role assignments.' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_customlang`
--

CREATE TABLE `mdl_tool_customlang` (
  `id` bigint(10) NOT NULL,
  `lang` varchar(20) NOT NULL DEFAULT '',
  `componentid` bigint(10) NOT NULL,
  `stringid` varchar(255) NOT NULL DEFAULT '',
  `original` longtext NOT NULL,
  `master` longtext DEFAULT NULL,
  `local` longtext DEFAULT NULL,
  `timemodified` bigint(10) NOT NULL,
  `timecustomized` bigint(10) DEFAULT NULL,
  `outdated` smallint(3) DEFAULT 0,
  `modified` smallint(3) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Contains the working checkout of all strings and their custo' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_customlang_components`
--

CREATE TABLE `mdl_tool_customlang_components` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `version` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Contains the list of all installed plugins that provide thei' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_category`
--

CREATE TABLE `mdl_tool_dataprivacy_category` (
  `id` bigint(10) NOT NULL,
  `name` varchar(100) NOT NULL DEFAULT '',
  `description` longtext DEFAULT NULL,
  `descriptionformat` tinyint(1) DEFAULT NULL,
  `usermodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Data categories' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_contextlist`
--

CREATE TABLE `mdl_tool_dataprivacy_contextlist` (
  `id` bigint(10) NOT NULL,
  `component` varchar(255) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of contexts for a component' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_ctxexpired`
--

CREATE TABLE `mdl_tool_dataprivacy_ctxexpired` (
  `id` bigint(10) NOT NULL,
  `contextid` bigint(10) NOT NULL,
  `unexpiredroles` longtext DEFAULT NULL,
  `expiredroles` longtext DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Default comment for the table, please edit me' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_ctxinstance`
--

CREATE TABLE `mdl_tool_dataprivacy_ctxinstance` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Default comment for the table, please edit me' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_ctxlevel`
--

CREATE TABLE `mdl_tool_dataprivacy_ctxlevel` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Default comment for the table, please edit me' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_ctxlst_ctx`
--

CREATE TABLE `mdl_tool_dataprivacy_ctxlst_ctx` (
  `id` bigint(10) NOT NULL,
  `contextid` bigint(10) NOT NULL,
  `contextlistid` bigint(10) NOT NULL,
  `status` tinyint(2) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='A contextlist context item' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_purpose`
--

CREATE TABLE `mdl_tool_dataprivacy_purpose` (
  `id` bigint(10) NOT NULL,
  `name` varchar(100) NOT NULL DEFAULT '',
  `description` longtext DEFAULT NULL,
  `descriptionformat` tinyint(1) DEFAULT NULL,
  `lawfulbases` longtext NOT NULL,
  `sensitivedatareasons` longtext DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Data purposes' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_purposerole`
--

CREATE TABLE `mdl_tool_dataprivacy_purposerole` (
  `id` bigint(10) NOT NULL,
  `purposeid` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL,
  `lawfulbases` longtext DEFAULT NULL,
  `sensitivedatareasons` longtext DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Data purpose overrides for a specific role' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_request`
--

CREATE TABLE `mdl_tool_dataprivacy_request` (
  `id` bigint(10) NOT NULL,
  `type` bigint(10) NOT NULL DEFAULT 0,
  `comments` longtext DEFAULT NULL,
  `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 DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table for data requests' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_dataprivacy_rqst_ctxlst`
--

CREATE TABLE `mdl_tool_dataprivacy_rqst_ctxlst` (
  `id` bigint(10) NOT NULL,
  `requestid` bigint(10) NOT NULL,
  `contextlistid` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Association table joining requests and contextlists' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_mfa`
--

CREATE TABLE `mdl_tool_mfa` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `factor` varchar(100) NOT NULL DEFAULT '',
  `secret` varchar(1333) DEFAULT NULL,
  `label` varchar(1333) DEFAULT NULL,
  `timecreated` bigint(15) DEFAULT NULL,
  `createdfromip` varchar(100) DEFAULT NULL,
  `timemodified` bigint(15) DEFAULT NULL,
  `lastverified` bigint(15) DEFAULT NULL,
  `revoked` tinyint(1) NOT NULL DEFAULT 0,
  `lockcounter` mediumint(5) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to store factor configurations for users' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_mfa_auth`
--

CREATE TABLE `mdl_tool_mfa_auth` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `lastverified` bigint(15) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores the last time a successful MFA auth was registered fo' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_mfa_secrets`
--

CREATE TABLE `mdl_tool_mfa_secrets` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `factor` varchar(100) NOT NULL DEFAULT '',
  `secret` varchar(1333) NOT NULL DEFAULT '',
  `timecreated` bigint(15) NOT NULL,
  `expiry` bigint(15) NOT NULL,
  `revoked` tinyint(1) NOT NULL DEFAULT 0,
  `sessionid` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to store factor secrets' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_monitor_events`
--

CREATE TABLE `mdl_tool_monitor_events` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='A table that keeps a log of events related to subscriptions' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_monitor_history`
--

CREATE TABLE `mdl_tool_monitor_history` (
  `id` bigint(10) NOT NULL,
  `sid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timesent` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to store history of message notifications sent' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_monitor_rules`
--

CREATE TABLE `mdl_tool_monitor_rules` (
  `id` bigint(10) NOT NULL,
  `description` longtext DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to store rules' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_monitor_subscriptions`
--

CREATE TABLE `mdl_tool_monitor_subscriptions` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Table to store user subscriptions to various rules' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_policy`
--

CREATE TABLE `mdl_tool_policy` (
  `id` bigint(10) NOT NULL,
  `sortorder` mediumint(5) NOT NULL DEFAULT 999,
  `currentversionid` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Contains the list of policy documents defined on the site.' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_policy_acceptances`
--

CREATE TABLE `mdl_tool_policy_acceptances` (
  `id` bigint(10) NOT NULL,
  `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 DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Tracks users accepting the policy versions' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_policy_versions`
--

CREATE TABLE `mdl_tool_policy_versions` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Holds versions of the policy documents' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_recyclebin_category`
--

CREATE TABLE `mdl_tool_recyclebin_category` (
  `id` bigint(10) NOT NULL,
  `categoryid` bigint(10) NOT NULL,
  `shortname` varchar(255) NOT NULL DEFAULT '',
  `fullname` varchar(255) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='A list of items in the category recycle bin' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_recyclebin_course`
--

CREATE TABLE `mdl_tool_recyclebin_course` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='A list of items in the course recycle bin' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_tool_usertours_steps`
--

CREATE TABLE `mdl_tool_usertours_steps` (
  `id` bigint(10) NOT NULL,
  `tourid` bigint(10) NOT NULL,
  `title` longtext DEFAULT NULL,
  `content` longtext DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Steps in an tour' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_tool_usertours_steps`
--

INSERT INTO `mdl_tool_usertours_steps` (`id`, `tourid`, `title`, `content`, `contentformat`, `targettype`, `targetvalue`, `sortorder`, `configdata`) VALUES
(1, 1, 'tour_gradebook_search_title,tool_usertours', 'tour_gradebook_search_content,tool_usertours', 1, 0, '.tertiary-navigation .user-search', 0, '{}'),
(2, 1, 'tour_gradebook_filter_title,tool_usertours', 'tour_gradebook_filter_content,tool_usertours', 1, 0, '.tertiary-navigation .initials-selector', 1, '{}'),
(3, 1, 'tour_gradebook_action_title,tool_usertours', 'tour_gradebook_action_content,tool_usertours', 1, 0, 'tr.heading th.highlightable .action-menu.grader', 2, '{}'),
(4, 2, 'tour_navigation_course_index_student_title,tool_usertours', 'tour_navigation_course_index_student_content,tool_usertours', 1, 0, '#theme_boost-drawers-courseindex .drawercontent', 0, '{}'),
(5, 3, 'tour_navigation_course_edit_teacher_title,tool_usertours', 'tour_navigation_course_edit_teacher_content,tool_usertours', 1, 0, 'form.editmode-switch-form', 0, '{}'),
(6, 3, '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\"}'),
(7, 3, '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\"}'),
(8, 4, 'tour_navigation_mycourses_title,tool_usertours', 'tour_navigation_mycourses_content,tool_usertours', 1, 0, '.header-actions-container .btn-group.course-manage', 0, '{}'),
(9, 5, '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 `mdl_tool_usertours_tours`
--

CREATE TABLE `mdl_tool_usertours_tours` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `description` longtext DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='List of tours' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_tool_usertours_tours`
--

INSERT INTO `mdl_tool_usertours_tours` (`id`, `name`, `description`, `pathmatch`, `enabled`, `sortorder`, `endtourlabel`, `configdata`, `displaystepnumbers`) VALUES
(1, 'tour_gradebook_tour_name,tool_usertours', 'tour_gradebook_tour_description,tool_usertours', '/grade/report/grader/index.php%', 1, 4, '', '{\"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\":[],\"cssselector\":[]},\"majorupdatetime\":1683276000,\"shipped_tour\":true,\"shipped_filename\":\"42_tour_gradebook_grader_report.json\",\"shipped_version\":1}', 1),
(2, '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),
(3, '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),
(4, '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\":5}', 1),
(5, '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 `mdl_upgrade_log`
--

CREATE TABLE `mdl_upgrade_log` (
  `id` bigint(10) NOT NULL,
  `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 DEFAULT NULL,
  `backtrace` longtext DEFAULT NULL,
  `userid` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Upgrade logging' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_upgrade_log`
--

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

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

--
-- Table structure for table `mdl_url`
--

CREATE TABLE `mdl_url` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext DEFAULT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT 0,
  `externalurl` longtext NOT NULL,
  `display` smallint(4) NOT NULL DEFAULT 0,
  `displayoptions` longtext DEFAULT NULL,
  `parameters` longtext DEFAULT NULL,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='each record is one url resource' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user`
--

CREATE TABLE `mdl_user` (
  `id` bigint(10) NOT NULL,
  `auth` varchar(20) NOT NULL DEFAULT 'manual',
  `confirmed` tinyint(1) NOT NULL DEFAULT 0,
  `policyagreed` tinyint(1) NOT NULL DEFAULT 0,
  `deleted` tinyint(1) NOT NULL DEFAULT 0,
  `suspended` tinyint(1) NOT NULL DEFAULT 0,
  `mnethostid` bigint(10) NOT NULL DEFAULT 0,
  `username` varchar(100) NOT NULL DEFAULT '',
  `password` varchar(255) NOT NULL DEFAULT '',
  `idnumber` varchar(255) NOT NULL DEFAULT '',
  `firstname` varchar(100) NOT NULL DEFAULT '',
  `lastname` varchar(100) NOT NULL DEFAULT '',
  `email` varchar(100) NOT NULL DEFAULT '',
  `emailstop` tinyint(1) NOT NULL DEFAULT 0,
  `phone1` varchar(20) NOT NULL DEFAULT '',
  `phone2` varchar(20) NOT NULL DEFAULT '',
  `institution` varchar(255) NOT NULL DEFAULT '',
  `department` varchar(255) NOT NULL DEFAULT '',
  `address` varchar(255) NOT NULL DEFAULT '',
  `city` varchar(120) NOT NULL DEFAULT '',
  `country` varchar(2) NOT NULL DEFAULT '',
  `lang` varchar(30) NOT NULL DEFAULT 'en',
  `calendartype` varchar(30) NOT NULL DEFAULT 'gregorian',
  `theme` varchar(50) NOT NULL DEFAULT '',
  `timezone` varchar(100) NOT NULL DEFAULT '99',
  `firstaccess` bigint(10) NOT NULL DEFAULT 0,
  `lastaccess` bigint(10) NOT NULL DEFAULT 0,
  `lastlogin` bigint(10) NOT NULL DEFAULT 0,
  `currentlogin` bigint(10) NOT NULL DEFAULT 0,
  `lastip` varchar(45) NOT NULL DEFAULT '',
  `secret` varchar(15) NOT NULL DEFAULT '',
  `picture` bigint(10) NOT NULL DEFAULT 0,
  `description` longtext DEFAULT NULL,
  `descriptionformat` tinyint(2) NOT NULL DEFAULT 1,
  `mailformat` tinyint(1) NOT NULL DEFAULT 1,
  `maildigest` tinyint(1) NOT NULL DEFAULT 0,
  `maildisplay` tinyint(2) NOT NULL DEFAULT 2,
  `autosubscribe` tinyint(1) NOT NULL DEFAULT 1,
  `trackforums` tinyint(1) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `trustbitmask` bigint(10) NOT NULL DEFAULT 0,
  `imagealt` varchar(255) DEFAULT NULL,
  `lastnamephonetic` varchar(255) DEFAULT NULL,
  `firstnamephonetic` varchar(255) DEFAULT NULL,
  `middlename` varchar(255) DEFAULT NULL,
  `alternatename` varchar(255) DEFAULT NULL,
  `moodlenetprofile` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='One record for each person' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_user`
--

INSERT INTO `mdl_user` (`id`, `auth`, `confirmed`, `policyagreed`, `deleted`, `suspended`, `mnethostid`, `username`, `password`, `idnumber`, `firstname`, `lastname`, `email`, `emailstop`, `phone1`, `phone2`, `institution`, `department`, `address`, `city`, `country`, `lang`, `calendartype`, `theme`, `timezone`, `firstaccess`, `lastaccess`, `lastlogin`, `currentlogin`, `lastip`, `secret`, `picture`, `description`, `descriptionformat`, `mailformat`, `maildigest`, `maildisplay`, `autosubscribe`, `trackforums`, `timecreated`, `timemodified`, `trustbitmask`, `imagealt`, `lastnamephonetic`, `firstnamephonetic`, `middlename`, `alternatename`, `moodlenetprofile`) VALUES
(1, 'manual', 1, 0, 0, 0, 1, 'guest', '$6$rounds=10000$YaxIa5WttxyRitLa$ZJH/yqJNdGMuzqL4B1T02RPZGGe8tUsfRXk97UauNmXnqBHEGgGgme4zH2z13Jiby6nemGVU2i0O2zDcQ8dr2/', '', 'Guest user', ' ', 'root@localhost', 0, '', '', '', '', '', '', '', 'en', 'gregorian', '', '99', 0, 0, 0, 0, '', '', 0, 'This user is a special user that allows read-only access to some courses.', 1, 1, 0, 2, 1, 0, 0, 1764416548, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'manual', 1, 0, 0, 0, 1, 'admin', '$6$rounds=10000$WnogA1t2bPwv54RN$pwJcKfwDMog3kwoyViTRGmJ6UWJyHC/Y3j7jjTHFYfdzl3g1vK8YEOnmsFURYbccStRghgtEvz56GrRwtDS551', '', 'Admin', 'Matsinhe', 'paulinojulio16@gmail.com', 0, '', '', '', '', '', '', '', 'pt', 'gregorian', '', '99', 1764416717, 1764419938, 1764416717, 1764417746, '0:0:0:0:0:0:0:1', '', 0, '', 1, 1, 0, 1, 1, 0, 0, 1764419776, 0, NULL, '', '', '', '', NULL);

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

--
-- Table structure for table `mdl_user_devices`
--

CREATE TABLE `mdl_user_devices` (
  `id` bigint(10) NOT NULL,
  `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 '',
  `publickey` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table stores user''s mobile devices information in order' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user_enrolments`
--

CREATE TABLE `mdl_user_enrolments` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Users participating in courses (aka enrolled users) - everyb' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user_info_category`
--

CREATE TABLE `mdl_user_info_category` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `sortorder` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Customisable fields categories' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user_info_data`
--

CREATE TABLE `mdl_user_info_data` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Data for the customisable user fields' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user_info_field`
--

CREATE TABLE `mdl_user_info_field` (
  `id` bigint(10) NOT NULL,
  `shortname` varchar(255) NOT NULL DEFAULT 'shortname',
  `name` longtext NOT NULL,
  `datatype` varchar(255) NOT NULL DEFAULT '',
  `description` longtext DEFAULT NULL,
  `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 DEFAULT NULL,
  `defaultdataformat` tinyint(2) NOT NULL DEFAULT 0,
  `param1` longtext DEFAULT NULL,
  `param2` longtext DEFAULT NULL,
  `param3` longtext DEFAULT NULL,
  `param4` longtext DEFAULT NULL,
  `param5` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Customisable user profile fields' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user_lastaccess`
--

CREATE TABLE `mdl_user_lastaccess` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `timeaccess` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='To keep track of course page access times, used in online pa' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user_password_history`
--

CREATE TABLE `mdl_user_password_history` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `hash` varchar(255) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='A rotating log of hashes of previously used passwords for ea' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user_password_resets`
--

CREATE TABLE `mdl_user_password_resets` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timerequested` bigint(10) NOT NULL,
  `timererequested` bigint(10) NOT NULL DEFAULT 0,
  `token` varchar(32) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='table tracking password reset confirmation tokens' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_user_preferences`
--

CREATE TABLE `mdl_user_preferences` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` varchar(1333) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Allows modules to store arbitrary user preferences' ROW_FORMAT=COMPRESSED;

--
-- Dumping data for table `mdl_user_preferences`
--

INSERT INTO `mdl_user_preferences` (`id`, `userid`, `name`, `value`) VALUES
(1, 2, 'core_message_migrate_data', '1'),
(2, 2, 'auth_manual_passwordupdatetime', '1764416858'),
(3, 2, 'email_bounce_count', '1'),
(4, 2, 'email_send_count', '1'),
(5, 2, 'core_user_welcome', '1764417149'),
(6, 2, 'login_failed_count_since_success', '0'),
(7, 2, 'tool_usertours_tour_completion_time_5', '1764417194'),
(8, 2, 'drawer-open-block', '0'),
(9, 2, 'tool_usertours_tour_reset_time_4', '1764420404'),
(10, 2, 'tool_usertours_tour_completion_time_4', '1764420405');

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

--
-- Table structure for table `mdl_user_private_key`
--

CREATE TABLE `mdl_user_private_key` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='access keys used in cookieless scripts - rss, etc.' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_wiki`
--

CREATE TABLE `mdl_wiki` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT 'Wiki',
  `intro` longtext DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores Wiki activity configuration' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_wiki_links`
--

CREATE TABLE `mdl_wiki_links` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Page wiki links' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_wiki_locks`
--

CREATE TABLE `mdl_wiki_locks` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Manages page locks' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_wiki_pages`
--

CREATE TABLE `mdl_wiki_pages` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores wiki pages' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_wiki_subwikis`
--

CREATE TABLE `mdl_wiki_subwikis` (
  `id` bigint(10) NOT NULL,
  `wikiid` bigint(10) NOT NULL DEFAULT 0,
  `groupid` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores subwiki instances' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_wiki_synonyms`
--

CREATE TABLE `mdl_wiki_synonyms` (
  `id` bigint(10) NOT NULL,
  `subwikiid` bigint(10) NOT NULL DEFAULT 0,
  `pageid` bigint(10) NOT NULL DEFAULT 0,
  `pagesynonym` varchar(255) NOT NULL DEFAULT 'Pagesynonym'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores wiki pages synonyms' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_wiki_versions`
--

CREATE TABLE `mdl_wiki_versions` (
  `id` bigint(10) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores wiki page history' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshop`
--

CREATE TABLE `mdl_workshop` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext DEFAULT NULL,
  `introformat` smallint(3) NOT NULL DEFAULT 0,
  `instructauthors` longtext DEFAULT NULL,
  `instructauthorsformat` smallint(3) NOT NULL DEFAULT 0,
  `instructreviewers` longtext DEFAULT NULL,
  `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 DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This table keeps information about the module instances and ' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopallocation_scheduled`
--

CREATE TABLE `mdl_workshopallocation_scheduled` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `enabled` tinyint(2) NOT NULL DEFAULT 0,
  `submissionend` bigint(10) NOT NULL,
  `timeallocated` bigint(10) DEFAULT NULL,
  `settings` longtext DEFAULT NULL,
  `resultstatus` bigint(10) DEFAULT NULL,
  `resultmessage` varchar(1333) DEFAULT NULL,
  `resultlog` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Stores the allocation settings for the scheduled allocator' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopeval_best_settings`
--

CREATE TABLE `mdl_workshopeval_best_settings` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `comparison` smallint(3) DEFAULT 5
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Settings for the grading evaluation subplugin Comparison wit' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopform_accumulative`
--

CREATE TABLE `mdl_workshopform_accumulative` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `sort` bigint(10) DEFAULT 0,
  `description` longtext DEFAULT NULL,
  `descriptionformat` smallint(3) DEFAULT 0,
  `grade` bigint(10) NOT NULL,
  `weight` mediumint(5) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The assessment dimensions definitions of Accumulative gradin' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopform_comments`
--

CREATE TABLE `mdl_workshopform_comments` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `sort` bigint(10) DEFAULT 0,
  `description` longtext DEFAULT NULL,
  `descriptionformat` smallint(3) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The assessment dimensions definitions of Comments strategy f' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopform_numerrors`
--

CREATE TABLE `mdl_workshopform_numerrors` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `sort` bigint(10) DEFAULT 0,
  `description` longtext DEFAULT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The assessment dimensions definitions of Number of errors gr' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopform_numerrors_map`
--

CREATE TABLE `mdl_workshopform_numerrors_map` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `nonegative` bigint(10) NOT NULL,
  `grade` decimal(10,5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='This maps the number of errors to a percentual grade for sub' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopform_rubric`
--

CREATE TABLE `mdl_workshopform_rubric` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `sort` bigint(10) DEFAULT 0,
  `description` longtext DEFAULT NULL,
  `descriptionformat` smallint(3) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The assessment dimensions definitions of Rubric grading stra' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopform_rubric_config`
--

CREATE TABLE `mdl_workshopform_rubric_config` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `layout` varchar(30) DEFAULT 'list'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Configuration table for the Rubric grading strategy' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshopform_rubric_levels`
--

CREATE TABLE `mdl_workshopform_rubric_levels` (
  `id` bigint(10) NOT NULL,
  `dimensionid` bigint(10) NOT NULL,
  `grade` decimal(10,5) NOT NULL,
  `definition` longtext DEFAULT NULL,
  `definitionformat` smallint(3) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The definition of rubric rating scales' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshop_aggregations`
--

CREATE TABLE `mdl_workshop_aggregations` (
  `id` bigint(10) NOT NULL,
  `workshopid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `gradinggrade` decimal(10,5) DEFAULT NULL,
  `timegraded` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Aggregated grades for assessment are stored here. The aggreg' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshop_assessments`
--

CREATE TABLE `mdl_workshop_assessments` (
  `id` bigint(10) NOT NULL,
  `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 DEFAULT NULL,
  `feedbackauthorformat` smallint(3) DEFAULT 0,
  `feedbackauthorattachment` smallint(3) DEFAULT 0,
  `feedbackreviewer` longtext DEFAULT NULL,
  `feedbackreviewerformat` smallint(3) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Info about the made assessment and automatically calculated ' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshop_grades`
--

CREATE TABLE `mdl_workshop_grades` (
  `id` bigint(10) NOT NULL,
  `assessmentid` bigint(10) NOT NULL,
  `strategy` varchar(30) NOT NULL DEFAULT '',
  `dimensionid` bigint(10) NOT NULL,
  `grade` decimal(10,5) DEFAULT NULL,
  `peercomment` longtext DEFAULT NULL,
  `peercommentformat` smallint(3) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='How the reviewers filled-up the grading forms, given grades ' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_workshop_submissions`
--

CREATE TABLE `mdl_workshop_submissions` (
  `id` bigint(10) NOT NULL,
  `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 DEFAULT NULL,
  `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 DEFAULT NULL,
  `feedbackauthorformat` smallint(3) DEFAULT 0,
  `timegraded` bigint(10) DEFAULT NULL,
  `published` tinyint(2) DEFAULT 0,
  `late` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Info about the submission and the aggregation of the grade f' ROW_FORMAT=COMPRESSED;

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

--
-- Table structure for table `mdl_xapi_states`
--

CREATE TABLE `mdl_xapi_states` (
  `id` bigint(10) NOT NULL,
  `component` varchar(255) NOT NULL DEFAULT '',
  `userid` bigint(10) DEFAULT NULL,
  `itemid` bigint(10) NOT NULL,
  `stateid` varchar(255) NOT NULL DEFAULT '',
  `statedata` longtext DEFAULT NULL,
  `registration` varchar(255) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='The stored xAPI states' ROW_FORMAT=COMPRESSED;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `mdl_adminpresets`
--
ALTER TABLE `mdl_adminpresets`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_adminpresets_app`
--
ALTER TABLE `mdl_adminpresets_app`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_admiapp_adm_ix` (`adminpresetid`);

--
-- Indexes for table `mdl_adminpresets_app_it`
--
ALTER TABLE `mdl_adminpresets_app_it`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_admiappit_con_ix` (`configlogid`),
  ADD KEY `mdl_admiappit_adm_ix` (`adminpresetapplyid`);

--
-- Indexes for table `mdl_adminpresets_app_it_a`
--
ALTER TABLE `mdl_adminpresets_app_it_a`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_admiappita_con_ix` (`configlogid`),
  ADD KEY `mdl_admiappita_adm_ix` (`adminpresetapplyid`);

--
-- Indexes for table `mdl_adminpresets_app_plug`
--
ALTER TABLE `mdl_adminpresets_app_plug`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_admiappplug_adm_ix` (`adminpresetapplyid`);

--
-- Indexes for table `mdl_adminpresets_it`
--
ALTER TABLE `mdl_adminpresets_it`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_admiit_adm_ix` (`adminpresetid`);

--
-- Indexes for table `mdl_adminpresets_it_a`
--
ALTER TABLE `mdl_adminpresets_it_a`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_admiita_ite_ix` (`itemid`);

--
-- Indexes for table `mdl_adminpresets_plug`
--
ALTER TABLE `mdl_adminpresets_plug`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_admiplug_adm_ix` (`adminpresetid`);

--
-- Indexes for table `mdl_analytics_indicator_calc`
--
ALTER TABLE `mdl_analytics_indicator_calc`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analindicalc_staendcon_ix` (`starttime`,`endtime`,`contextid`),
  ADD KEY `mdl_analindicalc_con_ix` (`contextid`);

--
-- Indexes for table `mdl_analytics_models`
--
ALTER TABLE `mdl_analytics_models`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analmode_enatra_ix` (`enabled`,`trained`),
  ADD KEY `mdl_analmode_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_analytics_models_log`
--
ALTER TABLE `mdl_analytics_models_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analmodelog_mod_ix` (`modelid`),
  ADD KEY `mdl_analmodelog_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_analytics_predictions`
--
ALTER TABLE `mdl_analytics_predictions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analpred_modcon_ix` (`modelid`,`contextid`),
  ADD KEY `mdl_analpred_mod_ix` (`modelid`),
  ADD KEY `mdl_analpred_con_ix` (`contextid`);

--
-- Indexes for table `mdl_analytics_prediction_actions`
--
ALTER TABLE `mdl_analytics_prediction_actions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analpredacti_preuseact_ix` (`predictionid`,`userid`,`actionname`),
  ADD KEY `mdl_analpredacti_pre_ix` (`predictionid`),
  ADD KEY `mdl_analpredacti_use_ix` (`userid`);

--
-- Indexes for table `mdl_analytics_predict_samples`
--
ALTER TABLE `mdl_analytics_predict_samples`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analpredsamp_modanatimr_ix` (`modelid`,`analysableid`,`timesplitting`,`rangeindex`),
  ADD KEY `mdl_analpredsamp_mod_ix` (`modelid`);

--
-- Indexes for table `mdl_analytics_train_samples`
--
ALTER TABLE `mdl_analytics_train_samples`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analtraisamp_modanatim_ix` (`modelid`,`analysableid`,`timesplitting`),
  ADD KEY `mdl_analtraisamp_mod_ix` (`modelid`);

--
-- Indexes for table `mdl_analytics_used_analysables`
--
ALTER TABLE `mdl_analytics_used_analysables`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analusedanal_modact_ix` (`modelid`,`action`),
  ADD KEY `mdl_analusedanal_ana_ix` (`analysableid`),
  ADD KEY `mdl_analusedanal_mod_ix` (`modelid`);

--
-- Indexes for table `mdl_analytics_used_files`
--
ALTER TABLE `mdl_analytics_used_files`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_analusedfile_modactfil_ix` (`modelid`,`action`,`fileid`),
  ADD KEY `mdl_analusedfile_mod_ix` (`modelid`),
  ADD KEY `mdl_analusedfile_fil_ix` (`fileid`);

--
-- Indexes for table `mdl_assign`
--
ALTER TABLE `mdl_assign`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assi_cou_ix` (`course`),
  ADD KEY `mdl_assi_tea_ix` (`teamsubmissiongroupingid`);

--
-- Indexes for table `mdl_assignfeedback_comments`
--
ALTER TABLE `mdl_assignfeedback_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assicomm_ass_ix` (`assignment`),
  ADD KEY `mdl_assicomm_gra_ix` (`grade`);

--
-- Indexes for table `mdl_assignfeedback_editpdf_annot`
--
ALTER TABLE `mdl_assignfeedback_editpdf_annot`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assieditanno_grapag_ix` (`gradeid`,`pageno`),
  ADD KEY `mdl_assieditanno_gra_ix` (`gradeid`);

--
-- Indexes for table `mdl_assignfeedback_editpdf_cmnt`
--
ALTER TABLE `mdl_assignfeedback_editpdf_cmnt`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assieditcmnt_grapag_ix` (`gradeid`,`pageno`),
  ADD KEY `mdl_assieditcmnt_gra_ix` (`gradeid`);

--
-- Indexes for table `mdl_assignfeedback_editpdf_quick`
--
ALTER TABLE `mdl_assignfeedback_editpdf_quick`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assieditquic_use_ix` (`userid`);

--
-- Indexes for table `mdl_assignfeedback_editpdf_rot`
--
ALTER TABLE `mdl_assignfeedback_editpdf_rot`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_assieditrot_grapag_uix` (`gradeid`,`pageno`),
  ADD KEY `mdl_assieditrot_gra_ix` (`gradeid`);

--
-- Indexes for table `mdl_assignfeedback_file`
--
ALTER TABLE `mdl_assignfeedback_file`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assifile_ass2_ix` (`assignment`),
  ADD KEY `mdl_assifile_gra_ix` (`grade`);

--
-- Indexes for table `mdl_assignsubmission_file`
--
ALTER TABLE `mdl_assignsubmission_file`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assifile_ass_ix` (`assignment`),
  ADD KEY `mdl_assifile_sub_ix` (`submission`);

--
-- Indexes for table `mdl_assignsubmission_onlinetext`
--
ALTER TABLE `mdl_assignsubmission_onlinetext`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assionli_ass_ix` (`assignment`),
  ADD KEY `mdl_assionli_sub_ix` (`submission`);

--
-- Indexes for table `mdl_assign_grades`
--
ALTER TABLE `mdl_assign_grades`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_assigrad_assuseatt_uix` (`assignment`,`userid`,`attemptnumber`),
  ADD KEY `mdl_assigrad_use_ix` (`userid`),
  ADD KEY `mdl_assigrad_att_ix` (`attemptnumber`),
  ADD KEY `mdl_assigrad_ass_ix` (`assignment`);

--
-- Indexes for table `mdl_assign_overrides`
--
ALTER TABLE `mdl_assign_overrides`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assiover_ass_ix` (`assignid`),
  ADD KEY `mdl_assiover_gro_ix` (`groupid`),
  ADD KEY `mdl_assiover_use_ix` (`userid`);

--
-- Indexes for table `mdl_assign_plugin_config`
--
ALTER TABLE `mdl_assign_plugin_config`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assiplugconf_plu_ix` (`plugin`),
  ADD KEY `mdl_assiplugconf_sub_ix` (`subtype`),
  ADD KEY `mdl_assiplugconf_nam_ix` (`name`),
  ADD KEY `mdl_assiplugconf_ass_ix` (`assignment`);

--
-- Indexes for table `mdl_assign_submission`
--
ALTER TABLE `mdl_assign_submission`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_assisubm_assusegroatt_uix` (`assignment`,`userid`,`groupid`,`attemptnumber`),
  ADD KEY `mdl_assisubm_use_ix` (`userid`),
  ADD KEY `mdl_assisubm_att_ix` (`attemptnumber`),
  ADD KEY `mdl_assisubm_assusegrolat_ix` (`assignment`,`userid`,`groupid`,`latest`),
  ADD KEY `mdl_assisubm_ass_ix` (`assignment`);

--
-- Indexes for table `mdl_assign_user_flags`
--
ALTER TABLE `mdl_assign_user_flags`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assiuserflag_mai_ix` (`mailed`),
  ADD KEY `mdl_assiuserflag_use_ix` (`userid`),
  ADD KEY `mdl_assiuserflag_ass_ix` (`assignment`);

--
-- Indexes for table `mdl_assign_user_mapping`
--
ALTER TABLE `mdl_assign_user_mapping`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_assiusermapp_ass_ix` (`assignment`),
  ADD KEY `mdl_assiusermapp_use_ix` (`userid`);

--
-- Indexes for table `mdl_auth_lti_linked_login`
--
ALTER TABLE `mdl_auth_lti_linked_login`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_authltilinklogi_useiss_uix` (`userid`,`issuer256`,`sub256`),
  ADD KEY `mdl_authltilinklogi_use_ix` (`userid`);

--
-- Indexes for table `mdl_auth_oauth2_linked_login`
--
ALTER TABLE `mdl_auth_oauth2_linked_login`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_authoautlinklogi_useis_uix` (`userid`,`issuerid`,`username`),
  ADD KEY `mdl_authoautlinklogi_issuse_ix` (`issuerid`,`username`),
  ADD KEY `mdl_authoautlinklogi_use_ix` (`usermodified`),
  ADD KEY `mdl_authoautlinklogi_use2_ix` (`userid`),
  ADD KEY `mdl_authoautlinklogi_iss_ix` (`issuerid`);

--
-- Indexes for table `mdl_backup_controllers`
--
ALTER TABLE `mdl_backup_controllers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_backcont_bac_uix` (`backupid`),
  ADD KEY `mdl_backcont_typite_ix` (`type`,`itemid`),
  ADD KEY `mdl_backcont_useite_ix` (`userid`,`itemid`),
  ADD KEY `mdl_backcont_use_ix` (`userid`);

--
-- Indexes for table `mdl_backup_courses`
--
ALTER TABLE `mdl_backup_courses`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_backcour_cou_uix` (`courseid`);

--
-- Indexes for table `mdl_backup_logs`
--
ALTER TABLE `mdl_backup_logs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_backlogs_bacid_uix` (`backupid`,`id`),
  ADD KEY `mdl_backlogs_bac_ix` (`backupid`);

--
-- Indexes for table `mdl_badge`
--
ALTER TABLE `mdl_badge`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_badg_typ_ix` (`type`),
  ADD KEY `mdl_badg_cou_ix` (`courseid`),
  ADD KEY `mdl_badg_use_ix` (`usermodified`),
  ADD KEY `mdl_badg_use2_ix` (`usercreated`);

--
-- Indexes for table `mdl_badge_alignment`
--
ALTER TABLE `mdl_badge_alignment`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_badgalig_bad_ix` (`badgeid`);

--
-- Indexes for table `mdl_badge_backpack`
--
ALTER TABLE `mdl_badge_backpack`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_badgback_useext_uix` (`userid`,`externalbackpackid`),
  ADD KEY `mdl_badgback_use_ix` (`userid`),
  ADD KEY `mdl_badgback_ext_ix` (`externalbackpackid`);

--
-- Indexes for table `mdl_badge_backpack_oauth2`
--
ALTER TABLE `mdl_badge_backpack_oauth2`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_badgbackoaut_use_ix` (`usermodified`),
  ADD KEY `mdl_badgbackoaut_use2_ix` (`userid`),
  ADD KEY `mdl_badgbackoaut_iss_ix` (`issuerid`),
  ADD KEY `mdl_badgbackoaut_ext_ix` (`externalbackpackid`);

--
-- Indexes for table `mdl_badge_criteria`
--
ALTER TABLE `mdl_badge_criteria`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_badgcrit_badcri_uix` (`badgeid`,`criteriatype`),
  ADD KEY `mdl_badgcrit_cri_ix` (`criteriatype`),
  ADD KEY `mdl_badgcrit_bad_ix` (`badgeid`);

--
-- Indexes for table `mdl_badge_criteria_met`
--
ALTER TABLE `mdl_badge_criteria_met`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_badgcritmet_cri_ix` (`critid`),
  ADD KEY `mdl_badgcritmet_use_ix` (`userid`),
  ADD KEY `mdl_badgcritmet_iss_ix` (`issuedid`);

--
-- Indexes for table `mdl_badge_criteria_param`
--
ALTER TABLE `mdl_badge_criteria_param`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_badgcritpara_cri_ix` (`critid`);

--
-- Indexes for table `mdl_badge_endorsement`
--
ALTER TABLE `mdl_badge_endorsement`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_badgendo_bad_ix` (`badgeid`);

--
-- Indexes for table `mdl_badge_external`
--
ALTER TABLE `mdl_badge_external`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_badgexte_bac_ix` (`backpackid`);

--
-- Indexes for table `mdl_badge_external_backpack`
--
ALTER TABLE `mdl_badge_external_backpack`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_badgexteback_bac_uix` (`backpackapiurl`),
  ADD UNIQUE KEY `mdl_badgexteback_bac2_uix` (`backpackweburl`),
  ADD KEY `mdl_badgexteback_oau_ix` (`oauth2_issuerid`);

--
-- Indexes for table `mdl_badge_external_identifier`
--
ALTER TABLE `mdl_badge_external_identifier`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_badgexteiden_sitintext_uix` (`sitebackpackid`,`internalid`,`externalid`,`type`),
  ADD KEY `mdl_badgexteiden_sit_ix` (`sitebackpackid`);

--
-- Indexes for table `mdl_badge_issued`
--
ALTER TABLE `mdl_badge_issued`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_badgissu_baduse_uix` (`badgeid`,`userid`),
  ADD KEY `mdl_badgissu_bad_ix` (`badgeid`),
  ADD KEY `mdl_badgissu_use_ix` (`userid`);

--
-- Indexes for table `mdl_badge_manual_award`
--
ALTER TABLE `mdl_badge_manual_award`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_badgmanuawar_bad_ix` (`badgeid`),
  ADD KEY `mdl_badgmanuawar_rec_ix` (`recipientid`),
  ADD KEY `mdl_badgmanuawar_iss_ix` (`issuerid`),
  ADD KEY `mdl_badgmanuawar_iss2_ix` (`issuerrole`);

--
-- Indexes for table `mdl_badge_related`
--
ALTER TABLE `mdl_badge_related`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_badgrela_badrel_uix` (`badgeid`,`relatedbadgeid`),
  ADD KEY `mdl_badgrela_bad_ix` (`badgeid`),
  ADD KEY `mdl_badgrela_rel_ix` (`relatedbadgeid`);

--
-- Indexes for table `mdl_bigbluebuttonbn`
--
ALTER TABLE `mdl_bigbluebuttonbn`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_bigbluebuttonbn_logs`
--
ALTER TABLE `mdl_bigbluebuttonbn_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_bigblogs_cou_ix` (`courseid`),
  ADD KEY `mdl_bigblogs_log_ix` (`log`),
  ADD KEY `mdl_bigblogs_coubiguselog_ix` (`courseid`,`bigbluebuttonbnid`,`userid`,`log`),
  ADD KEY `mdl_bigblogs_uselog_ix` (`userid`,`log`),
  ADD KEY `mdl_bigblogs_coubig_ix` (`courseid`,`bigbluebuttonbnid`);

--
-- Indexes for table `mdl_bigbluebuttonbn_recordings`
--
ALTER TABLE `mdl_bigbluebuttonbn_recordings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_bigbreco_cou_ix` (`courseid`),
  ADD KEY `mdl_bigbreco_rec_ix` (`recordingid`),
  ADD KEY `mdl_bigbreco_big_ix` (`bigbluebuttonbnid`),
  ADD KEY `mdl_bigbreco_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_block`
--
ALTER TABLE `mdl_block`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_bloc_nam_uix` (`name`);

--
-- Indexes for table `mdl_block_instances`
--
ALTER TABLE `mdl_block_instances`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_blocinst_parshopagsub_ix` (`parentcontextid`,`showinsubcontexts`,`pagetypepattern`,`subpagepattern`),
  ADD KEY `mdl_blocinst_tim_ix` (`timemodified`),
  ADD KEY `mdl_blocinst_blo_ix` (`blockname`),
  ADD KEY `mdl_blocinst_par_ix` (`parentcontextid`);

--
-- Indexes for table `mdl_block_positions`
--
ALTER TABLE `mdl_block_positions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_blocposi_bloconpagsub_uix` (`blockinstanceid`,`contextid`,`pagetype`,`subpage`),
  ADD KEY `mdl_blocposi_blo_ix` (`blockinstanceid`),
  ADD KEY `mdl_blocposi_con_ix` (`contextid`);

--
-- Indexes for table `mdl_block_recentlyaccesseditems`
--
ALTER TABLE `mdl_block_recentlyaccesseditems`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_blocrece_usecoucmi_uix` (`userid`,`courseid`,`cmid`),
  ADD KEY `mdl_blocrece_use_ix` (`userid`),
  ADD KEY `mdl_blocrece_cou_ix` (`courseid`),
  ADD KEY `mdl_blocrece_cmi_ix` (`cmid`);

--
-- Indexes for table `mdl_block_recent_activity`
--
ALTER TABLE `mdl_block_recent_activity`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_blocreceacti_coutim_ix` (`courseid`,`timecreated`);

--
-- Indexes for table `mdl_block_rss_client`
--
ALTER TABLE `mdl_block_rss_client`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_blog_association`
--
ALTER TABLE `mdl_blog_association`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_blogasso_con_ix` (`contextid`),
  ADD KEY `mdl_blogasso_blo_ix` (`blogid`);

--
-- Indexes for table `mdl_blog_external`
--
ALTER TABLE `mdl_blog_external`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_blogexte_use_ix` (`userid`);

--
-- Indexes for table `mdl_book`
--
ALTER TABLE `mdl_book`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_book_cou_ix` (`course`);

--
-- Indexes for table `mdl_book_chapters`
--
ALTER TABLE `mdl_book_chapters`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_bookchap_boo_ix` (`bookid`);

--
-- Indexes for table `mdl_cache_filters`
--
ALTER TABLE `mdl_cache_filters`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_cachfilt_filmd5_ix` (`filter`,`md5key`);

--
-- Indexes for table `mdl_cache_flags`
--
ALTER TABLE `mdl_cache_flags`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_cachflag_fla_ix` (`flagtype`),
  ADD KEY `mdl_cachflag_nam_ix` (`name`);

--
-- Indexes for table `mdl_capabilities`
--
ALTER TABLE `mdl_capabilities`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_capa_nam_uix` (`name`);

--
-- Indexes for table `mdl_chat`
--
ALTER TABLE `mdl_chat`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_chat_cou_ix` (`course`);

--
-- Indexes for table `mdl_chat_messages`
--
ALTER TABLE `mdl_chat_messages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_chatmess_use_ix` (`userid`),
  ADD KEY `mdl_chatmess_gro_ix` (`groupid`),
  ADD KEY `mdl_chatmess_timcha_ix` (`timestamp`,`chatid`),
  ADD KEY `mdl_chatmess_cha_ix` (`chatid`);

--
-- Indexes for table `mdl_chat_messages_current`
--
ALTER TABLE `mdl_chat_messages_current`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_chatmesscurr_use_ix` (`userid`),
  ADD KEY `mdl_chatmesscurr_gro_ix` (`groupid`),
  ADD KEY `mdl_chatmesscurr_timcha_ix` (`timestamp`,`chatid`),
  ADD KEY `mdl_chatmesscurr_cha_ix` (`chatid`);

--
-- Indexes for table `mdl_chat_users`
--
ALTER TABLE `mdl_chat_users`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_chatuser_use_ix` (`userid`),
  ADD KEY `mdl_chatuser_las_ix` (`lastping`),
  ADD KEY `mdl_chatuser_gro_ix` (`groupid`),
  ADD KEY `mdl_chatuser_cha_ix` (`chatid`),
  ADD KEY `mdl_chatuser_cou_ix` (`course`);

--
-- Indexes for table `mdl_choice`
--
ALTER TABLE `mdl_choice`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_choi_cou_ix` (`course`);

--
-- Indexes for table `mdl_choice_answers`
--
ALTER TABLE `mdl_choice_answers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_choiansw_use_ix` (`userid`),
  ADD KEY `mdl_choiansw_cho_ix` (`choiceid`),
  ADD KEY `mdl_choiansw_opt_ix` (`optionid`);

--
-- Indexes for table `mdl_choice_options`
--
ALTER TABLE `mdl_choice_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_choiopti_cho_ix` (`choiceid`);

--
-- Indexes for table `mdl_cohort`
--
ALTER TABLE `mdl_cohort`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_coho_con_ix` (`contextid`);

--
-- Indexes for table `mdl_cohort_members`
--
ALTER TABLE `mdl_cohort_members`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_cohomemb_cohuse_uix` (`cohortid`,`userid`),
  ADD KEY `mdl_cohomemb_coh_ix` (`cohortid`),
  ADD KEY `mdl_cohomemb_use_ix` (`userid`);

--
-- Indexes for table `mdl_comments`
--
ALTER TABLE `mdl_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_comm_concomite_ix` (`contextid`,`commentarea`,`itemid`),
  ADD KEY `mdl_comm_use_ix` (`userid`);

--
-- Indexes for table `mdl_communication`
--
ALTER TABLE `mdl_communication`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_comm_con_ix` (`contextid`);

--
-- Indexes for table `mdl_communication_customlink`
--
ALTER TABLE `mdl_communication_customlink`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_commcust_com_ix` (`commid`);

--
-- Indexes for table `mdl_communication_user`
--
ALTER TABLE `mdl_communication_user`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_commuser_com_ix` (`commid`),
  ADD KEY `mdl_commuser_use_ix` (`userid`);

--
-- Indexes for table `mdl_competency`
--
ALTER TABLE `mdl_competency`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_comp_comidn_uix` (`competencyframeworkid`,`idnumber`),
  ADD KEY `mdl_comp_rul_ix` (`ruleoutcome`),
  ADD KEY `mdl_comp_sca_ix` (`scaleid`),
  ADD KEY `mdl_comp_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_coursecomp`
--
ALTER TABLE `mdl_competency_coursecomp`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compcour_coucom_uix` (`courseid`,`competencyid`),
  ADD KEY `mdl_compcour_courul_ix` (`courseid`,`ruleoutcome`),
  ADD KEY `mdl_compcour_cou2_ix` (`courseid`),
  ADD KEY `mdl_compcour_com_ix` (`competencyid`),
  ADD KEY `mdl_compcour_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_coursecompsetting`
--
ALTER TABLE `mdl_competency_coursecompsetting`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compcour_cou_uix` (`courseid`),
  ADD KEY `mdl_compcour_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_evidence`
--
ALTER TABLE `mdl_competency_evidence`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_compevid_use_ix` (`usercompetencyid`),
  ADD KEY `mdl_compevid_con_ix` (`contextid`),
  ADD KEY `mdl_compevid_act_ix` (`actionuserid`),
  ADD KEY `mdl_compevid_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_framework`
--
ALTER TABLE `mdl_competency_framework`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compfram_idn_uix` (`idnumber`),
  ADD KEY `mdl_compfram_con_ix` (`contextid`),
  ADD KEY `mdl_compfram_sca_ix` (`scaleid`),
  ADD KEY `mdl_compfram_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_modulecomp`
--
ALTER TABLE `mdl_competency_modulecomp`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compmodu_cmicom_uix` (`cmid`,`competencyid`),
  ADD KEY `mdl_compmodu_cmirul_ix` (`cmid`,`ruleoutcome`),
  ADD KEY `mdl_compmodu_cmi_ix` (`cmid`),
  ADD KEY `mdl_compmodu_com_ix` (`competencyid`),
  ADD KEY `mdl_compmodu_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_plan`
--
ALTER TABLE `mdl_competency_plan`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_compplan_usesta_ix` (`userid`,`status`),
  ADD KEY `mdl_compplan_tem_ix` (`templateid`),
  ADD KEY `mdl_compplan_stadue_ix` (`status`,`duedate`),
  ADD KEY `mdl_compplan_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_plancomp`
--
ALTER TABLE `mdl_competency_plancomp`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compplan_placom_uix` (`planid`,`competencyid`),
  ADD KEY `mdl_compplan_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_relatedcomp`
--
ALTER TABLE `mdl_competency_relatedcomp`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_comprela_com_ix` (`competencyid`),
  ADD KEY `mdl_comprela_rel_ix` (`relatedcompetencyid`),
  ADD KEY `mdl_comprela_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_template`
--
ALTER TABLE `mdl_competency_template`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_comptemp_con_ix` (`contextid`),
  ADD KEY `mdl_comptemp_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_templatecohort`
--
ALTER TABLE `mdl_competency_templatecohort`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_comptemp_temcoh_uix` (`templateid`,`cohortid`),
  ADD KEY `mdl_comptemp_tem2_ix` (`templateid`),
  ADD KEY `mdl_comptemp_use3_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_templatecomp`
--
ALTER TABLE `mdl_competency_templatecomp`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_comptemp_tem_ix` (`templateid`),
  ADD KEY `mdl_comptemp_com_ix` (`competencyid`),
  ADD KEY `mdl_comptemp_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_usercomp`
--
ALTER TABLE `mdl_competency_usercomp`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compuser_usecom_uix` (`userid`,`competencyid`),
  ADD KEY `mdl_compuser_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_usercompcourse`
--
ALTER TABLE `mdl_competency_usercompcourse`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compuser_usecoucom_uix` (`userid`,`courseid`,`competencyid`),
  ADD KEY `mdl_compuser_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_usercompplan`
--
ALTER TABLE `mdl_competency_usercompplan`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compuser_usecompla_uix` (`userid`,`competencyid`,`planid`),
  ADD KEY `mdl_compuser_use3_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_userevidence`
--
ALTER TABLE `mdl_competency_userevidence`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_compuser_use4_ix` (`userid`),
  ADD KEY `mdl_compuser_use5_ix` (`usermodified`);

--
-- Indexes for table `mdl_competency_userevidencecomp`
--
ALTER TABLE `mdl_competency_userevidencecomp`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_compuser_usecom2_uix` (`userevidenceid`,`competencyid`),
  ADD KEY `mdl_compuser_use6_ix` (`userevidenceid`),
  ADD KEY `mdl_compuser_use7_ix` (`usermodified`);

--
-- Indexes for table `mdl_config`
--
ALTER TABLE `mdl_config`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_conf_nam_uix` (`name`);

--
-- Indexes for table `mdl_config_log`
--
ALTER TABLE `mdl_config_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_conflog_tim_ix` (`timemodified`),
  ADD KEY `mdl_conflog_use_ix` (`userid`);

--
-- Indexes for table `mdl_config_plugins`
--
ALTER TABLE `mdl_config_plugins`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_confplug_plunam_uix` (`plugin`,`name`);

--
-- Indexes for table `mdl_contentbank_content`
--
ALTER TABLE `mdl_contentbank_content`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_contcont_nam_ix` (`name`),
  ADD KEY `mdl_contcont_conconins_ix` (`contextid`,`contenttype`,`instanceid`),
  ADD KEY `mdl_contcont_con_ix` (`contextid`),
  ADD KEY `mdl_contcont_use_ix` (`usermodified`),
  ADD KEY `mdl_contcont_use2_ix` (`usercreated`);

--
-- Indexes for table `mdl_context`
--
ALTER TABLE `mdl_context`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_cont_conins_uix` (`contextlevel`,`instanceid`),
  ADD KEY `mdl_cont_ins_ix` (`instanceid`),
  ADD KEY `mdl_cont_pat_ix` (`path`);

--
-- Indexes for table `mdl_context_temp`
--
ALTER TABLE `mdl_context_temp`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_course`
--
ALTER TABLE `mdl_course`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_cour_cat_ix` (`category`),
  ADD KEY `mdl_cour_idn_ix` (`idnumber`),
  ADD KEY `mdl_cour_sho_ix` (`shortname`),
  ADD KEY `mdl_cour_sor_ix` (`sortorder`),
  ADD KEY `mdl_cour_ori_ix` (`originalcourseid`);

--
-- Indexes for table `mdl_course_categories`
--
ALTER TABLE `mdl_course_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_courcate_par_ix` (`parent`);

--
-- Indexes for table `mdl_course_completions`
--
ALTER TABLE `mdl_course_completions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_courcomp_usecou_uix` (`userid`,`course`),
  ADD KEY `mdl_courcomp_use_ix` (`userid`),
  ADD KEY `mdl_courcomp_cou_ix` (`course`),
  ADD KEY `mdl_courcomp_tim_ix` (`timecompleted`);

--
-- Indexes for table `mdl_course_completion_aggr_methd`
--
ALTER TABLE `mdl_course_completion_aggr_methd`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_courcompaggrmeth_coucr_uix` (`course`,`criteriatype`),
  ADD KEY `mdl_courcompaggrmeth_cou_ix` (`course`),
  ADD KEY `mdl_courcompaggrmeth_cri_ix` (`criteriatype`);

--
-- Indexes for table `mdl_course_completion_criteria`
--
ALTER TABLE `mdl_course_completion_criteria`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_courcompcrit_cou_ix` (`course`);

--
-- Indexes for table `mdl_course_completion_crit_compl`
--
ALTER TABLE `mdl_course_completion_crit_compl`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_courcompcritcomp_useco_uix` (`userid`,`course`,`criteriaid`),
  ADD KEY `mdl_courcompcritcomp_use_ix` (`userid`),
  ADD KEY `mdl_courcompcritcomp_cou_ix` (`course`),
  ADD KEY `mdl_courcompcritcomp_cri_ix` (`criteriaid`),
  ADD KEY `mdl_courcompcritcomp_tim_ix` (`timecompleted`);

--
-- Indexes for table `mdl_course_completion_defaults`
--
ALTER TABLE `mdl_course_completion_defaults`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_courcompdefa_coumod_uix` (`course`,`module`),
  ADD KEY `mdl_courcompdefa_mod_ix` (`module`),
  ADD KEY `mdl_courcompdefa_cou_ix` (`course`);

--
-- Indexes for table `mdl_course_format_options`
--
ALTER TABLE `mdl_course_format_options`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_courformopti_couforsec_uix` (`courseid`,`format`,`sectionid`,`name`),
  ADD KEY `mdl_courformopti_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_course_modules`
--
ALTER TABLE `mdl_course_modules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_courmodu_vis_ix` (`visible`),
  ADD KEY `mdl_courmodu_cou_ix` (`course`),
  ADD KEY `mdl_courmodu_mod_ix` (`module`),
  ADD KEY `mdl_courmodu_ins_ix` (`instance`),
  ADD KEY `mdl_courmodu_idncou_ix` (`idnumber`,`course`),
  ADD KEY `mdl_courmodu_gro_ix` (`groupingid`);

--
-- Indexes for table `mdl_course_modules_completion`
--
ALTER TABLE `mdl_course_modules_completion`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_courmoducomp_usecou_uix` (`userid`,`coursemoduleid`),
  ADD KEY `mdl_courmoducomp_cou_ix` (`coursemoduleid`);

--
-- Indexes for table `mdl_course_modules_viewed`
--
ALTER TABLE `mdl_course_modules_viewed`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_courmoduview_usecou_uix` (`userid`,`coursemoduleid`),
  ADD KEY `mdl_courmoduview_cou_ix` (`coursemoduleid`);

--
-- Indexes for table `mdl_course_published`
--
ALTER TABLE `mdl_course_published`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_courpubl_hub_ix` (`hubcourseid`),
  ADD KEY `mdl_courpubl_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_course_request`
--
ALTER TABLE `mdl_course_request`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_courrequ_sho_ix` (`shortname`);

--
-- Indexes for table `mdl_course_sections`
--
ALTER TABLE `mdl_course_sections`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_coursect_cousec_uix` (`course`,`section`);

--
-- Indexes for table `mdl_customfield_category`
--
ALTER TABLE `mdl_customfield_category`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_custcate_comareitesor_ix` (`component`,`area`,`itemid`,`sortorder`),
  ADD KEY `mdl_custcate_con_ix` (`contextid`);

--
-- Indexes for table `mdl_customfield_data`
--
ALTER TABLE `mdl_customfield_data`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_custdata_insfie_uix` (`instanceid`,`fieldid`),
  ADD KEY `mdl_custdata_fieint_ix` (`fieldid`,`intvalue`),
  ADD KEY `mdl_custdata_fiesho_ix` (`fieldid`,`shortcharvalue`),
  ADD KEY `mdl_custdata_fiedec_ix` (`fieldid`,`decvalue`),
  ADD KEY `mdl_custdata_fie_ix` (`fieldid`),
  ADD KEY `mdl_custdata_con_ix` (`contextid`);

--
-- Indexes for table `mdl_customfield_field`
--
ALTER TABLE `mdl_customfield_field`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_custfiel_catsor_ix` (`categoryid`,`sortorder`),
  ADD KEY `mdl_custfiel_cat_ix` (`categoryid`);

--
-- Indexes for table `mdl_data`
--
ALTER TABLE `mdl_data`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_data_cou_ix` (`course`);

--
-- Indexes for table `mdl_data_content`
--
ALTER TABLE `mdl_data_content`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_datacont_rec_ix` (`recordid`),
  ADD KEY `mdl_datacont_fie_ix` (`fieldid`);

--
-- Indexes for table `mdl_data_fields`
--
ALTER TABLE `mdl_data_fields`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_datafiel_typdat_ix` (`type`,`dataid`),
  ADD KEY `mdl_datafiel_dat_ix` (`dataid`);

--
-- Indexes for table `mdl_data_records`
--
ALTER TABLE `mdl_data_records`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_datareco_dat_ix` (`dataid`),
  ADD KEY `mdl_datareco_use_ix` (`userid`);

--
-- Indexes for table `mdl_editor_atto_autosave`
--
ALTER TABLE `mdl_editor_atto_autosave`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_editattoauto_eleconuse_uix` (`elementid`,`contextid`,`userid`,`pagehash`);

--
-- Indexes for table `mdl_enrol`
--
ALTER TABLE `mdl_enrol`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enro_enr_ix` (`enrol`),
  ADD KEY `mdl_enro_cou_ix` (`courseid`),
  ADD KEY `mdl_enro_rol_ix` (`roleid`);

--
-- Indexes for table `mdl_enrol_flatfile`
--
ALTER TABLE `mdl_enrol_flatfile`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enroflat_cou_ix` (`courseid`),
  ADD KEY `mdl_enroflat_use_ix` (`userid`),
  ADD KEY `mdl_enroflat_rol_ix` (`roleid`);

--
-- Indexes for table `mdl_enrol_lti_app_registration`
--
ALTER TABLE `mdl_enrol_lti_app_registration`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enroltiappregi_uni_uix` (`uniqueid`),
  ADD UNIQUE KEY `mdl_enroltiappregi_pla_uix` (`platformclienthash`),
  ADD UNIQUE KEY `mdl_enroltiappregi_pla2_uix` (`platformuniqueidhash`);

--
-- Indexes for table `mdl_enrol_lti_context`
--
ALTER TABLE `mdl_enrol_lti_context`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enrolticont_lticon_uix` (`ltideploymentid`,`contextid`),
  ADD KEY `mdl_enrolticont_lti_ix` (`ltideploymentid`);

--
-- Indexes for table `mdl_enrol_lti_deployment`
--
ALTER TABLE `mdl_enrol_lti_deployment`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enroltidepl_pladep_uix` (`platformid`,`deploymentid`),
  ADD KEY `mdl_enroltidepl_pla_ix` (`platformid`);

--
-- Indexes for table `mdl_enrol_lti_lti2_consumer`
--
ALTER TABLE `mdl_enrol_lti_lti2_consumer`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enroltilti2cons_con_uix` (`consumerkey256`);

--
-- Indexes for table `mdl_enrol_lti_lti2_context`
--
ALTER TABLE `mdl_enrol_lti_lti2_context`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enroltilti2cont_con_ix` (`consumerid`);

--
-- Indexes for table `mdl_enrol_lti_lti2_nonce`
--
ALTER TABLE `mdl_enrol_lti_lti2_nonce`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enroltilti2nonc_con_ix` (`consumerid`);

--
-- Indexes for table `mdl_enrol_lti_lti2_resource_link`
--
ALTER TABLE `mdl_enrol_lti_lti2_resource_link`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enroltilti2resolink_con_ix` (`contextid`),
  ADD KEY `mdl_enroltilti2resolink_pri_ix` (`primaryresourcelinkid`),
  ADD KEY `mdl_enroltilti2resolink_co2_ix` (`consumerid`);

--
-- Indexes for table `mdl_enrol_lti_lti2_share_key`
--
ALTER TABLE `mdl_enrol_lti_lti2_share_key`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enroltilti2sharkey_sha_uix` (`sharekey`),
  ADD UNIQUE KEY `mdl_enroltilti2sharkey_res_uix` (`resourcelinkid`);

--
-- Indexes for table `mdl_enrol_lti_lti2_tool_proxy`
--
ALTER TABLE `mdl_enrol_lti_lti2_tool_proxy`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enroltilti2toolprox_to_uix` (`toolproxykey`),
  ADD KEY `mdl_enroltilti2toolprox_con_ix` (`consumerid`);

--
-- Indexes for table `mdl_enrol_lti_lti2_user_result`
--
ALTER TABLE `mdl_enrol_lti_lti2_user_result`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enroltilti2userresu_res_ix` (`resourcelinkid`);

--
-- Indexes for table `mdl_enrol_lti_resource_link`
--
ALTER TABLE `mdl_enrol_lti_resource_link`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enroltiresolink_reslti_uix` (`resourcelinkid`,`ltideploymentid`),
  ADD KEY `mdl_enroltiresolink_lti_ix` (`ltideploymentid`),
  ADD KEY `mdl_enroltiresolink_lti2_ix` (`lticontextid`);

--
-- Indexes for table `mdl_enrol_lti_tools`
--
ALTER TABLE `mdl_enrol_lti_tools`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enroltitool_uui_uix` (`uuid`),
  ADD KEY `mdl_enroltitool_enr_ix` (`enrolid`),
  ADD KEY `mdl_enroltitool_con_ix` (`contextid`);

--
-- Indexes for table `mdl_enrol_lti_tool_consumer_map`
--
ALTER TABLE `mdl_enrol_lti_tool_consumer_map`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enroltitoolconsmap_too_ix` (`toolid`),
  ADD KEY `mdl_enroltitoolconsmap_con_ix` (`consumerid`);

--
-- Indexes for table `mdl_enrol_lti_users`
--
ALTER TABLE `mdl_enrol_lti_users`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enroltiuser_use_ix` (`userid`),
  ADD KEY `mdl_enroltiuser_too_ix` (`toolid`),
  ADD KEY `mdl_enroltiuser_lti_ix` (`ltideploymentid`);

--
-- Indexes for table `mdl_enrol_lti_user_resource_link`
--
ALTER TABLE `mdl_enrol_lti_user_resource_link`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_enroltiuserresolink_lt_uix` (`ltiuserid`,`resourcelinkid`),
  ADD KEY `mdl_enroltiuserresolink_lti_ix` (`ltiuserid`),
  ADD KEY `mdl_enroltiuserresolink_res_ix` (`resourcelinkid`);

--
-- Indexes for table `mdl_enrol_paypal`
--
ALTER TABLE `mdl_enrol_paypal`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_enropayp_bus_ix` (`business`),
  ADD KEY `mdl_enropayp_rec_ix` (`receiver_email`),
  ADD KEY `mdl_enropayp_cou_ix` (`courseid`),
  ADD KEY `mdl_enropayp_use_ix` (`userid`),
  ADD KEY `mdl_enropayp_ins_ix` (`instanceid`);

--
-- Indexes for table `mdl_event`
--
ALTER TABLE `mdl_event`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_even_cou_ix` (`courseid`),
  ADD KEY `mdl_even_use_ix` (`userid`),
  ADD KEY `mdl_even_tim_ix` (`timestart`),
  ADD KEY `mdl_even_tim2_ix` (`timeduration`),
  ADD KEY `mdl_even_uui_ix` (`uuid`),
  ADD KEY `mdl_even_typtim_ix` (`type`,`timesort`),
  ADD KEY `mdl_even_grocoucatvisuse_ix` (`groupid`,`courseid`,`categoryid`,`visible`,`userid`),
  ADD KEY `mdl_even_eve_ix` (`eventtype`),
  ADD KEY `mdl_even_comeveins_ix` (`component`,`eventtype`,`instance`),
  ADD KEY `mdl_even_modinseve_ix` (`modulename`,`instance`,`eventtype`),
  ADD KEY `mdl_even_cat_ix` (`categoryid`),
  ADD KEY `mdl_even_sub_ix` (`subscriptionid`);

--
-- Indexes for table `mdl_events_handlers`
--
ALTER TABLE `mdl_events_handlers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_evenhand_evecom_uix` (`eventname`,`component`);

--
-- Indexes for table `mdl_events_queue`
--
ALTER TABLE `mdl_events_queue`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_evenqueu_use_ix` (`userid`);

--
-- Indexes for table `mdl_events_queue_handlers`
--
ALTER TABLE `mdl_events_queue_handlers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_evenqueuhand_que_ix` (`queuedeventid`),
  ADD KEY `mdl_evenqueuhand_han_ix` (`handlerid`);

--
-- Indexes for table `mdl_event_subscriptions`
--
ALTER TABLE `mdl_event_subscriptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_evensubs_cou_ix` (`courseid`),
  ADD KEY `mdl_evensubs_use_ix` (`userid`);

--
-- Indexes for table `mdl_external_functions`
--
ALTER TABLE `mdl_external_functions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_extefunc_nam_uix` (`name`);

--
-- Indexes for table `mdl_external_services`
--
ALTER TABLE `mdl_external_services`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_exteserv_nam_uix` (`name`);

--
-- Indexes for table `mdl_external_services_functions`
--
ALTER TABLE `mdl_external_services_functions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_exteservfunc_ext_ix` (`externalserviceid`);

--
-- Indexes for table `mdl_external_services_users`
--
ALTER TABLE `mdl_external_services_users`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_exteservuser_ext_ix` (`externalserviceid`),
  ADD KEY `mdl_exteservuser_use_ix` (`userid`);

--
-- Indexes for table `mdl_external_tokens`
--
ALTER TABLE `mdl_external_tokens`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_extetoke_tok_ix` (`token`),
  ADD KEY `mdl_extetoke_sid_ix` (`sid`),
  ADD KEY `mdl_extetoke_use_ix` (`userid`),
  ADD KEY `mdl_extetoke_ext_ix` (`externalserviceid`),
  ADD KEY `mdl_extetoke_con_ix` (`contextid`),
  ADD KEY `mdl_extetoke_cre_ix` (`creatorid`);

--
-- Indexes for table `mdl_favourite`
--
ALTER TABLE `mdl_favourite`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_favo_comiteiteconuse_uix` (`component`,`itemtype`,`itemid`,`contextid`,`userid`),
  ADD KEY `mdl_favo_con_ix` (`contextid`),
  ADD KEY `mdl_favo_use_ix` (`userid`);

--
-- Indexes for table `mdl_feedback`
--
ALTER TABLE `mdl_feedback`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_feed_cou_ix` (`course`);

--
-- Indexes for table `mdl_feedback_completed`
--
ALTER TABLE `mdl_feedback_completed`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_feedcomp_use_ix` (`userid`),
  ADD KEY `mdl_feedcomp_fee_ix` (`feedback`),
  ADD KEY `mdl_feedcomp_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_feedback_completedtmp`
--
ALTER TABLE `mdl_feedback_completedtmp`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_feedcomp_use2_ix` (`userid`),
  ADD KEY `mdl_feedcomp_fee2_ix` (`feedback`);

--
-- Indexes for table `mdl_feedback_item`
--
ALTER TABLE `mdl_feedback_item`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_feeditem_fee_ix` (`feedback`),
  ADD KEY `mdl_feeditem_tem_ix` (`template`);

--
-- Indexes for table `mdl_feedback_sitecourse_map`
--
ALTER TABLE `mdl_feedback_sitecourse_map`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_feedsitemap_cou_ix` (`courseid`),
  ADD KEY `mdl_feedsitemap_fee_ix` (`feedbackid`);

--
-- Indexes for table `mdl_feedback_template`
--
ALTER TABLE `mdl_feedback_template`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_feedtemp_cou_ix` (`course`);

--
-- Indexes for table `mdl_feedback_value`
--
ALTER TABLE `mdl_feedback_value`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_feedvalu_comitecou_uix` (`completed`,`item`,`course_id`),
  ADD KEY `mdl_feedvalu_cou_ix` (`course_id`),
  ADD KEY `mdl_feedvalu_ite_ix` (`item`);

--
-- Indexes for table `mdl_feedback_valuetmp`
--
ALTER TABLE `mdl_feedback_valuetmp`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_feedvalu_comitecou2_uix` (`completed`,`item`,`course_id`),
  ADD KEY `mdl_feedvalu_cou2_ix` (`course_id`),
  ADD KEY `mdl_feedvalu_ite2_ix` (`item`);

--
-- Indexes for table `mdl_files`
--
ALTER TABLE `mdl_files`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_file_pat_uix` (`pathnamehash`),
  ADD KEY `mdl_file_comfilconite_ix` (`component`,`filearea`,`contextid`,`itemid`),
  ADD KEY `mdl_file_con_ix` (`contenthash`),
  ADD KEY `mdl_file_lic_ix` (`license`),
  ADD KEY `mdl_file_fil_ix` (`filename`),
  ADD KEY `mdl_file_con2_ix` (`contextid`),
  ADD KEY `mdl_file_use_ix` (`userid`),
  ADD KEY `mdl_file_ref_ix` (`referencefileid`);

--
-- Indexes for table `mdl_files_reference`
--
ALTER TABLE `mdl_files_reference`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_filerefe_refrep_uix` (`referencehash`,`repositoryid`),
  ADD KEY `mdl_filerefe_rep_ix` (`repositoryid`);

--
-- Indexes for table `mdl_file_conversion`
--
ALTER TABLE `mdl_file_conversion`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_fileconv_sou_ix` (`sourcefileid`),
  ADD KEY `mdl_fileconv_des_ix` (`destfileid`),
  ADD KEY `mdl_fileconv_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_filter_active`
--
ALTER TABLE `mdl_filter_active`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_filtacti_confil_uix` (`contextid`,`filter`),
  ADD KEY `mdl_filtacti_con_ix` (`contextid`);

--
-- Indexes for table `mdl_filter_config`
--
ALTER TABLE `mdl_filter_config`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_filtconf_confilnam_uix` (`contextid`,`filter`,`name`),
  ADD KEY `mdl_filtconf_con_ix` (`contextid`);

--
-- Indexes for table `mdl_folder`
--
ALTER TABLE `mdl_folder`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_fold_cou_ix` (`course`);

--
-- Indexes for table `mdl_forum`
--
ALTER TABLE `mdl_forum`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_foru_cou_ix` (`course`);

--
-- Indexes for table `mdl_forum_digests`
--
ALTER TABLE `mdl_forum_digests`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_forudige_forusemai_uix` (`forum`,`userid`,`maildigest`),
  ADD KEY `mdl_forudige_use_ix` (`userid`),
  ADD KEY `mdl_forudige_for_ix` (`forum`);

--
-- Indexes for table `mdl_forum_discussions`
--
ALTER TABLE `mdl_forum_discussions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_forudisc_use_ix` (`userid`),
  ADD KEY `mdl_forudisc_cou_ix` (`course`),
  ADD KEY `mdl_forudisc_for_ix` (`forum`),
  ADD KEY `mdl_forudisc_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_forum_discussion_subs`
--
ALTER TABLE `mdl_forum_discussion_subs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_forudiscsubs_usedis_uix` (`userid`,`discussion`),
  ADD KEY `mdl_forudiscsubs_for_ix` (`forum`),
  ADD KEY `mdl_forudiscsubs_use_ix` (`userid`),
  ADD KEY `mdl_forudiscsubs_dis_ix` (`discussion`);

--
-- Indexes for table `mdl_forum_grades`
--
ALTER TABLE `mdl_forum_grades`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_forugrad_foriteuse_uix` (`forum`,`itemnumber`,`userid`),
  ADD KEY `mdl_forugrad_use_ix` (`userid`),
  ADD KEY `mdl_forugrad_for_ix` (`forum`);

--
-- Indexes for table `mdl_forum_posts`
--
ALTER TABLE `mdl_forum_posts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_forupost_use_ix` (`userid`),
  ADD KEY `mdl_forupost_cre_ix` (`created`),
  ADD KEY `mdl_forupost_mai_ix` (`mailed`),
  ADD KEY `mdl_forupost_pri_ix` (`privatereplyto`),
  ADD KEY `mdl_forupost_dis_ix` (`discussion`),
  ADD KEY `mdl_forupost_par_ix` (`parent`);

--
-- Indexes for table `mdl_forum_queue`
--
ALTER TABLE `mdl_forum_queue`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_foruqueu_use_ix` (`userid`),
  ADD KEY `mdl_foruqueu_dis_ix` (`discussionid`),
  ADD KEY `mdl_foruqueu_pos_ix` (`postid`);

--
-- Indexes for table `mdl_forum_read`
--
ALTER TABLE `mdl_forum_read`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_foruread_foruse_ix` (`forumid`,`userid`),
  ADD KEY `mdl_foruread_disuse_ix` (`discussionid`,`userid`),
  ADD KEY `mdl_foruread_posuse_ix` (`postid`,`userid`),
  ADD KEY `mdl_foruread_use_ix` (`userid`);

--
-- Indexes for table `mdl_forum_subscriptions`
--
ALTER TABLE `mdl_forum_subscriptions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_forusubs_usefor_uix` (`userid`,`forum`),
  ADD KEY `mdl_forusubs_use_ix` (`userid`),
  ADD KEY `mdl_forusubs_for_ix` (`forum`);

--
-- Indexes for table `mdl_forum_track_prefs`
--
ALTER TABLE `mdl_forum_track_prefs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_forutracpref_usefor_ix` (`userid`,`forumid`);

--
-- Indexes for table `mdl_glossary`
--
ALTER TABLE `mdl_glossary`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_glos_cou_ix` (`course`);

--
-- Indexes for table `mdl_glossary_alias`
--
ALTER TABLE `mdl_glossary_alias`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_glosalia_ent_ix` (`entryid`);

--
-- Indexes for table `mdl_glossary_categories`
--
ALTER TABLE `mdl_glossary_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gloscate_glo_ix` (`glossaryid`);

--
-- Indexes for table `mdl_glossary_entries`
--
ALTER TABLE `mdl_glossary_entries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_glosentr_use_ix` (`userid`),
  ADD KEY `mdl_glosentr_con_ix` (`concept`),
  ADD KEY `mdl_glosentr_glo_ix` (`glossaryid`);

--
-- Indexes for table `mdl_glossary_entries_categories`
--
ALTER TABLE `mdl_glossary_entries_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_glosentrcate_cat_ix` (`categoryid`),
  ADD KEY `mdl_glosentrcate_ent_ix` (`entryid`);

--
-- Indexes for table `mdl_glossary_formats`
--
ALTER TABLE `mdl_glossary_formats`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_grade_categories`
--
ALTER TABLE `mdl_grade_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradcate_cou_ix` (`courseid`),
  ADD KEY `mdl_gradcate_par_ix` (`parent`);

--
-- Indexes for table `mdl_grade_categories_history`
--
ALTER TABLE `mdl_grade_categories_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradcatehist_act_ix` (`action`),
  ADD KEY `mdl_gradcatehist_tim_ix` (`timemodified`),
  ADD KEY `mdl_gradcatehist_old_ix` (`oldid`),
  ADD KEY `mdl_gradcatehist_cou_ix` (`courseid`),
  ADD KEY `mdl_gradcatehist_par_ix` (`parent`),
  ADD KEY `mdl_gradcatehist_log_ix` (`loggeduser`);

--
-- Indexes for table `mdl_grade_grades`
--
ALTER TABLE `mdl_grade_grades`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_gradgrad_useite_uix` (`userid`,`itemid`),
  ADD KEY `mdl_gradgrad_locloc_ix` (`locked`,`locktime`),
  ADD KEY `mdl_gradgrad_ite_ix` (`itemid`),
  ADD KEY `mdl_gradgrad_use_ix` (`userid`),
  ADD KEY `mdl_gradgrad_raw_ix` (`rawscaleid`),
  ADD KEY `mdl_gradgrad_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_grade_grades_history`
--
ALTER TABLE `mdl_grade_grades_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradgradhist_act_ix` (`action`),
  ADD KEY `mdl_gradgradhist_tim_ix` (`timemodified`),
  ADD KEY `mdl_gradgradhist_useitetim_ix` (`userid`,`itemid`,`timemodified`),
  ADD KEY `mdl_gradgradhist_old_ix` (`oldid`),
  ADD KEY `mdl_gradgradhist_ite_ix` (`itemid`),
  ADD KEY `mdl_gradgradhist_use_ix` (`userid`),
  ADD KEY `mdl_gradgradhist_raw_ix` (`rawscaleid`),
  ADD KEY `mdl_gradgradhist_use2_ix` (`usermodified`),
  ADD KEY `mdl_gradgradhist_log_ix` (`loggeduser`);

--
-- Indexes for table `mdl_grade_import_newitem`
--
ALTER TABLE `mdl_grade_import_newitem`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradimponewi_imp_ix` (`importer`);

--
-- Indexes for table `mdl_grade_import_values`
--
ALTER TABLE `mdl_grade_import_values`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradimpovalu_ite_ix` (`itemid`),
  ADD KEY `mdl_gradimpovalu_new_ix` (`newgradeitem`),
  ADD KEY `mdl_gradimpovalu_imp_ix` (`importer`),
  ADD KEY `mdl_gradimpovalu_use_ix` (`userid`);

--
-- Indexes for table `mdl_grade_items`
--
ALTER TABLE `mdl_grade_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_graditem_locloc_ix` (`locked`,`locktime`),
  ADD KEY `mdl_graditem_itenee_ix` (`itemtype`,`needsupdate`),
  ADD KEY `mdl_graditem_gra_ix` (`gradetype`),
  ADD KEY `mdl_graditem_idncou_ix` (`idnumber`,`courseid`),
  ADD KEY `mdl_graditem_iteiteitecou_ix` (`itemtype`,`itemmodule`,`iteminstance`,`courseid`),
  ADD KEY `mdl_graditem_cou_ix` (`courseid`),
  ADD KEY `mdl_graditem_cat_ix` (`categoryid`),
  ADD KEY `mdl_graditem_sca_ix` (`scaleid`),
  ADD KEY `mdl_graditem_out_ix` (`outcomeid`);

--
-- Indexes for table `mdl_grade_items_history`
--
ALTER TABLE `mdl_grade_items_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_graditemhist_act_ix` (`action`),
  ADD KEY `mdl_graditemhist_tim_ix` (`timemodified`),
  ADD KEY `mdl_graditemhist_old_ix` (`oldid`),
  ADD KEY `mdl_graditemhist_cou_ix` (`courseid`),
  ADD KEY `mdl_graditemhist_cat_ix` (`categoryid`),
  ADD KEY `mdl_graditemhist_sca_ix` (`scaleid`),
  ADD KEY `mdl_graditemhist_out_ix` (`outcomeid`),
  ADD KEY `mdl_graditemhist_log_ix` (`loggeduser`);

--
-- Indexes for table `mdl_grade_letters`
--
ALTER TABLE `mdl_grade_letters`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_gradlett_conlowlet_uix` (`contextid`,`lowerboundary`,`letter`);

--
-- Indexes for table `mdl_grade_outcomes`
--
ALTER TABLE `mdl_grade_outcomes`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_gradoutc_cousho_uix` (`courseid`,`shortname`),
  ADD KEY `mdl_gradoutc_cou_ix` (`courseid`),
  ADD KEY `mdl_gradoutc_sca_ix` (`scaleid`),
  ADD KEY `mdl_gradoutc_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_grade_outcomes_courses`
--
ALTER TABLE `mdl_grade_outcomes_courses`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_gradoutccour_couout_uix` (`courseid`,`outcomeid`),
  ADD KEY `mdl_gradoutccour_cou_ix` (`courseid`),
  ADD KEY `mdl_gradoutccour_out_ix` (`outcomeid`);

--
-- Indexes for table `mdl_grade_outcomes_history`
--
ALTER TABLE `mdl_grade_outcomes_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradoutchist_act_ix` (`action`),
  ADD KEY `mdl_gradoutchist_tim_ix` (`timemodified`),
  ADD KEY `mdl_gradoutchist_old_ix` (`oldid`),
  ADD KEY `mdl_gradoutchist_cou_ix` (`courseid`),
  ADD KEY `mdl_gradoutchist_sca_ix` (`scaleid`),
  ADD KEY `mdl_gradoutchist_log_ix` (`loggeduser`);

--
-- Indexes for table `mdl_grade_settings`
--
ALTER TABLE `mdl_grade_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_gradsett_counam_uix` (`courseid`,`name`),
  ADD KEY `mdl_gradsett_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_gradingform_guide_comments`
--
ALTER TABLE `mdl_gradingform_guide_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradguidcomm_def_ix` (`definitionid`);

--
-- Indexes for table `mdl_gradingform_guide_criteria`
--
ALTER TABLE `mdl_gradingform_guide_criteria`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradguidcrit_def_ix` (`definitionid`);

--
-- Indexes for table `mdl_gradingform_guide_fillings`
--
ALTER TABLE `mdl_gradingform_guide_fillings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_gradguidfill_inscri_uix` (`instanceid`,`criterionid`),
  ADD KEY `mdl_gradguidfill_ins_ix` (`instanceid`),
  ADD KEY `mdl_gradguidfill_cri_ix` (`criterionid`);

--
-- Indexes for table `mdl_gradingform_rubric_criteria`
--
ALTER TABLE `mdl_gradingform_rubric_criteria`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradrubrcrit_def_ix` (`definitionid`);

--
-- Indexes for table `mdl_gradingform_rubric_fillings`
--
ALTER TABLE `mdl_gradingform_rubric_fillings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_gradrubrfill_inscri_uix` (`instanceid`,`criterionid`),
  ADD KEY `mdl_gradrubrfill_lev_ix` (`levelid`),
  ADD KEY `mdl_gradrubrfill_ins_ix` (`instanceid`),
  ADD KEY `mdl_gradrubrfill_cri_ix` (`criterionid`);

--
-- Indexes for table `mdl_gradingform_rubric_levels`
--
ALTER TABLE `mdl_gradingform_rubric_levels`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradrubrleve_cri_ix` (`criterionid`);

--
-- Indexes for table `mdl_grading_areas`
--
ALTER TABLE `mdl_grading_areas`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_gradarea_concomare_uix` (`contextid`,`component`,`areaname`),
  ADD KEY `mdl_gradarea_con_ix` (`contextid`);

--
-- Indexes for table `mdl_grading_definitions`
--
ALTER TABLE `mdl_grading_definitions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_graddefi_aremet_uix` (`areaid`,`method`),
  ADD KEY `mdl_graddefi_are_ix` (`areaid`),
  ADD KEY `mdl_graddefi_use_ix` (`usermodified`),
  ADD KEY `mdl_graddefi_use2_ix` (`usercreated`);

--
-- Indexes for table `mdl_grading_instances`
--
ALTER TABLE `mdl_grading_instances`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_gradinst_def_ix` (`definitionid`),
  ADD KEY `mdl_gradinst_rat_ix` (`raterid`);

--
-- Indexes for table `mdl_groupings`
--
ALTER TABLE `mdl_groupings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_grou_idn2_ix` (`idnumber`),
  ADD KEY `mdl_grou_cou2_ix` (`courseid`);

--
-- Indexes for table `mdl_groupings_groups`
--
ALTER TABLE `mdl_groupings_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_grougrou_gro_ix` (`groupingid`),
  ADD KEY `mdl_grougrou_gro2_ix` (`groupid`);

--
-- Indexes for table `mdl_groups`
--
ALTER TABLE `mdl_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_grou_idn_ix` (`idnumber`),
  ADD KEY `mdl_grou_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_groups_members`
--
ALTER TABLE `mdl_groups_members`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_groumemb_usegro_uix` (`userid`,`groupid`),
  ADD KEY `mdl_groumemb_gro_ix` (`groupid`),
  ADD KEY `mdl_groumemb_use_ix` (`userid`);

--
-- Indexes for table `mdl_h5p`
--
ALTER TABLE `mdl_h5p`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_h5p_pat_ix` (`pathnamehash`),
  ADD KEY `mdl_h5p_mai_ix` (`mainlibraryid`);

--
-- Indexes for table `mdl_h5pactivity`
--
ALTER TABLE `mdl_h5pactivity`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_h5pa_cou_ix` (`course`);

--
-- Indexes for table `mdl_h5pactivity_attempts`
--
ALTER TABLE `mdl_h5pactivity_attempts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_h5paatte_h5puseatt_uix` (`h5pactivityid`,`userid`,`attempt`),
  ADD KEY `mdl_h5paatte_tim_ix` (`timecreated`),
  ADD KEY `mdl_h5paatte_h5ptim_ix` (`h5pactivityid`,`timecreated`),
  ADD KEY `mdl_h5paatte_h5puse_ix` (`h5pactivityid`,`userid`),
  ADD KEY `mdl_h5paatte_h5p_ix` (`h5pactivityid`);

--
-- Indexes for table `mdl_h5pactivity_attempts_results`
--
ALTER TABLE `mdl_h5pactivity_attempts_results`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_h5paatteresu_atttim_ix` (`attemptid`,`timecreated`),
  ADD KEY `mdl_h5paatteresu_att_ix` (`attemptid`);

--
-- Indexes for table `mdl_h5p_contents_libraries`
--
ALTER TABLE `mdl_h5p_contents_libraries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_h5pcontlibr_h5p_ix` (`h5pid`),
  ADD KEY `mdl_h5pcontlibr_lib_ix` (`libraryid`);

--
-- Indexes for table `mdl_h5p_libraries`
--
ALTER TABLE `mdl_h5p_libraries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_h5plibr_macmajminpatrun_ix` (`machinename`,`majorversion`,`minorversion`,`patchversion`,`runnable`);

--
-- Indexes for table `mdl_h5p_libraries_cachedassets`
--
ALTER TABLE `mdl_h5p_libraries_cachedassets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_h5plibrcach_lib_ix` (`libraryid`);

--
-- Indexes for table `mdl_h5p_library_dependencies`
--
ALTER TABLE `mdl_h5p_library_dependencies`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_h5plibrdepe_lib_ix` (`libraryid`),
  ADD KEY `mdl_h5plibrdepe_req_ix` (`requiredlibraryid`);

--
-- Indexes for table `mdl_imscp`
--
ALTER TABLE `mdl_imscp`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_imsc_cou_ix` (`course`);

--
-- Indexes for table `mdl_infected_files`
--
ALTER TABLE `mdl_infected_files`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_infefile_use_ix` (`userid`);

--
-- Indexes for table `mdl_label`
--
ALTER TABLE `mdl_label`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_labe_cou_ix` (`course`);

--
-- Indexes for table `mdl_lesson`
--
ALTER TABLE `mdl_lesson`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_less_cou_ix` (`course`);

--
-- Indexes for table `mdl_lesson_answers`
--
ALTER TABLE `mdl_lesson_answers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lessansw_les_ix` (`lessonid`),
  ADD KEY `mdl_lessansw_pag_ix` (`pageid`);

--
-- Indexes for table `mdl_lesson_attempts`
--
ALTER TABLE `mdl_lesson_attempts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lessatte_use_ix` (`userid`),
  ADD KEY `mdl_lessatte_les_ix` (`lessonid`),
  ADD KEY `mdl_lessatte_pag_ix` (`pageid`),
  ADD KEY `mdl_lessatte_ans_ix` (`answerid`);

--
-- Indexes for table `mdl_lesson_branch`
--
ALTER TABLE `mdl_lesson_branch`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lessbran_use_ix` (`userid`),
  ADD KEY `mdl_lessbran_les_ix` (`lessonid`),
  ADD KEY `mdl_lessbran_pag_ix` (`pageid`);

--
-- Indexes for table `mdl_lesson_grades`
--
ALTER TABLE `mdl_lesson_grades`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lessgrad_use_ix` (`userid`),
  ADD KEY `mdl_lessgrad_les_ix` (`lessonid`);

--
-- Indexes for table `mdl_lesson_overrides`
--
ALTER TABLE `mdl_lesson_overrides`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lessover_les_ix` (`lessonid`),
  ADD KEY `mdl_lessover_gro_ix` (`groupid`),
  ADD KEY `mdl_lessover_use_ix` (`userid`);

--
-- Indexes for table `mdl_lesson_pages`
--
ALTER TABLE `mdl_lesson_pages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lesspage_les_ix` (`lessonid`);

--
-- Indexes for table `mdl_lesson_timer`
--
ALTER TABLE `mdl_lesson_timer`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lesstime_use_ix` (`userid`),
  ADD KEY `mdl_lesstime_les_ix` (`lessonid`);

--
-- Indexes for table `mdl_license`
--
ALTER TABLE `mdl_license`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_lock_db`
--
ALTER TABLE `mdl_lock_db`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_lockdb_res_uix` (`resourcekey`),
  ADD KEY `mdl_lockdb_exp_ix` (`expires`),
  ADD KEY `mdl_lockdb_own_ix` (`owner`);

--
-- Indexes for table `mdl_log`
--
ALTER TABLE `mdl_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_log_coumodact_ix` (`course`,`module`,`action`),
  ADD KEY `mdl_log_tim_ix` (`time`),
  ADD KEY `mdl_log_act_ix` (`action`),
  ADD KEY `mdl_log_usecou_ix` (`userid`,`course`),
  ADD KEY `mdl_log_cmi_ix` (`cmid`);

--
-- Indexes for table `mdl_logstore_standard_log`
--
ALTER TABLE `mdl_logstore_standard_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_logsstanlog_tim_ix` (`timecreated`),
  ADD KEY `mdl_logsstanlog_couanotim_ix` (`courseid`,`anonymous`,`timecreated`),
  ADD KEY `mdl_logsstanlog_useconconcr_ix` (`userid`,`contextlevel`,`contextinstanceid`,`crud`,`edulevel`,`timecreated`),
  ADD KEY `mdl_logsstanlog_con_ix` (`contextid`),
  ADD KEY `mdl_logsstanlog_use_ix` (`userid`),
  ADD KEY `mdl_logsstanlog_cou_ix` (`courseid`),
  ADD KEY `mdl_logsstanlog_rea_ix` (`realuserid`),
  ADD KEY `mdl_logsstanlog_rel_ix` (`relateduserid`);

--
-- Indexes for table `mdl_log_display`
--
ALTER TABLE `mdl_log_display`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_logdisp_modact_uix` (`module`,`action`);

--
-- Indexes for table `mdl_log_queries`
--
ALTER TABLE `mdl_log_queries`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_lti`
--
ALTER TABLE `mdl_lti`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lti_cou_ix` (`course`);

--
-- Indexes for table `mdl_ltiservice_gradebookservices`
--
ALTER TABLE `mdl_ltiservice_gradebookservices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_ltisgrad_lti_ix` (`ltilinkid`),
  ADD KEY `mdl_ltisgrad_gracou_ix` (`gradeitemid`,`courseid`);

--
-- Indexes for table `mdl_lti_access_tokens`
--
ALTER TABLE `mdl_lti_access_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_ltiaccetoke_tok_uix` (`token`),
  ADD KEY `mdl_ltiaccetoke_typ_ix` (`typeid`);

--
-- Indexes for table `mdl_lti_coursevisible`
--
ALTER TABLE `mdl_lti_coursevisible`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_lticour_cou_ix` (`courseid`),
  ADD KEY `mdl_lticour_typ_ix` (`typeid`);

--
-- Indexes for table `mdl_lti_submission`
--
ALTER TABLE `mdl_lti_submission`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_ltisubm_lti_ix` (`ltiid`);

--
-- Indexes for table `mdl_lti_tool_proxies`
--
ALTER TABLE `mdl_lti_tool_proxies`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_ltitoolprox_gui_uix` (`guid`);

--
-- Indexes for table `mdl_lti_tool_settings`
--
ALTER TABLE `mdl_lti_tool_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_ltitoolsett_too_ix` (`toolproxyid`),
  ADD KEY `mdl_ltitoolsett_typ_ix` (`typeid`),
  ADD KEY `mdl_ltitoolsett_cou_ix` (`course`),
  ADD KEY `mdl_ltitoolsett_cou2_ix` (`coursemoduleid`);

--
-- Indexes for table `mdl_lti_types`
--
ALTER TABLE `mdl_lti_types`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_ltitype_cli_uix` (`clientid`),
  ADD KEY `mdl_ltitype_cou_ix` (`course`),
  ADD KEY `mdl_ltitype_too_ix` (`tooldomain`);

--
-- Indexes for table `mdl_lti_types_categories`
--
ALTER TABLE `mdl_lti_types_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_ltitypecate_typ_ix` (`typeid`),
  ADD KEY `mdl_ltitypecate_cat_ix` (`categoryid`);

--
-- Indexes for table `mdl_lti_types_config`
--
ALTER TABLE `mdl_lti_types_config`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_ltitypeconf_typ_ix` (`typeid`);

--
-- Indexes for table `mdl_matrix_room`
--
ALTER TABLE `mdl_matrix_room`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_matrroom_com_ix` (`commid`);

--
-- Indexes for table `mdl_message`
--
ALTER TABLE `mdl_message`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_mess_useusetimtim_ix` (`useridfrom`,`useridto`,`timeuserfromdeleted`,`timeusertodeleted`),
  ADD KEY `mdl_mess_usetimnot_ix` (`useridfrom`,`timeuserfromdeleted`,`notification`),
  ADD KEY `mdl_mess_usetimnot2_ix` (`useridto`,`timeusertodeleted`,`notification`);

--
-- Indexes for table `mdl_messageinbound_datakeys`
--
ALTER TABLE `mdl_messageinbound_datakeys`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messdata_handat_uix` (`handler`,`datavalue`),
  ADD KEY `mdl_messdata_han_ix` (`handler`);

--
-- Indexes for table `mdl_messageinbound_handlers`
--
ALTER TABLE `mdl_messageinbound_handlers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messhand_cla_uix` (`classname`);

--
-- Indexes for table `mdl_messageinbound_messagelist`
--
ALTER TABLE `mdl_messageinbound_messagelist`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_messmess_use_ix` (`userid`);

--
-- Indexes for table `mdl_messages`
--
ALTER TABLE `mdl_messages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_mess_contim_ix` (`conversationid`,`timecreated`),
  ADD KEY `mdl_mess_use_ix` (`useridfrom`),
  ADD KEY `mdl_mess_con_ix` (`conversationid`);

--
-- Indexes for table `mdl_message_airnotifier_devices`
--
ALTER TABLE `mdl_message_airnotifier_devices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messairndevi_use_uix` (`userdeviceid`);

--
-- Indexes for table `mdl_message_contacts`
--
ALTER TABLE `mdl_message_contacts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messcont_usecon_uix` (`userid`,`contactid`),
  ADD KEY `mdl_messcont_use_ix` (`userid`),
  ADD KEY `mdl_messcont_con_ix` (`contactid`);

--
-- Indexes for table `mdl_message_contact_requests`
--
ALTER TABLE `mdl_message_contact_requests`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messcontrequ_usereq_uix` (`userid`,`requesteduserid`),
  ADD KEY `mdl_messcontrequ_use_ix` (`userid`),
  ADD KEY `mdl_messcontrequ_req_ix` (`requesteduserid`);

--
-- Indexes for table `mdl_message_conversations`
--
ALTER TABLE `mdl_message_conversations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_messconv_typ_ix` (`type`),
  ADD KEY `mdl_messconv_con_ix` (`convhash`),
  ADD KEY `mdl_messconv_comiteitecon_ix` (`component`,`itemtype`,`itemid`,`contextid`),
  ADD KEY `mdl_messconv_con2_ix` (`contextid`);

--
-- Indexes for table `mdl_message_conversation_actions`
--
ALTER TABLE `mdl_message_conversation_actions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_messconvacti_use_ix` (`userid`),
  ADD KEY `mdl_messconvacti_con_ix` (`conversationid`);

--
-- Indexes for table `mdl_message_conversation_members`
--
ALTER TABLE `mdl_message_conversation_members`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_messconvmemb_con_ix` (`conversationid`),
  ADD KEY `mdl_messconvmemb_use_ix` (`userid`);

--
-- Indexes for table `mdl_message_email_messages`
--
ALTER TABLE `mdl_message_email_messages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_messemaimess_use_ix` (`useridto`),
  ADD KEY `mdl_messemaimess_con_ix` (`conversationid`),
  ADD KEY `mdl_messemaimess_mes_ix` (`messageid`);

--
-- Indexes for table `mdl_message_popup`
--
ALTER TABLE `mdl_message_popup`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messpopu_mesisr_uix` (`messageid`,`isread`),
  ADD KEY `mdl_messpopu_isr_ix` (`isread`);

--
-- Indexes for table `mdl_message_popup_notifications`
--
ALTER TABLE `mdl_message_popup_notifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_messpopunoti_not_ix` (`notificationid`);

--
-- Indexes for table `mdl_message_processors`
--
ALTER TABLE `mdl_message_processors`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_message_providers`
--
ALTER TABLE `mdl_message_providers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messprov_comnam_uix` (`component`,`name`);

--
-- Indexes for table `mdl_message_read`
--
ALTER TABLE `mdl_message_read`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_messread_useusetimtim_ix` (`useridfrom`,`useridto`,`timeuserfromdeleted`,`timeusertodeleted`),
  ADD KEY `mdl_messread_nottim_ix` (`notification`,`timeread`),
  ADD KEY `mdl_messread_usetimnot_ix` (`useridfrom`,`timeuserfromdeleted`,`notification`),
  ADD KEY `mdl_messread_usetimnot2_ix` (`useridto`,`timeusertodeleted`,`notification`);

--
-- Indexes for table `mdl_message_users_blocked`
--
ALTER TABLE `mdl_message_users_blocked`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messuserbloc_useblo_uix` (`userid`,`blockeduserid`),
  ADD KEY `mdl_messuserbloc_use_ix` (`userid`),
  ADD KEY `mdl_messuserbloc_blo_ix` (`blockeduserid`);

--
-- Indexes for table `mdl_message_user_actions`
--
ALTER TABLE `mdl_message_user_actions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_messuseracti_usemesact_uix` (`userid`,`messageid`,`action`),
  ADD KEY `mdl_messuseracti_use_ix` (`userid`),
  ADD KEY `mdl_messuseracti_mes_ix` (`messageid`);

--
-- Indexes for table `mdl_mnetservice_enrol_courses`
--
ALTER TABLE `mdl_mnetservice_enrol_courses`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_mnetenrocour_hosrem_uix` (`hostid`,`remoteid`);

--
-- Indexes for table `mdl_mnetservice_enrol_enrolments`
--
ALTER TABLE `mdl_mnetservice_enrol_enrolments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_mnetenroenro_use_ix` (`userid`),
  ADD KEY `mdl_mnetenroenro_hos_ix` (`hostid`);

--
-- Indexes for table `mdl_mnet_application`
--
ALTER TABLE `mdl_mnet_application`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_mnet_host`
--
ALTER TABLE `mdl_mnet_host`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_mnethost_las_ix` (`last_log_id`),
  ADD KEY `mdl_mnethost_app_ix` (`applicationid`);

--
-- Indexes for table `mdl_mnet_host2service`
--
ALTER TABLE `mdl_mnet_host2service`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_mnethost_hosser_uix` (`hostid`,`serviceid`);

--
-- Indexes for table `mdl_mnet_log`
--
ALTER TABLE `mdl_mnet_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_mnetlog_hosusecou_ix` (`hostid`,`userid`,`course`);

--
-- Indexes for table `mdl_mnet_remote_rpc`
--
ALTER TABLE `mdl_mnet_remote_rpc`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_mnet_remote_service2rpc`
--
ALTER TABLE `mdl_mnet_remote_service2rpc`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_mnetremoserv_rpcser_uix` (`rpcid`,`serviceid`);

--
-- Indexes for table `mdl_mnet_rpc`
--
ALTER TABLE `mdl_mnet_rpc`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_mnetrpc_enaxml_ix` (`enabled`,`xmlrpcpath`);

--
-- Indexes for table `mdl_mnet_service`
--
ALTER TABLE `mdl_mnet_service`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_mnet_service2rpc`
--
ALTER TABLE `mdl_mnet_service2rpc`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_mnetserv_rpcser_uix` (`rpcid`,`serviceid`);

--
-- Indexes for table `mdl_mnet_session`
--
ALTER TABLE `mdl_mnet_session`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_mnetsess_tok_uix` (`token`),
  ADD KEY `mdl_mnetsess_use_ix` (`userid`),
  ADD KEY `mdl_mnetsess_mne_ix` (`mnethostid`);

--
-- Indexes for table `mdl_mnet_sso_access_control`
--
ALTER TABLE `mdl_mnet_sso_access_control`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_mnetssoaccecont_mneuse_uix` (`mnet_host_id`,`username`);

--
-- Indexes for table `mdl_modules`
--
ALTER TABLE `mdl_modules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_modu_nam_ix` (`name`);

--
-- Indexes for table `mdl_moodlenet_share_progress`
--
ALTER TABLE `mdl_moodlenet_share_progress`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_my_pages`
--
ALTER TABLE `mdl_my_pages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_mypage_usepri_ix` (`userid`,`private`);

--
-- Indexes for table `mdl_notifications`
--
ALTER TABLE `mdl_notifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_noti_use_ix` (`useridfrom`),
  ADD KEY `mdl_noti_use2_ix` (`useridto`);

--
-- Indexes for table `mdl_oauth2_access_token`
--
ALTER TABLE `mdl_oauth2_access_token`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_oautaccetoke_iss_uix` (`issuerid`),
  ADD KEY `mdl_oautaccetoke_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_oauth2_endpoint`
--
ALTER TABLE `mdl_oauth2_endpoint`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_oautendp_iss_ix` (`issuerid`),
  ADD KEY `mdl_oautendp_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_oauth2_issuer`
--
ALTER TABLE `mdl_oauth2_issuer`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_oauth2_refresh_token`
--
ALTER TABLE `mdl_oauth2_refresh_token`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_oautrefrtoke_useisssco_uix` (`userid`,`issuerid`,`scopehash`),
  ADD KEY `mdl_oautrefrtoke_iss_ix` (`issuerid`),
  ADD KEY `mdl_oautrefrtoke_use_ix` (`userid`);

--
-- Indexes for table `mdl_oauth2_system_account`
--
ALTER TABLE `mdl_oauth2_system_account`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_oautsystacco_iss_uix` (`issuerid`),
  ADD KEY `mdl_oautsystacco_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_oauth2_user_field_mapping`
--
ALTER TABLE `mdl_oauth2_user_field_mapping`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_oautuserfielmapp_issin_uix` (`issuerid`,`internalfield`),
  ADD KEY `mdl_oautuserfielmapp_iss_ix` (`issuerid`),
  ADD KEY `mdl_oautuserfielmapp_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_page`
--
ALTER TABLE `mdl_page`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_page_cou_ix` (`course`);

--
-- Indexes for table `mdl_paygw_paypal`
--
ALTER TABLE `mdl_paygw_paypal`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_paygpayp_pay_uix` (`paymentid`);

--
-- Indexes for table `mdl_payments`
--
ALTER TABLE `mdl_payments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_paym_gat_ix` (`gateway`),
  ADD KEY `mdl_paym_compayite_ix` (`component`,`paymentarea`,`itemid`),
  ADD KEY `mdl_paym_use_ix` (`userid`),
  ADD KEY `mdl_paym_acc_ix` (`accountid`);

--
-- Indexes for table `mdl_payment_accounts`
--
ALTER TABLE `mdl_payment_accounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_paymacco_con_ix` (`contextid`);

--
-- Indexes for table `mdl_payment_gateways`
--
ALTER TABLE `mdl_payment_gateways`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_paymgate_acc_ix` (`accountid`);

--
-- Indexes for table `mdl_portfolio_instance`
--
ALTER TABLE `mdl_portfolio_instance`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_portfolio_instance_config`
--
ALTER TABLE `mdl_portfolio_instance_config`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_portinstconf_nam_ix` (`name`),
  ADD KEY `mdl_portinstconf_ins_ix` (`instance`);

--
-- Indexes for table `mdl_portfolio_instance_user`
--
ALTER TABLE `mdl_portfolio_instance_user`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_portinstuser_ins_ix` (`instance`),
  ADD KEY `mdl_portinstuser_use_ix` (`userid`);

--
-- Indexes for table `mdl_portfolio_log`
--
ALTER TABLE `mdl_portfolio_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_portlog_use_ix` (`userid`),
  ADD KEY `mdl_portlog_por_ix` (`portfolio`),
  ADD KEY `mdl_portlog_tem_ix` (`tempdataid`);

--
-- Indexes for table `mdl_portfolio_mahara_queue`
--
ALTER TABLE `mdl_portfolio_mahara_queue`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_portmahaqueu_tok_ix` (`token`),
  ADD KEY `mdl_portmahaqueu_tra_ix` (`transferid`);

--
-- Indexes for table `mdl_portfolio_tempdata`
--
ALTER TABLE `mdl_portfolio_tempdata`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_porttemp_use_ix` (`userid`),
  ADD KEY `mdl_porttemp_ins_ix` (`instance`);

--
-- Indexes for table `mdl_post`
--
ALTER TABLE `mdl_post`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_post_iduse_uix` (`id`,`userid`),
  ADD KEY `mdl_post_las_ix` (`lastmodified`),
  ADD KEY `mdl_post_mod_ix` (`module`),
  ADD KEY `mdl_post_sub_ix` (`subject`),
  ADD KEY `mdl_post_use_ix` (`usermodified`),
  ADD KEY `mdl_post_cou_ix` (`courseid`),
  ADD KEY `mdl_post_cou2_ix` (`coursemoduleid`);

--
-- Indexes for table `mdl_profiling`
--
ALTER TABLE `mdl_profiling`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_prof_run_uix` (`runid`),
  ADD KEY `mdl_prof_urlrun_ix` (`url`,`runreference`),
  ADD KEY `mdl_prof_timrun_ix` (`timecreated`,`runreference`);

--
-- Indexes for table `mdl_qtype_ddimageortext`
--
ALTER TABLE `mdl_qtype_ddimageortext`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_qtypddim_que_ix` (`questionid`);

--
-- Indexes for table `mdl_qtype_ddimageortext_drags`
--
ALTER TABLE `mdl_qtype_ddimageortext_drags`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_qtypddimdrag_que_ix` (`questionid`);

--
-- Indexes for table `mdl_qtype_ddimageortext_drops`
--
ALTER TABLE `mdl_qtype_ddimageortext_drops`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_qtypddimdrop_que_ix` (`questionid`);

--
-- Indexes for table `mdl_qtype_ddmarker`
--
ALTER TABLE `mdl_qtype_ddmarker`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_qtypddma_que_ix` (`questionid`);

--
-- Indexes for table `mdl_qtype_ddmarker_drags`
--
ALTER TABLE `mdl_qtype_ddmarker_drags`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_qtypddmadrag_que_ix` (`questionid`);

--
-- Indexes for table `mdl_qtype_ddmarker_drops`
--
ALTER TABLE `mdl_qtype_ddmarker_drops`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_qtypddmadrop_que_ix` (`questionid`);

--
-- Indexes for table `mdl_qtype_essay_options`
--
ALTER TABLE `mdl_qtype_essay_options`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_qtypessaopti_que_uix` (`questionid`);

--
-- Indexes for table `mdl_qtype_match_options`
--
ALTER TABLE `mdl_qtype_match_options`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_qtypmatcopti_que_uix` (`questionid`);

--
-- Indexes for table `mdl_qtype_match_subquestions`
--
ALTER TABLE `mdl_qtype_match_subquestions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_qtypmatcsubq_que_ix` (`questionid`);

--
-- Indexes for table `mdl_qtype_multichoice_options`
--
ALTER TABLE `mdl_qtype_multichoice_options`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_qtypmultopti_que_uix` (`questionid`);

--
-- Indexes for table `mdl_qtype_randomsamatch_options`
--
ALTER TABLE `mdl_qtype_randomsamatch_options`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_qtyprandopti_que_uix` (`questionid`);

--
-- Indexes for table `mdl_qtype_shortanswer_options`
--
ALTER TABLE `mdl_qtype_shortanswer_options`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_qtypshoropti_que_uix` (`questionid`);

--
-- Indexes for table `mdl_question`
--
ALTER TABLE `mdl_question`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_ques_qty_ix` (`qtype`),
  ADD KEY `mdl_ques_par_ix` (`parent`),
  ADD KEY `mdl_ques_cre_ix` (`createdby`),
  ADD KEY `mdl_ques_mod_ix` (`modifiedby`);

--
-- Indexes for table `mdl_question_answers`
--
ALTER TABLE `mdl_question_answers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesansw_que_ix` (`question`);

--
-- Indexes for table `mdl_question_attempts`
--
ALTER TABLE `mdl_question_attempts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quesatte_queslo_uix` (`questionusageid`,`slot`),
  ADD KEY `mdl_quesatte_beh_ix` (`behaviour`),
  ADD KEY `mdl_quesatte_que_ix` (`questionid`),
  ADD KEY `mdl_quesatte_que2_ix` (`questionusageid`);

--
-- Indexes for table `mdl_question_attempt_steps`
--
ALTER TABLE `mdl_question_attempt_steps`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quesattestep_queseq_uix` (`questionattemptid`,`sequencenumber`),
  ADD KEY `mdl_quesattestep_que_ix` (`questionattemptid`),
  ADD KEY `mdl_quesattestep_use_ix` (`userid`);

--
-- Indexes for table `mdl_question_attempt_step_data`
--
ALTER TABLE `mdl_question_attempt_step_data`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesattestepdata_att_ix` (`attemptstepid`);

--
-- Indexes for table `mdl_question_bank_entries`
--
ALTER TABLE `mdl_question_bank_entries`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quesbankentr_queidn_uix` (`questioncategoryid`,`idnumber`),
  ADD KEY `mdl_quesbankentr_que_ix` (`questioncategoryid`),
  ADD KEY `mdl_quesbankentr_own_ix` (`ownerid`);

--
-- Indexes for table `mdl_question_calculated`
--
ALTER TABLE `mdl_question_calculated`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quescalc_ans_ix` (`answer`),
  ADD KEY `mdl_quescalc_que_ix` (`question`);

--
-- Indexes for table `mdl_question_calculated_options`
--
ALTER TABLE `mdl_question_calculated_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quescalcopti_que_ix` (`question`);

--
-- Indexes for table `mdl_question_categories`
--
ALTER TABLE `mdl_question_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quescate_consta_uix` (`contextid`,`stamp`),
  ADD UNIQUE KEY `mdl_quescate_conidn_uix` (`contextid`,`idnumber`),
  ADD KEY `mdl_quescate_con_ix` (`contextid`),
  ADD KEY `mdl_quescate_par_ix` (`parent`);

--
-- Indexes for table `mdl_question_datasets`
--
ALTER TABLE `mdl_question_datasets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesdata_quedat_ix` (`question`,`datasetdefinition`),
  ADD KEY `mdl_quesdata_que_ix` (`question`),
  ADD KEY `mdl_quesdata_dat_ix` (`datasetdefinition`);

--
-- Indexes for table `mdl_question_dataset_definitions`
--
ALTER TABLE `mdl_question_dataset_definitions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesdatadefi_cat_ix` (`category`);

--
-- Indexes for table `mdl_question_dataset_items`
--
ALTER TABLE `mdl_question_dataset_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesdataitem_def_ix` (`definition`);

--
-- Indexes for table `mdl_question_ddwtos`
--
ALTER TABLE `mdl_question_ddwtos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesddwt_que_ix` (`questionid`);

--
-- Indexes for table `mdl_question_gapselect`
--
ALTER TABLE `mdl_question_gapselect`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesgaps_que_ix` (`questionid`);

--
-- Indexes for table `mdl_question_hints`
--
ALTER TABLE `mdl_question_hints`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_queshint_que_ix` (`questionid`);

--
-- Indexes for table `mdl_question_multianswer`
--
ALTER TABLE `mdl_question_multianswer`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesmult_que_ix` (`question`);

--
-- Indexes for table `mdl_question_numerical`
--
ALTER TABLE `mdl_question_numerical`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesnume_ans_ix` (`answer`),
  ADD KEY `mdl_quesnume_que_ix` (`question`);

--
-- Indexes for table `mdl_question_numerical_options`
--
ALTER TABLE `mdl_question_numerical_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesnumeopti_que_ix` (`question`);

--
-- Indexes for table `mdl_question_numerical_units`
--
ALTER TABLE `mdl_question_numerical_units`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quesnumeunit_queuni_uix` (`question`,`unit`),
  ADD KEY `mdl_quesnumeunit_que_ix` (`question`);

--
-- Indexes for table `mdl_question_references`
--
ALTER TABLE `mdl_question_references`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quesrefe_usicomqueite_uix` (`usingcontextid`,`component`,`questionarea`,`itemid`),
  ADD KEY `mdl_quesrefe_usi_ix` (`usingcontextid`),
  ADD KEY `mdl_quesrefe_que_ix` (`questionbankentryid`);

--
-- Indexes for table `mdl_question_response_analysis`
--
ALTER TABLE `mdl_question_response_analysis`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesrespanal_que_ix` (`questionid`);

--
-- Indexes for table `mdl_question_response_count`
--
ALTER TABLE `mdl_question_response_count`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesrespcoun_ana_ix` (`analysisid`);

--
-- Indexes for table `mdl_question_set_references`
--
ALTER TABLE `mdl_question_set_references`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quessetrefe_usicomquei_uix` (`usingcontextid`,`component`,`questionarea`,`itemid`),
  ADD KEY `mdl_quessetrefe_usi_ix` (`usingcontextid`),
  ADD KEY `mdl_quessetrefe_que_ix` (`questionscontextid`);

--
-- Indexes for table `mdl_question_statistics`
--
ALTER TABLE `mdl_question_statistics`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesstat_que_ix` (`questionid`);

--
-- Indexes for table `mdl_question_truefalse`
--
ALTER TABLE `mdl_question_truefalse`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_questrue_que_ix` (`question`);

--
-- Indexes for table `mdl_question_usages`
--
ALTER TABLE `mdl_question_usages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesusag_con_ix` (`contextid`);

--
-- Indexes for table `mdl_question_versions`
--
ALTER TABLE `mdl_question_versions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quesvers_que_ix` (`questionbankentryid`),
  ADD KEY `mdl_quesvers_que2_ix` (`questionid`);

--
-- Indexes for table `mdl_quiz`
--
ALTER TABLE `mdl_quiz`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quiz_cou_ix` (`course`);

--
-- Indexes for table `mdl_quizaccess_seb_quizsettings`
--
ALTER TABLE `mdl_quizaccess_seb_quizsettings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quizsebquiz_qui_uix` (`quizid`),
  ADD UNIQUE KEY `mdl_quizsebquiz_cmi_uix` (`cmid`),
  ADD KEY `mdl_quizsebquiz_tem_ix` (`templateid`),
  ADD KEY `mdl_quizsebquiz_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_quizaccess_seb_template`
--
ALTER TABLE `mdl_quizaccess_seb_template`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quizsebtemp_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_quiz_attempts`
--
ALTER TABLE `mdl_quiz_attempts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quizatte_quiuseatt_uix` (`quiz`,`userid`,`attempt`),
  ADD UNIQUE KEY `mdl_quizatte_uni_uix` (`uniqueid`),
  ADD KEY `mdl_quizatte_statim_ix` (`state`,`timecheckstate`),
  ADD KEY `mdl_quizatte_qui_ix` (`quiz`),
  ADD KEY `mdl_quizatte_use_ix` (`userid`);

--
-- Indexes for table `mdl_quiz_feedback`
--
ALTER TABLE `mdl_quiz_feedback`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quizfeed_qui_ix` (`quizid`);

--
-- Indexes for table `mdl_quiz_grades`
--
ALTER TABLE `mdl_quiz_grades`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quizgrad_use_ix` (`userid`),
  ADD KEY `mdl_quizgrad_qui_ix` (`quiz`);

--
-- Indexes for table `mdl_quiz_overrides`
--
ALTER TABLE `mdl_quiz_overrides`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quizover_qui_ix` (`quiz`),
  ADD KEY `mdl_quizover_gro_ix` (`groupid`),
  ADD KEY `mdl_quizover_use_ix` (`userid`);

--
-- Indexes for table `mdl_quiz_overview_regrades`
--
ALTER TABLE `mdl_quiz_overview_regrades`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_quizoverregr_queslo_ix` (`questionusageid`,`slot`);

--
-- Indexes for table `mdl_quiz_reports`
--
ALTER TABLE `mdl_quiz_reports`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quizrepo_nam_uix` (`name`);

--
-- Indexes for table `mdl_quiz_sections`
--
ALTER TABLE `mdl_quiz_sections`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quizsect_quifir_uix` (`quizid`,`firstslot`),
  ADD KEY `mdl_quizsect_qui_ix` (`quizid`);

--
-- Indexes for table `mdl_quiz_slots`
--
ALTER TABLE `mdl_quiz_slots`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_quizslot_quislo_uix` (`quizid`,`slot`),
  ADD KEY `mdl_quizslot_qui_ix` (`quizid`);

--
-- Indexes for table `mdl_quiz_statistics`
--
ALTER TABLE `mdl_quiz_statistics`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_rating`
--
ALTER TABLE `mdl_rating`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_rati_comratconite_ix` (`component`,`ratingarea`,`contextid`,`itemid`),
  ADD KEY `mdl_rati_con_ix` (`contextid`),
  ADD KEY `mdl_rati_use_ix` (`userid`),
  ADD KEY `mdl_rati_sca_ix` (`scaleid`);

--
-- Indexes for table `mdl_registration_hubs`
--
ALTER TABLE `mdl_registration_hubs`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_reportbuilder_audience`
--
ALTER TABLE `mdl_reportbuilder_audience`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_repoaudi_rep_ix` (`reportid`),
  ADD KEY `mdl_repoaudi_use_ix` (`usercreated`),
  ADD KEY `mdl_repoaudi_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_reportbuilder_column`
--
ALTER TABLE `mdl_reportbuilder_column`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_repocolu_rep_ix` (`reportid`),
  ADD KEY `mdl_repocolu_use_ix` (`usercreated`),
  ADD KEY `mdl_repocolu_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_reportbuilder_filter`
--
ALTER TABLE `mdl_reportbuilder_filter`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_repofilt_repuniisc_uix` (`reportid`,`uniqueidentifier`,`iscondition`),
  ADD KEY `mdl_repofilt_rep_ix` (`reportid`),
  ADD KEY `mdl_repofilt_use_ix` (`usercreated`),
  ADD KEY `mdl_repofilt_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_reportbuilder_report`
--
ALTER TABLE `mdl_reportbuilder_report`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_reporepo_use_ix` (`usercreated`),
  ADD KEY `mdl_reporepo_use2_ix` (`usermodified`),
  ADD KEY `mdl_reporepo_con_ix` (`contextid`);

--
-- Indexes for table `mdl_reportbuilder_schedule`
--
ALTER TABLE `mdl_reportbuilder_schedule`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_reposche_rep_ix` (`reportid`),
  ADD KEY `mdl_reposche_use_ix` (`userviewas`),
  ADD KEY `mdl_reposche_use2_ix` (`usercreated`),
  ADD KEY `mdl_reposche_use3_ix` (`usermodified`);

--
-- Indexes for table `mdl_repository`
--
ALTER TABLE `mdl_repository`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_repository_instances`
--
ALTER TABLE `mdl_repository_instances`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_repoinst_use_ix` (`userid`),
  ADD KEY `mdl_repoinst_con_ix` (`contextid`);

--
-- Indexes for table `mdl_repository_instance_config`
--
ALTER TABLE `mdl_repository_instance_config`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_repository_onedrive_access`
--
ALTER TABLE `mdl_repository_onedrive_access`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_repoonedacce_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_resource`
--
ALTER TABLE `mdl_resource`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_reso_cou_ix` (`course`);

--
-- Indexes for table `mdl_resource_old`
--
ALTER TABLE `mdl_resource_old`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_resoold_old_uix` (`oldid`),
  ADD KEY `mdl_resoold_cmi_ix` (`cmid`);

--
-- Indexes for table `mdl_role`
--
ALTER TABLE `mdl_role`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_role_sor_uix` (`sortorder`),
  ADD UNIQUE KEY `mdl_role_sho_uix` (`shortname`);

--
-- Indexes for table `mdl_role_allow_assign`
--
ALTER TABLE `mdl_role_allow_assign`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_rolealloassi_rolall_uix` (`roleid`,`allowassign`),
  ADD KEY `mdl_rolealloassi_rol_ix` (`roleid`),
  ADD KEY `mdl_rolealloassi_all_ix` (`allowassign`);

--
-- Indexes for table `mdl_role_allow_override`
--
ALTER TABLE `mdl_role_allow_override`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_rolealloover_rolall_uix` (`roleid`,`allowoverride`),
  ADD KEY `mdl_rolealloover_rol_ix` (`roleid`),
  ADD KEY `mdl_rolealloover_all_ix` (`allowoverride`);

--
-- Indexes for table `mdl_role_allow_switch`
--
ALTER TABLE `mdl_role_allow_switch`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_rolealloswit_rolall_uix` (`roleid`,`allowswitch`),
  ADD KEY `mdl_rolealloswit_rol_ix` (`roleid`),
  ADD KEY `mdl_rolealloswit_all_ix` (`allowswitch`);

--
-- Indexes for table `mdl_role_allow_view`
--
ALTER TABLE `mdl_role_allow_view`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_rolealloview_rolall_uix` (`roleid`,`allowview`),
  ADD KEY `mdl_rolealloview_rol_ix` (`roleid`),
  ADD KEY `mdl_rolealloview_all_ix` (`allowview`);

--
-- Indexes for table `mdl_role_assignments`
--
ALTER TABLE `mdl_role_assignments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_roleassi_sor_ix` (`sortorder`),
  ADD KEY `mdl_roleassi_rolcon_ix` (`roleid`,`contextid`),
  ADD KEY `mdl_roleassi_useconrol_ix` (`userid`,`contextid`,`roleid`),
  ADD KEY `mdl_roleassi_comiteuse_ix` (`component`,`itemid`,`userid`),
  ADD KEY `mdl_roleassi_rol_ix` (`roleid`),
  ADD KEY `mdl_roleassi_con_ix` (`contextid`),
  ADD KEY `mdl_roleassi_use_ix` (`userid`);

--
-- Indexes for table `mdl_role_capabilities`
--
ALTER TABLE `mdl_role_capabilities`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_rolecapa_rolconcap_uix` (`roleid`,`contextid`,`capability`),
  ADD KEY `mdl_rolecapa_rol_ix` (`roleid`),
  ADD KEY `mdl_rolecapa_con_ix` (`contextid`),
  ADD KEY `mdl_rolecapa_mod_ix` (`modifierid`),
  ADD KEY `mdl_rolecapa_cap_ix` (`capability`);

--
-- Indexes for table `mdl_role_context_levels`
--
ALTER TABLE `mdl_role_context_levels`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_rolecontleve_conrol_uix` (`contextlevel`,`roleid`),
  ADD KEY `mdl_rolecontleve_rol_ix` (`roleid`);

--
-- Indexes for table `mdl_role_names`
--
ALTER TABLE `mdl_role_names`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_rolename_rolcon_uix` (`roleid`,`contextid`),
  ADD KEY `mdl_rolename_rol_ix` (`roleid`),
  ADD KEY `mdl_rolename_con_ix` (`contextid`);

--
-- Indexes for table `mdl_scale`
--
ALTER TABLE `mdl_scale`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_scal_cou_ix` (`courseid`),
  ADD KEY `mdl_scal_use_ix` (`userid`);

--
-- Indexes for table `mdl_scale_history`
--
ALTER TABLE `mdl_scale_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_scalhist_act_ix` (`action`),
  ADD KEY `mdl_scalhist_tim_ix` (`timemodified`),
  ADD KEY `mdl_scalhist_old_ix` (`oldid`),
  ADD KEY `mdl_scalhist_cou_ix` (`courseid`),
  ADD KEY `mdl_scalhist_log_ix` (`loggeduser`),
  ADD KEY `mdl_scalhist_use_ix` (`userid`);

--
-- Indexes for table `mdl_scorm`
--
ALTER TABLE `mdl_scorm`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_scor_cou_ix` (`course`);

--
-- Indexes for table `mdl_scorm_aicc_session`
--
ALTER TABLE `mdl_scorm_aicc_session`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_scoraiccsess_sco_ix` (`scormid`),
  ADD KEY `mdl_scoraiccsess_use_ix` (`userid`);

--
-- Indexes for table `mdl_scorm_attempt`
--
ALTER TABLE `mdl_scorm_attempt`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_scoratte_use_ix` (`userid`),
  ADD KEY `mdl_scoratte_sco_ix` (`scormid`);

--
-- Indexes for table `mdl_scorm_element`
--
ALTER TABLE `mdl_scorm_element`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_scorelem_ele_uix` (`element`);

--
-- Indexes for table `mdl_scorm_scoes`
--
ALTER TABLE `mdl_scorm_scoes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_scorscoe_sco_ix` (`scorm`);

--
-- Indexes for table `mdl_scorm_scoes_data`
--
ALTER TABLE `mdl_scorm_scoes_data`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_scorscoedata_sco_ix` (`scoid`);

--
-- Indexes for table `mdl_scorm_scoes_value`
--
ALTER TABLE `mdl_scorm_scoes_value`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_scorscoevalu_sco_ix` (`scoid`),
  ADD KEY `mdl_scorscoevalu_att_ix` (`attemptid`),
  ADD KEY `mdl_scorscoevalu_ele_ix` (`elementid`);

--
-- Indexes for table `mdl_scorm_seq_mapinfo`
--
ALTER TABLE `mdl_scorm_seq_mapinfo`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_scorseqmapi_scoidobj_uix` (`scoid`,`id`,`objectiveid`),
  ADD KEY `mdl_scorseqmapi_sco_ix` (`scoid`),
  ADD KEY `mdl_scorseqmapi_obj_ix` (`objectiveid`);

--
-- Indexes for table `mdl_scorm_seq_objective`
--
ALTER TABLE `mdl_scorm_seq_objective`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_scorseqobje_scoid_uix` (`scoid`,`id`),
  ADD KEY `mdl_scorseqobje_sco_ix` (`scoid`);

--
-- Indexes for table `mdl_scorm_seq_rolluprule`
--
ALTER TABLE `mdl_scorm_seq_rolluprule`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_scorseqroll_scoid_uix` (`scoid`,`id`),
  ADD KEY `mdl_scorseqroll_sco_ix` (`scoid`);

--
-- Indexes for table `mdl_scorm_seq_rolluprulecond`
--
ALTER TABLE `mdl_scorm_seq_rolluprulecond`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_scorseqroll_scorolid_uix` (`scoid`,`rollupruleid`,`id`),
  ADD KEY `mdl_scorseqroll_sco2_ix` (`scoid`),
  ADD KEY `mdl_scorseqroll_rol_ix` (`rollupruleid`);

--
-- Indexes for table `mdl_scorm_seq_rulecond`
--
ALTER TABLE `mdl_scorm_seq_rulecond`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_scorseqrule_idscorul_uix` (`id`,`scoid`,`ruleconditionsid`),
  ADD KEY `mdl_scorseqrule_sco2_ix` (`scoid`),
  ADD KEY `mdl_scorseqrule_rul_ix` (`ruleconditionsid`);

--
-- Indexes for table `mdl_scorm_seq_ruleconds`
--
ALTER TABLE `mdl_scorm_seq_ruleconds`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_scorseqrule_scoid_uix` (`scoid`,`id`),
  ADD KEY `mdl_scorseqrule_sco_ix` (`scoid`);

--
-- Indexes for table `mdl_search_index_requests`
--
ALTER TABLE `mdl_search_index_requests`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_searinderequ_indtim_ix` (`indexpriority`,`timerequested`),
  ADD KEY `mdl_searinderequ_con_ix` (`contextid`);

--
-- Indexes for table `mdl_search_simpledb_index`
--
ALTER TABLE `mdl_search_simpledb_index`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_searsimpinde_doc_uix` (`docid`),
  ADD KEY `mdl_searsimpinde_owncon_ix` (`owneruserid`,`contextid`),
  ADD KEY `mdl_searsimpinde_con_ix` (`contextid`),
  ADD KEY `mdl_searsimpinde_cou_ix` (`courseid`),
  ADD KEY `mdl_searsimpinde_are_ix` (`areaid`);
ALTER TABLE `mdl_search_simpledb_index` ADD FULLTEXT KEY `mdl_search_simpledb_index_index` (`title`,`content`,`description1`,`description2`);

--
-- Indexes for table `mdl_sessions`
--
ALTER TABLE `mdl_sessions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_sess_sid_uix` (`sid`),
  ADD KEY `mdl_sess_sta_ix` (`state`),
  ADD KEY `mdl_sess_tim_ix` (`timecreated`),
  ADD KEY `mdl_sess_tim2_ix` (`timemodified`),
  ADD KEY `mdl_sess_use_ix` (`userid`);

--
-- Indexes for table `mdl_stats_daily`
--
ALTER TABLE `mdl_stats_daily`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_statdail_cou_ix` (`courseid`),
  ADD KEY `mdl_statdail_tim_ix` (`timeend`),
  ADD KEY `mdl_statdail_rol_ix` (`roleid`);

--
-- Indexes for table `mdl_stats_monthly`
--
ALTER TABLE `mdl_stats_monthly`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_statmont_cou_ix` (`courseid`),
  ADD KEY `mdl_statmont_tim_ix` (`timeend`),
  ADD KEY `mdl_statmont_rol_ix` (`roleid`);

--
-- Indexes for table `mdl_stats_user_daily`
--
ALTER TABLE `mdl_stats_user_daily`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_statuserdail_cou_ix` (`courseid`),
  ADD KEY `mdl_statuserdail_use_ix` (`userid`),
  ADD KEY `mdl_statuserdail_rol_ix` (`roleid`),
  ADD KEY `mdl_statuserdail_tim_ix` (`timeend`);

--
-- Indexes for table `mdl_stats_user_monthly`
--
ALTER TABLE `mdl_stats_user_monthly`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_statusermont_cou_ix` (`courseid`),
  ADD KEY `mdl_statusermont_use_ix` (`userid`),
  ADD KEY `mdl_statusermont_rol_ix` (`roleid`),
  ADD KEY `mdl_statusermont_tim_ix` (`timeend`);

--
-- Indexes for table `mdl_stats_user_weekly`
--
ALTER TABLE `mdl_stats_user_weekly`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_statuserweek_cou_ix` (`courseid`),
  ADD KEY `mdl_statuserweek_use_ix` (`userid`),
  ADD KEY `mdl_statuserweek_rol_ix` (`roleid`),
  ADD KEY `mdl_statuserweek_tim_ix` (`timeend`);

--
-- Indexes for table `mdl_stats_weekly`
--
ALTER TABLE `mdl_stats_weekly`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_statweek_cou_ix` (`courseid`),
  ADD KEY `mdl_statweek_tim_ix` (`timeend`),
  ADD KEY `mdl_statweek_rol_ix` (`roleid`);

--
-- Indexes for table `mdl_survey`
--
ALTER TABLE `mdl_survey`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_surv_cou_ix` (`course`);

--
-- Indexes for table `mdl_survey_analysis`
--
ALTER TABLE `mdl_survey_analysis`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_survanal_use_ix` (`userid`),
  ADD KEY `mdl_survanal_sur_ix` (`survey`);

--
-- Indexes for table `mdl_survey_answers`
--
ALTER TABLE `mdl_survey_answers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_survansw_use_ix` (`userid`),
  ADD KEY `mdl_survansw_sur_ix` (`survey`),
  ADD KEY `mdl_survansw_que_ix` (`question`);

--
-- Indexes for table `mdl_survey_questions`
--
ALTER TABLE `mdl_survey_questions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_tag`
--
ALTER TABLE `mdl_tag`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tag_tagnam_uix` (`tagcollid`,`name`),
  ADD KEY `mdl_tag_tagiss_ix` (`tagcollid`,`isstandard`),
  ADD KEY `mdl_tag_use_ix` (`userid`),
  ADD KEY `mdl_tag_tag_ix` (`tagcollid`);

--
-- Indexes for table `mdl_tag_area`
--
ALTER TABLE `mdl_tag_area`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tagarea_comite_uix` (`component`,`itemtype`),
  ADD KEY `mdl_tagarea_tag_ix` (`tagcollid`);

--
-- Indexes for table `mdl_tag_coll`
--
ALTER TABLE `mdl_tag_coll`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_tag_correlation`
--
ALTER TABLE `mdl_tag_correlation`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_tagcorr_tag_ix` (`tagid`);

--
-- Indexes for table `mdl_tag_instance`
--
ALTER TABLE `mdl_tag_instance`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_taginst_comiteiteconti_uix` (`component`,`itemtype`,`itemid`,`contextid`,`tiuserid`,`tagid`),
  ADD KEY `mdl_taginst_itecomtagcon_ix` (`itemtype`,`component`,`tagid`,`contextid`),
  ADD KEY `mdl_taginst_tag_ix` (`tagid`),
  ADD KEY `mdl_taginst_con_ix` (`contextid`);

--
-- Indexes for table `mdl_task_adhoc`
--
ALTER TABLE `mdl_task_adhoc`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_taskadho_nex_ix` (`nextruntime`),
  ADD KEY `mdl_taskadho_tim_ix` (`timestarted`),
  ADD KEY `mdl_taskadho_use_ix` (`userid`);

--
-- Indexes for table `mdl_task_log`
--
ALTER TABLE `mdl_task_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_tasklog_cla_ix` (`classname`),
  ADD KEY `mdl_tasklog_tim_ix` (`timestart`),
  ADD KEY `mdl_tasklog_use_ix` (`userid`);

--
-- Indexes for table `mdl_task_scheduled`
--
ALTER TABLE `mdl_task_scheduled`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tasksche_cla_uix` (`classname`);

--
-- Indexes for table `mdl_tiny_autosave`
--
ALTER TABLE `mdl_tiny_autosave`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tinyauto_eleconusepag_uix` (`elementid`,`contextid`,`userid`,`pagehash`);

--
-- Indexes for table `mdl_tool_brickfield_areas`
--
ALTER TABLE `mdl_tool_brickfield_areas`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbricarea_coucmi_ix` (`courseid`,`cmid`),
  ADD KEY `mdl_toolbricarea_typtabitef_ix` (`type`,`tablename`,`itemid`,`fieldorarea`),
  ADD KEY `mdl_toolbricarea_typconcomf_ix` (`type`,`contextid`,`component`,`fieldorarea`,`itemid`),
  ADD KEY `mdl_toolbricarea_refreftyp_ix` (`reftable`,`refid`,`type`),
  ADD KEY `mdl_toolbricarea_cou_ix` (`courseid`),
  ADD KEY `mdl_toolbricarea_cmi_ix` (`cmid`),
  ADD KEY `mdl_toolbricarea_cat_ix` (`categoryid`),
  ADD KEY `mdl_toolbricarea_con_ix` (`contextid`);

--
-- Indexes for table `mdl_tool_brickfield_cache_acts`
--
ALTER TABLE `mdl_tool_brickfield_cache_acts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbriccachacts_sta_ix` (`status`),
  ADD KEY `mdl_toolbriccachacts_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_tool_brickfield_cache_check`
--
ALTER TABLE `mdl_tool_brickfield_cache_check`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbriccachchec_sta_ix` (`status`),
  ADD KEY `mdl_toolbriccachchec_err_ix` (`errorcount`),
  ADD KEY `mdl_toolbriccachchec_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_tool_brickfield_checks`
--
ALTER TABLE `mdl_tool_brickfield_checks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbricchec_che_ix` (`checktype`),
  ADD KEY `mdl_toolbricchec_che2_ix` (`checkgroup`),
  ADD KEY `mdl_toolbricchec_sta_ix` (`status`);

--
-- Indexes for table `mdl_tool_brickfield_content`
--
ALTER TABLE `mdl_tool_brickfield_content`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbriccont_sta_ix` (`status`),
  ADD KEY `mdl_toolbriccont_iscare_ix` (`iscurrent`,`areaid`),
  ADD KEY `mdl_toolbriccont_are_ix` (`areaid`);

--
-- Indexes for table `mdl_tool_brickfield_errors`
--
ALTER TABLE `mdl_tool_brickfield_errors`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbricerro_res_ix` (`resultid`);

--
-- Indexes for table `mdl_tool_brickfield_process`
--
ALTER TABLE `mdl_tool_brickfield_process`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbricproc_tim_ix` (`timecompleted`);

--
-- Indexes for table `mdl_tool_brickfield_results`
--
ALTER TABLE `mdl_tool_brickfield_results`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbricresu_conche_ix` (`contentid`,`checkid`),
  ADD KEY `mdl_toolbricresu_con_ix` (`contentid`),
  ADD KEY `mdl_toolbricresu_che_ix` (`checkid`);

--
-- Indexes for table `mdl_tool_brickfield_schedule`
--
ALTER TABLE `mdl_tool_brickfield_schedule`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_toolbricsche_conins_uix` (`contextlevel`,`instanceid`),
  ADD KEY `mdl_toolbricsche_sta_ix` (`status`);

--
-- Indexes for table `mdl_tool_brickfield_summary`
--
ALTER TABLE `mdl_tool_brickfield_summary`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolbricsumm_sta_ix` (`status`),
  ADD KEY `mdl_toolbricsumm_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_tool_cohortroles`
--
ALTER TABLE `mdl_tool_cohortroles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_toolcoho_cohroluse_uix` (`cohortid`,`roleid`,`userid`);

--
-- Indexes for table `mdl_tool_customlang`
--
ALTER TABLE `mdl_tool_customlang`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_toolcust_lancomstr_uix` (`lang`,`componentid`,`stringid`),
  ADD KEY `mdl_toolcust_com_ix` (`componentid`);

--
-- Indexes for table `mdl_tool_customlang_components`
--
ALTER TABLE `mdl_tool_customlang_components`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_tool_dataprivacy_category`
--
ALTER TABLE `mdl_tool_dataprivacy_category`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_tool_dataprivacy_contextlist`
--
ALTER TABLE `mdl_tool_dataprivacy_contextlist`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_tool_dataprivacy_ctxexpired`
--
ALTER TABLE `mdl_tool_dataprivacy_ctxexpired`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tooldatactxe_con_uix` (`contextid`);

--
-- Indexes for table `mdl_tool_dataprivacy_ctxinstance`
--
ALTER TABLE `mdl_tool_dataprivacy_ctxinstance`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tooldatactxi_con_uix` (`contextid`),
  ADD KEY `mdl_tooldatactxi_pur_ix` (`purposeid`),
  ADD KEY `mdl_tooldatactxi_cat_ix` (`categoryid`);

--
-- Indexes for table `mdl_tool_dataprivacy_ctxlevel`
--
ALTER TABLE `mdl_tool_dataprivacy_ctxlevel`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tooldatactxl_con_uix` (`contextlevel`),
  ADD KEY `mdl_tooldatactxl_cat_ix` (`categoryid`),
  ADD KEY `mdl_tooldatactxl_pur_ix` (`purposeid`);

--
-- Indexes for table `mdl_tool_dataprivacy_ctxlst_ctx`
--
ALTER TABLE `mdl_tool_dataprivacy_ctxlst_ctx`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_tooldatactxlctx_con_ix` (`contextlistid`);

--
-- Indexes for table `mdl_tool_dataprivacy_purpose`
--
ALTER TABLE `mdl_tool_dataprivacy_purpose`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_tool_dataprivacy_purposerole`
--
ALTER TABLE `mdl_tool_dataprivacy_purposerole`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tooldatapurp_purrol_uix` (`purposeid`,`roleid`),
  ADD KEY `mdl_tooldatapurp_pur_ix` (`purposeid`),
  ADD KEY `mdl_tooldatapurp_rol_ix` (`roleid`),
  ADD KEY `mdl_tooldatapurp_use_ix` (`usermodified`);

--
-- Indexes for table `mdl_tool_dataprivacy_request`
--
ALTER TABLE `mdl_tool_dataprivacy_request`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_tooldatarequ_use_ix` (`userid`),
  ADD KEY `mdl_tooldatarequ_req_ix` (`requestedby`),
  ADD KEY `mdl_tooldatarequ_dpo_ix` (`dpo`),
  ADD KEY `mdl_tooldatarequ_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_tool_dataprivacy_rqst_ctxlst`
--
ALTER TABLE `mdl_tool_dataprivacy_rqst_ctxlst`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_tooldatarqstctxl_reqco_uix` (`requestid`,`contextlistid`),
  ADD KEY `mdl_tooldatarqstctxl_req_ix` (`requestid`),
  ADD KEY `mdl_tooldatarqstctxl_con_ix` (`contextlistid`);

--
-- Indexes for table `mdl_tool_mfa`
--
ALTER TABLE `mdl_tool_mfa`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolmfa_use_ix` (`userid`),
  ADD KEY `mdl_toolmfa_fac_ix` (`factor`),
  ADD KEY `mdl_toolmfa_usefacloc_ix` (`userid`,`factor`,`lockcounter`);

--
-- Indexes for table `mdl_tool_mfa_auth`
--
ALTER TABLE `mdl_tool_mfa_auth`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolmfaauth_use_ix` (`userid`);

--
-- Indexes for table `mdl_tool_mfa_secrets`
--
ALTER TABLE `mdl_tool_mfa_secrets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolmfasecr_fac_ix` (`factor`),
  ADD KEY `mdl_toolmfasecr_exp_ix` (`expiry`),
  ADD KEY `mdl_toolmfasecr_use_ix` (`userid`);

--
-- Indexes for table `mdl_tool_monitor_events`
--
ALTER TABLE `mdl_tool_monitor_events`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolmonieven_cou_ix` (`courseid`),
  ADD KEY `mdl_toolmonieven_con_ix` (`contextid`),
  ADD KEY `mdl_toolmonieven_con2_ix` (`contextinstanceid`);

--
-- Indexes for table `mdl_tool_monitor_history`
--
ALTER TABLE `mdl_tool_monitor_history`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_toolmonihist_sidusetim_uix` (`sid`,`userid`,`timesent`),
  ADD KEY `mdl_toolmonihist_sid_ix` (`sid`);

--
-- Indexes for table `mdl_tool_monitor_rules`
--
ALTER TABLE `mdl_tool_monitor_rules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolmonirule_couuse_ix` (`courseid`,`userid`),
  ADD KEY `mdl_toolmonirule_eve_ix` (`eventname`);

--
-- Indexes for table `mdl_tool_monitor_subscriptions`
--
ALTER TABLE `mdl_tool_monitor_subscriptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolmonisubs_couuse_ix` (`courseid`,`userid`),
  ADD KEY `mdl_toolmonisubs_rul_ix` (`ruleid`);

--
-- Indexes for table `mdl_tool_policy`
--
ALTER TABLE `mdl_tool_policy`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolpoli_cur_ix` (`currentversionid`);

--
-- Indexes for table `mdl_tool_policy_acceptances`
--
ALTER TABLE `mdl_tool_policy_acceptances`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_toolpoliacce_poluse_uix` (`policyversionid`,`userid`),
  ADD KEY `mdl_toolpoliacce_pol_ix` (`policyversionid`),
  ADD KEY `mdl_toolpoliacce_use_ix` (`userid`),
  ADD KEY `mdl_toolpoliacce_use2_ix` (`usermodified`);

--
-- Indexes for table `mdl_tool_policy_versions`
--
ALTER TABLE `mdl_tool_policy_versions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolpolivers_use_ix` (`usermodified`),
  ADD KEY `mdl_toolpolivers_pol_ix` (`policyid`);

--
-- Indexes for table `mdl_tool_recyclebin_category`
--
ALTER TABLE `mdl_tool_recyclebin_category`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolrecycate_tim_ix` (`timecreated`),
  ADD KEY `mdl_toolrecycate_cat_ix` (`categoryid`);

--
-- Indexes for table `mdl_tool_recyclebin_course`
--
ALTER TABLE `mdl_tool_recyclebin_course`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_toolrecycour_tim_ix` (`timecreated`),
  ADD KEY `mdl_toolrecycour_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_tool_usertours_steps`
--
ALTER TABLE `mdl_tool_usertours_steps`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_tooluserstep_tousor_ix` (`tourid`,`sortorder`),
  ADD KEY `mdl_tooluserstep_tou_ix` (`tourid`);

--
-- Indexes for table `mdl_tool_usertours_tours`
--
ALTER TABLE `mdl_tool_usertours_tours`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_upgrade_log`
--
ALTER TABLE `mdl_upgrade_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_upgrlog_tim_ix` (`timemodified`),
  ADD KEY `mdl_upgrlog_typtim_ix` (`type`,`timemodified`),
  ADD KEY `mdl_upgrlog_use_ix` (`userid`);

--
-- Indexes for table `mdl_url`
--
ALTER TABLE `mdl_url`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_url_cou_ix` (`course`);

--
-- Indexes for table `mdl_user`
--
ALTER TABLE `mdl_user`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_user_mneuse_uix` (`mnethostid`,`username`),
  ADD KEY `mdl_user_del_ix` (`deleted`),
  ADD KEY `mdl_user_con_ix` (`confirmed`),
  ADD KEY `mdl_user_fir_ix` (`firstname`),
  ADD KEY `mdl_user_las_ix` (`lastname`),
  ADD KEY `mdl_user_cit_ix` (`city`),
  ADD KEY `mdl_user_cou_ix` (`country`),
  ADD KEY `mdl_user_las2_ix` (`lastaccess`),
  ADD KEY `mdl_user_ema_ix` (`email`),
  ADD KEY `mdl_user_aut_ix` (`auth`),
  ADD KEY `mdl_user_idn_ix` (`idnumber`),
  ADD KEY `mdl_user_fir2_ix` (`firstnamephonetic`),
  ADD KEY `mdl_user_las3_ix` (`lastnamephonetic`),
  ADD KEY `mdl_user_mid_ix` (`middlename`),
  ADD KEY `mdl_user_alt_ix` (`alternatename`);

--
-- Indexes for table `mdl_user_devices`
--
ALTER TABLE `mdl_user_devices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_userdevi_pususe_uix` (`pushid`,`userid`),
  ADD KEY `mdl_userdevi_uuiuse_ix` (`uuid`,`userid`),
  ADD KEY `mdl_userdevi_use_ix` (`userid`);

--
-- Indexes for table `mdl_user_enrolments`
--
ALTER TABLE `mdl_user_enrolments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_userenro_enruse_uix` (`enrolid`,`userid`),
  ADD KEY `mdl_userenro_enr_ix` (`enrolid`),
  ADD KEY `mdl_userenro_use_ix` (`userid`),
  ADD KEY `mdl_userenro_mod_ix` (`modifierid`);

--
-- Indexes for table `mdl_user_info_category`
--
ALTER TABLE `mdl_user_info_category`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_user_info_data`
--
ALTER TABLE `mdl_user_info_data`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_userinfodata_usefie_uix` (`userid`,`fieldid`);

--
-- Indexes for table `mdl_user_info_field`
--
ALTER TABLE `mdl_user_info_field`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_user_lastaccess`
--
ALTER TABLE `mdl_user_lastaccess`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_userlast_usecou_uix` (`userid`,`courseid`),
  ADD KEY `mdl_userlast_use_ix` (`userid`),
  ADD KEY `mdl_userlast_cou_ix` (`courseid`);

--
-- Indexes for table `mdl_user_password_history`
--
ALTER TABLE `mdl_user_password_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_userpasshist_use_ix` (`userid`);

--
-- Indexes for table `mdl_user_password_resets`
--
ALTER TABLE `mdl_user_password_resets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_userpassrese_use_ix` (`userid`);

--
-- Indexes for table `mdl_user_preferences`
--
ALTER TABLE `mdl_user_preferences`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_userpref_usenam_uix` (`userid`,`name`),
  ADD KEY `mdl_userpref_nam_ix` (`name`);

--
-- Indexes for table `mdl_user_private_key`
--
ALTER TABLE `mdl_user_private_key`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_userprivkey_scrval_ix` (`script`,`value`),
  ADD KEY `mdl_userprivkey_use_ix` (`userid`);

--
-- Indexes for table `mdl_wiki`
--
ALTER TABLE `mdl_wiki`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_wiki_cou_ix` (`course`);

--
-- Indexes for table `mdl_wiki_links`
--
ALTER TABLE `mdl_wiki_links`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_wikilink_fro_ix` (`frompageid`),
  ADD KEY `mdl_wikilink_sub_ix` (`subwikiid`);

--
-- Indexes for table `mdl_wiki_locks`
--
ALTER TABLE `mdl_wiki_locks`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mdl_wiki_pages`
--
ALTER TABLE `mdl_wiki_pages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_wikipage_subtituse_uix` (`subwikiid`,`title`,`userid`),
  ADD KEY `mdl_wikipage_sub_ix` (`subwikiid`);

--
-- Indexes for table `mdl_wiki_subwikis`
--
ALTER TABLE `mdl_wiki_subwikis`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_wikisubw_wikgrouse_uix` (`wikiid`,`groupid`,`userid`),
  ADD KEY `mdl_wikisubw_wik_ix` (`wikiid`);

--
-- Indexes for table `mdl_wiki_synonyms`
--
ALTER TABLE `mdl_wiki_synonyms`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_wikisyno_pagpag_uix` (`pageid`,`pagesynonym`);

--
-- Indexes for table `mdl_wiki_versions`
--
ALTER TABLE `mdl_wiki_versions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_wikivers_pag_ix` (`pageid`);

--
-- Indexes for table `mdl_workshop`
--
ALTER TABLE `mdl_workshop`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_work_cou_ix` (`course`);

--
-- Indexes for table `mdl_workshopallocation_scheduled`
--
ALTER TABLE `mdl_workshopallocation_scheduled`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_worksche_wor_uix` (`workshopid`);

--
-- Indexes for table `mdl_workshopeval_best_settings`
--
ALTER TABLE `mdl_workshopeval_best_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_workbestsett_wor_uix` (`workshopid`);

--
-- Indexes for table `mdl_workshopform_accumulative`
--
ALTER TABLE `mdl_workshopform_accumulative`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_workaccu_wor_ix` (`workshopid`);

--
-- Indexes for table `mdl_workshopform_comments`
--
ALTER TABLE `mdl_workshopform_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_workcomm_wor_ix` (`workshopid`);

--
-- Indexes for table `mdl_workshopform_numerrors`
--
ALTER TABLE `mdl_workshopform_numerrors`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_worknume_wor_ix` (`workshopid`);

--
-- Indexes for table `mdl_workshopform_numerrors_map`
--
ALTER TABLE `mdl_workshopform_numerrors_map`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_worknumemap_wornon_uix` (`workshopid`,`nonegative`),
  ADD KEY `mdl_worknumemap_wor_ix` (`workshopid`);

--
-- Indexes for table `mdl_workshopform_rubric`
--
ALTER TABLE `mdl_workshopform_rubric`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_workrubr_wor_ix` (`workshopid`);

--
-- Indexes for table `mdl_workshopform_rubric_config`
--
ALTER TABLE `mdl_workshopform_rubric_config`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_workrubrconf_wor_uix` (`workshopid`);

--
-- Indexes for table `mdl_workshopform_rubric_levels`
--
ALTER TABLE `mdl_workshopform_rubric_levels`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_workrubrleve_dim_ix` (`dimensionid`);

--
-- Indexes for table `mdl_workshop_aggregations`
--
ALTER TABLE `mdl_workshop_aggregations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_workaggr_woruse_uix` (`workshopid`,`userid`),
  ADD KEY `mdl_workaggr_wor_ix` (`workshopid`),
  ADD KEY `mdl_workaggr_use_ix` (`userid`);

--
-- Indexes for table `mdl_workshop_assessments`
--
ALTER TABLE `mdl_workshop_assessments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_workasse_sub_ix` (`submissionid`),
  ADD KEY `mdl_workasse_gra_ix` (`gradinggradeoverby`),
  ADD KEY `mdl_workasse_rev_ix` (`reviewerid`);

--
-- Indexes for table `mdl_workshop_grades`
--
ALTER TABLE `mdl_workshop_grades`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `mdl_workgrad_assstrdim_uix` (`assessmentid`,`strategy`,`dimensionid`),
  ADD KEY `mdl_workgrad_ass_ix` (`assessmentid`);

--
-- Indexes for table `mdl_workshop_submissions`
--
ALTER TABLE `mdl_workshop_submissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_worksubm_wor_ix` (`workshopid`),
  ADD KEY `mdl_worksubm_gra_ix` (`gradeoverby`),
  ADD KEY `mdl_worksubm_aut_ix` (`authorid`);

--
-- Indexes for table `mdl_xapi_states`
--
ALTER TABLE `mdl_xapi_states`
  ADD PRIMARY KEY (`id`),
  ADD KEY `mdl_xapistat_comite_ix` (`component`,`itemid`),
  ADD KEY `mdl_xapistat_use_ix` (`userid`),
  ADD KEY `mdl_xapistat_tim_ix` (`timemodified`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `mdl_adminpresets`
--
ALTER TABLE `mdl_adminpresets`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `mdl_adminpresets_app`
--
ALTER TABLE `mdl_adminpresets_app`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_adminpresets_app_it`
--
ALTER TABLE `mdl_adminpresets_app_it`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_adminpresets_app_it_a`
--
ALTER TABLE `mdl_adminpresets_app_it_a`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_adminpresets_app_plug`
--
ALTER TABLE `mdl_adminpresets_app_plug`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_adminpresets_it`
--
ALTER TABLE `mdl_adminpresets_it`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `mdl_adminpresets_it_a`
--
ALTER TABLE `mdl_adminpresets_it_a`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_adminpresets_plug`
--
ALTER TABLE `mdl_adminpresets_plug`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=116;

--
-- AUTO_INCREMENT for table `mdl_analytics_indicator_calc`
--
ALTER TABLE `mdl_analytics_indicator_calc`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_analytics_models`
--
ALTER TABLE `mdl_analytics_models`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `mdl_analytics_models_log`
--
ALTER TABLE `mdl_analytics_models_log`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_analytics_predictions`
--
ALTER TABLE `mdl_analytics_predictions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_analytics_prediction_actions`
--
ALTER TABLE `mdl_analytics_prediction_actions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_analytics_predict_samples`
--
ALTER TABLE `mdl_analytics_predict_samples`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_analytics_train_samples`
--
ALTER TABLE `mdl_analytics_train_samples`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_analytics_used_analysables`
--
ALTER TABLE `mdl_analytics_used_analysables`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_analytics_used_files`
--
ALTER TABLE `mdl_analytics_used_files`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assign`
--
ALTER TABLE `mdl_assign`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assignfeedback_comments`
--
ALTER TABLE `mdl_assignfeedback_comments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assignfeedback_editpdf_annot`
--
ALTER TABLE `mdl_assignfeedback_editpdf_annot`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assignfeedback_editpdf_cmnt`
--
ALTER TABLE `mdl_assignfeedback_editpdf_cmnt`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assignfeedback_editpdf_quick`
--
ALTER TABLE `mdl_assignfeedback_editpdf_quick`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assignfeedback_editpdf_rot`
--
ALTER TABLE `mdl_assignfeedback_editpdf_rot`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assignfeedback_file`
--
ALTER TABLE `mdl_assignfeedback_file`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assignsubmission_file`
--
ALTER TABLE `mdl_assignsubmission_file`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assignsubmission_onlinetext`
--
ALTER TABLE `mdl_assignsubmission_onlinetext`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assign_grades`
--
ALTER TABLE `mdl_assign_grades`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assign_overrides`
--
ALTER TABLE `mdl_assign_overrides`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assign_plugin_config`
--
ALTER TABLE `mdl_assign_plugin_config`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assign_submission`
--
ALTER TABLE `mdl_assign_submission`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assign_user_flags`
--
ALTER TABLE `mdl_assign_user_flags`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_assign_user_mapping`
--
ALTER TABLE `mdl_assign_user_mapping`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_auth_lti_linked_login`
--
ALTER TABLE `mdl_auth_lti_linked_login`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_auth_oauth2_linked_login`
--
ALTER TABLE `mdl_auth_oauth2_linked_login`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_backup_controllers`
--
ALTER TABLE `mdl_backup_controllers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_backup_courses`
--
ALTER TABLE `mdl_backup_courses`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_backup_logs`
--
ALTER TABLE `mdl_backup_logs`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge`
--
ALTER TABLE `mdl_badge`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_alignment`
--
ALTER TABLE `mdl_badge_alignment`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_backpack`
--
ALTER TABLE `mdl_badge_backpack`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_backpack_oauth2`
--
ALTER TABLE `mdl_badge_backpack_oauth2`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_criteria`
--
ALTER TABLE `mdl_badge_criteria`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_criteria_met`
--
ALTER TABLE `mdl_badge_criteria_met`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_criteria_param`
--
ALTER TABLE `mdl_badge_criteria_param`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_endorsement`
--
ALTER TABLE `mdl_badge_endorsement`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_external`
--
ALTER TABLE `mdl_badge_external`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_external_backpack`
--
ALTER TABLE `mdl_badge_external_backpack`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `mdl_badge_external_identifier`
--
ALTER TABLE `mdl_badge_external_identifier`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_issued`
--
ALTER TABLE `mdl_badge_issued`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_manual_award`
--
ALTER TABLE `mdl_badge_manual_award`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_badge_related`
--
ALTER TABLE `mdl_badge_related`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_bigbluebuttonbn`
--
ALTER TABLE `mdl_bigbluebuttonbn`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_bigbluebuttonbn_logs`
--
ALTER TABLE `mdl_bigbluebuttonbn_logs`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_bigbluebuttonbn_recordings`
--
ALTER TABLE `mdl_bigbluebuttonbn_recordings`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_block`
--
ALTER TABLE `mdl_block`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=44;

--
-- AUTO_INCREMENT for table `mdl_block_instances`
--
ALTER TABLE `mdl_block_instances`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `mdl_block_positions`
--
ALTER TABLE `mdl_block_positions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_block_recentlyaccesseditems`
--
ALTER TABLE `mdl_block_recentlyaccesseditems`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_block_recent_activity`
--
ALTER TABLE `mdl_block_recent_activity`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_block_rss_client`
--
ALTER TABLE `mdl_block_rss_client`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_blog_association`
--
ALTER TABLE `mdl_blog_association`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_blog_external`
--
ALTER TABLE `mdl_blog_external`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_book`
--
ALTER TABLE `mdl_book`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_book_chapters`
--
ALTER TABLE `mdl_book_chapters`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_cache_filters`
--
ALTER TABLE `mdl_cache_filters`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_cache_flags`
--
ALTER TABLE `mdl_cache_flags`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `mdl_capabilities`
--
ALTER TABLE `mdl_capabilities`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=723;

--
-- AUTO_INCREMENT for table `mdl_chat`
--
ALTER TABLE `mdl_chat`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_chat_messages`
--
ALTER TABLE `mdl_chat_messages`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_chat_messages_current`
--
ALTER TABLE `mdl_chat_messages_current`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_chat_users`
--
ALTER TABLE `mdl_chat_users`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_choice`
--
ALTER TABLE `mdl_choice`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_choice_answers`
--
ALTER TABLE `mdl_choice_answers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_choice_options`
--
ALTER TABLE `mdl_choice_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_cohort`
--
ALTER TABLE `mdl_cohort`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_cohort_members`
--
ALTER TABLE `mdl_cohort_members`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_comments`
--
ALTER TABLE `mdl_comments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_communication`
--
ALTER TABLE `mdl_communication`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_communication_customlink`
--
ALTER TABLE `mdl_communication_customlink`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_communication_user`
--
ALTER TABLE `mdl_communication_user`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency`
--
ALTER TABLE `mdl_competency`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_coursecomp`
--
ALTER TABLE `mdl_competency_coursecomp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_coursecompsetting`
--
ALTER TABLE `mdl_competency_coursecompsetting`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_evidence`
--
ALTER TABLE `mdl_competency_evidence`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_framework`
--
ALTER TABLE `mdl_competency_framework`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_modulecomp`
--
ALTER TABLE `mdl_competency_modulecomp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_plan`
--
ALTER TABLE `mdl_competency_plan`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_plancomp`
--
ALTER TABLE `mdl_competency_plancomp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_relatedcomp`
--
ALTER TABLE `mdl_competency_relatedcomp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_template`
--
ALTER TABLE `mdl_competency_template`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_templatecohort`
--
ALTER TABLE `mdl_competency_templatecohort`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_templatecomp`
--
ALTER TABLE `mdl_competency_templatecomp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_usercomp`
--
ALTER TABLE `mdl_competency_usercomp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_usercompcourse`
--
ALTER TABLE `mdl_competency_usercompcourse`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_usercompplan`
--
ALTER TABLE `mdl_competency_usercompplan`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_userevidence`
--
ALTER TABLE `mdl_competency_userevidence`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_competency_userevidencecomp`
--
ALTER TABLE `mdl_competency_userevidencecomp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_config`
--
ALTER TABLE `mdl_config`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=578;

--
-- AUTO_INCREMENT for table `mdl_config_log`
--
ALTER TABLE `mdl_config_log`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1794;

--
-- AUTO_INCREMENT for table `mdl_config_plugins`
--
ALTER TABLE `mdl_config_plugins`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1991;

--
-- AUTO_INCREMENT for table `mdl_contentbank_content`
--
ALTER TABLE `mdl_contentbank_content`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_context`
--
ALTER TABLE `mdl_context`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `mdl_course`
--
ALTER TABLE `mdl_course`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `mdl_course_categories`
--
ALTER TABLE `mdl_course_categories`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `mdl_course_completions`
--
ALTER TABLE `mdl_course_completions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_completion_aggr_methd`
--
ALTER TABLE `mdl_course_completion_aggr_methd`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_completion_criteria`
--
ALTER TABLE `mdl_course_completion_criteria`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_completion_crit_compl`
--
ALTER TABLE `mdl_course_completion_crit_compl`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_completion_defaults`
--
ALTER TABLE `mdl_course_completion_defaults`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_format_options`
--
ALTER TABLE `mdl_course_format_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `mdl_course_modules`
--
ALTER TABLE `mdl_course_modules`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_modules_completion`
--
ALTER TABLE `mdl_course_modules_completion`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_modules_viewed`
--
ALTER TABLE `mdl_course_modules_viewed`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_published`
--
ALTER TABLE `mdl_course_published`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_request`
--
ALTER TABLE `mdl_course_request`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_course_sections`
--
ALTER TABLE `mdl_course_sections`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `mdl_customfield_category`
--
ALTER TABLE `mdl_customfield_category`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_customfield_data`
--
ALTER TABLE `mdl_customfield_data`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_customfield_field`
--
ALTER TABLE `mdl_customfield_field`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_data`
--
ALTER TABLE `mdl_data`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_data_content`
--
ALTER TABLE `mdl_data_content`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_data_fields`
--
ALTER TABLE `mdl_data_fields`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_data_records`
--
ALTER TABLE `mdl_data_records`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_editor_atto_autosave`
--
ALTER TABLE `mdl_editor_atto_autosave`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol`
--
ALTER TABLE `mdl_enrol`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_flatfile`
--
ALTER TABLE `mdl_enrol_flatfile`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_app_registration`
--
ALTER TABLE `mdl_enrol_lti_app_registration`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_context`
--
ALTER TABLE `mdl_enrol_lti_context`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_deployment`
--
ALTER TABLE `mdl_enrol_lti_deployment`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_lti2_consumer`
--
ALTER TABLE `mdl_enrol_lti_lti2_consumer`
  MODIFY `id` bigint(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_lti2_context`
--
ALTER TABLE `mdl_enrol_lti_lti2_context`
  MODIFY `id` bigint(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_lti2_nonce`
--
ALTER TABLE `mdl_enrol_lti_lti2_nonce`
  MODIFY `id` bigint(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_lti2_resource_link`
--
ALTER TABLE `mdl_enrol_lti_lti2_resource_link`
  MODIFY `id` bigint(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_lti2_share_key`
--
ALTER TABLE `mdl_enrol_lti_lti2_share_key`
  MODIFY `id` bigint(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_lti2_tool_proxy`
--
ALTER TABLE `mdl_enrol_lti_lti2_tool_proxy`
  MODIFY `id` bigint(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_lti2_user_result`
--
ALTER TABLE `mdl_enrol_lti_lti2_user_result`
  MODIFY `id` bigint(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_resource_link`
--
ALTER TABLE `mdl_enrol_lti_resource_link`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_tools`
--
ALTER TABLE `mdl_enrol_lti_tools`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_tool_consumer_map`
--
ALTER TABLE `mdl_enrol_lti_tool_consumer_map`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_users`
--
ALTER TABLE `mdl_enrol_lti_users`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_lti_user_resource_link`
--
ALTER TABLE `mdl_enrol_lti_user_resource_link`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_enrol_paypal`
--
ALTER TABLE `mdl_enrol_paypal`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_event`
--
ALTER TABLE `mdl_event`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_events_handlers`
--
ALTER TABLE `mdl_events_handlers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_events_queue`
--
ALTER TABLE `mdl_events_queue`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_events_queue_handlers`
--
ALTER TABLE `mdl_events_queue_handlers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_event_subscriptions`
--
ALTER TABLE `mdl_event_subscriptions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_external_functions`
--
ALTER TABLE `mdl_external_functions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=721;

--
-- AUTO_INCREMENT for table `mdl_external_services`
--
ALTER TABLE `mdl_external_services`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `mdl_external_services_functions`
--
ALTER TABLE `mdl_external_services_functions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=417;

--
-- AUTO_INCREMENT for table `mdl_external_services_users`
--
ALTER TABLE `mdl_external_services_users`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_external_tokens`
--
ALTER TABLE `mdl_external_tokens`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_favourite`
--
ALTER TABLE `mdl_favourite`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_feedback`
--
ALTER TABLE `mdl_feedback`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_feedback_completed`
--
ALTER TABLE `mdl_feedback_completed`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_feedback_completedtmp`
--
ALTER TABLE `mdl_feedback_completedtmp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_feedback_item`
--
ALTER TABLE `mdl_feedback_item`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_feedback_sitecourse_map`
--
ALTER TABLE `mdl_feedback_sitecourse_map`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_feedback_template`
--
ALTER TABLE `mdl_feedback_template`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_feedback_value`
--
ALTER TABLE `mdl_feedback_value`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_feedback_valuetmp`
--
ALTER TABLE `mdl_feedback_valuetmp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_files`
--
ALTER TABLE `mdl_files`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `mdl_files_reference`
--
ALTER TABLE `mdl_files_reference`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_file_conversion`
--
ALTER TABLE `mdl_file_conversion`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_filter_active`
--
ALTER TABLE `mdl_filter_active`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `mdl_filter_config`
--
ALTER TABLE `mdl_filter_config`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_folder`
--
ALTER TABLE `mdl_folder`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum`
--
ALTER TABLE `mdl_forum`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_digests`
--
ALTER TABLE `mdl_forum_digests`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_discussions`
--
ALTER TABLE `mdl_forum_discussions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_discussion_subs`
--
ALTER TABLE `mdl_forum_discussion_subs`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_grades`
--
ALTER TABLE `mdl_forum_grades`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_posts`
--
ALTER TABLE `mdl_forum_posts`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_queue`
--
ALTER TABLE `mdl_forum_queue`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_read`
--
ALTER TABLE `mdl_forum_read`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_subscriptions`
--
ALTER TABLE `mdl_forum_subscriptions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_forum_track_prefs`
--
ALTER TABLE `mdl_forum_track_prefs`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_glossary`
--
ALTER TABLE `mdl_glossary`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_glossary_alias`
--
ALTER TABLE `mdl_glossary_alias`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_glossary_categories`
--
ALTER TABLE `mdl_glossary_categories`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_glossary_entries`
--
ALTER TABLE `mdl_glossary_entries`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_glossary_entries_categories`
--
ALTER TABLE `mdl_glossary_entries_categories`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_glossary_formats`
--
ALTER TABLE `mdl_glossary_formats`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `mdl_grade_categories`
--
ALTER TABLE `mdl_grade_categories`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_categories_history`
--
ALTER TABLE `mdl_grade_categories_history`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_grades`
--
ALTER TABLE `mdl_grade_grades`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_grades_history`
--
ALTER TABLE `mdl_grade_grades_history`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_import_newitem`
--
ALTER TABLE `mdl_grade_import_newitem`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_import_values`
--
ALTER TABLE `mdl_grade_import_values`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_items`
--
ALTER TABLE `mdl_grade_items`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_items_history`
--
ALTER TABLE `mdl_grade_items_history`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_letters`
--
ALTER TABLE `mdl_grade_letters`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_outcomes`
--
ALTER TABLE `mdl_grade_outcomes`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_outcomes_courses`
--
ALTER TABLE `mdl_grade_outcomes_courses`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_outcomes_history`
--
ALTER TABLE `mdl_grade_outcomes_history`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grade_settings`
--
ALTER TABLE `mdl_grade_settings`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_gradingform_guide_comments`
--
ALTER TABLE `mdl_gradingform_guide_comments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_gradingform_guide_criteria`
--
ALTER TABLE `mdl_gradingform_guide_criteria`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_gradingform_guide_fillings`
--
ALTER TABLE `mdl_gradingform_guide_fillings`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_gradingform_rubric_criteria`
--
ALTER TABLE `mdl_gradingform_rubric_criteria`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_gradingform_rubric_fillings`
--
ALTER TABLE `mdl_gradingform_rubric_fillings`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_gradingform_rubric_levels`
--
ALTER TABLE `mdl_gradingform_rubric_levels`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grading_areas`
--
ALTER TABLE `mdl_grading_areas`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grading_definitions`
--
ALTER TABLE `mdl_grading_definitions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_grading_instances`
--
ALTER TABLE `mdl_grading_instances`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_groupings`
--
ALTER TABLE `mdl_groupings`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_groupings_groups`
--
ALTER TABLE `mdl_groupings_groups`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_groups`
--
ALTER TABLE `mdl_groups`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_groups_members`
--
ALTER TABLE `mdl_groups_members`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_h5p`
--
ALTER TABLE `mdl_h5p`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_h5pactivity`
--
ALTER TABLE `mdl_h5pactivity`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_h5pactivity_attempts`
--
ALTER TABLE `mdl_h5pactivity_attempts`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_h5pactivity_attempts_results`
--
ALTER TABLE `mdl_h5pactivity_attempts_results`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_h5p_contents_libraries`
--
ALTER TABLE `mdl_h5p_contents_libraries`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_h5p_libraries`
--
ALTER TABLE `mdl_h5p_libraries`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_h5p_libraries_cachedassets`
--
ALTER TABLE `mdl_h5p_libraries_cachedassets`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_h5p_library_dependencies`
--
ALTER TABLE `mdl_h5p_library_dependencies`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_imscp`
--
ALTER TABLE `mdl_imscp`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_infected_files`
--
ALTER TABLE `mdl_infected_files`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_label`
--
ALTER TABLE `mdl_label`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lesson`
--
ALTER TABLE `mdl_lesson`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lesson_answers`
--
ALTER TABLE `mdl_lesson_answers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lesson_attempts`
--
ALTER TABLE `mdl_lesson_attempts`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lesson_branch`
--
ALTER TABLE `mdl_lesson_branch`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lesson_grades`
--
ALTER TABLE `mdl_lesson_grades`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lesson_overrides`
--
ALTER TABLE `mdl_lesson_overrides`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lesson_pages`
--
ALTER TABLE `mdl_lesson_pages`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lesson_timer`
--
ALTER TABLE `mdl_lesson_timer`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_license`
--
ALTER TABLE `mdl_license`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `mdl_lock_db`
--
ALTER TABLE `mdl_lock_db`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_log`
--
ALTER TABLE `mdl_log`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_logstore_standard_log`
--
ALTER TABLE `mdl_logstore_standard_log`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1206;

--
-- AUTO_INCREMENT for table `mdl_log_display`
--
ALTER TABLE `mdl_log_display`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=196;

--
-- AUTO_INCREMENT for table `mdl_log_queries`
--
ALTER TABLE `mdl_log_queries`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti`
--
ALTER TABLE `mdl_lti`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_ltiservice_gradebookservices`
--
ALTER TABLE `mdl_ltiservice_gradebookservices`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti_access_tokens`
--
ALTER TABLE `mdl_lti_access_tokens`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti_coursevisible`
--
ALTER TABLE `mdl_lti_coursevisible`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti_submission`
--
ALTER TABLE `mdl_lti_submission`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti_tool_proxies`
--
ALTER TABLE `mdl_lti_tool_proxies`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti_tool_settings`
--
ALTER TABLE `mdl_lti_tool_settings`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti_types`
--
ALTER TABLE `mdl_lti_types`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti_types_categories`
--
ALTER TABLE `mdl_lti_types_categories`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_lti_types_config`
--
ALTER TABLE `mdl_lti_types_config`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_matrix_room`
--
ALTER TABLE `mdl_matrix_room`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message`
--
ALTER TABLE `mdl_message`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_messageinbound_datakeys`
--
ALTER TABLE `mdl_messageinbound_datakeys`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_messageinbound_handlers`
--
ALTER TABLE `mdl_messageinbound_handlers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `mdl_messageinbound_messagelist`
--
ALTER TABLE `mdl_messageinbound_messagelist`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_messages`
--
ALTER TABLE `mdl_messages`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_airnotifier_devices`
--
ALTER TABLE `mdl_message_airnotifier_devices`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_contacts`
--
ALTER TABLE `mdl_message_contacts`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_contact_requests`
--
ALTER TABLE `mdl_message_contact_requests`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_conversations`
--
ALTER TABLE `mdl_message_conversations`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_conversation_actions`
--
ALTER TABLE `mdl_message_conversation_actions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_conversation_members`
--
ALTER TABLE `mdl_message_conversation_members`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_email_messages`
--
ALTER TABLE `mdl_message_email_messages`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_popup`
--
ALTER TABLE `mdl_message_popup`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_popup_notifications`
--
ALTER TABLE `mdl_message_popup_notifications`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_processors`
--
ALTER TABLE `mdl_message_processors`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `mdl_message_providers`
--
ALTER TABLE `mdl_message_providers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;

--
-- AUTO_INCREMENT for table `mdl_message_read`
--
ALTER TABLE `mdl_message_read`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_users_blocked`
--
ALTER TABLE `mdl_message_users_blocked`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_message_user_actions`
--
ALTER TABLE `mdl_message_user_actions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_mnetservice_enrol_courses`
--
ALTER TABLE `mdl_mnetservice_enrol_courses`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_mnetservice_enrol_enrolments`
--
ALTER TABLE `mdl_mnetservice_enrol_enrolments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_mnet_application`
--
ALTER TABLE `mdl_mnet_application`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `mdl_mnet_host`
--
ALTER TABLE `mdl_mnet_host`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `mdl_mnet_host2service`
--
ALTER TABLE `mdl_mnet_host2service`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_mnet_log`
--
ALTER TABLE `mdl_mnet_log`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_mnet_remote_rpc`
--
ALTER TABLE `mdl_mnet_remote_rpc`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `mdl_mnet_remote_service2rpc`
--
ALTER TABLE `mdl_mnet_remote_service2rpc`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `mdl_mnet_rpc`
--
ALTER TABLE `mdl_mnet_rpc`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `mdl_mnet_service`
--
ALTER TABLE `mdl_mnet_service`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `mdl_mnet_service2rpc`
--
ALTER TABLE `mdl_mnet_service2rpc`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `mdl_mnet_session`
--
ALTER TABLE `mdl_mnet_session`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_mnet_sso_access_control`
--
ALTER TABLE `mdl_mnet_sso_access_control`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_modules`
--
ALTER TABLE `mdl_modules`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `mdl_moodlenet_share_progress`
--
ALTER TABLE `mdl_moodlenet_share_progress`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_my_pages`
--
ALTER TABLE `mdl_my_pages`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `mdl_notifications`
--
ALTER TABLE `mdl_notifications`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_oauth2_access_token`
--
ALTER TABLE `mdl_oauth2_access_token`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_oauth2_endpoint`
--
ALTER TABLE `mdl_oauth2_endpoint`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_oauth2_issuer`
--
ALTER TABLE `mdl_oauth2_issuer`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_oauth2_refresh_token`
--
ALTER TABLE `mdl_oauth2_refresh_token`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_oauth2_system_account`
--
ALTER TABLE `mdl_oauth2_system_account`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_oauth2_user_field_mapping`
--
ALTER TABLE `mdl_oauth2_user_field_mapping`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_page`
--
ALTER TABLE `mdl_page`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_paygw_paypal`
--
ALTER TABLE `mdl_paygw_paypal`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_payments`
--
ALTER TABLE `mdl_payments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_payment_accounts`
--
ALTER TABLE `mdl_payment_accounts`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_payment_gateways`
--
ALTER TABLE `mdl_payment_gateways`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_portfolio_instance`
--
ALTER TABLE `mdl_portfolio_instance`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_portfolio_instance_config`
--
ALTER TABLE `mdl_portfolio_instance_config`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_portfolio_instance_user`
--
ALTER TABLE `mdl_portfolio_instance_user`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_portfolio_log`
--
ALTER TABLE `mdl_portfolio_log`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_portfolio_mahara_queue`
--
ALTER TABLE `mdl_portfolio_mahara_queue`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_portfolio_tempdata`
--
ALTER TABLE `mdl_portfolio_tempdata`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_post`
--
ALTER TABLE `mdl_post`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_profiling`
--
ALTER TABLE `mdl_profiling`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_ddimageortext`
--
ALTER TABLE `mdl_qtype_ddimageortext`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_ddimageortext_drags`
--
ALTER TABLE `mdl_qtype_ddimageortext_drags`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_ddimageortext_drops`
--
ALTER TABLE `mdl_qtype_ddimageortext_drops`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_ddmarker`
--
ALTER TABLE `mdl_qtype_ddmarker`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_ddmarker_drags`
--
ALTER TABLE `mdl_qtype_ddmarker_drags`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_ddmarker_drops`
--
ALTER TABLE `mdl_qtype_ddmarker_drops`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_essay_options`
--
ALTER TABLE `mdl_qtype_essay_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_match_options`
--
ALTER TABLE `mdl_qtype_match_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_match_subquestions`
--
ALTER TABLE `mdl_qtype_match_subquestions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_multichoice_options`
--
ALTER TABLE `mdl_qtype_multichoice_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_randomsamatch_options`
--
ALTER TABLE `mdl_qtype_randomsamatch_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_qtype_shortanswer_options`
--
ALTER TABLE `mdl_qtype_shortanswer_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question`
--
ALTER TABLE `mdl_question`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_answers`
--
ALTER TABLE `mdl_question_answers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_attempts`
--
ALTER TABLE `mdl_question_attempts`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_attempt_steps`
--
ALTER TABLE `mdl_question_attempt_steps`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_attempt_step_data`
--
ALTER TABLE `mdl_question_attempt_step_data`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_bank_entries`
--
ALTER TABLE `mdl_question_bank_entries`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_calculated`
--
ALTER TABLE `mdl_question_calculated`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_calculated_options`
--
ALTER TABLE `mdl_question_calculated_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_categories`
--
ALTER TABLE `mdl_question_categories`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `mdl_question_datasets`
--
ALTER TABLE `mdl_question_datasets`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_dataset_definitions`
--
ALTER TABLE `mdl_question_dataset_definitions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_dataset_items`
--
ALTER TABLE `mdl_question_dataset_items`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_ddwtos`
--
ALTER TABLE `mdl_question_ddwtos`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_gapselect`
--
ALTER TABLE `mdl_question_gapselect`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_hints`
--
ALTER TABLE `mdl_question_hints`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_multianswer`
--
ALTER TABLE `mdl_question_multianswer`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_numerical`
--
ALTER TABLE `mdl_question_numerical`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_numerical_options`
--
ALTER TABLE `mdl_question_numerical_options`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_numerical_units`
--
ALTER TABLE `mdl_question_numerical_units`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_references`
--
ALTER TABLE `mdl_question_references`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_response_analysis`
--
ALTER TABLE `mdl_question_response_analysis`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_response_count`
--
ALTER TABLE `mdl_question_response_count`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_set_references`
--
ALTER TABLE `mdl_question_set_references`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_statistics`
--
ALTER TABLE `mdl_question_statistics`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_truefalse`
--
ALTER TABLE `mdl_question_truefalse`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_usages`
--
ALTER TABLE `mdl_question_usages`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_question_versions`
--
ALTER TABLE `mdl_question_versions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz`
--
ALTER TABLE `mdl_quiz`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quizaccess_seb_quizsettings`
--
ALTER TABLE `mdl_quizaccess_seb_quizsettings`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quizaccess_seb_template`
--
ALTER TABLE `mdl_quizaccess_seb_template`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz_attempts`
--
ALTER TABLE `mdl_quiz_attempts`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz_feedback`
--
ALTER TABLE `mdl_quiz_feedback`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz_grades`
--
ALTER TABLE `mdl_quiz_grades`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz_overrides`
--
ALTER TABLE `mdl_quiz_overrides`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz_overview_regrades`
--
ALTER TABLE `mdl_quiz_overview_regrades`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz_reports`
--
ALTER TABLE `mdl_quiz_reports`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `mdl_quiz_sections`
--
ALTER TABLE `mdl_quiz_sections`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz_slots`
--
ALTER TABLE `mdl_quiz_slots`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_quiz_statistics`
--
ALTER TABLE `mdl_quiz_statistics`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_rating`
--
ALTER TABLE `mdl_rating`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_registration_hubs`
--
ALTER TABLE `mdl_registration_hubs`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_reportbuilder_audience`
--
ALTER TABLE `mdl_reportbuilder_audience`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_reportbuilder_column`
--
ALTER TABLE `mdl_reportbuilder_column`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_reportbuilder_filter`
--
ALTER TABLE `mdl_reportbuilder_filter`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_reportbuilder_report`
--
ALTER TABLE `mdl_reportbuilder_report`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_reportbuilder_schedule`
--
ALTER TABLE `mdl_reportbuilder_schedule`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_repository`
--
ALTER TABLE `mdl_repository`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `mdl_repository_instances`
--
ALTER TABLE `mdl_repository_instances`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `mdl_repository_instance_config`
--
ALTER TABLE `mdl_repository_instance_config`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_repository_onedrive_access`
--
ALTER TABLE `mdl_repository_onedrive_access`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_resource`
--
ALTER TABLE `mdl_resource`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_resource_old`
--
ALTER TABLE `mdl_resource_old`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_role`
--
ALTER TABLE `mdl_role`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `mdl_role_allow_assign`
--
ALTER TABLE `mdl_role_allow_assign`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `mdl_role_allow_override`
--
ALTER TABLE `mdl_role_allow_override`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `mdl_role_allow_switch`
--
ALTER TABLE `mdl_role_allow_switch`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `mdl_role_allow_view`
--
ALTER TABLE `mdl_role_allow_view`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `mdl_role_assignments`
--
ALTER TABLE `mdl_role_assignments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_role_capabilities`
--
ALTER TABLE `mdl_role_capabilities`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1496;

--
-- AUTO_INCREMENT for table `mdl_role_context_levels`
--
ALTER TABLE `mdl_role_context_levels`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `mdl_role_names`
--
ALTER TABLE `mdl_role_names`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scale`
--
ALTER TABLE `mdl_scale`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `mdl_scale_history`
--
ALTER TABLE `mdl_scale_history`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm`
--
ALTER TABLE `mdl_scorm`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_aicc_session`
--
ALTER TABLE `mdl_scorm_aicc_session`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_attempt`
--
ALTER TABLE `mdl_scorm_attempt`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_element`
--
ALTER TABLE `mdl_scorm_element`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_scoes`
--
ALTER TABLE `mdl_scorm_scoes`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_scoes_data`
--
ALTER TABLE `mdl_scorm_scoes_data`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_scoes_value`
--
ALTER TABLE `mdl_scorm_scoes_value`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_seq_mapinfo`
--
ALTER TABLE `mdl_scorm_seq_mapinfo`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_seq_objective`
--
ALTER TABLE `mdl_scorm_seq_objective`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_seq_rolluprule`
--
ALTER TABLE `mdl_scorm_seq_rolluprule`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_seq_rolluprulecond`
--
ALTER TABLE `mdl_scorm_seq_rolluprulecond`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_seq_rulecond`
--
ALTER TABLE `mdl_scorm_seq_rulecond`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_scorm_seq_ruleconds`
--
ALTER TABLE `mdl_scorm_seq_ruleconds`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_search_index_requests`
--
ALTER TABLE `mdl_search_index_requests`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_search_simpledb_index`
--
ALTER TABLE `mdl_search_simpledb_index`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_sessions`
--
ALTER TABLE `mdl_sessions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `mdl_stats_daily`
--
ALTER TABLE `mdl_stats_daily`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_stats_monthly`
--
ALTER TABLE `mdl_stats_monthly`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_stats_user_daily`
--
ALTER TABLE `mdl_stats_user_daily`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_stats_user_monthly`
--
ALTER TABLE `mdl_stats_user_monthly`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_stats_user_weekly`
--
ALTER TABLE `mdl_stats_user_weekly`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_stats_weekly`
--
ALTER TABLE `mdl_stats_weekly`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_survey`
--
ALTER TABLE `mdl_survey`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `mdl_survey_analysis`
--
ALTER TABLE `mdl_survey_analysis`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_survey_answers`
--
ALTER TABLE `mdl_survey_answers`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_survey_questions`
--
ALTER TABLE `mdl_survey_questions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=74;

--
-- AUTO_INCREMENT for table `mdl_tag`
--
ALTER TABLE `mdl_tag`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tag_area`
--
ALTER TABLE `mdl_tag_area`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `mdl_tag_coll`
--
ALTER TABLE `mdl_tag_coll`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `mdl_tag_correlation`
--
ALTER TABLE `mdl_tag_correlation`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tag_instance`
--
ALTER TABLE `mdl_tag_instance`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_task_adhoc`
--
ALTER TABLE `mdl_task_adhoc`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `mdl_task_log`
--
ALTER TABLE `mdl_task_log`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_task_scheduled`
--
ALTER TABLE `mdl_task_scheduled`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=111;

--
-- AUTO_INCREMENT for table `mdl_tiny_autosave`
--
ALTER TABLE `mdl_tiny_autosave`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_areas`
--
ALTER TABLE `mdl_tool_brickfield_areas`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_cache_acts`
--
ALTER TABLE `mdl_tool_brickfield_cache_acts`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_cache_check`
--
ALTER TABLE `mdl_tool_brickfield_cache_check`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_checks`
--
ALTER TABLE `mdl_tool_brickfield_checks`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_content`
--
ALTER TABLE `mdl_tool_brickfield_content`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_errors`
--
ALTER TABLE `mdl_tool_brickfield_errors`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_process`
--
ALTER TABLE `mdl_tool_brickfield_process`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_results`
--
ALTER TABLE `mdl_tool_brickfield_results`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_schedule`
--
ALTER TABLE `mdl_tool_brickfield_schedule`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_brickfield_summary`
--
ALTER TABLE `mdl_tool_brickfield_summary`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_cohortroles`
--
ALTER TABLE `mdl_tool_cohortroles`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_customlang`
--
ALTER TABLE `mdl_tool_customlang`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_customlang_components`
--
ALTER TABLE `mdl_tool_customlang_components`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_category`
--
ALTER TABLE `mdl_tool_dataprivacy_category`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_contextlist`
--
ALTER TABLE `mdl_tool_dataprivacy_contextlist`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_ctxexpired`
--
ALTER TABLE `mdl_tool_dataprivacy_ctxexpired`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_ctxinstance`
--
ALTER TABLE `mdl_tool_dataprivacy_ctxinstance`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_ctxlevel`
--
ALTER TABLE `mdl_tool_dataprivacy_ctxlevel`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_ctxlst_ctx`
--
ALTER TABLE `mdl_tool_dataprivacy_ctxlst_ctx`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_purpose`
--
ALTER TABLE `mdl_tool_dataprivacy_purpose`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_purposerole`
--
ALTER TABLE `mdl_tool_dataprivacy_purposerole`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_request`
--
ALTER TABLE `mdl_tool_dataprivacy_request`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_dataprivacy_rqst_ctxlst`
--
ALTER TABLE `mdl_tool_dataprivacy_rqst_ctxlst`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_mfa`
--
ALTER TABLE `mdl_tool_mfa`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_mfa_auth`
--
ALTER TABLE `mdl_tool_mfa_auth`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_mfa_secrets`
--
ALTER TABLE `mdl_tool_mfa_secrets`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_monitor_events`
--
ALTER TABLE `mdl_tool_monitor_events`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_monitor_history`
--
ALTER TABLE `mdl_tool_monitor_history`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_monitor_rules`
--
ALTER TABLE `mdl_tool_monitor_rules`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_monitor_subscriptions`
--
ALTER TABLE `mdl_tool_monitor_subscriptions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_policy`
--
ALTER TABLE `mdl_tool_policy`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_policy_acceptances`
--
ALTER TABLE `mdl_tool_policy_acceptances`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_policy_versions`
--
ALTER TABLE `mdl_tool_policy_versions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_recyclebin_category`
--
ALTER TABLE `mdl_tool_recyclebin_category`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_recyclebin_course`
--
ALTER TABLE `mdl_tool_recyclebin_course`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_tool_usertours_steps`
--
ALTER TABLE `mdl_tool_usertours_steps`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `mdl_tool_usertours_tours`
--
ALTER TABLE `mdl_tool_usertours_tours`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `mdl_upgrade_log`
--
ALTER TABLE `mdl_upgrade_log`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1323;

--
-- AUTO_INCREMENT for table `mdl_url`
--
ALTER TABLE `mdl_url`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user`
--
ALTER TABLE `mdl_user`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `mdl_user_devices`
--
ALTER TABLE `mdl_user_devices`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user_enrolments`
--
ALTER TABLE `mdl_user_enrolments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user_info_category`
--
ALTER TABLE `mdl_user_info_category`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user_info_data`
--
ALTER TABLE `mdl_user_info_data`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user_info_field`
--
ALTER TABLE `mdl_user_info_field`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user_lastaccess`
--
ALTER TABLE `mdl_user_lastaccess`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user_password_history`
--
ALTER TABLE `mdl_user_password_history`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user_password_resets`
--
ALTER TABLE `mdl_user_password_resets`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_user_preferences`
--
ALTER TABLE `mdl_user_preferences`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `mdl_user_private_key`
--
ALTER TABLE `mdl_user_private_key`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_wiki`
--
ALTER TABLE `mdl_wiki`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_wiki_links`
--
ALTER TABLE `mdl_wiki_links`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_wiki_locks`
--
ALTER TABLE `mdl_wiki_locks`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_wiki_pages`
--
ALTER TABLE `mdl_wiki_pages`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_wiki_subwikis`
--
ALTER TABLE `mdl_wiki_subwikis`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_wiki_synonyms`
--
ALTER TABLE `mdl_wiki_synonyms`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_wiki_versions`
--
ALTER TABLE `mdl_wiki_versions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshop`
--
ALTER TABLE `mdl_workshop`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopallocation_scheduled`
--
ALTER TABLE `mdl_workshopallocation_scheduled`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopeval_best_settings`
--
ALTER TABLE `mdl_workshopeval_best_settings`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopform_accumulative`
--
ALTER TABLE `mdl_workshopform_accumulative`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopform_comments`
--
ALTER TABLE `mdl_workshopform_comments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopform_numerrors`
--
ALTER TABLE `mdl_workshopform_numerrors`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopform_numerrors_map`
--
ALTER TABLE `mdl_workshopform_numerrors_map`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopform_rubric`
--
ALTER TABLE `mdl_workshopform_rubric`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopform_rubric_config`
--
ALTER TABLE `mdl_workshopform_rubric_config`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshopform_rubric_levels`
--
ALTER TABLE `mdl_workshopform_rubric_levels`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshop_aggregations`
--
ALTER TABLE `mdl_workshop_aggregations`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshop_assessments`
--
ALTER TABLE `mdl_workshop_assessments`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshop_grades`
--
ALTER TABLE `mdl_workshop_grades`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_workshop_submissions`
--
ALTER TABLE `mdl_workshop_submissions`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `mdl_xapi_states`
--
ALTER TABLE `mdl_xapi_states`
  MODIFY `id` bigint(10) NOT NULL AUTO_INCREMENT;
COMMIT;

