-- --------------------------------------------------------
-- Server OS:                    Linux
-- HeidiSQL Version:             9.5.0.5196
-- --------------------------------------------------------


-- Dumping structure for table comig_moodle.mdl_assign
CREATE TABLE IF NOT EXISTS `mdl_assign` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `course` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `intro` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT '0',
  `alwaysshowdescription` tinyint(2) NOT NULL DEFAULT '0',
  `nosubmissions` tinyint(2) NOT NULL DEFAULT '0',
  `submissiondrafts` tinyint(2) NOT NULL DEFAULT '0',
  `sendnotifications` tinyint(2) NOT NULL DEFAULT '0',
  `sendlatenotifications` tinyint(2) NOT NULL DEFAULT '0',
  `duedate` bigint(10) NOT NULL DEFAULT '0',
  `allowsubmissionsfromdate` bigint(10) NOT NULL DEFAULT '0',
  `grade` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `requiresubmissionstatement` tinyint(2) NOT NULL DEFAULT '0',
  `completionsubmit` tinyint(2) NOT NULL DEFAULT '0',
  `cutoffdate` bigint(10) NOT NULL DEFAULT '0',
  `teamsubmission` tinyint(2) NOT NULL DEFAULT '0',
  `requireallteammemberssubmit` tinyint(2) NOT NULL DEFAULT '0',
  `teamsubmissiongroupingid` bigint(10) NOT NULL DEFAULT '0',
  `blindmarking` tinyint(2) NOT NULL DEFAULT '0',
  `revealidentities` tinyint(2) NOT NULL DEFAULT '0',
  `attemptreopenmethod` varchar(10) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT 'none',
  `maxattempts` mediumint(6) NOT NULL DEFAULT '-1',
  `markingworkflow` tinyint(2) NOT NULL DEFAULT '0',
  `markingallocation` tinyint(2) NOT NULL DEFAULT '0',
  `sendstudentnotifications` tinyint(2) NOT NULL DEFAULT '1',
  `preventsubmissionnotingroup` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assi_cou_ix` (`course`),
  KEY `mdl_assi_tea_ix` (`teamsubmissiongroupingid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='This table saves information about an instance of mod_assign';

-- Dumping data for table comig_moodle.mdl_assign: ~0 rows (approximately)
DELETE FROM `mdl_assign`;

-- Dumping structure for table comig_moodle.mdl_assignfeedback_comments
CREATE TABLE IF NOT EXISTS `mdl_assignfeedback_comments` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `grade` bigint(10) NOT NULL DEFAULT '0',
  `commenttext` longtext COLLATE utf8_lithuanian_ci,
  `commentformat` smallint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assicomm_ass_ix` (`assignment`),
  KEY `mdl_assicomm_gra_ix` (`grade`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Text feedback for submitted assignments';

-- Dumping data for table comig_moodle.mdl_assignfeedback_comments: ~0 rows (approximately)
DELETE FROM `mdl_assignfeedback_comments`;

-- Dumping structure for table comig_moodle.mdl_assignfeedback_editpdf_annot
CREATE TABLE IF NOT EXISTS `mdl_assignfeedback_editpdf_annot` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `gradeid` bigint(10) NOT NULL DEFAULT '0',
  `pageno` bigint(10) NOT NULL DEFAULT '0',
  `x` bigint(10) DEFAULT '0',
  `y` bigint(10) DEFAULT '0',
  `endx` bigint(10) DEFAULT '0',
  `endy` bigint(10) DEFAULT '0',
  `path` longtext COLLATE utf8_lithuanian_ci,
  `type` varchar(10) COLLATE utf8_lithuanian_ci DEFAULT 'line',
  `colour` varchar(10) COLLATE utf8_lithuanian_ci DEFAULT 'black',
  `draft` tinyint(2) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `mdl_assieditanno_grapag_ix` (`gradeid`,`pageno`),
  KEY `mdl_assieditanno_gra_ix` (`gradeid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='stores annotations added to pdfs submitted by students';

-- Dumping data for table comig_moodle.mdl_assignfeedback_editpdf_annot: ~0 rows (approximately)
DELETE FROM `mdl_assignfeedback_editpdf_annot`;

-- Dumping structure for table comig_moodle.mdl_assignfeedback_editpdf_cmnt
CREATE TABLE IF NOT EXISTS `mdl_assignfeedback_editpdf_cmnt` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `gradeid` bigint(10) NOT NULL DEFAULT '0',
  `x` bigint(10) DEFAULT '0',
  `y` bigint(10) DEFAULT '0',
  `width` bigint(10) DEFAULT '120',
  `rawtext` longtext COLLATE utf8_lithuanian_ci,
  `pageno` bigint(10) NOT NULL DEFAULT '0',
  `colour` varchar(10) COLLATE utf8_lithuanian_ci DEFAULT 'black',
  `draft` tinyint(2) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `mdl_assieditcmnt_grapag_ix` (`gradeid`,`pageno`),
  KEY `mdl_assieditcmnt_gra_ix` (`gradeid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Stores comments added to pdfs';

-- Dumping data for table comig_moodle.mdl_assignfeedback_editpdf_cmnt: ~0 rows (approximately)
DELETE FROM `mdl_assignfeedback_editpdf_cmnt`;

-- Dumping structure for table comig_moodle.mdl_assignfeedback_editpdf_queue
CREATE TABLE IF NOT EXISTS `mdl_assignfeedback_editpdf_queue` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `submissionid` bigint(10) NOT NULL,
  `submissionattempt` bigint(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci;

-- Dumping data for table comig_moodle.mdl_assignfeedback_editpdf_queue: ~0 rows (approximately)
DELETE FROM `mdl_assignfeedback_editpdf_queue`;

-- Dumping structure for table comig_moodle.mdl_assignfeedback_editpdf_quick
CREATE TABLE IF NOT EXISTS `mdl_assignfeedback_editpdf_quick` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `rawtext` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `width` bigint(10) NOT NULL DEFAULT '120',
  `colour` varchar(10) COLLATE utf8_lithuanian_ci DEFAULT 'yellow',
  PRIMARY KEY (`id`),
  KEY `mdl_assieditquic_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Stores teacher specified quicklist comments';

-- Dumping data for table comig_moodle.mdl_assignfeedback_editpdf_quick: ~0 rows (approximately)
DELETE FROM `mdl_assignfeedback_editpdf_quick`;

-- Dumping structure for table comig_moodle.mdl_assignfeedback_file
CREATE TABLE IF NOT EXISTS `mdl_assignfeedback_file` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `grade` bigint(10) NOT NULL DEFAULT '0',
  `numfiles` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assifile_ass2_ix` (`assignment`),
  KEY `mdl_assifile_gra_ix` (`grade`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Stores info about the number of files submitted by a student';

-- Dumping data for table comig_moodle.mdl_assignfeedback_file: ~0 rows (approximately)
DELETE FROM `mdl_assignfeedback_file`;

-- Dumping structure for table comig_moodle.mdl_assignment
CREATE TABLE IF NOT EXISTS `mdl_assignment` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `course` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `intro` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT '0',
  `assignmenttype` varchar(50) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `resubmit` tinyint(2) NOT NULL DEFAULT '0',
  `preventlate` tinyint(2) NOT NULL DEFAULT '0',
  `emailteachers` tinyint(2) NOT NULL DEFAULT '0',
  `var1` bigint(10) DEFAULT '0',
  `var2` bigint(10) DEFAULT '0',
  `var3` bigint(10) DEFAULT '0',
  `var4` bigint(10) DEFAULT '0',
  `var5` bigint(10) DEFAULT '0',
  `maxbytes` bigint(10) NOT NULL DEFAULT '100000',
  `timedue` bigint(10) NOT NULL DEFAULT '0',
  `timeavailable` bigint(10) NOT NULL DEFAULT '0',
  `grade` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assi_cou2_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines assignments';

-- Dumping data for table comig_moodle.mdl_assignment: ~0 rows (approximately)
DELETE FROM `mdl_assignment`;

-- Dumping structure for table comig_moodle.mdl_assignment_submissions
CREATE TABLE IF NOT EXISTS `mdl_assignment_submissions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `numfiles` bigint(10) NOT NULL DEFAULT '0',
  `data1` longtext COLLATE utf8_lithuanian_ci,
  `data2` longtext COLLATE utf8_lithuanian_ci,
  `grade` bigint(11) NOT NULL DEFAULT '0',
  `submissioncomment` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `format` smallint(4) NOT NULL DEFAULT '0',
  `teacher` bigint(10) NOT NULL DEFAULT '0',
  `timemarked` bigint(10) NOT NULL DEFAULT '0',
  `mailed` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assisubm_use2_ix` (`userid`),
  KEY `mdl_assisubm_mai_ix` (`mailed`),
  KEY `mdl_assisubm_tim_ix` (`timemarked`),
  KEY `mdl_assisubm_ass2_ix` (`assignment`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Info about submitted assignments';

-- Dumping data for table comig_moodle.mdl_assignment_submissions: ~0 rows (approximately)
DELETE FROM `mdl_assignment_submissions`;

-- Dumping structure for table comig_moodle.mdl_assignment_upgrade
CREATE TABLE IF NOT EXISTS `mdl_assignment_upgrade` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `oldcmid` bigint(10) NOT NULL DEFAULT '0',
  `oldinstance` bigint(10) NOT NULL DEFAULT '0',
  `newcmid` bigint(10) NOT NULL DEFAULT '0',
  `newinstance` bigint(10) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assiupgr_old_ix` (`oldcmid`),
  KEY `mdl_assiupgr_old2_ix` (`oldinstance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci;

-- Dumping data for table comig_moodle.mdl_assignment_upgrade: ~0 rows (approximately)
DELETE FROM `mdl_assignment_upgrade`;

-- Dumping structure for table comig_moodle.mdl_assignsubmission_file
CREATE TABLE IF NOT EXISTS `mdl_assignsubmission_file` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `submission` bigint(10) NOT NULL DEFAULT '0',
  `numfiles` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assifile_ass_ix` (`assignment`),
  KEY `mdl_assifile_sub_ix` (`submission`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Info about file submissions for assignments';

-- Dumping data for table comig_moodle.mdl_assignsubmission_file: ~0 rows (approximately)
DELETE FROM `mdl_assignsubmission_file`;

-- Dumping structure for table comig_moodle.mdl_assignsubmission_onlinetext
CREATE TABLE IF NOT EXISTS `mdl_assignsubmission_onlinetext` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `submission` bigint(10) NOT NULL DEFAULT '0',
  `onlinetext` longtext COLLATE utf8_lithuanian_ci,
  `onlineformat` smallint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assionli_ass_ix` (`assignment`),
  KEY `mdl_assionli_sub_ix` (`submission`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Info about onlinetext submission';

-- Dumping data for table comig_moodle.mdl_assignsubmission_onlinetext: ~0 rows (approximately)
DELETE FROM `mdl_assignsubmission_onlinetext`;

-- Dumping structure for table comig_moodle.mdl_assign_grades
CREATE TABLE IF NOT EXISTS `mdl_assign_grades` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `grader` bigint(10) NOT NULL DEFAULT '0',
  `grade` decimal(10,5) DEFAULT '0.00000',
  `attemptnumber` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_assigrad_assuseatt_uix` (`assignment`,`userid`,`attemptnumber`),
  KEY `mdl_assigrad_use_ix` (`userid`),
  KEY `mdl_assigrad_att_ix` (`attemptnumber`),
  KEY `mdl_assigrad_ass_ix` (`assignment`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Grading information about a single assignment submission.';

-- Dumping data for table comig_moodle.mdl_assign_grades: ~0 rows (approximately)
DELETE FROM `mdl_assign_grades`;

-- Dumping structure for table comig_moodle.mdl_assign_plugin_config
CREATE TABLE IF NOT EXISTS `mdl_assign_plugin_config` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `plugin` varchar(28) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `subtype` varchar(28) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `name` varchar(28) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `value` longtext COLLATE utf8_lithuanian_ci,
  PRIMARY KEY (`id`),
  KEY `mdl_assiplugconf_plu_ix` (`plugin`),
  KEY `mdl_assiplugconf_sub_ix` (`subtype`),
  KEY `mdl_assiplugconf_nam_ix` (`name`),
  KEY `mdl_assiplugconf_ass_ix` (`assignment`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Config data for an instance of a plugin in an assignment.';

-- Dumping data for table comig_moodle.mdl_assign_plugin_config: ~0 rows (approximately)
DELETE FROM `mdl_assign_plugin_config`;

-- Dumping structure for table comig_moodle.mdl_assign_submission
CREATE TABLE IF NOT EXISTS `mdl_assign_submission` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `status` varchar(10) COLLATE utf8_lithuanian_ci DEFAULT NULL,
  `groupid` bigint(10) NOT NULL DEFAULT '0',
  `attemptnumber` bigint(10) NOT NULL DEFAULT '0',
  `latest` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_assisubm_assusegroatt_uix` (`assignment`,`userid`,`groupid`,`attemptnumber`),
  KEY `mdl_assisubm_use_ix` (`userid`),
  KEY `mdl_assisubm_att_ix` (`attemptnumber`),
  KEY `mdl_assisubm_ass_ix` (`assignment`),
  KEY `mdl_assisubm_assusegrolat_ix` (`assignment`,`userid`,`groupid`,`latest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='This table keeps information about student interactions with';

-- Dumping data for table comig_moodle.mdl_assign_submission: ~0 rows (approximately)
DELETE FROM `mdl_assign_submission`;

-- Dumping structure for table comig_moodle.mdl_assign_user_flags
CREATE TABLE IF NOT EXISTS `mdl_assign_user_flags` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `locked` bigint(10) NOT NULL DEFAULT '0',
  `mailed` smallint(4) NOT NULL DEFAULT '0',
  `extensionduedate` bigint(10) NOT NULL DEFAULT '0',
  `workflowstate` varchar(20) COLLATE utf8_lithuanian_ci DEFAULT NULL,
  `allocatedmarker` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assiuserflag_mai_ix` (`mailed`),
  KEY `mdl_assiuserflag_use_ix` (`userid`),
  KEY `mdl_assiuserflag_ass_ix` (`assignment`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='List of flags that can be set for a single user in a single ';

-- Dumping data for table comig_moodle.mdl_assign_user_flags: ~0 rows (approximately)
DELETE FROM `mdl_assign_user_flags`;

-- Dumping structure for table comig_moodle.mdl_assign_user_mapping
CREATE TABLE IF NOT EXISTS `mdl_assign_user_mapping` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `assignment` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_assiusermapp_ass_ix` (`assignment`),
  KEY `mdl_assiusermapp_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Map an assignment specific id number to a user';

-- Dumping data for table comig_moodle.mdl_assign_user_mapping: ~0 rows (approximately)
DELETE FROM `mdl_assign_user_mapping`;

-- Dumping structure for table comig_moodle.mdl_backup_controllers
CREATE TABLE IF NOT EXISTS `mdl_backup_controllers` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `backupid` varchar(32) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `operation` varchar(20) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT 'backup',
  `type` varchar(10) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `itemid` bigint(10) NOT NULL,
  `format` varchar(20) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `interactive` smallint(4) NOT NULL,
  `purpose` smallint(4) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `status` smallint(4) NOT NULL,
  `execution` smallint(4) NOT NULL,
  `executiontime` bigint(10) NOT NULL,
  `checksum` varchar(32) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `controller` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_backcont_bac_uix` (`backupid`),
  KEY `mdl_backcont_typite_ix` (`type`,`itemid`),
  KEY `mdl_backcont_use_ix` (`userid`)
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='To store the backup_controllers as they are used';

-- Dumping data for table comig_moodle.mdl_backup_controllers: ~29 rows (approximately)
DELETE FROM `mdl_backup_controllers`;
INSERT INTO `mdl_backup_controllers` (`id`, `backupid`, `operation`, `type`, `itemid`, `format`, `interactive`, `purpose`, `userid`, `status`, `execution`, `executiontime`, `checksum`, `timecreated`, `timemodified`, `controller`) VALUES
	(1, '86409515ef10308323dffad005c0f951', 'backup', 'activity', 146, 'moodle2', 0, 10, 3, 1000, 1, 0, 'cb716419db2b2ff5dab6676ab570c816', 1476649973, 1476649974, ''),
	(2, 'cff7afdd7fbbf3546ed016a3a5e1ebef', 'backup', 'activity', 148, 'moodle2', 0, 10, 3, 1000, 1, 0, '620fd87792776f5444624338e52033e0', 1476654475, 1476654476, ''),
	(3, 'a2bf7306feaaec4814da45ae628464d2', 'backup', 'activity', 144, 'moodle2', 1, 10, 3, 1000, 1, 0, '6a6f91579da25187a0b32230ada2c329', 1477951329, 1477951348, ''),
	(4, '31a2748f1c49d77f4e4e2431f01f9ed8', 'backup', 'activity', 144, 'moodle2', 0, 10, 3, 1000, 1, 0, 'c75a5b3570bd01107f96dfe878776ed4', 1477951519, 1477951520, ''),
	(5, '83fe62140536cb52b396514f5fa2bb3e', 'backup', 'activity', 147, 'moodle2', 0, 10, 3, 1000, 1, 0, 'b9d256563bfc41185fde22d887114601', 1478791782, 1478791784, ''),
	(6, 'e636d003ae3931b0b13d20de24e1bfcd', 'backup', 'activity', 150, 'moodle2', 0, 10, 3, 1000, 1, 0, 'd16ed5e1275d9426e81602b71cb19d61', 1478826468, 1478826468, ''),
	(7, 'ee00f8353666ec039e41ead315f36be5', 'backup', 'activity', 152, 'moodle2', 0, 10, 3, 1000, 1, 0, 'e5f34af74d15c1649d526a45033ea692', 1478962525, 1478962526, ''),
	(8, 'c4012aeab7aa5e3c2d8afe9398bf4c84', 'backup', 'activity', 153, 'moodle2', 0, 10, 3, 1000, 1, 0, '4bd018dbfdf14864936aaf258536ba20', 1483568283, 1483568289, ''),
	(9, '4538a896306894d0fdccdb2f3365dbc9', 'backup', 'activity', 121, 'moodle2', 0, 10, 3, 1000, 1, 0, 'c9ccd7ab8a677d35f6488ac8a2532a2b', 1484751595, 1484751634, ''),
	(10, 'e1d48a85cb79ad0b1ef9694d4e759215', 'backup', 'activity', 155, 'moodle2', 0, 10, 3, 1000, 1, 0, '71b75702e167c5ee0ff4ad89139b40e0', 1487204722, 1487204724, ''),
	(11, 'df0f5bc10def2600866bc3a8c2f9e37c', 'backup', 'activity', 158, 'moodle2', 0, 10, 3, 1000, 1, 0, 'ccbbe42cd22ccc969513cb71c6c9930d', 1491269026, 1491269027, ''),
	(12, '26d29bc17097114165934dd30aee586f', 'backup', 'activity', 163, 'moodle2', 0, 10, 3, 1000, 1, 0, 'e6cfccb9b78633114d7ca7eb4c043ad3', 1491830017, 1491830018, ''),
	(13, '000f5e235538a46a53fe6fe425a1c7a2', 'backup', 'course', 31, 'moodle2', 0, 10, 3, 1000, 1, 0, '57f1079aef8bb5647a31762f5ef465e9', 1491830407, 1491830407, ''),
	(14, '376099212fda55bae4551a0cfd7dc299', 'backup', 'activity', 162, 'moodle2', 0, 10, 3, 1000, 1, 0, '613ca1eb510f3842b5bad40a35e4bf93', 1491863446, 1491863446, ''),
	(15, '9c7e5192ac98ba8fb76311ec0c0c4c00', 'backup', 'activity', 165, 'moodle2', 0, 10, 3, 1000, 1, 0, '744aab48685716462b3cd1057008ce31', 1491863462, 1491863462, ''),
	(16, 'b431b043bd60b8f1f1d9be8982070745', 'backup', 'activity', 166, 'moodle2', 0, 10, 3, 1000, 1, 0, 'f76dd6ad0eae752fc44a0511da3c1d8b', 1491863546, 1491863546, ''),
	(17, 'e79f29ef0b05b17887510fd473fec170', 'backup', 'activity', 169, 'moodle2', 0, 10, 3, 1000, 1, 0, '195db0bf6028348e8c43cacdea0ecc61', 1491864493, 1491864494, ''),
	(18, '301ac36af0579fe076310bc6ff7a2ecd', 'backup', 'activity', 172, 'moodle2', 0, 10, 3, 1000, 1, 0, 'c0240a1d0b21daf936cf851aa97e0d92', 1491868593, 1491868593, ''),
	(19, 'ac193c5f97bd14df8d7bdc3f4d7c61f6', 'backup', 'activity', 173, 'moodle2', 0, 10, 3, 1000, 1, 0, '0f2008d765a7ee6f6a851acf11fbdbd8', 1491869002, 1491869004, ''),
	(20, 'ec4858a3e45f8f18b7cd9c739b80671f', 'backup', 'activity', 174, 'moodle2', 0, 10, 3, 1000, 1, 0, '125416b2b9f9bb1524331e51cb5fc7a1', 1491941920, 1491941920, ''),
	(21, '588499a9c55272f5f733e4bab21619a3', 'backup', 'activity', 176, 'moodle2', 0, 10, 3, 1000, 1, 0, '98a76f6bb4f7884cc151c8c756a7b2a9', 1491942004, 1491942004, ''),
	(22, 'effa1de988d0aec889f35cf4977a7d6b', 'backup', 'activity', 178, 'moodle2', 0, 10, 3, 1000, 1, 0, 'c26b170f37a2144684cc44e6f8d6e034', 1491942692, 1491942693, ''),
	(23, 'ff7eb740bef914331cf407f9f7db05ec', 'backup', 'activity', 160, 'moodle2', 0, 10, 3, 1000, 1, 0, '894c5f239a6568e490edf03fa8513883', 1493240437, 1493240439, ''),
	(24, '66153f0620217d55b00a94b49b49a395', 'backup', 'activity', 189, 'moodle2', 0, 10, 3, 1000, 1, 0, 'd458270ef2a4768f0abfcb9ca93c57fd', 1495801380, 1495801382, ''),
	(25, '9f9a086baf6d6cfc63200f2b0cb44f4d', 'backup', 'activity', 193, 'moodle2', 0, 10, 3, 1000, 1, 0, '06111548464cbdc93c13baebeb4b7065', 1500472471, 1500472476, ''),
	(26, 'b75dd0b98b61d614ad1aa9ce167f5afb', 'backup', 'activity', 191, 'moodle2', 0, 10, 3, 1000, 1, 0, 'b78a9d5c77c3f1cb62a8534639994fd5', 1500472478, 1500472480, ''),
	(27, 'df39485952fe9b243fa144da9305ed25', 'backup', 'activity', 192, 'moodle2', 0, 10, 3, 1000, 1, 0, '9dc01894f2719f2e021b16c42053a7a4', 1500472481, 1500472481, ''),
	(28, 'fdbab5bd6ac4797c1d43a8b275786608', 'backup', 'activity', 161, 'moodle2', 0, 10, 3, 1000, 1, 0, '03315ab24a7349da43aabf7938158fed', 1502407412, 1502407417, ''),
	(29, '02677b434ab5b0bdb70946c39fab581c', 'backup', 'activity', 182, 'moodle2', 0, 10, 3, 1000, 1, 0, '4fcafff4811cc61e06e56652a5e1e269', 1502413369, 1502413369, ''),
	(30, 'e9988174e5e56ef981b3939ee60fd644', 'backup', 'activity', 196, 'moodle2', 0, 10, 3, 1000, 1, 0, '8b6af3981ae9c6693100df16ded1fa9b', 1549572005, 1549572006, ''),
	(31, '3c7417721b2af1866defa1cc75eba6c8', 'backup', 'activity', 195, 'moodle2', 0, 10, 3, 1000, 1, 0, '2d67fdac4c59b602a9d139d0e3ba2c10', 1560880797, 1560880798, ''),
	(32, '560943f2c0fe52c840131a16930a8efd', 'backup', 'activity', 151, 'moodle2', 0, 10, 3, 1000, 1, 0, 'a18d0ef219200c0e6359bed145d7edc5', 1560881389, 1560881390, ''),
	(33, '3c875eda475be7211e5a1dd3e42f3b64', 'backup', 'activity', 199, 'moodle2', 0, 10, 3, 1000, 1, 0, '692083bfee285fc6273797365edd2829', 1560881772, 1560881773, ''),
	(34, '236790aba3049f470bd20a930da3d839', 'backup', 'activity', 198, 'moodle2', 0, 10, 3, 1000, 1, 0, '5ef3e547a31dd4d4e09a4d4739ee1817', 1560971105, 1560971106, ''),
	(35, 'c0b0eb91a1787e80b20dbc0a556319d9', 'backup', 'activity', 200, 'moodle2', 0, 10, 3, 1000, 1, 0, '00f0d04b7b4d798a0fc1f2be9b69e0ef', 1560971279, 1560971279, ''),
	(36, '54785c66592d0558b039c627f1f704b2', 'backup', 'activity', 201, 'moodle2', 0, 10, 3, 1000, 1, 0, '2265b8750e4da6036eb61434d0ef54c9', 1560971383, 1560971383, ''),
	(37, '7edcb079d7b4a4fb2723b17005794bec', 'backup', 'course', 29, 'moodle2', 1, 10, 3, 500, 1, 0, '55f18556f3812bd96a5d021148c24890', 1561466606, 0, '[encoded data, 68392 characters]'),
	(38, '927f114a5f4b85d521760faed19d386c', 'backup', 'course', 29, 'moodle2', 1, 10, 3, 1000, 1, 0, '736c2cbe5973feaabdf3ff9bf0fec708', 1561466607, 1561466753, ''),
	(39, '472250ceb1e26aa2b842df97b33ce3ab', 'backup', 'course', 29, 'moodle2', 1, 10, 3, 500, 1, 0, '6215857192c81c402fbf035dc08f73d0', 1574884345, 0, '[encoded data, 68392 characters]'),
	(40, '533d2795f79ca1d74bdda8900b5fda20', 'backup', 'course', 29, 'moodle2', 1, 20, 3, 1000, 1, 0, 'aae39f1724fd6de9bd2e5ab8c1f8eade', 1574884531, 1574884558, ''),
	(41, '10942ee6eda1e81f50111ad39ddf9a48', 'restore', 'course', 29, 'moodle2', 1, 20, 3, 1000, 1, 0, '027971ec9fc4ee10fe09e8ff85be890b', 1574884558, 1574884573, ''),
	(42, 'cdc5c87f082b3061adb879f9443bbeb8', 'backup', 'course', 29, 'moodle2', 1, 20, 3, 1000, 1, 0, 'd83f02e073d4facaa48a471bad871916', 1574884598, 1574884628, ''),
	(43, 'daaffdbfafacfb0aaf8dc9b29fdf5c8a', 'restore', 'course', 29, 'moodle2', 1, 20, 3, 1000, 1, 0, 'df7c514bc5fb129b4e2114f9888719ea', 1574884628, 1574884641, ''),
	(44, '636e92262662dbabe2700d71493de4e4', 'backup', 'course', 29, 'moodle2', 1, 20, 3, 1000, 1, 0, '387ae4a2a37a1580988f18c689735d64', 1574884706, 1574884767, ''),
	(45, 'e969d9e1ae726623f0a4189376d8fef1', 'restore', 'course', 29, 'moodle2', 1, 20, 3, 1000, 1, 0, '278d599a3613cc42ca1a182fa3212a2c', 1574884767, 1574884780, ''),
	(46, '7226e851aeea6338593fb8229aa6c031', 'backup', 'activity', 209, 'moodle2', 0, 10, 3, 1000, 1, 0, '37fb20958cd39df02b72ff28511ada3a', 1574884811, 1574884811, ''),
	(47, '3d27c06160ffac9a364a3d61cb5da17a', 'backup', 'course', 29, 'moodle2', 1, 10, 3, 1000, 1, 0, 'b9ad67911f2ffbfeb830c69d6c2d1ee6', 1574884974, 1574885016, ''),
	(48, '13a6c0fe94139bf8ca76f52fa0eff12f', 'backup', 'activity', 210, 'moodle2', 0, 10, 3, 1000, 1, 0, '3532dff0bc21c129fe9499f18f9995bb', 1574885126, 1574885126, ''),
	(49, '5f729355861a842b872ae9c978b9441f', 'backup', 'activity', 242, 'moodle2', 0, 10, 3, 1000, 1, 0, '58ab077734cd73b083168685c4afc796', 1574885141, 1574885141, ''),
	(50, '40933fd37a07894487ac4462b5dc8274', 'backup', 'activity', 241, 'moodle2', 0, 10, 3, 1000, 1, 0, '784306eee1d94a25c0bca88d314d8b67', 1574885143, 1574885144, ''),
	(51, '9a08ef55e4b9c5019dbcfe88d131ce49', 'backup', 'activity', 240, 'moodle2', 0, 10, 3, 1000, 1, 0, 'f7f09d67c4279b1854c64297e89c4eaa', 1574885146, 1574885150, ''),
	(52, 'ed207ab99c4b9abf7066962447cb3cc4', 'backup', 'activity', 239, 'moodle2', 0, 10, 3, 1000, 1, 0, '70ead86f0423d183f9e4d2b7424fd880', 1574885151, 1574885151, ''),
	(53, '540ae728641d897dfb2eecbee8dba9a0', 'backup', 'activity', 238, 'moodle2', 0, 10, 3, 1000, 1, 0, '1ad0d02aba99f796d6f3831f94cc74e2', 1574885153, 1574885156, ''),
	(54, 'd08b5ed281c7961fdeaa82bcf455d122', 'backup', 'activity', 237, 'moodle2', 0, 10, 3, 1000, 1, 0, '373be3b786c1d2e3af234e34f92c29a7', 1574885157, 1574885161, ''),
	(55, 'bccd183657a6b6f9f8958e2e863d1b71', 'backup', 'activity', 236, 'moodle2', 0, 10, 3, 1000, 1, 0, 'a740e28e2dab49554d6332a7c087ee66', 1574885162, 1574885166, ''),
	(56, '782a3bd462797058bbeebbdbae60cc84', 'backup', 'activity', 235, 'moodle2', 0, 10, 3, 1000, 1, 0, '6961fdfae03475bc26324f35351e6c6f', 1574885166, 1574885166, ''),
	(57, '8dab38bfa2e09edd359d9f48bf7c1b17', 'backup', 'activity', 234, 'moodle2', 0, 10, 3, 1000, 1, 0, '853976634324af6e397a0e44b221e6d9', 1574885166, 1574885167, ''),
	(58, 'e9a2565e7dbadeab8c60f46cd09eb555', 'backup', 'activity', 233, 'moodle2', 0, 10, 3, 1000, 1, 0, '91c505edc2fe65a81a20af4098173a92', 1574885167, 1574885167, ''),
	(59, 'e107288d28fbac7c95a7fce6c0697cd3', 'backup', 'activity', 232, 'moodle2', 0, 10, 3, 1000, 1, 0, '85bfde2dc97241d416de56af8407d5b8', 1574885169, 1574885169, ''),
	(60, 'e2ab3c27cc1351f55247ad1eec4030a5', 'backup', 'activity', 231, 'moodle2', 0, 10, 3, 1000, 1, 0, '67268a289738974881eeda95fed425f5', 1574885173, 1574885173, ''),
	(61, '3cabe075a91c313036af400af20c6116', 'backup', 'activity', 230, 'moodle2', 0, 10, 3, 1000, 1, 0, '02da891ac6cddb2ced717221bcf0b7ec', 1574885175, 1574885175, ''),
	(62, '88b0ab715100db0f253444281360a04c', 'backup', 'activity', 229, 'moodle2', 0, 10, 3, 1000, 1, 0, '1f4c6ee629a739b5cae8c4d581d31287', 1574885182, 1574885183, ''),
	(63, '12faef11bea70ad0350fcdc281c5dc74', 'backup', 'activity', 228, 'moodle2', 0, 10, 3, 1000, 1, 0, 'cfcd0e23259ae91b5bd88f8a3c637bbe', 1574885185, 1574885189, ''),
	(64, '4708ffb460b73fc398e3a4e7bf18d501', 'backup', 'activity', 227, 'moodle2', 0, 10, 3, 1000, 1, 0, '143daf3b3d6abf1d8c51466b7282c284', 1574885189, 1574885189, ''),
	(65, '6b62ff15c2dcd4cef5a42c155dd735a2', 'backup', 'activity', 226, 'moodle2', 0, 10, 3, 1000, 1, 0, 'd34a19f814a884360ec4235c1de022f3', 1574885190, 1574885194, ''),
	(66, '01f8d0dac211bbbc78561f2056303750', 'backup', 'activity', 225, 'moodle2', 0, 10, 3, 1000, 1, 0, '9c74dafc933e4a1b854222eaf2752e24', 1574885194, 1574885198, ''),
	(67, '7ab75328448191d26a103d4ffcbbe077', 'backup', 'activity', 224, 'moodle2', 0, 10, 3, 1000, 1, 0, '2300bab240fd6f4006f7544f35275f57', 1574885199, 1574885203, ''),
	(68, '1a4b08c7b605054e0c3028b35ad03430', 'backup', 'activity', 223, 'moodle2', 0, 10, 3, 1000, 1, 0, 'eb7ccc6b459e9d1bb2c563dbb711fc8b', 1574885203, 1574885203, ''),
	(69, 'fe49b59be5b830b4501a8109e9413ed0', 'backup', 'activity', 222, 'moodle2', 0, 10, 3, 1000, 1, 0, '24cb8c2e010399beecc048026e969cef', 1574885204, 1574885204, ''),
	(70, '145ae27e99ff142fb39901ba1ce95763', 'backup', 'activity', 221, 'moodle2', 0, 10, 3, 1000, 1, 0, '1c601a1eb2189a7024a84f9eac23750e', 1574885204, 1574885204, ''),
	(71, 'f7058d4c829e106df3a6b633df792f65', 'backup', 'activity', 220, 'moodle2', 0, 10, 3, 1000, 1, 0, '0d7266673e1374b8a7b7aee16d4c62b5', 1574885207, 1574885207, ''),
	(72, '96f87b1a0e6f3e4fa7c362afbdf13567', 'backup', 'activity', 219, 'moodle2', 0, 10, 3, 1000, 1, 0, '171dbb77ea9c1c84fba5c03da9fc3f48', 1574885210, 1574885211, ''),
	(73, '57224a2652defc00473b88a0ff9f5678', 'backup', 'activity', 218, 'moodle2', 0, 10, 3, 1000, 1, 0, 'e085018b0acfabbd6edc70b154130e7c', 1574885213, 1574885214, ''),
	(74, '068b2d6cb0bcf0b35df01d6670c5af17', 'backup', 'activity', 217, 'moodle2', 0, 10, 3, 1000, 1, 0, '481998b2b2ee60c7d9b56ec025ea9b84', 1574885215, 1574885219, ''),
	(75, '17924f0da08db852e21991d297f480a6', 'backup', 'activity', 216, 'moodle2', 0, 10, 3, 1000, 1, 0, '85b5dfea5567106cccd3f3e01ba6c6a7', 1574885220, 1574885220, ''),
	(76, 'e4f1c00b02c64e2bb0ad52e3cc06b5b3', 'backup', 'activity', 215, 'moodle2', 0, 10, 3, 1000, 1, 0, '0b4ad7edd33100d4ad5ec228629dde6c', 1574885222, 1574885227, ''),
	(77, '1abba1fc7654c71528e85bd057145afd', 'backup', 'activity', 214, 'moodle2', 0, 10, 3, 1000, 1, 0, 'b9bd90015ac8c0a2faed2190b41fa503', 1574885227, 1574885231, ''),
	(78, '511836892993838a3100b3f1f01a5573', 'backup', 'activity', 213, 'moodle2', 0, 10, 3, 1000, 1, 0, 'd3aab5aae3028d3a0e047f379172a165', 1574885232, 1574885236, ''),
	(79, 'f3299d65bfda482eedaf9beb4a0b77b4', 'backup', 'activity', 212, 'moodle2', 0, 10, 3, 1000, 1, 0, 'bf67bc8dc78885931011a130ad065f68', 1574885236, 1574885236, ''),
	(80, 'a7bd5f7ecb0fcc0c9aa175d7a4b65b1c', 'backup', 'activity', 211, 'moodle2', 0, 10, 3, 1000, 1, 0, 'a87f7981f5a123473fb09afaefb50fe2', 1574885237, 1574885237, ''),
	(81, 'e4f6ef52eb16158949833fb4a32506d9', 'backup', 'activity', 208, 'moodle2', 0, 10, 3, 1000, 1, 0, 'ed68428eeb6398fffb171fa2d25a9ebb', 1574885237, 1574885237, '');

-- Dumping structure for table comig_moodle.mdl_backup_courses
CREATE TABLE IF NOT EXISTS `mdl_backup_courses` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `courseid` bigint(10) NOT NULL DEFAULT '0',
  `laststarttime` bigint(10) NOT NULL DEFAULT '0',
  `lastendtime` bigint(10) NOT NULL DEFAULT '0',
  `laststatus` varchar(1) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '5',
  `nextstarttime` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_backcour_cou_uix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='To store every course backup status';

-- Dumping data for table comig_moodle.mdl_backup_courses: ~0 rows (approximately)
DELETE FROM `mdl_backup_courses`;

-- Dumping structure for table comig_moodle.mdl_backup_logs
CREATE TABLE IF NOT EXISTS `mdl_backup_logs` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `backupid` varchar(32) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `loglevel` smallint(4) NOT NULL,
  `message` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_backlogs_bacid_uix` (`backupid`,`id`),
  KEY `mdl_backlogs_bac_ix` (`backupid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='To store all the logs from backup and restore operations (by';

-- Dumping data for table comig_moodle.mdl_backup_logs: ~0 rows (approximately)
DELETE FROM `mdl_backup_logs`;

-- Dumping structure for table comig_moodle.mdl_badge
CREATE TABLE IF NOT EXISTS `mdl_badge` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `description` longtext COLLATE utf8_lithuanian_ci,
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `usercreated` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `issuername` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `issuerurl` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `issuercontact` varchar(255) COLLATE utf8_lithuanian_ci DEFAULT NULL,
  `expiredate` bigint(10) DEFAULT NULL,
  `expireperiod` bigint(10) DEFAULT NULL,
  `type` tinyint(1) NOT NULL DEFAULT '1',
  `courseid` bigint(10) DEFAULT NULL,
  `message` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `messagesubject` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `attachment` tinyint(1) NOT NULL DEFAULT '1',
  `notification` tinyint(1) NOT NULL DEFAULT '1',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `nextcron` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_badg_typ_ix` (`type`),
  KEY `mdl_badg_cou_ix` (`courseid`),
  KEY `mdl_badg_use_ix` (`usermodified`),
  KEY `mdl_badg_use2_ix` (`usercreated`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines badge';

-- Dumping data for table comig_moodle.mdl_badge: ~0 rows (approximately)
DELETE FROM `mdl_badge`;

-- Dumping structure for table comig_moodle.mdl_badge_backpack
CREATE TABLE IF NOT EXISTS `mdl_badge_backpack` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `email` varchar(100) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `backpackurl` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `backpackuid` bigint(10) NOT NULL,
  `autosync` tinyint(1) NOT NULL DEFAULT '0',
  `password` varchar(50) COLLATE utf8_lithuanian_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_badgback_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines settings for connecting external backpack';

-- Dumping data for table comig_moodle.mdl_badge_backpack: ~0 rows (approximately)
DELETE FROM `mdl_badge_backpack`;

-- Dumping structure for table comig_moodle.mdl_badge_criteria
CREATE TABLE IF NOT EXISTS `mdl_badge_criteria` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `badgeid` bigint(10) NOT NULL DEFAULT '0',
  `criteriatype` bigint(10) DEFAULT NULL,
  `method` tinyint(1) NOT NULL DEFAULT '1',
  `description` longtext COLLATE utf8_lithuanian_ci,
  `descriptionformat` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_badgcrit_badcri_uix` (`badgeid`,`criteriatype`),
  KEY `mdl_badgcrit_cri_ix` (`criteriatype`),
  KEY `mdl_badgcrit_bad_ix` (`badgeid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines criteria for issuing badges';

-- Dumping data for table comig_moodle.mdl_badge_criteria: ~0 rows (approximately)
DELETE FROM `mdl_badge_criteria`;

-- Dumping structure for table comig_moodle.mdl_badge_criteria_met
CREATE TABLE IF NOT EXISTS `mdl_badge_criteria_met` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `issuedid` bigint(10) DEFAULT NULL,
  `critid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `datemet` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_badgcritmet_cri_ix` (`critid`),
  KEY `mdl_badgcritmet_use_ix` (`userid`),
  KEY `mdl_badgcritmet_iss_ix` (`issuedid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines criteria that were met for an issued badge';

-- Dumping data for table comig_moodle.mdl_badge_criteria_met: ~0 rows (approximately)
DELETE FROM `mdl_badge_criteria_met`;

-- Dumping structure for table comig_moodle.mdl_badge_criteria_param
CREATE TABLE IF NOT EXISTS `mdl_badge_criteria_param` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `critid` bigint(10) NOT NULL,
  `name` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `value` varchar(255) COLLATE utf8_lithuanian_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_badgcritpara_cri_ix` (`critid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines parameters for badges criteria';

-- Dumping data for table comig_moodle.mdl_badge_criteria_param: ~0 rows (approximately)
DELETE FROM `mdl_badge_criteria_param`;

-- Dumping structure for table comig_moodle.mdl_badge_external
CREATE TABLE IF NOT EXISTS `mdl_badge_external` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `backpackid` bigint(10) NOT NULL,
  `collectionid` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_badgexte_bac_ix` (`backpackid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Setting for external badges display';

-- Dumping data for table comig_moodle.mdl_badge_external: ~0 rows (approximately)
DELETE FROM `mdl_badge_external`;

-- Dumping structure for table comig_moodle.mdl_badge_issued
CREATE TABLE IF NOT EXISTS `mdl_badge_issued` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `badgeid` bigint(10) NOT NULL DEFAULT '0',
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `uniquehash` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `dateissued` bigint(10) NOT NULL DEFAULT '0',
  `dateexpire` bigint(10) DEFAULT NULL,
  `visible` tinyint(1) NOT NULL DEFAULT '0',
  `issuernotified` bigint(10) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_badgissu_baduse_uix` (`badgeid`,`userid`),
  KEY `mdl_badgissu_bad_ix` (`badgeid`),
  KEY `mdl_badgissu_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines issued badges';

-- Dumping data for table comig_moodle.mdl_badge_issued: ~0 rows (approximately)
DELETE FROM `mdl_badge_issued`;

-- Dumping structure for table comig_moodle.mdl_badge_manual_award
CREATE TABLE IF NOT EXISTS `mdl_badge_manual_award` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `badgeid` bigint(10) NOT NULL,
  `recipientid` bigint(10) NOT NULL,
  `issuerid` bigint(10) NOT NULL,
  `issuerrole` bigint(10) NOT NULL,
  `datemet` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_badgmanuawar_bad_ix` (`badgeid`),
  KEY `mdl_badgmanuawar_rec_ix` (`recipientid`),
  KEY `mdl_badgmanuawar_iss_ix` (`issuerid`),
  KEY `mdl_badgmanuawar_iss2_ix` (`issuerrole`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Track manual award criteria for badges';

-- Dumping data for table comig_moodle.mdl_badge_manual_award: ~0 rows (approximately)
DELETE FROM `mdl_badge_manual_award`;

-- Dumping structure for table comig_moodle.mdl_block
CREATE TABLE IF NOT EXISTS `mdl_block` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(40) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `cron` bigint(10) NOT NULL DEFAULT '0',
  `lastcron` bigint(10) NOT NULL DEFAULT '0',
  `visible` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_bloc_nam_uix` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='contains all installed blocks';

-- Dumping data for table comig_moodle.mdl_block: ~42 rows (approximately)
DELETE FROM `mdl_block`;
INSERT INTO `mdl_block` (`id`, `name`, `cron`, `lastcron`, `visible`) VALUES
	(1, 'activity_modules', 0, 0, 1),
	(2, 'admin_bookmarks', 0, 0, 1),
	(3, 'badges', 0, 0, 1),
	(4, 'blog_menu', 0, 0, 1),
	(5, 'blog_recent', 0, 0, 1),
	(6, 'blog_tags', 0, 0, 1),
	(7, 'calendar_month', 0, 0, 1),
	(8, 'calendar_upcoming', 0, 0, 1),
	(9, 'comments', 0, 0, 1),
	(10, 'community', 0, 0, 1),
	(11, 'completionstatus', 0, 0, 1),
	(12, 'course_list', 0, 0, 1),
	(13, 'course_overview', 0, 0, 1),
	(14, 'course_summary', 0, 0, 1),
	(15, 'feedback', 0, 0, 0),
	(16, 'glossary_random', 0, 0, 1),
	(17, 'html', 0, 0, 1),
	(18, 'login', 0, 0, 1),
	(19, 'mentees', 0, 0, 1),
	(20, 'messages', 0, 0, 1),
	(21, 'mnet_hosts', 0, 0, 1),
	(22, 'myprofile', 0, 0, 1),
	(23, 'navigation', 0, 0, 1),
	(24, 'news_items', 0, 0, 1),
	(25, 'online_users', 0, 0, 1),
	(26, 'participants', 0, 0, 1),
	(27, 'private_files', 0, 0, 1),
	(28, 'quiz_results', 0, 0, 0),
	(29, 'recent_activity', 86400, 0, 1),
	(30, 'rss_client', 300, 1471783202, 1),
	(31, 'search_forums', 0, 0, 1),
	(32, 'section_links', 0, 0, 1),
	(33, 'selfcompletion', 0, 0, 1),
	(34, 'settings', 0, 0, 1),
	(35, 'site_main_menu', 0, 0, 1),
	(36, 'social_activities', 0, 0, 1),
	(37, 'tag_flickr', 0, 0, 1),
	(38, 'tag_youtube', 0, 0, 1),
	(39, 'tags', 0, 0, 1),
	(40, 'activity_results', 0, 0, 1),
	(41, 'globalsearch', 0, 0, 1),
	(42, 'lp', 0, 0, 1);

-- Dumping structure for table comig_moodle.mdl_block_community
CREATE TABLE IF NOT EXISTS `mdl_block_community` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL,
  `coursename` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `coursedescription` longtext COLLATE utf8_lithuanian_ci,
  `courseurl` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `imageurl` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Community block';

-- Dumping data for table comig_moodle.mdl_block_community: ~0 rows (approximately)
DELETE FROM `mdl_block_community`;

-- Dumping structure for table comig_moodle.mdl_block_instances
CREATE TABLE IF NOT EXISTS `mdl_block_instances` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `blockname` varchar(40) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `parentcontextid` bigint(10) NOT NULL,
  `showinsubcontexts` smallint(4) NOT NULL,
  `pagetypepattern` varchar(64) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `subpagepattern` varchar(16) COLLATE utf8_lithuanian_ci DEFAULT NULL,
  `defaultregion` varchar(16) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `defaultweight` bigint(10) NOT NULL,
  `configdata` longtext COLLATE utf8_lithuanian_ci,
  PRIMARY KEY (`id`),
  KEY `mdl_blocinst_parshopagsub_ix` (`parentcontextid`,`showinsubcontexts`,`pagetypepattern`,`subpagepattern`),
  KEY `mdl_blocinst_par_ix` (`parentcontextid`)
) ENGINE=InnoDB AUTO_INCREMENT=167 DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='This table stores block instances. The type of block this is';

-- Dumping data for table comig_moodle.mdl_block_instances: ~76 rows (approximately)
DELETE FROM `mdl_block_instances`;
INSERT INTO `mdl_block_instances` (`id`, `blockname`, `parentcontextid`, `showinsubcontexts`, `pagetypepattern`, `subpagepattern`, `defaultregion`, `defaultweight`, `configdata`) VALUES
	(1, 'site_main_menu', 2, 0, 'site-index', NULL, 'side-pre', 0, ''),
	(2, 'course_summary', 2, 0, 'site-index', NULL, 'side-post', 0, ''),
	(3, 'calendar_month', 2, 0, 'site-index', NULL, 'side-post', 1, ''),
	(4, 'navigation', 1, 1, '*', NULL, 'side-pre', 0, ''),
	(5, 'settings', 1, 1, '*', NULL, 'side-pre', 1, ''),
	(6, 'admin_bookmarks', 1, 0, 'admin-*', NULL, 'side-pre', 0, ''),
	(7, 'private_files', 1, 0, 'my-index', '2', 'side-post', 0, ''),
	(8, 'online_users', 1, 0, 'my-index', '2', 'side-post', 1, ''),
	(9, 'course_overview', 1, 0, 'my-index', '2', 'content', 0, ''),
	(30, 'private_files', 22, 0, 'my-index', '4', 'side-post', 0, ''),
	(31, 'online_users', 22, 0, 'my-index', '4', 'side-post', 1, ''),
	(32, 'course_overview', 22, 0, 'my-index', '4', 'content', 0, ''),
	(73, 'search_forums', 192, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(74, 'news_items', 192, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(75, 'calendar_upcoming', 192, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(76, 'recent_activity', 192, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(77, 'search_forums', 197, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(78, 'news_items', 197, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(79, 'calendar_upcoming', 197, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(80, 'recent_activity', 197, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(81, 'search_forums', 202, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(82, 'news_items', 202, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(83, 'calendar_upcoming', 202, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(84, 'recent_activity', 202, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(85, 'search_forums', 207, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(86, 'news_items', 207, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(87, 'calendar_upcoming', 207, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(88, 'recent_activity', 207, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(93, 'private_files', 291, 0, 'my-index', '11', 'side-post', 0, ''),
	(94, 'online_users', 291, 0, 'my-index', '11', 'side-post', 1, ''),
	(95, 'course_overview', 291, 0, 'my-index', '11', 'content', 0, ''),
	(104, 'search_forums', 380, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(105, 'news_items', 380, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(106, 'calendar_upcoming', 380, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(107, 'recent_activity', 380, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(108, 'search_forums', 388, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(109, 'news_items', 388, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(110, 'calendar_upcoming', 388, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(111, 'recent_activity', 388, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(112, 'search_forums', 395, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(113, 'news_items', 395, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(114, 'calendar_upcoming', 395, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(115, 'recent_activity', 395, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(120, 'search_forums', 448, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(121, 'news_items', 448, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(122, 'calendar_upcoming', 448, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(123, 'recent_activity', 448, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(124, 'search_forums', 632, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(125, 'news_items', 632, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(126, 'calendar_upcoming', 632, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(127, 'recent_activity', 632, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(128, 'badges', 1, 0, 'my-index', '2', 'side-post', 0, ''),
	(129, 'calendar_month', 1, 0, 'my-index', '2', 'side-post', 0, ''),
	(130, 'calendar_upcoming', 1, 0, 'my-index', '2', 'side-post', 0, ''),
	(131, 'private_files', 5, 0, 'my-index', '15', 'side-post', 0, ''),
	(132, 'online_users', 5, 0, 'my-index', '15', 'side-post', 1, ''),
	(133, 'course_overview', 5, 0, 'my-index', '15', 'content', 0, ''),
	(134, 'badges', 5, 0, 'my-index', '15', 'side-post', 0, ''),
	(135, 'calendar_month', 5, 0, 'my-index', '15', 'side-post', 0, ''),
	(136, 'calendar_upcoming', 5, 0, 'my-index', '15', 'side-post', 0, ''),
	(143, 'search_forums', 682, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(144, 'news_items', 682, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(145, 'calendar_upcoming', 682, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(146, 'recent_activity', 682, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(151, 'search_forums', 702, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(152, 'news_items', 702, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(153, 'calendar_upcoming', 702, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(154, 'recent_activity', 702, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(155, 'search_forums', 709, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(156, 'news_items', 709, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(157, 'calendar_upcoming', 709, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(158, 'recent_activity', 709, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(159, 'search_forums', 715, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(160, 'news_items', 715, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(161, 'calendar_upcoming', 715, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(162, 'recent_activity', 715, 0, 'course-view-*', NULL, 'side-post', 3, ''),
	(163, 'search_forums', 929, 0, 'course-view-*', NULL, 'side-post', 0, ''),
	(164, 'news_items', 929, 0, 'course-view-*', NULL, 'side-post', 1, ''),
	(165, 'calendar_upcoming', 929, 0, 'course-view-*', NULL, 'side-post', 2, ''),
	(166, 'recent_activity', 929, 0, 'course-view-*', NULL, 'side-post', 3, '');

-- Dumping structure for table comig_moodle.mdl_block_positions
CREATE TABLE IF NOT EXISTS `mdl_block_positions` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `blockinstanceid` bigint(10) NOT NULL,
  `contextid` bigint(10) NOT NULL,
  `pagetype` varchar(64) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `subpage` varchar(16) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `visible` smallint(4) NOT NULL,
  `region` varchar(16) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `weight` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_blocposi_bloconpagsub_uix` (`blockinstanceid`,`contextid`,`pagetype`,`subpage`),
  KEY `mdl_blocposi_blo_ix` (`blockinstanceid`),
  KEY `mdl_blocposi_con_ix` (`contextid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Stores the position of a sticky block_instance on a another ';

-- Dumping data for table comig_moodle.mdl_block_positions: ~1 rows (approximately)
DELETE FROM `mdl_block_positions`;
INSERT INTO `mdl_block_positions` (`id`, `blockinstanceid`, `contextid`, `pagetype`, `subpage`, `visible`, `region`, `weight`) VALUES
	(1, 3, 2, 'site-index', '', 0, 'side-post', 1);

-- Dumping structure for table comig_moodle.mdl_block_recent_activity
CREATE TABLE IF NOT EXISTS `mdl_block_recent_activity` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `courseid` bigint(10) NOT NULL,
  `cmid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `action` tinyint(1) NOT NULL,
  `modname` varchar(20) COLLATE utf8_lithuanian_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_blocreceacti_coutim_ix` (`courseid`,`timecreated`)
) ENGINE=InnoDB AUTO_INCREMENT=185 DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci;

-- Dumping data for table comig_moodle.mdl_block_recent_activity: ~143 rows (approximately)
DELETE FROM `mdl_block_recent_activity`;
INSERT INTO `mdl_block_recent_activity` (`id`, `courseid`, `cmid`, `timecreated`, `userid`, `action`, `modname`) VALUES
	(1, 1, 0, 1476523138, 0, 3, NULL),
	(2, 17, 0, 1476523138, 0, 3, NULL),
	(6, 24, 0, 1476523138, 0, 3, NULL),
	(7, 25, 0, 1476523138, 0, 3, NULL),
	(8, 26, 0, 1476523138, 0, 3, NULL),
	(11, 29, 142, 1476363764, 3, 2, 'forum'),
	(12, 29, 143, 1476363845, 3, 2, 'forum'),
	(13, 29, 144, 1476364052, 3, 0, 'quiz'),
	(14, 29, 144, 1476368636, 3, 1, 'quiz'),
	(15, 29, 144, 1476368780, 3, 1, 'quiz'),
	(16, 29, 144, 1476369125, 3, 1, 'quiz'),
	(17, 29, 144, 1476369375, 3, 1, 'quiz'),
	(18, 29, 144, 1476400743, 3, 1, 'quiz'),
	(19, 29, 146, 1476649899, 3, 0, NULL),
	(20, 29, 146, 1476649974, 3, 2, 'folder'),
	(21, 29, 147, 1476650166, 3, 0, NULL),
	(22, 29, 148, 1476654269, 3, 0, NULL),
	(23, 29, 148, 1476654476, 3, 2, 'quiz'),
	(24, 25, 123, 1476738207, 3, 1, NULL),
	(25, 25, 123, 1476738212, 3, 1, NULL),
	(26, 25, 123, 1476738213, 3, 1, NULL),
	(27, 25, 123, 1476738215, 3, 1, NULL),
	(28, 25, 123, 1476738216, 3, 1, NULL),
	(29, 29, 149, 1477947663, 3, 0, NULL),
	(30, 29, 144, 1477951520, 3, 2, 'quiz'),
	(31, 29, 149, 1477952054, 3, 1, NULL),
	(32, 29, 147, 1478791784, 3, 2, 'resource'),
	(33, 29, 150, 1478791872, 3, 0, NULL),
	(34, 29, 151, 1478791971, 3, 0, NULL),
	(35, 29, 150, 1478826469, 3, 2, 'resource'),
	(36, 29, 152, 1478826478, 3, 0, NULL),
	(37, 29, 152, 1478962526, 3, 2, 'resource'),
	(38, 29, 153, 1478962535, 3, 0, NULL),
	(39, 29, 154, 1481153439, 3, 0, NULL),
	(40, 29, 154, 1481153606, 3, 1, NULL),
	(41, 29, 154, 1481155754, 3, 1, NULL),
	(42, 29, 153, 1483568289, 3, 2, 'resource'),
	(43, 29, 155, 1483568368, 3, 0, NULL),
	(44, 29, 156, 1483579634, 3, 0, NULL),
	(45, 24, 121, 1484751634, 3, 2, 'folder'),
	(46, 24, 157, 1484751671, 3, 0, NULL),
	(47, 29, 155, 1487204724, 3, 2, 'resource'),
	(48, 29, 158, 1487204834, 3, 0, NULL),
	(49, 24, 159, 1489841133, 3, 0, NULL),
	(50, 29, 158, 1491269028, 3, 2, 'resource'),
	(51, 29, 160, 1491269083, 3, 0, NULL),
	(52, 29, 161, 1491344616, 3, 0, NULL),
	(53, 1, 163, 1491829999, 3, 0, NULL),
	(54, 1, 163, 1491830019, 3, 2, 'folder'),
	(55, 30, 162, 1491863446, 3, 2, 'forum'),
	(56, 30, 165, 1491863462, 3, 2, 'forum'),
	(57, 30, 166, 1491863546, 3, 2, 'forum'),
	(58, 30, 167, 1491863559, 3, 1, NULL),
	(59, 32, 168, 1491864042, 3, 1, NULL),
	(60, 1, 169, 1491864477, 3, 0, NULL),
	(61, 1, 169, 1491864494, 3, 2, 'resource'),
	(62, 33, 170, 1491866057, 3, 1, NULL),
	(63, 34, 171, 1491866148, 3, 1, NULL),
	(64, 32, 172, 1491868544, 3, 0, NULL),
	(65, 32, 172, 1491868593, 3, 2, 'resource'),
	(66, 32, 173, 1491868691, 3, 0, NULL),
	(67, 32, 173, 1491869004, 3, 2, 'folder'),
	(68, 32, 174, 1491869209, 3, 0, NULL),
	(69, 32, 174, 1491869251, 3, 1, NULL),
	(70, 32, 175, 1491869306, 3, 0, NULL),
	(71, 32, 175, 1491870559, 3, 1, NULL),
	(72, 32, 174, 1491941920, 3, 2, 'resource'),
	(73, 32, 176, 1491941973, 3, 0, NULL),
	(74, 32, 176, 1491942004, 3, 2, 'resource'),
	(75, 32, 177, 1491942617, 3, 0, NULL),
	(76, 32, 178, 1491942682, 3, 0, NULL),
	(77, 32, 178, 1491942693, 3, 2, 'resource'),
	(78, 30, 179, 1491943267, 3, 0, NULL),
	(79, 30, 180, 1491945458, 3, 0, NULL),
	(80, 30, 180, 1491946001, 3, 1, NULL),
	(81, 30, 181, 1492038712, 3, 0, NULL),
	(82, 29, 160, 1493240439, 3, 2, 'resource'),
	(83, 29, 182, 1493240484, 3, 0, NULL),
	(84, 30, 183, 1493765594, 3, 0, NULL),
	(85, 30, 184, 1493765631, 3, 0, NULL),
	(86, 30, 185, 1494548767, 3, 0, NULL),
	(87, 30, 185, 1494548848, 3, 1, NULL),
	(88, 30, 186, 1495136798, 3, 0, NULL),
	(89, 30, 187, 1495136838, 3, 0, NULL),
	(90, 30, 187, 1495137048, 3, 1, NULL),
	(91, 30, 188, 1495801341, 3, 0, NULL),
	(92, 30, 189, 1495801343, 3, 0, NULL),
	(93, 30, 189, 1495801382, 3, 2, 'folder'),
	(94, 29, 190, 1499974092, 3, 0, NULL),
	(95, 30, 191, 1499980037, 3, 0, NULL),
	(96, 30, 191, 1499980312, 3, 1, NULL),
	(97, 30, 192, 1499980371, 3, 0, NULL),
	(98, 29, 190, 1500032005, 3, 1, NULL),
	(99, 30, 193, 1500062457, 3, 0, NULL),
	(100, 30, 191, 1500062509, 3, 1, NULL),
	(101, 30, 193, 1500472477, 3, 2, 'folder'),
	(102, 30, 191, 1500472480, 3, 2, 'folder'),
	(103, 30, 192, 1500472481, 3, 2, 'resource'),
	(104, 29, 194, 1502403054, 3, 0, NULL),
	(105, 29, 161, 1502407419, 3, 2, 'quiz'),
	(106, 29, 194, 1502407423, 3, 1, NULL),
	(107, 29, 182, 1502407459, 3, 1, NULL),
	(108, 29, 182, 1502413369, 3, 2, 'resource'),
	(109, 29, 195, 1502413426, 3, 0, NULL),
	(110, 30, 188, 1514733238, 3, 1, NULL),
	(111, 30, 187, 1514733245, 3, 1, NULL),
	(112, 30, 181, 1514733253, 3, 1, NULL),
	(113, 30, 180, 1514733258, 3, 1, NULL),
	(114, 30, 185, 1514733264, 3, 1, NULL),
	(115, 30, 184, 1514733275, 3, 1, NULL),
	(116, 29, 196, 1549571980, 3, 0, NULL),
	(117, 29, 196, 1549572006, 3, 2, 'folder'),
	(118, 29, 198, 1560880496, 3, 0, NULL),
	(119, 29, 190, 1560880607, 3, 1, NULL),
	(120, 29, 199, 1560880786, 3, 0, NULL),
	(121, 29, 195, 1560880798, 3, 2, 'resource'),
	(122, 29, 200, 1560880868, 3, 0, NULL),
	(123, 29, 149, 1560880925, 3, 1, NULL),
	(124, 29, 154, 1560881154, 3, 1, NULL),
	(125, 29, 156, 1560881167, 3, 1, NULL),
	(126, 29, 201, 1560881275, 3, 0, NULL),
	(127, 29, 194, 1560881328, 3, 1, NULL),
	(128, 29, 194, 1560881336, 3, 1, NULL),
	(129, 29, 151, 1560881390, 3, 2, 'folder'),
	(130, 29, 202, 1560881739, 3, 0, NULL),
	(131, 29, 202, 1560881763, 3, 1, NULL),
	(132, 29, 199, 1560881773, 3, 2, 'resource'),
	(133, 29, 190, 1560970063, 3, 1, NULL),
	(134, 29, 198, 1560970077, 3, 1, NULL),
	(135, 29, 202, 1560970092, 3, 1, NULL),
	(136, 29, 203, 1560971090, 3, 0, NULL),
	(137, 29, 198, 1560971106, 3, 2, 'resource'),
	(138, 29, 204, 1560971249, 3, 0, NULL),
	(139, 29, 200, 1560971279, 3, 2, 'resource'),
	(140, 29, 204, 1560971305, 3, 1, NULL),
	(141, 29, 205, 1560971373, 3, 0, NULL),
	(142, 29, 201, 1560971383, 3, 2, 'resource'),
	(143, 29, 205, 1560971401, 3, 1, NULL),
	(144, 29, 149, 1560971460, 3, 1, NULL),
	(145, 29, 154, 1560971469, 3, 1, NULL),
	(146, 29, 156, 1560971477, 3, 1, NULL),
	(147, 29, 194, 1560971494, 3, 1, NULL),
	(148, 29, 206, 1560971603, 3, 0, NULL),
	(149, 24, 207, 1570447708, 3, 0, NULL),
	(150, 29, 209, 1574884811, 3, 2, 'resource'),
	(151, 29, 210, 1574885126, 3, 2, 'resource'),
	(152, 29, 242, 1574885141, 3, 2, 'forum'),
	(153, 29, 241, 1574885146, 3, 2, 'quiz'),
	(154, 29, 240, 1574885150, 3, 2, 'quiz'),
	(155, 29, 239, 1574885151, 3, 2, 'resource'),
	(156, 29, 238, 1574885157, 3, 2, 'quiz'),
	(157, 29, 237, 1574885161, 3, 2, 'quiz'),
	(158, 29, 236, 1574885166, 3, 2, 'quiz'),
	(159, 29, 235, 1574885166, 3, 2, 'resource'),
	(160, 29, 234, 1574885167, 3, 2, 'resource'),
	(161, 29, 233, 1574885167, 3, 2, 'resource'),
	(162, 29, 232, 1574885169, 3, 2, 'resource'),
	(163, 29, 231, 1574885173, 3, 2, 'forum'),
	(164, 29, 230, 1574885175, 3, 2, 'forum'),
	(165, 29, 229, 1574885184, 3, 2, 'quiz'),
	(166, 29, 228, 1574885189, 3, 2, 'quiz'),
	(167, 29, 227, 1574885189, 3, 2, 'resource'),
	(168, 29, 226, 1574885194, 3, 2, 'quiz'),
	(169, 29, 225, 1574885199, 3, 2, 'quiz'),
	(170, 29, 224, 1574885203, 3, 2, 'quiz'),
	(171, 29, 223, 1574885203, 3, 2, 'resource'),
	(172, 29, 222, 1574885204, 3, 2, 'resource'),
	(173, 29, 221, 1574885204, 3, 2, 'resource'),
	(174, 29, 220, 1574885207, 3, 2, 'resource'),
	(175, 29, 219, 1574885211, 3, 2, 'forum'),
	(176, 29, 218, 1574885215, 3, 2, 'quiz'),
	(177, 29, 217, 1574885219, 3, 2, 'quiz'),
	(178, 29, 216, 1574885220, 3, 2, 'resource'),
	(179, 29, 215, 1574885227, 3, 2, 'quiz'),
	(180, 29, 214, 1574885232, 3, 2, 'quiz'),
	(181, 29, 213, 1574885236, 3, 2, 'quiz'),
	(182, 29, 212, 1574885237, 3, 2, 'resource'),
	(183, 29, 211, 1574885237, 3, 2, 'resource'),
	(184, 29, 208, 1574885237, 3, 2, 'forum');

-- Dumping structure for table comig_moodle.mdl_block_rss_client
CREATE TABLE IF NOT EXISTS `mdl_block_rss_client` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL DEFAULT '0',
  `title` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `preferredtitle` varchar(64) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `description` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `shared` tinyint(2) NOT NULL DEFAULT '0',
  `url` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `skiptime` bigint(10) NOT NULL DEFAULT '0',
  `skipuntil` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Remote news feed information. Contains the news feed id, the';

-- Dumping data for table comig_moodle.mdl_block_rss_client: ~0 rows (approximately)
DELETE FROM `mdl_block_rss_client`;

-- Dumping structure for table comig_moodle.mdl_blog_association
CREATE TABLE IF NOT EXISTS `mdl_blog_association` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `contextid` bigint(10) NOT NULL,
  `blogid` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_blogasso_con_ix` (`contextid`),
  KEY `mdl_blogasso_blo_ix` (`blogid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Associations of blog entries with courses and module instanc';

-- Dumping data for table comig_moodle.mdl_blog_association: ~0 rows (approximately)
DELETE FROM `mdl_blog_association`;

-- Dumping structure for table comig_moodle.mdl_blog_external
CREATE TABLE IF NOT EXISTS `mdl_blog_external` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `userid` bigint(10) NOT NULL,
  `name` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `description` longtext COLLATE utf8_lithuanian_ci,
  `url` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `filtertags` varchar(255) COLLATE utf8_lithuanian_ci DEFAULT NULL,
  `failedlastsync` tinyint(1) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) DEFAULT NULL,
  `timefetched` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_blogexte_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='External blog links used for RSS copying of blog entries to ';

-- Dumping data for table comig_moodle.mdl_blog_external: ~0 rows (approximately)
DELETE FROM `mdl_blog_external`;

-- Dumping structure for table comig_moodle.mdl_book
CREATE TABLE IF NOT EXISTS `mdl_book` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `course` bigint(10) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `intro` longtext COLLATE utf8_lithuanian_ci,
  `introformat` smallint(4) NOT NULL DEFAULT '0',
  `numbering` smallint(4) NOT NULL DEFAULT '0',
  `navstyle` smallint(4) NOT NULL DEFAULT '1',
  `customtitles` tinyint(2) NOT NULL DEFAULT '0',
  `revision` bigint(10) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines book';

-- Dumping data for table comig_moodle.mdl_book: ~0 rows (approximately)
DELETE FROM `mdl_book`;

-- Dumping structure for table comig_moodle.mdl_book_chapters
CREATE TABLE IF NOT EXISTS `mdl_book_chapters` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `bookid` bigint(10) NOT NULL DEFAULT '0',
  `pagenum` bigint(10) NOT NULL DEFAULT '0',
  `subchapter` bigint(10) NOT NULL DEFAULT '0',
  `title` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `content` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `contentformat` smallint(4) NOT NULL DEFAULT '0',
  `hidden` tinyint(2) NOT NULL DEFAULT '0',
  `timecreated` bigint(10) NOT NULL DEFAULT '0',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `importsrc` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Defines book_chapters';

-- Dumping data for table comig_moodle.mdl_book_chapters: ~0 rows (approximately)
DELETE FROM `mdl_book_chapters`;

-- Dumping structure for table comig_moodle.mdl_cache_filters
CREATE TABLE IF NOT EXISTS `mdl_cache_filters` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `filter` varchar(32) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `version` bigint(10) NOT NULL DEFAULT '0',
  `md5key` varchar(32) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `rawtext` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `mdl_cachfilt_filmd5_ix` (`filter`,`md5key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='For keeping information about cached data';

-- Dumping data for table comig_moodle.mdl_cache_filters: ~0 rows (approximately)
DELETE FROM `mdl_cache_filters`;

-- Dumping structure for table comig_moodle.mdl_cache_flags
CREATE TABLE IF NOT EXISTS `mdl_cache_flags` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `flagtype` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `name` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `timemodified` bigint(10) NOT NULL DEFAULT '0',
  `value` longtext COLLATE utf8_lithuanian_ci NOT NULL,
  `expiry` bigint(10) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `mdl_cachflag_fla_ix` (`flagtype`),
  KEY `mdl_cachflag_nam_ix` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=309 DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='Cache of time-sensitive flags';

-- Dumping data for table comig_moodle.mdl_cache_flags: ~83 rows (approximately)
DELETE FROM `mdl_cache_flags`;
INSERT INTO `mdl_cache_flags` (`id`, `flagtype`, `name`, `timemodified`, `value`, `expiry`) VALUES
	(8, 'userpreferenceschanged', '3', 1574884244, '1', 1574891444),
	(9, 'userpreferenceschanged', '2', 1489664448, '1', 1489671648),
	(10, 'accesslib/dirtycontexts', '/1/191/197/443', 1473965908, '1', 1473973108),
	(11, 'accesslib/dirtycontexts', '/1/191/202/445', 1473965936, '1', 1473973136),
	(12, 'accesslib/dirtycontexts', '/1/191/207/455', 1473965986, '1', 1473973186),
	(13, 'accesslib/dirtycontexts', '/1/191/448/454', 1473966035, '1', 1473973235),
	(14, 'accesslib/dirtycontexts', '/1/2/631', 1476363587, '1', 1476370787),
	(15, 'accesslib/dirtycontexts', '/1/2/630', 1476363619, '1', 1476370819),
	(16, 'accesslib/dirtycontexts', '/1/191/632', 1491854174, '1', 1491861374),
	(17, 'accesslib/dirtycontexts', '/1/191/632/637', 1476363764, '1', 1476370964),
	(18, 'accesslib/dirtycontexts', '/1/191/632/638', 1476363845, '1', 1476371045),
	(19, 'userpreferenceschanged', '344', 1491827714, '1', 1491834914),
	(20, 'accesslib/dirtycontexts', '/1', 1476529514, '1', 1476536714),
	(21, 'accesslib/dirtycontexts', '/1/191/632/653', 1476649974, '1', 1476657174),
	(22, 'accesslib/dirtycontexts', '/1/191/632/655', 1476654476, '1', 1476661676),
	(23, 'accesslib/dirtycontexts', '/1/191/632/639', 1477951520, '1', 1477958720),
	(24, 'accesslib/dirtycontexts', '/1/191/632/654', 1478791784, '1', 1478798984),
	(25, 'userpreferenceschanged', '347', 1478821402, '1', 1478828602),
	(26, 'accesslib/dirtycontexts', '/1/665', 1478824064, '1', 1478831264),
	(27, 'accesslib/dirtycontexts', '/1/191/632/663', 1478826469, '1', 1478833669),
	(28, 'accesslib/dirtycontexts', '/1/191/632/668', 1478962526, '1', 1478969726),
	(29, 'accesslib/dirtycontexts', '/1/666', 1482273944, '1', 1482281144),
	(30, 'accesslib/dirtycontexts', '/1/191/632/669', 1483568289, '1', 1483575489),
	(31, 'accesslib/dirtycontexts', '/1/191/380/386', 1484751634, '1', 1484758834),
	(32, 'accesslib/dirtycontexts', '/1/191/632/672', 1487204724, '1', 1487211924),
	(33, 'accesslib/dirtycontexts', '/1/191/632/675', 1491269028, '1', 1491276228),
	(34, 'userpreferenceschanged', '351', 1491443730, '1', 1491450930),
	(35, 'userpreferenceschanged', '352', 1491475218, '1', 1491482418),
	(36, 'userpreferenceschanged', '353', 1491496806, '1', 1491504006),
	(37, 'accesslib/dirtycontexts', '/1/191/682', 1491826820, '1', 1491834020),
	(38, 'accesslib/dirtycontexts', '/1/671', 1491828196, '1', 1491835396),
	(39, 'userpreferenceschanged', '354', 1491840611, '1', 1491847811),
	(40, 'accesslib/dirtycontexts', '/1/2/689', 1491830019, '1', 1491837219),
	(41, 'accesslib/dirtycontexts', '/1/191/690', 1491830408, '1', 1491837608),
	(42, 'accesslib/dirtycontexts', '/1/191/690/691', 1491830408, '1', 1491837608),
	(43, 'accesslib/dirtycontexts', '/1/191/690/692', 1491830408, '1', 1491837608),
	(44, 'accesslib/dirtycontexts', '/1/191/690/693', 1491830408, '1', 1491837608),
	(45, 'accesslib/dirtycontexts', '/1/191/690/694', 1491830408, '1', 1491837608),
	(46, 'accesslib/dirtycontexts', '/1/191/690/695', 1491830408, '1', 1491837608),
	(47, 'accesslib/dirtycontexts', '/1/641/657', 1491845161, '1', 1491852361),
	(48, 'accesslib/dirtycontexts', '/1/641/658', 1491845162, '1', 1491852362),
	(49, 'accesslib/dirtycontexts', '/1/641/659', 1491845162, '1', 1491852362),
	(50, 'accesslib/dirtycontexts', '/1/641/660', 1491845162, '1', 1491852362),
	(51, 'accesslib/dirtycontexts', '/1/641/661', 1491845162, '1', 1491852362),
	(52, 'accesslib/dirtycontexts', '/1/641/662', 1491845162, '1', 1491852362),
	(53, 'accesslib/dirtycontexts', '/1/641', 1491845162, '1', 1491852362),
	(54, 'accesslib/dirtycontexts', '/1/696', 1491846117, '1', 1491853317),
	(55, 'accesslib/dirtycontexts', '/1/688', 1491846726, '1', 1491853926),
	(56, 'userpreferenceschanged', '356', 1491866476, '1', 1491873676),
	(57, 'accesslib/dirtycontexts', '/1/191/682/687', 1491863446, '1', 1491870646),
	(58, 'accesslib/dirtycontexts', '/1/191/682/699', 1491863462, '1', 1491870662),
	(59, 'accesslib/dirtycontexts', '/1/191/682/700', 1491863546, '1', 1491870746),
	(60, 'accesslib/dirtycontexts', '/1/191/192', 1491863687, '1', 1491870887),
	(61, 'accesslib/dirtycontexts', '/1/191/395', 1491863622, '1', 1491870822),
	(62, 'accesslib/dirtycontexts', '/1/237', 1491863622, '1', 1491870822),
	(63, 'accesslib/dirtycontexts', '/1/295', 1491863633, '1', 1491870833),
	(64, 'accesslib/dirtycontexts', '/1/332', 1491863647, '1', 1491870847),
	(65, 'accesslib/dirtycontexts', '/1/191/388', 1491863687, '1', 1491870887),
	(66, 'accesslib/dirtycontexts', '/1/267', 1491863687, '1', 1491870887),
	(67, 'accesslib/dirtycontexts', '/1/191/702', 1491864023, '1', 1491871223),
	(68, 'accesslib/dirtycontexts', '/1/2/708', 1491864494, '1', 1491871694),
	(69, 'accesslib/dirtycontexts', '/1/191/709', 1491864643, '1', 1491871843),
	(70, 'accesslib/dirtycontexts', '/1/191/715', 1491865485, '1', 1491872685),
	(71, 'accesslib/dirtycontexts', '/1/191/702/721', 1491868593, '1', 1491875793),
	(72, 'accesslib/dirtycontexts', '/1/191/702/722', 1491869004, '1', 1491876204),
	(73, 'accesslib/dirtycontexts', '/1/191/702/723', 1491941920, '1', 1491949120),
	(74, 'accesslib/dirtycontexts', '/1/191/702/725', 1491942004, '1', 1491949204),
	(75, 'accesslib/dirtycontexts', '/1/191/702/727', 1491942693, '1', 1491949893),
	(76, 'accesslib/dirtycontexts', '/1/191/632/677', 1493240439, '1', 1493247639),
	(77, 'accesslib/dirtycontexts', '/1/191/682/738', 1495801382, '1', 1495808582),
	(78, 'userpreferenceschanged', '358', 1497196170, '1', 1497203370),
	(79, 'userpreferenceschanged', '360', 1497491077, '1', 1497498277),
	(80, 'userpreferenceschanged', '361', 1498045301, '1', 1498052501),
	(81, 'userpreferenceschanged', '362', 1498096080, '1', 1498103280),
	(82, 'userpreferenceschanged', '363', 1498100237, '1', 1498107437),
	(83, 'userpreferenceschanged', '364', 1498354644, '1', 1498361844),
	(84, 'userpreferenceschanged', '365', 1498364659, '1', 1498371859),
	(85, 'userpreferenceschanged', '366', 1498548756, '1', 1498555956),
	(86, 'accesslib/dirtycontexts', '/1/191/682/751', 1500472477, '1', 1500479677),
	(87, 'accesslib/dirtycontexts', '/1/191/682/749', 1500472480, '1', 1500479680),
	(88, 'accesslib/dirtycontexts', '/1/191/682/750', 1500472481, '1', 1500479681),
	(89, 'accesslib/dirtycontexts', '/1/191/632/678', 1502407419, '1', 1502414619),
	(90, 'accesslib/dirtycontexts', '/1/191/632/731', 1502413369, '1', 1502420569),
	(91, 'userpreferenceschanged', '367', 1518489771, '1', 1518496971),
	(92, 'userpreferenceschanged', '368', 1518525092, '1', 1518532292),
	(93, 'userpreferenceschanged', '369', 1518527520, '1', 1518534720),
	(94, 'userpreferenceschanged', '371', 1518545121, '1', 1518552321),
	(95, 'userpreferenceschanged', '373', 1518546205, '1', 1518553405),
	(96, 'userpreferenceschanged', '374', 1518546212, '1', 1518553412),
	(97, 'userpreferenceschanged', '375', 1518546216, '1', 1518553416),
	(98, 'userpreferenceschanged', '372', 1518546222, '1', 1518553422),
	(99, 'userpreferenceschanged', '370', 1518547073, '1', 1518554273),
	(100, 'userpreferenceschanged', '376', 1518657931, '1', 1518665131),
	(101, 'userpreferenceschanged', '378', 1518773348, '1', 1518780548),
	(102, 'userpreferenceschanged', '379', 1518789452, '1', 1518796652),
	(103, 'userpreferenceschanged', '380', 1518833179, '1', 1518840379),
	(104, 'userpreferenceschanged', '381', 1518846804, '1', 1518854004),
	(105, 'userpreferenceschanged', '382', 1518898471, '1', 1518905671),
	(106, 'userpreferenceschanged', '384', 1518967888, '1', 1518975088),
	(107, 'userpreferenceschanged', '385', 1519002638, '1', 1519009838),
	(108, 'userpreferenceschanged', '383', 1519009891, '1', 1519017091),
	(109, 'userpreferenceschanged', '386', 1519062249, '1', 1519069449),
	(110, 'userpreferenceschanged', '387', 1519076882, '1', 1519084082),
	(111, 'userpreferenceschanged', '388', 1519140058, '1', 1519147258),
	(112, 'userpreferenceschanged', '391', 1519623446, '1', 1519630646),
	(113, 'userpreferenceschanged', '392', 1519630284, '1', 1519637484),
	(114, 'userpreferenceschanged', '393', 1519635962, '1', 1519643162),
	(115, 'userpreferenceschanged', '394', 1519662020, '1', 1519669220),
	(116, 'userpreferenceschanged', '395', 1519667897, '1', 1519675097),
	(117, 'userpreferenceschanged', '396', 1519677543, '1', 1519684743),
	(118, 'userpreferenceschanged', '397', 1519731218, '1', 1519738418),
	(119, 'userpreferenceschanged', '399', 1519929619, '1', 1519936819),
	(120, 'userpreferenceschanged', '400', 1519948019, '1', 1519955219),
	(121, 'userpreferenceschanged', '401', 1519964100, '1', 1519971300),
	(122, 'userpreferenceschanged', '405', 1520013373, '1', 1520020573),
	(123, 'userpreferenceschanged', '406', 1520021856, '1', 1520029056),
	(124, 'userpreferenceschanged', '404', 1520062884, '1', 1520070084),
	(125, 'userpreferenceschanged', '408', 1520083284, '1', 1520090484),
	(126, 'userpreferenceschanged', '409', 1520118592, '1', 1520125792),
	(127, 'userpreferenceschanged', '410', 1520129231, '1', 1520136431),
	(128, 'userpreferenceschanged', '411', 1520130265, '1', 1520137465),
	(129, 'userpreferenceschanged', '412', 1520187240, '1', 1520194440),
	(130, 'userpreferenceschanged', '413', 1520328559, '1', 1520335759),
	(131, 'userpreferenceschanged', '414', 1520359358, '1', 1520366558),
	(132, 'userpreferenceschanged', '415', 1521350577, '1', 1521357777),
	(133, 'userpreferenceschanged', '418', 1520535480, '1', 1520542680),
	(134, 'userpreferenceschanged', '416', 1520552639, '1', 1520559839),
	(135, 'userpreferenceschanged', '421', 1520671011, '1', 1520678211),
	(136, 'userpreferenceschanged', '424', 1520891098, '1', 1520898298),
	(137, 'userpreferenceschanged', '420', 1520901805, '1', 1520909005),
	(138, 'userpreferenceschanged', '422', 1520912544, '1', 1520919744),
	(139, 'userpreferenceschanged', '423', 1520958562, '1', 1520965762),
	(140, 'userpreferenceschanged', '425', 1520966182, '1', 1520973382),
	(141, 'userpreferenceschanged', '426', 1521004612, '1', 1521011812),
	(142, 'userpreferenceschanged', '427', 1521180717, '1', 1521187917),
	(143, 'userpreferenceschanged', '428', 1521244825, '1', 1521252025),
	(144, 'userpreferenceschanged', '429', 1521266441, '1', 1521273641),
	(145, 'userpreferenceschanged', '430', 1521453678, '1', 1521460878),
	(146, 'userpreferenceschanged', '431', 1521529717, '1', 1521536917),
	(147, 'userpreferenceschanged', '432', 1521553177, '1', 1521560377),
	(148, 'userpreferenceschanged', '433', 1521614735, '1', 1521621935),
	(149, 'userpreferenceschanged', '434', 1521654101, '1', 1521661301),
	(150, 'userpreferenceschanged', '435', 1521774976, '1', 1521782176),
	(151, 'userpreferenceschanged', '436', 1521780082, '1', 1521787282),
	(152, 'userpreferenceschanged', '437', 1521801313, '1', 1521808513),
	(153, 'userpreferenceschanged', '438', 1521820920, '1', 1521828120),
	(154, 'userpreferenceschanged', '439', 1521839004, '1', 1521846204),
	(155, 'userpreferenceschanged', '440', 1522213812, '1', 1522221012),
	(156, 'userpreferenceschanged', '441', 1522228251, '1', 1522235451),
	(157, 'userpreferenceschanged', '442', 1522387341, '1', 1522394541),
	(158, 'userpreferenceschanged', '443', 1522776138, '1', 1522783338),
	(159, 'userpreferenceschanged', '445', 1523129657, '1', 1523136857),
	(160, 'userpreferenceschanged', '444', 1523186038, '1', 1523193238),
	(161, 'userpreferenceschanged', '446', 1523438191, '1', 1523445391),
	(162, 'userpreferenceschanged', '447', 1523542229, '1', 1523549429),
	(163, 'userpreferenceschanged', '448', 1523867355, '1', 1523874555),
	(164, 'userpreferenceschanged', '449', 1523891006, '1', 1523898206),
	(165, 'userpreferenceschanged', '451', 1524189297, '1', 1524196497),
	(166, 'userpreferenceschanged', '452', 1524194197, '1', 1524201397),
	(167, 'userpreferenceschanged', '453', 1524219223, '1', 1524226423),
	(168, 'userpreferenceschanged', '454', 1524466709, '1', 1524473909),
	(169, 'userpreferenceschanged', '456', 1526282746, '1', 1526289946),
	(170, 'userpreferenceschanged', '460', 1528318713, '1', 1528325913),
	(171, 'userpreferenceschanged', '464', 1528850516, '1', 1528857716),
	(172, 'userpreferenceschanged', '466', 1538454709, '1', 1538461909),
	(173, 'userpreferenceschanged', '467', 1538478694, '1', 1538485894),
	(174, 'userpreferenceschanged', '468', 1538573379, '1', 1538580579),
	(175, 'userpreferenceschanged', '470', 1538597370, '1', 1538604570),
	(176, 'userpreferenceschanged', '471', 1538601620, '1', 1538608820),
	(177, 'userpreferenceschanged', '469', 1538618848, '1', 1538626048),
	(178, 'userpreferenceschanged', '472', 1538644396, '1', 1538651596),
	(179, 'userpreferenceschanged', '473', 1538671954, '1', 1538679154),
	(180, 'userpreferenceschanged', '475', 1538712401, '1', 1538719601),
	(181, 'userpreferenceschanged', '474', 1538731793, '1', 1538738993),
	(182, 'userpreferenceschanged', '476', 1538770681, '1', 1538777881),
	(183, 'userpreferenceschanged', '477', 1538783738, '1', 1538790938),
	(184, 'userpreferenceschanged', '478', 1538802046, '1', 1538809246),
	(185, 'userpreferenceschanged', '479', 1538848756, '1', 1538855956),
	(186, 'userpreferenceschanged', '480', 1538889001, '1', 1538896201),
	(187, 'userpreferenceschanged', '481', 1538892634, '1', 1538899834),
	(188, 'userpreferenceschanged', '482', 1538959808, '1', 1538967008),
	(189, 'userpreferenceschanged', '483', 1538974090, '1', 1538981290),
	(190, 'userpreferenceschanged', '484', 1539030189, '1', 1539037389),
	(191, 'userpreferenceschanged', '486', 1539081521, '1', 1539088721),
	(192, 'userpreferenceschanged', '487', 1539094042, '1', 1539101242),
	(193, 'userpreferenceschanged', '485', 1539101164, '1', 1539108364),
	(194, 'userpreferenceschanged', '488', 1539133801, '1', 1539141001),
	(195, 'userpreferenceschanged', '489', 1539136431, '1', 1539143631),
	(196, 'userpreferenceschanged', '492', 1539320745, '1', 1539327945),
	(197, 'userpreferenceschanged', '496', 1539338416, '1', 1539345616),
	(198, 'userpreferenceschanged', '491', 1539345773, '1', 1539352973),
	(199, 'userpreferenceschanged', '495', 1539349267, '1', 1539356467),
	(200, 'userpreferenceschanged', '493', 1539351642, '1', 1539358842),
	(201, 'userpreferenceschanged', '497', 1539387995, '1', 1539395195),
	(202, 'userpreferenceschanged', '494', 1539388385, '1', 1539395585),
	(203, 'userpreferenceschanged', '498', 1539442779, '1', 1539449979),
	(204, 'userpreferenceschanged', '499', 1539448538, '1', 1539455738),
	(205, 'userpreferenceschanged', '500', 1539483846, '1', 1539491046),
	(206, 'userpreferenceschanged', '490', 1539779977, '1', 1539787177),
	(207, 'userpreferenceschanged', '502', 1539783505, '1', 1539790705),
	(208, 'userpreferenceschanged', '501', 1539783747, '1', 1539790947),
	(209, 'userpreferenceschanged', '503', 1539800742, '1', 1539807942),
	(210, 'userpreferenceschanged', '504', 1539820107, '1', 1539827307),
	(211, 'userpreferenceschanged', '505', 1539991564, '1', 1539998764),
	(212, 'userpreferenceschanged', '506', 1540215695, '1', 1540222895),
	(213, 'userpreferenceschanged', '507', 1540233708, '1', 1540240908),
	(214, 'userpreferenceschanged', '508', 1540245330, '1', 1540252530),
	(215, 'userpreferenceschanged', '509', 1540261146, '1', 1540268346),
	(216, 'userpreferenceschanged', '510', 1540275331, '1', 1540282531),
	(217, 'userpreferenceschanged', '511', 1540430625, '1', 1540437825),
	(218, 'userpreferenceschanged', '512', 1540646764, '1', 1540653964),
	(219, 'userpreferenceschanged', '513', 1540781407, '1', 1540788607),
	(220, 'userpreferenceschanged', '514', 1540788726, '1', 1540795926),
	(221, 'userpreferenceschanged', '515', 1540842982, '1', 1540850182),
	(222, 'userpreferenceschanged', '516', 1541848425, '1', 1541855625),
	(223, 'userpreferenceschanged', '518', 1541979493, '1', 1541986693),
	(224, 'userpreferenceschanged', '519', 1542122793, '1', 1542129993),
	(225, 'userpreferenceschanged', '520', 1542208070, '1', 1542215270),
	(226, 'userpreferenceschanged', '523', 1542350563, '1', 1542357763),
	(227, 'userpreferenceschanged', '528', 1542526657, '1', 1542533857),
	(228, 'userpreferenceschanged', '525', 1542622935, '1', 1542630135),
	(229, 'userpreferenceschanged', '530', 1542650213, '1', 1542657413),
	(230, 'userpreferenceschanged', '529', 1542654715, '1', 1542661915),
	(231, 'userpreferenceschanged', '531', 1542670282, '1', 1542677482),
	(232, 'userpreferenceschanged', '526', 1542678626, '1', 1542685826),
	(233, 'userpreferenceschanged', '532', 1543266778, '1', 1543273978),
	(234, 'userpreferenceschanged', '533', 1543602892, '1', 1543610092),
	(235, 'userpreferenceschanged', '534', 1543654316, '1', 1543661516),
	(236, 'userpreferenceschanged', '536', 1544045985, '1', 1544053185),
	(237, 'userpreferenceschanged', '538', 1544120423, '1', 1544127623),
	(238, 'userpreferenceschanged', '535', 1544198153, '1', 1544205353),
	(239, 'userpreferenceschanged', '539', 1544216118, '1', 1544223318),
	(240, 'userpreferenceschanged', '537', 1544596658, '1', 1544603858),
	(241, 'userpreferenceschanged', '540', 1544952518, '1', 1544959718),
	(242, 'accesslib/dirtycontexts', '/1/191/929', 1545334879, '1', 1545342079),
	(243, 'userpreferenceschanged', '541', 1545678778, '1', 1545685978),
	(244, 'userpreferenceschanged', '545', 1546175935, '1', 1546183135),
	(245, 'userpreferenceschanged', '546', 1546529133, '1', 1546536333),
	(246, 'userpreferenceschanged', '550', 1546869086, '1', 1546876286),
	(247, 'userpreferenceschanged', '542', 1547466982, '1', 1547474182),
	(248, 'userpreferenceschanged', '548', 1547818528, '1', 1547825728),
	(249, 'userpreferenceschanged', '552', 1548028160, '1', 1548035360),
	(250, 'userpreferenceschanged', '547', 1548465485, '1', 1548472685),
	(251, 'userpreferenceschanged', '553', 1548585166, '1', 1548592366),
	(252, 'userpreferenceschanged', '549', 1548682232, '1', 1548689432),
	(253, 'userpreferenceschanged', '554', 1548869674, '1', 1548876874),
	(254, 'userpreferenceschanged', '555', 1548910213, '1', 1548917413),
	(255, 'accesslib/dirtycontexts', '/1/191/632/948', 1549572006, '1', 1549579206),
	(256, 'userpreferenceschanged', '558', 1551005369, '1', 1551012569),
	(257, 'userpreferenceschanged', '559', 1551253128, '1', 1551260328),
	(258, 'userpreferenceschanged', '560', 1551667552, '1', 1551674752),
	(259, 'userpreferenceschanged', '561', 1552572516, '1', 1552579716),
	(260, 'userpreferenceschanged', '562', 1554312386, '1', 1554319586),
	(261, 'userpreferenceschanged', '557', 1554337086, '1', 1554344286),
	(262, 'userpreferenceschanged', '563', 1554637146, '1', 1554644346),
	(263, 'userpreferenceschanged', '564', 1554661516, '1', 1554668716),
	(264, 'accesslib/dirtycontexts', '/1/191/632/753', 1560880798, '1', 1560887998),
	(265, 'accesslib/dirtycontexts', '/1/191/632/664', 1560881390, '1', 1560888590),
	(266, 'accesslib/dirtycontexts', '/1/191/632/960', 1560881773, '1', 1560888973),
	(267, 'accesslib/dirtycontexts', '/1/191/632/959', 1560971106, '1', 1560978306),
	(268, 'accesslib/dirtycontexts', '/1/191/632/961', 1560971279, '1', 1560978479),
	(269, 'accesslib/dirtycontexts', '/1/191/632/962', 1560971383, '1', 1560978583),
	(270, 'userpreferenceschanged', '574', 1563089777, '1', 1563096977),
	(271, 'userpreferenceschanged', '575', 1563089788, '1', 1563096988),
	(272, 'userpreferenceschanged', '576', 1564046292, '1', 1564053492),
	(273, 'userpreferenceschanged', '577', 1564051230, '1', 1564058430),
	(274, 'accesslib/dirtycontexts', '/1/191/632/983', 1574884811, '1', 1574892011),
	(275, 'accesslib/dirtycontexts', '/1/191/632/984', 1574885126, '1', 1574892326),
	(276, 'accesslib/dirtycontexts', '/1/191/632/1016', 1574885141, '1', 1574892341),
	(277, 'accesslib/dirtycontexts', '/1/191/632/1015', 1574885145, '1', 1574892345),
	(278, 'accesslib/dirtycontexts', '/1/191/632/1014', 1574885150, '1', 1574892350),
	(279, 'accesslib/dirtycontexts', '/1/191/632/1013', 1574885151, '1', 1574892351),
	(280, 'accesslib/dirtycontexts', '/1/191/632/1012', 1574885157, '1', 1574892357),
	(281, 'accesslib/dirtycontexts', '/1/191/632/1011', 1574885161, '1', 1574892361),
	(282, 'accesslib/dirtycontexts', '/1/191/632/1010', 1574885166, '1', 1574892366),
	(283, 'accesslib/dirtycontexts', '/1/191/632/1009', 1574885166, '1', 1574892366),
	(284, 'accesslib/dirtycontexts', '/1/191/632/1008', 1574885167, '1', 1574892367),
	(285, 'accesslib/dirtycontexts', '/1/191/632/1007', 1574885167, '1', 1574892367),
	(286, 'accesslib/dirtycontexts', '/1/191/632/1006', 1574885169, '1', 1574892369),
	(287, 'accesslib/dirtycontexts', '/1/191/632/1005', 1574885173, '1', 1574892373),
	(288, 'accesslib/dirtycontexts', '/1/191/632/1004', 1574885175, '1', 1574892375),
	(289, 'accesslib/dirtycontexts', '/1/191/632/1003', 1574885184, '1', 1574892384),
	(290, 'accesslib/dirtycontexts', '/1/191/632/1002', 1574885189, '1', 1574892389),
	(291, 'accesslib/dirtycontexts', '/1/191/632/1001', 1574885189, '1', 1574892389),
	(292, 'accesslib/dirtycontexts', '/1/191/632/1000', 1574885194, '1', 1574892394),
	(293, 'accesslib/dirtycontexts', '/1/191/632/999', 1574885199, '1', 1574892399),
	(294, 'accesslib/dirtycontexts', '/1/191/632/998', 1574885203, '1', 1574892403),
	(295, 'accesslib/dirtycontexts', '/1/191/632/997', 1574885203, '1', 1574892403),
	(296, 'accesslib/dirtycontexts', '/1/191/632/996', 1574885204, '1', 1574892404),
	(297, 'accesslib/dirtycontexts', '/1/191/632/995', 1574885204, '1', 1574892404),
	(298, 'accesslib/dirtycontexts', '/1/191/632/994', 1574885207, '1', 1574892407),
	(299, 'accesslib/dirtycontexts', '/1/191/632/993', 1574885211, '1', 1574892411),
	(300, 'accesslib/dirtycontexts', '/1/191/632/992', 1574885215, '1', 1574892415),
	(301, 'accesslib/dirtycontexts', '/1/191/632/991', 1574885219, '1', 1574892419),
	(302, 'accesslib/dirtycontexts', '/1/191/632/990', 1574885220, '1', 1574892420),
	(303, 'accesslib/dirtycontexts', '/1/191/632/989', 1574885227, '1', 1574892427),
	(304, 'accesslib/dirtycontexts', '/1/191/632/988', 1574885232, '1', 1574892432),
	(305, 'accesslib/dirtycontexts', '/1/191/632/987', 1574885236, '1', 1574892436),
	(306, 'accesslib/dirtycontexts', '/1/191/632/986', 1574885237, '1', 1574892437),
	(307, 'accesslib/dirtycontexts', '/1/191/632/985', 1574885237, '1', 1574892437),
	(308, 'accesslib/dirtycontexts', '/1/191/632/982', 1574885237, '1', 1574892437);

-- Dumping structure for table comig_moodle.mdl_capabilities
CREATE TABLE IF NOT EXISTS `mdl_capabilities` (
  `id` bigint(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `captype` varchar(50) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `contextlevel` bigint(10) NOT NULL DEFAULT '0',
  `component` varchar(100) COLLATE utf8_lithuanian_ci NOT NULL DEFAULT '',
  `riskbitmask` bigint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `mdl_capa_nam_uix` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=584 DEFAULT CHARSET=utf8 COLLATE=utf8_lithuanian_ci COMMENT='this defines all capabilities';

-- Dumping data for table comig_moodle.mdl_capabilities: ~572 rows (approximately)
DELETE FROM `mdl_capabilities`;
INSERT INTO `mdl_capabilities` (`id`, `name`, `captype`, `contextlevel`, `component`, `riskbitmask`) VALUES
	(1, 'moodle/site:config', 'write', 10, 'moodle', 62),
	(2, 'moodle/site:readallmessages', 'read', 10, 'moodle', 8),
	(3, 'moodle/site:sendmessage', 'write', 10, 'moodle', 16),
	(4, 'moodle/site:approvecourse', 'write', 10, 'moodle', 4),
	(5, 'moodle/backup:backupcourse', 'write', 50, 'moodle', 28),
	(6, 'moodle/backup:backupsection', 'write', 50, 'moodle', 28),
	(7, 'moodle/backup:backupactivity', 'write', 70, 'moodle', 28),
	(8, 'moodle/backup:backuptargethub', 'write', 50, 'moodle', 28),
	(9, 'moodle/backup:backuptargetimport', 'write', 50, 'moodle', 28),
	(10, 'moodle/backup:downloadfile', 'write', 50, 'moodle', 28),
	(11, 'moodle/backup:configure', 'write', 50, 'moodle', 28),
	(12, 'moodle/backup:userinfo', 'read', 50, 'moodle', 8),
	(13, 'moodle/backup:anonymise', 'read', 50, 'moodle', 8),
	(14, 'moodle/restore:restorecourse', 'write', 50, 'moodle', 28),
	(15, 'moodle/restore:restoresection', 'write', 50, 'moodle', 28),
	(16, 'moodle/restore:restoreactivity', 'write', 50, 'moodle', 28),
	(17, 'moodle/restore:viewautomatedfilearea', 'write', 50, 'moodle', 28),
	(18, 'moodle/restore:restoretargethub', 'write', 50, 'moodle', 28),
	(19, 'moodle/restore:restoretargetimport', 'write', 50, 'moodle', 28),
	(20, 'moodle/restore:uploadfile', 'write', 50, 'moodle', 28),
	(21, 'moodle/restore:configure', 'write', 50, 'moodle', 28),
	(22, 'moodle/restore:rolldates', 'write', 50, 'moodle', 0),
	(23, 'moodle/restore:userinfo', 'write', 50, 'moodle', 30),
	(24, 'moodle/restore:createuser', 'write', 10, 'moodle', 24),
	(25, 'moodle/site:manageblocks', 'write', 80, 'moodle', 20),
	(26, 'moodle/site:accessallgroups', 'read', 50, 'moodle', 0),
	(27, 'moodle/site:viewfullnames', 'read', 50, 'moodle', 0),
	(28, 'moodle/site:viewuseridentity', 'read', 50, 'moodle', 0),
	(29, 'moodle/site:viewreports', 'read', 50, 'moodle', 8),
	(30, 'moodle/site:trustcontent', 'write', 50, 'moodle', 4),
	(31, 'moodle/site:uploadusers', 'write', 10, 'moodle', 24),
	(32, 'moodle/filter:manage', 'write', 50, 'moodle', 0),
	(33, 'moodle/user:create', 'write', 10, 'moodle', 24),
	(34, 'moodle/user:delete', 'write', 10, 'moodle', 8),
	(35, 'moodle/user:update', 'write', 10, 'moodle', 24),
	(36, 'moodle/user:viewdetails', 'read', 50, 'moodle', 0),
	(37, 'moodle/user:viewalldetails', 'read', 30, 'moodle', 8),
	(38, 'moodle/user:viewhiddendetails', 'read', 50, 'moodle', 8),
	(39, 'moodle/user:loginas', 'write', 50, 'moodle', 30),
	(40, 'moodle/user:managesyspages', 'write', 10, 'moodle', 0),
	(41, 'moodle/user:manageblocks', 'write', 30, 'moodle', 0),
	(42, 'moodle/user:manageownblocks', 'write', 10, 'moodle', 0),
	(43, 'moodle/user:manageownfiles', 'write', 10, 'moodle', 0),
	(44, 'moodle/user:ignoreuserquota', 'write', 10, 'moodle', 0),
	(45, 'moodle/my:configsyspages', 'write', 10, 'moodle', 0),
	(46, 'moodle/role:assign', 'write', 50, 'moodle', 28),
	(47, 'moodle/role:review', 'read', 50, 'moodle', 8),
	(48, 'moodle/role:override', 'write', 50, 'moodle', 28),
	(49, 'moodle/role:safeoverride', 'write', 50, 'moodle', 16),
	(50, 'moodle/role:manage', 'write', 10, 'moodle', 28),
	(51, 'moodle/role:switchroles', 'read', 50, 'moodle', 12),
	(52, 'moodle/category:manage', 'write', 40, 'moodle', 4),
	(53, 'moodle/category:viewhiddencategories', 'read', 40, 'moodle', 0),
	(54, 'moodle/cohort:manage', 'write', 40, 'moodle', 0),
	(55, 'moodle/cohort:assign', 'write', 40, 'moodle', 0),
	(56, 'moodle/cohort:view', 'read', 50, 'moodle', 0),
	(57, 'moodle/course:create', 'write', 40, 'moodle', 4),
	(58, 'moodle/course:request', 'write', 10, 'moodle', 0),
	(59, 'moodle/course:delete', 'write', 50, 'moodle', 32),
	(60, 'moodle/course:update', 'write', 50, 'moodle', 4),
	(61, 'moodle/course:view', 'read', 50, 'moodle', 0),
	(62, 'moodle/course:enrolreview', 'read', 50, 'moodle', 8),
	(63, 'moodle/course:enrolconfig', 'write', 50, 'moodle', 8),
	(64, 'moodle/course:bulkmessaging', 'write', 50, 'moodle', 16),
	(65, 'moodle/course:viewhiddenuserfields', 'read', 50, 'moodle', 8),
	(66, 'moodle/course:viewhiddencourses', 'read', 50, 'moodle', 0),
	(67, 'moodle/course:visibility', 'write', 50, 'moodle', 0),
	(68, 'moodle/course:managefiles', 'write', 50, 'moodle', 4),
	(69, 'moodle/course:ignorefilesizelimits', 'write', 50, 'moodle', 0),
	(70, 'moodle/course:manageactivities', 'write', 70, 'moodle', 4),
	(71, 'moodle/course:activityvisibility', 'write', 70, 'moodle', 0),
	(72, 'moodle/course:viewhiddenactivities', 'write', 70, 'moodle', 0),
	(73, 'moodle/course:viewparticipants', 'read', 50, 'moodle', 0),
	(74, 'moodle/course:changefullname', 'write', 50, 'moodle', 4),
	(75, 'moodle/course:changeshortname', 'write', 50, 'moodle', 4),
	(76, 'moodle/course:changeidnumber', 'write', 50, 'moodle', 4),
	(77, 'moodle/course:changecategory', 'write', 50, 'moodle', 4),
	(78, 'moodle/course:changesummary', 'write', 50, 'moodle', 4),
	(79, 'moodle/site:viewparticipants', 'read', 10, 'moodle', 0),
	(80, 'moodle/course:isincompletionreports', 'read', 50, 'moodle', 0),
	(81, 'moodle/course:viewscales', 'read', 50, 'moodle', 0),
	(82, 'moodle/course:managescales', 'write', 50, 'moodle', 0),
	(83, 'moodle/course:managegroups', 'write', 50, 'moodle', 0),
	(84, 'moodle/course:reset', 'write', 50, 'moodle', 32),
	(85, 'moodle/course:viewsuspendedusers', 'read', 10, 'moodle', 0),
	(86, 'moodle/blog:view', 'read', 10, 'moodle', 0),
	(87, 'moodle/blog:search', 'read', 10, 'moodle', 0),
	(88, 'moodle/blog:viewdrafts', 'read', 10, 'moodle', 8),
	(89, 'moodle/blog:create', 'write', 10, 'moodle', 16),
	(90, 'moodle/blog:manageentries', 'write', 10, 'moodle', 16),
	(91, 'moodle/blog:manageexternal', 'write', 10, 'moodle', 16),
	(94, 'moodle/calendar:manageownentries', 'write', 50, 'moodle', 16),
	(95, 'moodle/calendar:managegroupentries', 'write', 50, 'moodle', 16),
	(96, 'moodle/calendar:manageentries', 'write', 50, 'moodle', 16),
	(97, 'moodle/user:editprofile', 'write', 30, 'moodle', 24),
	(98, 'moodle/user:editownprofile', 'write', 10, 'moodle', 16),
	(99, 'moodle/user:changeownpassword', 'write', 10, 'moodle', 0),
	(100, 'moodle/user:readuserposts', 'read', 30, 'moodle', 0),
	(101, 'moodle/user:readuserblogs', 'read', 30, 'moodle', 0),
	(102, 'moodle/user:viewuseractivitiesreport', 'read', 30, 'moodle', 8),
	(103, 'moodle/user:editmessageprofile', 'write', 30, 'moodle', 16),
	(104, 'moodle/user:editownmessageprofile', 'write', 10, 'moodle', 0),
	(105, 'moodle/question:managecategory', 'write', 50, 'moodle', 20),
	(106, 'moodle/question:add', 'write', 50, 'moodle', 20),
	(107, 'moodle/question:editmine', 'write', 50, 'moodle', 20),
	(108, 'moodle/question:editall', 'write', 50, 'moodle', 20),
	(109, 'moodle/question:viewmine', 'read', 50, 'moodle', 0),
	(110, 'moodle/question:viewall', 'read', 50, 'moodle', 0),
	(111, 'moodle/question:usemine', 'read', 50, 'moodle', 0),
	(112, 'moodle/question:useall', 'read', 50, 'moodle', 0),
	(113, 'moodle/question:movemine', 'write', 50, 'moodle', 0),
	(114, 'moodle/question:moveall', 'write', 50, 'moodle', 0),
	(115, 'moodle/question:config', 'write', 10, 'moodle', 2),
	(116, 'moodle/question:flag', 'write', 50, 'moodle', 0),
	(117, 'moodle/site:doclinks', 'read', 10, 'moodle', 0),
	(118, 'moodle/course:sectionvisibility', 'write', 50, 'moodle', 0),
	(119, 'moodle/course:useremail', 'write', 50, 'moodle', 0),
	(120, 'moodle/course:viewhiddensections', 'write', 50, 'moodle', 0),
	(121, 'moodle/course:setcurrentsection', 'write', 50, 'moodle', 0),
	(122, 'moodle/course:movesections', 'write', 50, 'moodle', 0),
	(123, 'moodle/site:mnetlogintoremote', 'read', 10, 'moodle', 0),
	(124, 'moodle/grade:viewall', 'read', 50, 'moodle', 8),
	(125, 'moodle/grade:view', 'read', 50, 'moodle', 0),
	(126, 'moodle/grade:viewhidden', 'read', 50, 'moodle', 8),
	(127, 'moodle/grade:import', 'write', 50, 'moodle', 12),
	(128, 'moodle/grade:export', 'read', 50, 'moodle', 8),
	(129, 'moodle/grade:manage', 'write', 50, 'moodle', 12),
	(130, 'moodle/grade:edit', 'write', 50, 'moodle', 12),
	(131, 'moodle/grade:managegradingforms', 'write', 50, 'moodle', 12),
	(132, 'moodle/grade:sharegradingforms', 'write', 10, 'moodle', 4),
	(133, 'moodle/grade:managesharedforms', 'write', 10, 'moodle', 4),
	(134, 'moodle/grade:manageoutcomes', 'write', 50, 'moodle', 0),
	(135, 'moodle/grade:manageletters', 'write', 50, 'moodle', 0),
	(136, 'moodle/grade:hide', 'write', 50, 'moodle', 0),
	(137, 'moodle/grade:lock', 'write', 50, 'moodle', 0),
	(138, 'moodle/grade:unlock', 'write', 50, 'moodle', 0),
	(139, 'moodle/my:manageblocks', 'write', 10, 'moodle', 0),
	(140, 'moodle/notes:view', 'read', 50, 'moodle', 0),
	(141, 'moodle/notes:manage', 'write', 50, 'moodle', 16),
	(142, 'moodle/tag:manage', 'write', 10, 'moodle', 16),
	(144, 'moodle/tag:edit', 'write', 10, 'moodle', 16),
	(145, 'moodle/tag:flag', 'write', 10, 'moodle', 16),
	(146, 'moodle/tag:editblocks', 'write', 10, 'moodle', 0),
	(147, 'moodle/block:view', 'read', 80, 'moodle', 0),
	(148, 'moodle/block:edit', 'write', 80, 'moodle', 20),
	(149, 'moodle/portfolio:export', 'read', 10, 'moodle', 0),
	(150, 'moodle/comment:view', 'read', 50, 'moodle', 0),
	(151, 'moodle/comment:post', 'write', 50, 'moodle', 24),
	(152, 'moodle/comment:delete', 'write', 50, 'moodle', 32),
	(153, 'moodle/webservice:createtoken', 'write', 10, 'moodle', 62),
	(154, 'moodle/webservice:createmobiletoken', 'write', 10, 'moodle', 24),
	(155, 'moodle/rating:view', 'read', 50, 'moodle', 0),
	(156, 'moodle/rating:viewany', 'read', 50, 'moodle', 8),
	(157, 'moodle/rating:viewall', 'read', 50, 'moodle', 8),
	(158, 'moodle/rating:rate', 'write', 50, 'moodle', 0),
	(159, 'moodle/course:publish', 'write', 10, 'moodle', 24),
	(160, 'moodle/course:markcomplete', 'write', 50, 'moodle', 0),
	(161, 'moodle/community:add', 'write', 10, 'moodle', 0),
	(162, 'moodle/community:download', 'write', 10, 'moodle', 0),
	(163, 'moodle/badges:manageglobalsettings', 'write', 10, 'moodle', 34),
	(164, 'moodle/badges:viewbadges', 'read', 50, 'moodle', 0),
	(165, 'moodle/badges:manageownbadges', 'write', 30, 'moodle', 0),
	(166, 'moodle/badges:viewotherbadges', 'read', 30, 'moodle', 0),
	(167, 'moodle/badges:earnbadge', 'write', 50, 'moodle', 0),
	(168, 'moodle/badges:createbadge', 'write', 50, 'moodle', 16),
	(169, 'moodle/badges:deletebadge', 'write', 50, 'moodle', 32),
	(170, 'moodle/badges:configuredetails', 'write', 50, 'moodle', 16),
	(171, 'moodle/badges:configurecriteria', 'write', 50, 'moodle', 4),
	(172, 'moodle/badges:configuremessages', 'write', 50, 'moodle', 16),
	(173, 'moodle/badges:awardbadge', 'write', 50, 'moodle', 16),
	(174, 'moodle/badges:viewawarded', 'read', 50, 'moodle', 8),
	(175, 'mod/assign:view', 'read', 70, 'mod_assign', 0),
	(176, 'mod/assign:submit', 'write', 70, 'mod_assign', 0),
	(177, 'mod/assign:grade', 'write', 70, 'mod_assign', 4),
	(178, 'mod/assign:exportownsubmission', 'read', 70, 'mod_assign', 0),
	(179, 'mod/assign:addinstance', 'write', 50, 'mod_assign', 4),
	(180, 'mod/assign:grantextension', 'write', 70, 'mod_assign', 0),
	(181, 'mod/assign:revealidentities', 'write', 70, 'mod_assign', 0),
	(182, 'mod/assignment:view', 'read', 70, 'mod_assignment', 0),
	(183, 'mod/assignment:addinstance', 'write', 50, 'mod_assignment', 4),
	(184, 'mod/assignment:submit', 'write', 70, 'mod_assignment', 0),
	(185, 'mod/assignment:grade', 'write', 70, 'mod_assignment', 4),
	(186, 'mod/assignment:exportownsubmission', 'read', 70, 'mod_assignment', 0),
	(187, 'mod/book:addinstance', 'write', 50, 'mod_book', 4),
	(188, 'mod/book:read', 'read', 70, 'mod_book', 0),
	(189, 'mod/book:viewhiddenchapters', 'read', 70, 'mod_book', 0),
	(190, 'mod/book:edit', 'write', 70, 'mod_book', 4),
	(191, 'mod/chat:addinstance', 'write', 50, 'mod_chat', 4),
	(192, 'mod/chat:chat', 'write', 70, 'mod_chat', 16),
	(193, 'mod/chat:readlog', 'read', 70, 'mod_chat', 0),
	(194, 'mod/chat:deletelog', 'write', 70, 'mod_chat', 0),
	(195, 'mod/chat:exportparticipatedsession', 'read', 70, 'mod_chat', 8),
	(196, 'mod/chat:exportsession', 'read', 70, 'mod_chat', 8),
	(197, 'mod/choice:addinstance', 'write', 50, 'mod_choice', 4),
	(198, 'mod/choice:choose', 'write', 70, 'mod_choice', 0),
	(199, 'mod/choice:readresponses', 'read', 70, 'mod_choice', 0),
	(200, 'mod/choice:deleteresponses', 'write', 70, 'mod_choice', 0),
	(201, 'mod/choice:downloadresponses', 'read', 70, 'mod_choice', 0),
	(202, 'mod/data:addinstance', 'write', 50, 'mod_data', 4),
	(203, 'mod/data:viewentry', 'read', 70, 'mod_data', 0),
	(204, 'mod/data:writeentry', 'write', 70, 'mod_data', 16),
	(205, 'mod/data:comment', 'write', 70, 'mod_data', 16),
	(206, 'mod/data:rate', 'write', 70, 'mod_data', 0),
	(207, 'mod/data:viewrating', 'read', 70, 'mod_data', 0),
	(208, 'mod/data:viewanyrating', 'read', 70, 'mod_data', 8),
	(209, 'mod/data:viewallratings', 'read', 70, 'mod_data', 8),
	(210, 'mod/data:approve', 'write', 70, 'mod_data', 16),
	(211, 'mod/data:manageentries', 'write', 70, 'mod_data', 16),
	(212, 'mod/data:managecomments', 'write', 70, 'mod_data', 16),
	(213, 'mod/data:managetemplates', 'write', 70, 'mod_data', 20),
	(214, 'mod/data:viewalluserpresets', 'read', 70, 'mod_data', 0),
	(215, 'mod/data:manageuserpresets', 'write', 70, 'mod_data', 20),
	(216, 'mod/data:exportentry', 'read', 70, 'mod_data', 8),
	(217, 'mod/data:exportownentry', 'read', 70, 'mod_data', 0),
	(218, 'mod/data:exportallentries', 'read', 70, 'mod_data', 8),
	(219, 'mod/data:exportuserinfo', 'read', 70, 'mod_data', 8),
	(220, 'mod/feedback:addinstance', 'write', 50, 'mod_feedback', 4),
	(221, 'mod/feedback:view', 'read', 70, 'mod_feedback', 0),
	(222, 'mod/feedback:complete', 'write', 70, 'mod_feedback', 16),
	(223, 'mod/feedback:viewanalysepage', 'read', 70, 'mod_feedback', 8),
	(224, 'mod/feedback:deletesubmissions', 'write', 70, 'mod_feedback', 0),
	(225, 'mod/feedback:mapcourse', 'write', 70, 'mod_feedback', 0),
	(226, 'mod/feedback:edititems', 'write', 70, 'mod_feedback', 20),
	(227, 'mod/feedback:createprivatetemplate', 'write', 70, 'mod_feedback', 16),
	(228, 'mod/feedback:createpublictemplate', 'write', 70, 'mod_feedback', 16),
	(229, 'mod/feedback:deletetemplate', 'write', 70, 'mod_feedback', 0),
	(230, 'mod/feedback:viewreports', 'read', 70, 'mod_feedback', 8),
	(231, 'mod/feedback:receivemail', 'read', 70, 'mod_feedback', 8),
	(232, 'mod/folder:addinstance', 'write', 50, 'mod_folder', 4),
	(233, 'mod/folder:view', 'read', 70, 'mod_folder', 0),
	(234, 'mod/folder:managefiles', 'write', 70, 'mod_folder', 16),
	(235, 'mod/forum:addinstance', 'write', 50, 'mod_forum', 4),
	(236, 'mod/forum:viewdiscussion', 'read', 70, 'mod_forum', 0),
	(237, 'mod/forum:viewhiddentimedposts', 'read', 70, 'mod_forum', 0),
	(238, 'mod/forum:startdiscussion', 'write', 70, 'mod_forum', 16),
	(239, 'mod/forum:replypost', 'write', 70, 'mod_forum', 16),
	(240, 'mod/forum:addnews', 'write', 70, 'mod_forum', 16),
	(241, 'mod/forum:replynews', 'write', 70, 'mod_forum', 16),
	(242, 'mod/forum:viewrating', 'read', 70, 'mod_forum', 0),
	(243, 'mod/forum:viewanyrating', 'read', 70, 'mod_forum', 8),
	(244, 'mod/forum:viewallratings', 'read', 70, 'mod_forum', 8),
	(245, 'mod/forum:rate', 'write', 70, 'mod_forum', 0),
	(246, 'mod/forum:createattachment', 'write', 70, 'mod_forum', 16),
	(247, 'mod/forum:deleteownpost', 'read', 70, 'mod_forum', 0),
	(248, 'mod/forum:deleteanypost', 'read', 70, 'mod_forum', 0),
	(249, 'mod/forum:splitdiscussions', 'read', 70, 'mod_forum', 0),
	(250, 'mod/forum:movediscussions', 'read', 70, 'mod_forum', 0),
	(251, 'mod/forum:editanypost', 'write', 70, 'mod_forum', 16),
	(252, 'mod/forum:viewqandawithoutposting', 'read', 70, 'mod_forum', 0),
	(253, 'mod/forum:viewsubscribers', 'read', 70, 'mod_forum', 0),
	(254, 'mod/forum:managesubscriptions', 'read', 70, 'mod_forum', 16),
	(255, 'mod/forum:postwithoutthrottling', 'write', 70, 'mod_forum', 16),
	(256, 'mod/forum:exportdiscussion', 'read', 70, 'mod_forum', 8),
	(257, 'mod/forum:exportpost', 'read', 70, 'mod_forum', 8),
	(258, 'mod/forum:exportownpost', 'read', 70, 'mod_forum', 8),
	(259, 'mod/forum:addquestion', 'write', 70, 'mod_forum', 16),
	(260, 'mod/forum:allowforcesubscribe', 'read', 70, 'mod_forum', 0),
	(261, 'mod/glossary:addinstance', 'write', 50, 'mod_glossary', 4),
	(262, 'mod/glossary:view', 'read', 70, 'mod_glossary', 0),
	(263, 'mod/glossary:write', 'write', 70, 'mod_glossary', 16),
	(264, 'mod/glossary:manageentries', 'write', 70, 'mod_glossary', 16),
	(265, 'mod/glossary:managecategories', 'write', 70, 'mod_glossary', 16),
	(266, 'mod/glossary:comment', 'write', 70, 'mod_glossary', 16),
	(267, 'mod/glossary:managecomments', 'write', 70, 'mod_glossary', 16),
	(268, 'mod/glossary:import', 'write', 70, 'mod_glossary', 16),
	(269, 'mod/glossary:export', 'read', 70, 'mod_glossary', 0),
	(270, 'mod/glossary:approve', 'write', 70, 'mod_glossary', 16),
	(271, 'mod/glossary:rate', 'write', 70, 'mod_glossary', 0),
	(272, 'mod/glossary:viewrating', 'read', 70, 'mod_glossary', 0),
	(273, 'mod/glossary:viewanyrating', 'read', 70, 'mod_glossary', 8),
	(274, 'mod/glossary:viewallratings', 'read', 70, 'mod_glossary', 8),
	(275, 'mod/glossary:exportentry', 'read', 70, 'mod_glossary', 8),
	(276, 'mod/glossary:exportownentry', 'read', 70, 'mod_glossary', 0),
	(277, 'mod/imscp:view', 'read', 70, 'mod_imscp', 0),
	(278, 'mod/imscp:addinstance', 'write', 50, 'mod_imscp', 4),
	(279, 'mod/label:addinstance', 'write', 50, 'mod_label', 4),
	(280, 'mod/lesson:addinstance', 'write', 50, 'mod_lesson', 4),
	(281, 'mod/lesson:edit', 'write', 70, 'mod_lesson', 4),
	(282, 'mod/lesson:manage', 'write', 70, 'mod_lesson', 0),
	(283, 'mod/lti:view', 'read', 70, 'mod_lti', 0),
	(284, 'mod/lti:addinstance', 'write', 50, 'mod_lti', 4),
	(286, 'mod/lti:manage', 'write', 70, 'mod_lti', 8),
	(287, 'mod/lti:addcoursetool', 'write', 50, 'mod_lti', 0),
	(288, 'mod/lti:requesttooladd', 'write', 50, 'mod_lti', 0),
	(289, 'mod/page:view', 'read', 70, 'mod_page', 0),
	(290, 'mod/page:addinstance', 'write', 50, 'mod_page', 4),
	(291, 'mod/quiz:view', 'read', 70, 'mod_quiz', 0),
	(292, 'mod/quiz:addinstance', 'write', 50, 'mod_quiz', 4),
	(293, 'mod/quiz:attempt', 'write', 70, 'mod_quiz', 16),
	(294, 'mod/quiz:reviewmyattempts', 'read', 70, 'mod_quiz', 0),
	(295, 'mod/quiz:manage', 'write', 70, 'mod_quiz', 16),
	(296, 'mod/quiz:manageoverrides', 'write', 70, 'mod_quiz', 0),
	(297, 'mod/quiz:preview', 'write', 70, 'mod_quiz', 0),
	(298, 'mod/quiz:grade', 'write', 70, 'mod_quiz', 20),
	(299, 'mod/quiz:regrade', 'write', 70, 'mod_quiz', 16),
	(300, 'mod/quiz:viewreports', 'read', 70, 'mod_quiz', 8),
	(301, 'mod/quiz:deleteattempts', 'write', 70, 'mod_quiz', 32),
	(302, 'mod/quiz:ignoretimelimits', 'read', 70, 'mod_quiz', 0),
	(303, 'mod/quiz:emailconfirmsubmission', 'read', 70, 'mod_quiz', 0),
	(304, 'mod/quiz:emailnotifysubmission', 'read', 70, 'mod_quiz', 0),
	(305, 'mod/quiz:emailwarnoverdue', 'read', 70, 'mod_quiz', 0),
	(306, 'mod/resource:view', 'read', 70, 'mod_resource', 0),
	(307, 'mod/resource:addinstance', 'write', 50, 'mod_resource', 4),
	(308, 'mod/scorm:addinstance', 'write', 50, 'mod_scorm', 4),
	(309, 'mod/scorm:viewreport', 'read', 70, 'mod_scorm', 0),
	(310, 'mod/scorm:skipview', 'read', 70, 'mod_scorm', 0),
	(311, 'mod/scorm:savetrack', 'write', 70, 'mod_scorm', 0),
	(312, 'mod/scorm:viewscores', 'read', 70, 'mod_scorm', 0),
	(313, 'mod/scorm:deleteresponses', 'write', 70, 'mod_scorm', 0),
	(314, 'mod/scorm:deleteownresponses', 'write', 70, 'mod_scorm', 0),
	(315, 'mod/survey:addinstance', 'write', 50, 'mod_survey', 4),
	(316, 'mod/survey:participate', 'read', 70, 'mod_survey', 0),
	(317, 'mod/survey:readresponses', 'read', 70, 'mod_survey', 0),
	(318, 'mod/survey:download', 'read', 70, 'mod_survey', 0),
	(319, 'mod/url:view', 'read', 70, 'mod_url', 0),
	(320, 'mod/url:addinstance', 'write', 50, 'mod_url', 4),
	(321, 'mod/wiki:addinstance', 'write', 50, 'mod_wiki', 4),
	(322, 'mod/wiki:viewpage', 'read', 70, 'mod_wiki', 0),
	(323, 'mod/wiki:editpage', 'write', 70, 'mod_wiki', 16),
	(324, 'mod/wiki:createpage', 'write', 70, 'mod_wiki', 16),
	(325, 'mod/wiki:viewcomment', 'read', 70, 'mod_wiki', 0),
	(326, 'mod/wiki:editcomment', 'write', 70, 'mod_wiki', 16),
	(327, 'mod/wiki:managecomment', 'write', 70, 'mod_wiki', 0),
	(328, 'mod/wiki:managefiles', 'write', 70, 'mod_wiki', 0),
	(329, 'mod/wiki:overridelock', 'write', 70, 'mod_wiki', 0),
	(330, 'mod/wiki:managewiki', 'write', 70, 'mod_wiki', 0),
	(331, 'mod/workshop:view', 'read', 70, 'mod_workshop', 0),
	(332, 'mod/workshop:addinstance', 'write', 50, 'mod_workshop', 4),
	(333, 'mod/workshop:switchphase', 'write', 70, 'mod_workshop', 0),
	(334, 'mod/workshop:editdimensions', 'write', 70, 'mod_workshop', 4),
	(335, 'mod/workshop:submit', 'write', 70, 'mod_workshop', 0),
	(336, 'mod/workshop:peerassess', 'write', 70, 'mod_workshop', 0),
	(337, 'mod/workshop:manageexamples', 'write', 70, 'mod_workshop', 0),
	(338, 'mod/workshop:allocate', 'write', 70, 'mod_workshop', 0),
	(339, 'mod/workshop:publishsubmissions', 'write', 70, 'mod_workshop', 0),
	(340, 'mod/workshop:viewauthornames', 'read', 70, 'mod_workshop', 0),
	(341, 'mod/workshop:viewreviewernames', 'read', 70, 'mod_workshop', 0),
	(342, 'mod/workshop:viewallsubmissions', 'read', 70, 'mod_workshop', 0),
	(343, 'mod/workshop:viewpublishedsubmissions', 'read', 70, 'mod_workshop', 0),
	(344, 'mod/workshop:viewauthorpublished', 'read', 70, 'mod_workshop', 0),
	(345, 'mod/workshop:viewallassessments', 'read', 70, 'mod_workshop', 0),
	(346, 'mod/workshop:overridegrades', 'write', 70, 'mod_workshop', 0),
	(347, 'mod/workshop:ignoredeadlines', 'write', 70, 'mod_workshop', 0),
	(354, 'enrol/category:synchronised', 'write', 10, 'enrol_category', 0),
	(355, 'enrol/cohort:config', 'write', 50, 'enrol_cohort', 0),
	(356, 'enrol/cohort:unenrol', 'write', 50, 'enrol_cohort', 0),
	(357, 'enrol/database:unenrol', 'write', 50, 'enrol_database', 0),
	(358, 'enrol/flatfile:manage', 'write', 50, 'enrol_flatfile', 0),
	(359, 'enrol/flatfile:unenrol', 'write', 50, 'enrol_flatfile', 0),
	(360, 'enrol/guest:config', 'write', 50, 'enrol_guest', 0),
	(361, 'enrol/ldap:manage', 'write', 50, 'enrol_ldap', 0),
	(362, 'enrol/manual:config', 'write', 50, 'enrol_manual', 0),
	(363, 'enrol/manual:enrol', 'write', 50, 'enrol_manual', 0),
	(364, 'enrol/manual:manage', 'write', 50, 'enrol_manual', 0),
	(365, 'enrol/manual:unenrol', 'write', 50, 'enrol_manual', 0),
	(366, 'enrol/manual:unenrolself', 'write', 50, 'enrol_manual', 0),
	(367, 'enrol/meta:config', 'write', 50, 'enrol_meta', 0),
	(368, 'enrol/meta:selectaslinked', 'read', 50, 'enrol_meta', 0),
	(369, 'enrol/meta:unenrol', 'write', 50, 'enrol_meta', 0),
	(370, 'enrol/paypal:config', 'write', 50, 'enrol_paypal', 0),
	(371, 'enrol/paypal:manage', 'write', 50, 'enrol_paypal', 0),
	(372, 'enrol/paypal:unenrol', 'write', 50, 'enrol_paypal', 0),
	(373, 'enrol/paypal:unenrolself', 'write', 50, 'enrol_paypal', 0),
	(374, 'enrol/self:config', 'write', 50, 'enrol_self', 0),
	(375, 'enrol/self:manage', 'write', 50, 'enrol_self', 0),
	(376, 'enrol/self:unenrolself', 'write', 50, 'enrol_self', 0),
	(377, 'enrol/self:unenrol', 'write', 50, 'enrol_self', 0),
	(378, 'block/activity_modules:addinstance', 'write', 80, 'block_activity_modules', 20),
	(379, 'block/admin_bookmarks:myaddinstance', 'write', 10, 'block_admin_bookmarks', 0),
	(380, 'block/admin_bookmarks:addinstance', 'write', 80, 'block_admin_bookmarks', 20),
	(381, 'block/badges:addinstance', 'read', 80, 'block_badges', 0),
	(382, 'block/badges:myaddinstance', 'read', 10, 'block_badges', 8),
	(383, 'block/blog_menu:addinstance', 'write', 80, 'block_blog_menu', 20),
	(384, 'block/blog_recent:addinstance', 'write', 80, 'block_blog_recent', 20),
	(385, 'block/blog_tags:addinstance', 'write', 80, 'block_blog_tags', 20),
	(386, 'block/calendar_month:myaddinstance', 'write', 10, 'block_calendar_month', 0),
	(387, 'block/calendar_month:addinstance', 'write', 80, 'block_calendar_month', 20),
	(388, 'block/calendar_upcoming:myaddinstance', 'write', 10, 'block_calendar_upcoming', 0),
	(389, 'block/calendar_upcoming:addinstance', 'write', 80, 'block_calendar_upcoming', 20),
	(390, 'block/comments:myaddinstance', 'write', 10, 'block_comments', 0),
	(391, 'block/comments:addinstance', 'write', 80, 'block_comments', 20),
	(392, 'block/community:myaddinstance', 'write', 10, 'block_community', 0),
	(393, 'block/community:addinstance', 'write', 80, 'block_community', 20),
	(394, 'block/completionstatus:addinstance', 'write', 80, 'block_completionstatus', 20),
	(395, 'block/course_list:myaddinstance', 'write', 10, 'block_course_list', 0),
	(396, 'block/course_list:addinstance', 'write', 80, 'block_course_list', 20),
	(397, 'block/course_overview:myaddinstance', 'write', 10, 'block_course_overview', 0),
	(398, 'block/course_overview:addinstance', 'write', 80, 'block_course_overview', 20),
	(399, 'block/course_summary:addinstance', 'write', 80, 'block_course_summary', 20),
	(400, 'block/feedback:addinstance', 'write', 80, 'block_feedback', 20),
	(401, 'block/glossary_random:myaddinstance', 'write', 10, 'block_glossary_random', 0),
	(402, 'block/glossary_random:addinstance', 'write', 80, 'block_glossary_random', 20),
	(403, 'block/html:myaddinstance', 'write', 10, 'block_html', 0),
	(404, 'block/html:addinstance', 'write', 80, 'block_html', 20),
	(405, 'block/login:addinstance', 'write', 80, 'block_login', 20),
	(406, 'block/mentees:myaddinstance', 'write', 10, 'block_mentees', 0),
	(407, 'block/mentees:addinstance', 'write', 80, 'block_mentees', 20),
	(408, 'block/messages:myaddinstance', 'write', 10, 'block_messages', 0),
	(409, 'block/messages:addinstance', 'write', 80, 'block_messages', 20),
	(410, 'block/mnet_hosts:myaddinstance', 'write', 10, 'block_mnet_hosts', 0),
	(411, 'block/mnet_hosts:addinstance', 'write', 80, 'block_mnet_hosts', 20),
	(412, 'block/myprofile:myaddinstance', 'write', 10, 'block_myprofile', 0),
	(413, 'block/myprofile:addinstance', 'write', 80, 'block_myprofile', 20),
	(414, 'block/navigation:myaddinstance', 'write', 10, 'block_navigation', 0),
	(415, 'block/navigation:addinstance', 'write', 80, 'block_navigation', 20),
	(416, 'block/news_items:myaddinstance', 'write', 10, 'block_news_items', 0),
	(417, 'block/news_items:addinstance', 'write', 80, 'block_news_items', 20),
	(418, 'block/online_users:myaddinstance', 'write', 10, 'block_online_users', 0),
	(419, 'block/online_users:addinstance', 'write', 80, 'block_online_users', 20),
	(420, 'block/online_users:viewlist', 'read', 80, 'block_online_users', 0),
	(421, 'block/participants:addinstance', 'write', 80, 'block_participants', 20),
	(422, 'block/private_files:myaddinstance', 'write', 10, 'block_private_files', 0),
	(423, 'block/private_files:addinstance', 'write', 80, 'block_private_files', 20),
	(424, 'block/quiz_results:addinstance', 'write', 80, 'block_quiz_results', 20),
	(425, 'block/recent_activity:addinstance', 'write', 80, 'block_recent_activity', 20),
	(426, 'block/rss_client:myaddinstance', 'write', 10, 'block_rss_client', 0),
	(427, 'block/rss_client:addinstance', 'write', 80, 'block_rss_client', 20),
	(428, 'block/rss_client:manageownfeeds', 'write', 80, 'block_rss_client', 0),
	(429, 'block/rss_client:manageanyfeeds', 'write', 80, 'block_rss_client', 16),
	(430, 'block/search_forums:addinstance', 'write', 80, 'block_search_forums', 20),
	(431, 'block/section_links:addinstance', 'write', 80, 'block_section_links', 20),
	(432, 'block/selfcompletion:addinstance', 'write', 80, 'block_selfcompletion', 20),
	(433, 'block/settings:myaddinstance', 'write', 10, 'block_settings', 0),
	(434, 'block/settings:addinstance', 'write', 80, 'block_settings', 20),
	(435, 'block/site_main_menu:addinstance', 'write', 80, 'block_site_main_menu', 20),
	(436, 'block/social_activities:addinstance', 'write', 80, 'block_social_activities', 20),
	(437, 'block/tag_flickr:addinstance', 'write', 80, 'block_tag_flickr', 20),
	(438, 'block/tag_youtube:addinstance', 'write', 80, 'block_tag_youtube', 20),
	(439, 'block/tags:myaddinstance', 'write', 10, 'block_tags', 0),
	(440, 'block/tags:addinstance', 'write', 80, 'block_tags', 20),
	(441, 'report/completion:view', 'read', 50, 'report_completion', 8),
	(442, 'report/courseoverview:view', 'read', 10, 'report_courseoverview', 8),
	(443, 'report/log:view', 'read', 50, 'report_log', 8),
	(444, 'report/log:viewtoday', 'read', 50, 'report_log', 8),
	(445, 'report/loglive:view', 'read', 50, 'report_loglive', 8),
	(446, 'report/outline:view', 'read', 50, 'report_outline', 8),
	(447, 'report/participation:view', 'read', 50, 'report_participation', 8),
	(448, 'report/performance:view', 'read', 10, 'report_performance', 2),
	(449, 'report/progress:view', 'read', 50, 'report_progress', 8),
	(450, 'report/questioninstances:view', 'read', 10, 'report_questioninstances', 0),
	(451, 'report/security:view', 'read', 10, 'report_security', 2),
	(452, 'report/stats:view', 'read', 50, 'report_stats', 8),
	(453, 'gradeexport/ods:view', 'read', 50, 'gradeexport_ods', 8),
	(454, 'gradeexport/ods:publish', 'read', 50, 'gradeexport_ods', 8),
	(455, 'gradeexport/txt:view', 'read', 50, 'gradeexport_txt', 8),
	(456, 'gradeexport/txt:publish', 'read', 50, 'gradeexport_txt', 8),
	(457, 'gradeexport/xls:view', 'read', 50, 'gradeexport_xls', 8),
	(458, 'gradeexport/xls:publish', 'read', 50, 'gradeexport_xls', 8),
	(459, 'gradeexport/xml:view', 'read', 50, 'gradeexport_xml', 8),
	(460, 'gradeexport/xml:publish', 'read', 50, 'gradeexport_xml', 8),
	(461, 'gradeimport/csv:view', 'write', 50, 'gradeimport_csv', 0),
	(462, 'gradeimport/xml:view', 'write', 50, 'gradeimport_xml', 0),
	(463, 'gradeimport/xml:publish', 'write', 50, 'gradeimport_xml', 0),
	(464, 'gradereport/grader:view', 'read', 50, 'gradereport_grader', 8),
	(465, 'gradereport/outcomes:view', 'read', 50, 'gradereport_outcomes', 8),
	(466, 'gradereport/overview:view', 'read', 50, 'gradereport_overview', 8),
	(467, 'gradereport/user:view', 'read', 50, 'gradereport_user', 8),
	(469, 'webservice/rest:use', 'read', 50, 'webservice_rest', 0),
	(470, 'webservice/soap:use', 'read', 50, 'webservice_soap', 0),
	(471, 'webservice/xmlrpc:use', 'read', 50, 'webservice_xmlrpc', 0),
	(472, 'repository/alfresco:view', 'read', 70, 'repository_alfresco', 0),
	(473, 'repository/boxnet:view', 'read', 70, 'repository_boxnet', 0),
	(474, 'repository/coursefiles:view', 'read', 70, 'repository_coursefiles', 0),
	(475, 'repository/dropbox:view', 'read', 70, 'repository_dropbox', 0),
	(476, 'repository/equella:view', 'read', 70, 'repository_equella', 0),
	(477, 'repository/filesystem:view', 'read', 70, 'repository_filesystem', 0),
	(478, 'repository/flickr:view', 'read', 70, 'repository_flickr', 0),
	(479, 'repository/flickr_public:view', 'read', 70, 'repository_flickr_public', 0),
	(480, 'repository/googledocs:view', 'read', 70, 'repository_googledocs', 0),
	(481, 'repository/local:view', 'read', 70, 'repository_local', 0),
	(482, 'repository/merlot:view', 'read', 70, 'repository_merlot', 0),
	(483, 'repository/picasa:view', 'read', 70, 'repository_picasa', 0),
	(484, 'repository/recent:view', 'read', 70, 'repository_recent', 0),
	(485, 'repository/s3:view', 'read', 70, 'repository_s3', 0),
	(486, 'repository/upload:view', 'read', 70, 'repository_upload', 0),
	(487, 'repository/url:view', 'read', 70, 'repository_url', 0),
	(488, 'repository/user:view', 'read', 70, 'repository_user', 0),
	(489, 'repository/webdav:view', 'read', 70, 'repository_webdav', 0),
	(490, 'repository/wikimedia:view', 'read', 70, 'repository_wikimedia', 0),
	(491, 'repository/youtube:view', 'read', 70, 'repository_youtube', 0),
	(492, 'tool/customlang:view', 'read', 10, 'tool_customlang', 2),
	(493, 'tool/customlang:edit', 'write', 10, 'tool_customlang', 6),
	(494, 'booktool/exportimscp:export', 'read', 70, 'booktool_exportimscp', 0),
	(495, 'booktool/importhtml:import', 'write', 70, 'booktool_importhtml', 4),
	(496, 'booktool/print:print', 'read', 70, 'booktool_print', 0),
	(497, 'quiz/grading:viewstudentnames', 'read', 70, 'quiz_grading', 0),
	(498, 'quiz/grading:viewidnumber', 'read', 70, 'quiz_grading', 0),
	(499, 'quiz/statistics:view', 'read', 70, 'quiz_statistics', 0),
	(500, 'moodle/user:viewlastip', 'read', 30, 'moodle', 8),
	(501, 'moodle/course:reviewotherusers', 'read', 50, 'moodle', 0),
	(502, 'moodle/site:forcelanguage', 'read', 10, 'moodle', 0),
	(503, 'mod/assign:editothersubmission', 'write', 70, 'mod_assign', 41),
	(504, 'mod/assign:reviewgrades', 'write', 70, 'mod_assign', 0),
	(505, 'mod/assign:releasegrades', 'write', 70, 'mod_assign', 0),
	(506, 'mod/assign:managegrades', 'write', 70, 'mod_assign', 0),
	(507, 'mod/assign:manageallocations', 'write', 70, 'mod_assign', 0),
	(508, 'mod/assign:viewgrades', 'read', 70, 'mod_assign', 0),
	(509, 'message/airnotifier:managedevice', 'write', 10, 'message_airnotifier', 0),
	(510, 'block/recent_activity:viewaddupdatemodule', 'read', 50, 'block_recent_activity', 0),
	(511, 'block/recent_activity:viewdeletemodule', 'read', 50, 'block_recent_activity', 0),
	(512, 'repository/areafiles:view', 'read', 70, 'repository_areafiles', 0),
	(513, 'repository/skydrive:view', 'read', 70, 'repository_skydrive', 0),
	(514, 'tool/uploaduser:uploaduserpictures', 'write', 10, 'tool_uploaduser', 16),
	(515, 'moodle/site:deleteanymessage', 'write', 10, 'moodle', 32),
	(516, 'moodle/site:deleteownmessage', 'write', 10, 'moodle', 0),
	(517, 'moodle/course:renameroles', 'write', 50, 'moodle', 0),
	(518, 'moodle/course:tag', 'write', 50, 'moodle', 16),
	(519, 'moodle/search:query', 'read', 10, 'moodle', 0),
	(520, 'moodle/competency:competencymanage', 'write', 40, 'moodle', 0),
	(521, 'moodle/competency:competencyview', 'read', 40, 'moodle', 0),
	(522, 'moodle/competency:competencygrade', 'write', 50, 'moodle', 0),
	(523, 'moodle/competency:coursecompetencymanage', 'write', 50, 'moodle', 0),
	(524, 'moodle/competency:coursecompetencyconfigure', 'write', 70, 'moodle', 0),
	(525, 'moodle/competency:coursecompetencygradable', 'read', 50, 'moodle', 0),
	(526, 'moodle/competency:coursecompetencyview', 'read', 50, 'moodle', 0),
	(527, 'moodle/competency:evidencedelete', 'write', 30, 'moodle', 0),
	(528, 'moodle/competency:planmanage', 'write', 30, 'moodle', 0),
	(529, 'moodle/competency:planmanagedraft', 'write', 30, 'moodle', 0),
	(530, 'moodle/competency:planmanageown', 'write', 30, 'moodle', 0),
	(531, 'moodle/competency:planmanageowndraft', 'write', 30, 'moodle', 0),
	(532, 'moodle/competency:planview', 'read', 30, 'moodle', 0),
	(533, 'moodle/competency:planviewdraft', 'read', 30, 'moodle', 0),
	(534, 'moodle/competency:planviewown', 'read', 30, 'moodle', 0),
	(535, 'moodle/competency:planviewowndraft', 'read', 30, 'moodle', 0),
	(536, 'moodle/competency:planrequestreview', 'write', 30, 'moodle', 0),
	(537, 'moodle/competency:planrequestreviewown', 'write', 30, 'moodle', 0),
	(538, 'moodle/competency:planreview', 'write', 30, 'moodle', 0),
	(539, 'moodle/competency:plancomment', 'write', 30, 'moodle', 0),
	(540, 'moodle/competency:plancommentown', 'write', 30, 'moodle', 0),
	(541, 'moodle/competency:usercompetencyview', 'read', 30, 'moodle', 0),
	(542, 'moodle/competency:usercompetencyrequestreview', 'write', 30, 'moodle', 0),
	(543, 'moodle/competency:usercompetencyrequestreviewown', 'write', 30, 'moodle', 0),
	(544, 'moodle/competency:usercompetencyreview', 'write', 30, 'moodle', 0),
	(545, 'moodle/competency:usercompetencycomment', 'write', 30, 'moodle', 0),
	(546, 'moodle/competency:usercompetencycommentown', 'write', 30, 'moodle', 0),
	(547, 'moodle/competency:templatemanage', 'write', 40, 'moodle', 0),
	(548, 'moodle/competency:templateview', 'read', 40, 'moodle', 0),
	(549, 'moodle/competency:userevidencemanage', 'write', 30, 'moodle', 0),
	(550, 'moodle/competency:userevidencemanageown', 'write', 30, 'moodle', 0),
	(551, 'moodle/competency:userevidenceview', 'read', 30, 'moodle', 0),
	(552, 'mod/assign:viewblinddetails', 'write', 70, 'mod_assign', 8),
	(553, 'mod/assign:receivegradernotifications', 'read', 70, 'mod_assign', 0),
	(554, 'mod/forum:pindiscussions', 'write', 70, 'mod_forum', 0),
	(555, 'mod/forum:canposttomygroups', 'write', 70, 'mod_forum', 0),
	(556, 'mod/lesson:grade', 'write', 70, 'mod_lesson', 20),
	(557, 'mod/lesson:viewreports', 'read', 70, 'mod_lesson', 8),
	(558, 'mod/lesson:manageoverrides', 'write', 70, 'mod_lesson', 0),
	(559, 'mod/workshop:deletesubmissions', 'write', 70, 'mod_workshop', 0),
	(560, 'enrol/category:config', 'write', 50, 'enrol_category', 0),
	(561, 'enrol/database:config', 'write', 50, 'enrol_database', 0),
	(562, 'enrol/imsenterprise:config', 'write', 50, 'enrol_imsenterprise', 0),
	(563, 'enrol/lti:config', 'write', 50, 'enrol_lti', 0),
	(564, 'enrol/lti:unenrol', 'write', 50, 'enrol_lti', 0),
	(565, 'enrol/mnet:config', 'write', 50, 'enrol_mnet', 0),
	(566, 'enrol/self:holdkey', 'write', 50, 'enrol_self', 0),
	(567, 'block/activity_results:addinstance', 'write', 80, 'block_activity_results', 20),
	(568, 'block/globalsearch:myaddinstance', 'write', 10, 'block_globalsearch', 0),
	(569, 'block/globalsearch:addinstance', 'write', 80, 'block_globalsearch', 0),
	(570, 'block/lp:addinstance', 'write', 10, 'block_lp', 0),
	(571, 'block/lp:myaddinstance', 'write', 10, 'block_lp', 0),
	(572, 'block/lp:view', 'read', 10, 'block_lp', 0),
	(573, 'report/usersessions:manageownsessions', 'write', 30, 'report_usersessions', 0),
	(574, 'gradeimport/direct:view', 'write', 50, 'gradeimport_direct', 0),
	(575, 'gradereport/history:view', 'read', 50, 'gradereport_history', 8),
	(576, 'gradereport/singleview:view', 'read', 50, 'gradereport_singleview', 8),
	(577, 'tool/lpmigrate:frameworksmigrate', 'write', 10, 'tool_lpmigrate', 0),
	(578, 'tool/monitor:subscribe', 'read', 50, 'tool_monitor', 8),
	(579, 'tool/monitor:managerules', 'write', 50, 'tool_monitor', 4),
	(580, 'tool/monitor:managetool', 'write', 10, 'tool_monitor', 4),
	(581, 'tool/recyclebin:deleteitems', 'write', 50, 'tool_recyclebin', 32),
	(582, 'tool/recyclebin:restoreitems', 'write', 50, 'tool_recyclebin', 0),
	(583, 'tool/recyclebin:viewitems', 'read', 50, 'tool_recyclebin', 0);

-- Dumping structure for table comig_moodle.mdl_chat
