Sie sind auf Seite 1von 184

---------

phpMyAdmin SQL Dump


version 4.1.6
http://www.phpmyadmin.net
Host: 127.0.0.1
Generation Time: Sep 06, 2015 at 02:32 PM
Server version: 5.5.36
PHP Version: 5.4.25

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";


SET time_zone = "+00:00";
/*!40101
/*!40101
/*!40101
/*!40101

SET
SET
SET
SET

@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
NAMES utf8 */;

--- Database: `moodle`


--- ---------------------------------------------------------- Table structure for table `mdl_assignment`
-CREATE TABLE IF NOT EXISTS `mdl_assignment` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`assignmenttype` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`resubmit` tinyint(2) unsigned NOT NULL DEFAULT '0',
`preventlate` tinyint(2) unsigned NOT NULL DEFAULT '0',
`emailteachers` tinyint(2) unsigned 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) unsigned NOT NULL DEFAULT '100000',
`timedue` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeavailable` bigint(10) unsigned NOT NULL DEFAULT '0',
`grade` bigint(10) NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_assi_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines as
signments' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_assignment_submissions`
-CREATE TABLE IF NOT EXISTS `mdl_assignment_submissions` (

`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,


`assignment` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`numfiles` bigint(10) unsigned NOT NULL DEFAULT '0',
`data1` text COLLATE utf8_unicode_ci,
`data2` text COLLATE utf8_unicode_ci,
`grade` bigint(11) NOT NULL DEFAULT '0',
`submissioncomment` text COLLATE utf8_unicode_ci NOT NULL,
`format` smallint(4) unsigned NOT NULL DEFAULT '0',
`teacher` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemarked` bigint(10) unsigned NOT NULL DEFAULT '0',
`mailed` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_assisubm_use_ix` (`userid`),
KEY `mdl_assisubm_mai_ix` (`mailed`),
KEY `mdl_assisubm_tim_ix` (`timemarked`),
KEY `mdl_assisubm_ass_ix` (`assignment`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Info about
submitted assignments' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_backup_controllers`
-CREATE TABLE IF NOT EXISTS `mdl_backup_controllers` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`backupid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`operation` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'backup',
`type` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemid` bigint(10) unsigned NOT NULL,
`format` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`interactive` smallint(4) unsigned NOT NULL,
`purpose` smallint(4) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`status` smallint(4) unsigned NOT NULL,
`execution` smallint(4) unsigned NOT NULL,
`executiontime` bigint(10) unsigned NOT NULL,
`checksum` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timecreated` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
`controller` longtext COLLATE utf8_unicode_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 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To store t
he backup_controllers as they are used' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_backup_courses`
-CREATE TABLE IF NOT EXISTS `mdl_backup_courses` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,

`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',


`laststarttime` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastendtime` bigint(10) unsigned NOT NULL DEFAULT '0',
`laststatus` varchar(1) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
`nextstarttime` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_backcour_cou_uix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To store e
very course backup status' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_backup_files`
-CREATE TABLE IF NOT EXISTS `mdl_backup_files` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`backup_code` bigint(10) unsigned NOT NULL DEFAULT '0',
`file_type` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`old_id` bigint(10) unsigned NOT NULL DEFAULT '0',
`new_id` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_backfile_bacfilpat_uix` (`backup_code`,`file_type`,`path`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To store a
nd recode ids to user and course files' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_backup_files_template`
-CREATE TABLE IF NOT EXISTS `mdl_backup_files_template` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`backupid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`contextid` bigint(10) unsigned NOT NULL,
`component` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`filearea` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemid` bigint(10) unsigned NOT NULL,
`info` mediumtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `mdl_backfiletemp_bacconcomf_ix` (`backupid`,`contextid`,`component`,`file
area`,`itemid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To store f
iles along the backup process. Note this table isn' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_backup_ids`
-CREATE TABLE IF NOT EXISTS `mdl_backup_ids` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`backup_code` bigint(12) unsigned NOT NULL DEFAULT '0',
`table_name` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`old_id` bigint(10) unsigned NOT NULL DEFAULT '0',
`new_id` bigint(10) unsigned NOT NULL DEFAULT '0',

`info` mediumtext COLLATE utf8_unicode_ci NOT NULL,


PRIMARY KEY (`id`),
UNIQUE KEY `mdl_backids_bactabold_uix` (`backup_code`,`table_name`,`old_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To store a
nd convert ids in backup/restore' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_backup_ids_template`
-CREATE TABLE IF NOT EXISTS `mdl_backup_ids_template` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`backupid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemname` varchar(160) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemid` bigint(10) unsigned NOT NULL,
`newitemid` bigint(10) unsigned NOT NULL DEFAULT '0',
`parentitemid` bigint(10) unsigned DEFAULT NULL,
`info` mediumtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_backidstemp_baciteite_uix` (`backupid`,`itemname`,`itemid`),
KEY `mdl_backidstemp_bacitepar_ix` (`backupid`,`itemname`,`parentitemid`),
KEY `mdl_backidstemp_bacitenew_ix` (`backupid`,`itemname`,`newitemid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To store a
ll sort of ids along the backup process. Note this' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_backup_log`
-CREATE TABLE IF NOT EXISTS `mdl_backup_log` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`time` bigint(10) unsigned NOT NULL DEFAULT '0',
`laststarttime` bigint(10) unsigned NOT NULL DEFAULT '0',
`info` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`backuptype` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_backlog_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To store e
very course backup log info' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_backup_logs`
-CREATE TABLE IF NOT EXISTS `mdl_backup_logs` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`backupid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`loglevel` smallint(4) unsigned NOT NULL,
`message` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timecreated` bigint(10) unsigned 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_unicode_ci COMMENT='To store a


ll the logs from backup and restore operations (by' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_block`
-CREATE TABLE IF NOT EXISTS `mdl_block` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`version` bigint(10) unsigned NOT NULL DEFAULT '0',
`cron` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastcron` bigint(10) unsigned NOT NULL DEFAULT '0',
`visible` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_bloc_nam_uix` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='contains
all installed blocks' AUTO_INCREMENT=40 ;
--- Dumping data for table `mdl_block`
-INSERT INTO `mdl_block` (`id`, `name`, `version`, `cron`, `lastcron`, `visible`)
VALUES
(1, 'activity_modules', 2007101509, 0, 0, 1),
(2, 'admin_bookmarks', 2007101509, 0, 0, 1),
(3, 'blog_menu', 2009071700, 0, 0, 1),
(4, 'blog_recent', 2009070900, 0, 0, 1),
(5, 'blog_tags', 2007101509, 0, 0, 1),
(6, 'calendar_month', 2007101509, 0, 0, 1),
(7, 'calendar_upcoming', 2007101509, 0, 0, 1),
(8, 'comments', 2009072000, 0, 0, 1),
(9, 'community', 2010042701, 0, 0, 1),
(10, 'completionstatus', 2009072800, 0, 0, 1),
(11, 'course_list', 2007101509, 0, 0, 1),
(12, 'course_overview', 2010021100, 0, 0, 1),
(13, 'course_summary', 2007101509, 0, 0, 1),
(14, 'feedback', 2010050200, 0, 0, 0),
(15, 'glossary_random', 2007101509, 0, 0, 1),
(16, 'html', 2010071900, 0, 0, 1),
(17, 'login', 2007101509, 0, 0, 1),
(18, 'mentees', 2007101509, 0, 0, 1),
(19, 'messages', 2007101509, 0, 0, 1),
(20, 'mnet_hosts', 2010112900, 0, 0, 1),
(21, 'myprofile', 2009123100, 0, 0, 1),
(22, 'navigation', 2010091400, 0, 0, 1),
(23, 'news_items', 2007101509, 0, 0, 1),
(24, 'online_users', 2007101510, 0, 0, 1),
(25, 'participants', 2007101509, 0, 0, 1),
(26, 'private_files', 2010030100, 0, 0, 1),
(27, 'quiz_results', 2007101509, 0, 0, 1),
(28, 'recent_activity', 2007101509, 0, 0, 1),
(29, 'rss_client', 2009072901, 300, 0, 1),
(30, 'search', 2010111100, 1, 0, 0),
(31, 'search_forums', 2007101509, 0, 0, 1),
(32, 'section_links', 2007101511, 0, 0, 1),
(33, 'selfcompletion', 2009072800, 0, 0, 1),

(34,
(35,
(36,
(37,
(38,
(39,

'settings', 2010091400, 0, 0, 1),


'site_main_menu', 2007101509, 0, 0, 1),
'social_activities', 2007101509, 0, 0, 1),
'tag_flickr', 2007101509, 0, 0, 1),
'tag_youtube', 2007101509, 0, 0, 1),
'tags', 2010090502, 0, 0, 1);

-- ---------------------------------------------------------- Table structure for table `mdl_block_community`


-CREATE TABLE IF NOT EXISTS `mdl_block_community` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL,
`coursename` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`coursedescription` longtext COLLATE utf8_unicode_ci,
`courseurl` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`imageurl` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Community
block' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_block_instances`
-CREATE TABLE IF NOT EXISTS `mdl_block_instances` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`blockname` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`parentcontextid` bigint(10) unsigned NOT NULL,
`showinsubcontexts` smallint(4) NOT NULL,
`pagetypepattern` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`subpagepattern` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
`defaultregion` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`defaultweight` bigint(10) NOT NULL,
`configdata` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `mdl_blocinst_parshopagsub_ix` (`parentcontextid`,`showinsubcontexts`,`pag
etypepattern`,`subpagepattern`),
KEY `mdl_blocinst_par_ix` (`parentcontextid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This tabl
e stores block instances. The type of block this is' AUTO_INCREMENT=10 ;
--- Dumping data for table `mdl_block_instances`
-INSERT INTO `mdl_block_instances` (`id`, `blockname`, `parentcontextid`, `showin
subcontexts`, `pagetypepattern`, `subpagepattern`, `defaultregion`, `defaultweig
ht`, `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, '');
-- ---------------------------------------------------------- Table structure for table `mdl_block_instance_old`
-CREATE TABLE IF NOT EXISTS `mdl_block_instance_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`oldid` bigint(10) unsigned NOT NULL,
`blockid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pagetype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`position` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`weight` smallint(3) NOT NULL DEFAULT '0',
`visible` tinyint(1) NOT NULL DEFAULT '0',
`configdata` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `mdl_blocinstold_pag_ix` (`pageid`),
KEY `mdl_blocinstold_pag2_ix` (`pagetype`),
KEY `mdl_blocinstold_blo_ix` (`blockid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='backup of
1.9 block instances - to be deleted' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_block_pinned_old`
-CREATE TABLE IF NOT EXISTS `mdl_block_pinned_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`blockid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pagetype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`position` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`weight` smallint(3) NOT NULL DEFAULT '0',
`visible` tinyint(1) NOT NULL DEFAULT '0',
`configdata` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_blocpinnold_pag_ix` (`pagetype`),
KEY `mdl_blocpinnold_blo_ix` (`blockid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='backup of
1.9 pinned blocks - to be deleted' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_block_positions`
-CREATE TABLE IF NOT EXISTS `mdl_block_positions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`blockinstanceid` bigint(10) unsigned NOT NULL,
`contextid` bigint(10) unsigned NOT NULL,
`pagetype` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`subpage` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`visible` smallint(4) NOT NULL,

`region` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',


`weight` bigint(10) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_blocposi_bloconpagsub_uix` (`blockinstanceid`,`contextid`,`pag
etype`,`subpage`),
KEY `mdl_blocposi_blo_ix` (`blockinstanceid`),
KEY `mdl_blocposi_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores the
position of a sticky block_instance on a another ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_block_rss_client`
-CREATE TABLE IF NOT EXISTS `mdl_block_rss_client` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`title` text COLLATE utf8_unicode_ci NOT NULL,
`preferredtitle` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci NOT NULL,
`shared` tinyint(2) unsigned NOT NULL DEFAULT '0',
`url` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Remote new
s feed information. Contains the news feed id, the' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_block_search_documents`
-CREATE TABLE IF NOT EXISTS `mdl_block_search_documents` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`docid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`doctype` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'none',
`itemtype` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'standard',
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`url` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`docdate` bigint(10) unsigned NOT NULL DEFAULT '0',
`updated` bigint(10) unsigned NOT NULL DEFAULT '0',
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`groupid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_blocseardocu_doc_ix` (`docid`),
KEY `mdl_blocseardocu_doc2_ix` (`doctype`),
KEY `mdl_blocseardocu_ite_ix` (`itemtype`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='table to s
tore search index backups' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_blog_association`
-CREATE TABLE IF NOT EXISTS `mdl_blog_association` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,

`contextid` bigint(10) unsigned NOT NULL,


`blogid` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_blogasso_con_ix` (`contextid`),
KEY `mdl_blogasso_blo_ix` (`blogid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Associatio
ns of blog entries with courses and module instanc' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_blog_external`
-CREATE TABLE IF NOT EXISTS `mdl_blog_external` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci,
`url` text COLLATE utf8_unicode_ci NOT NULL,
`filtertags` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`failedlastsync` tinyint(1) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned DEFAULT NULL,
`timefetched` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_blogexte_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='External b
log links used for RSS copying of blog entries to ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_cache_filters`
-CREATE TABLE IF NOT EXISTS `mdl_cache_filters` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`filter` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`version` bigint(10) unsigned NOT NULL DEFAULT '0',
`md5key` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`rawtext` text COLLATE utf8_unicode_ci NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_cachfilt_filmd5_ix` (`filter`,`md5key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='For keepin
g information about cached data' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_cache_flags`
-CREATE TABLE IF NOT EXISTS `mdl_cache_flags` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`flagtype` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`value` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`expiry` bigint(10) unsigned NOT NULL,

PRIMARY KEY (`id`),


KEY `mdl_cachflag_fla_ix` (`flagtype`),
KEY `mdl_cachflag_nam_ix` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Cache of
time-sensitive flags' AUTO_INCREMENT=2 ;
--- Dumping data for table `mdl_cache_flags`
-INSERT INTO `mdl_cache_flags` (`id`, `flagtype`, `name`, `timemodified`, `value`
, `expiry`) VALUES
(1, 'userpreferenceschanged', '2', 1441541433, '1', 1441548633);
-- ---------------------------------------------------------- Table structure for table `mdl_cache_text`
-CREATE TABLE IF NOT EXISTS `mdl_cache_text` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`md5key` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`formattedtext` longtext COLLATE utf8_unicode_ci NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_cachtext_md5_ix` (`md5key`),
KEY `mdl_cachtext_tim_ix` (`timemodified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='For stori
ng temporary copies of processed texts' AUTO_INCREMENT=3 ;
--- Dumping data for table `mdl_cache_text`
-INSERT INTO `mdl_cache_text` (`id`, `md5key`, `formattedtext`, `timemodified`) V
ALUES
(1, '8aa90f0386b027b7d637c5208299c825', '<div class="no-overflow"><div class="te
xt_to_html"><p>Sistem Pembelajaran Dari SMP Negeri 62 Jakarta</p></div></div>',
1441542415),
(2, '992a9afa32335ff40f84122d9984821b', '<p>Sistem Pembelajaran Dari SMP Negeri
62 Jakarta</p>', 1441542416);
-- ---------------------------------------------------------- Table structure for table `mdl_capabilities`
-CREATE TABLE IF NOT EXISTS `mdl_capabilities` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`captype` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`contextlevel` bigint(10) unsigned NOT NULL DEFAULT '0',
`component` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`riskbitmask` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_capa_nam_uix` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='this defi
nes all capabilities' AUTO_INCREMENT=364 ;

--- Dumping data for table `mdl_capabilities`


-INSERT INTO `mdl_capabilities` (`id`, `name`, `captype`, `contextlevel`, `compon
ent`, `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:viewreports', 'read', 50, 'moodle', 8),
(29, 'moodle/site:trustcontent', 'write', 50, 'moodle', 4),
(30, 'moodle/site:uploadusers', 'write', 10, 'moodle', 24),
(31, 'moodle/filter:manage', 'write', 50, 'moodle', 0),
(32, 'moodle/user:create', 'write', 10, 'moodle', 24),
(33, 'moodle/user:delete', 'write', 10, 'moodle', 8),
(34, 'moodle/user:update', 'write', 10, 'moodle', 24),
(35, 'moodle/user:viewdetails', 'read', 50, 'moodle', 0),
(36, 'moodle/user:viewalldetails', 'read', 30, 'moodle', 8),
(37, 'moodle/user:viewhiddendetails', 'read', 50, 'moodle', 8),
(38, 'moodle/user:loginas', 'write', 50, 'moodle', 30),
(39, 'moodle/user:managesyspages', 'write', 10, 'moodle', 0),
(40, 'moodle/user:manageblocks', 'write', 30, 'moodle', 0),
(41, 'moodle/user:manageownblocks', 'write', 10, 'moodle', 0),
(42, 'moodle/user:manageownfiles', 'write', 10, 'moodle', 0),
(43, 'moodle/my:configsyspages', 'write', 10, 'moodle', 0),
(44, 'moodle/role:assign', 'write', 50, 'moodle', 28),
(45, 'moodle/role:review', 'read', 50, 'moodle', 8),
(46, 'moodle/role:override', 'write', 50, 'moodle', 28),
(47, 'moodle/role:safeoverride', 'write', 50, 'moodle', 16),
(48, 'moodle/role:manage', 'write', 10, 'moodle', 28),
(49, 'moodle/role:switchroles', 'read', 50, 'moodle', 12),
(50, 'moodle/category:manage', 'write', 40, 'moodle', 4),
(51, 'moodle/category:viewhiddencategories', 'read', 40, 'moodle', 0),
(52, 'moodle/cohort:manage', 'write', 40, 'moodle', 0),
(53, 'moodle/cohort:assign', 'write', 40, 'moodle', 0),

(54, 'moodle/cohort:view', 'read', 50, 'moodle', 0),


(55, 'moodle/course:create', 'write', 40, 'moodle', 4),
(56, 'moodle/course:request', 'write', 10, 'moodle', 0),
(57, 'moodle/course:delete', 'write', 50, 'moodle', 32),
(58, 'moodle/course:update', 'write', 50, 'moodle', 4),
(59, 'moodle/course:view', 'read', 50, 'moodle', 0),
(60, 'moodle/course:enrolreview', 'read', 50, 'moodle', 8),
(61, 'moodle/course:enrolconfig', 'write', 50, 'moodle', 8),
(62, 'moodle/course:bulkmessaging', 'write', 50, 'moodle', 16),
(63, 'moodle/course:viewhiddenuserfields', 'read', 50, 'moodle', 8),
(64, 'moodle/course:viewhiddencourses', 'read', 50, 'moodle', 0),
(65, 'moodle/course:visibility', 'write', 50, 'moodle', 0),
(66, 'moodle/course:managefiles', 'write', 50, 'moodle', 4),
(67, 'moodle/course:manageactivities', 'write', 50, 'moodle', 4),
(68, 'moodle/course:activityvisibility', 'write', 50, 'moodle', 0),
(69, 'moodle/course:viewhiddenactivities', 'write', 50, 'moodle', 0),
(70, 'moodle/course:viewparticipants', 'read', 50, 'moodle', 0),
(71, 'moodle/course:changefullname', 'write', 50, 'moodle', 4),
(72, 'moodle/course:changeshortname', 'write', 50, 'moodle', 4),
(73, 'moodle/course:changeidnumber', 'write', 50, 'moodle', 4),
(74, 'moodle/course:changecategory', 'write', 50, 'moodle', 4),
(75, 'moodle/course:changesummary', 'write', 50, 'moodle', 4),
(76, 'moodle/site:viewparticipants', 'read', 10, 'moodle', 0),
(77, 'moodle/course:viewscales', 'read', 50, 'moodle', 0),
(78, 'moodle/course:managescales', 'write', 50, 'moodle', 0),
(79, 'moodle/course:managegroups', 'write', 50, 'moodle', 0),
(80, 'moodle/course:reset', 'write', 50, 'moodle', 32),
(81, 'moodle/blog:view', 'read', 10, 'moodle', 0),
(82, 'moodle/blog:search', 'read', 10, 'moodle', 0),
(83, 'moodle/blog:viewdrafts', 'read', 10, 'moodle', 8),
(84, 'moodle/blog:create', 'write', 10, 'moodle', 16),
(85, 'moodle/blog:manageentries', 'write', 10, 'moodle', 16),
(86, 'moodle/blog:manageexternal', 'write', 10, 'moodle', 16),
(87, 'moodle/blog:associatecourse', 'write', 50, 'moodle', 0),
(88, 'moodle/blog:associatemodule', 'write', 70, 'moodle', 0),
(89, 'moodle/calendar:manageownentries', 'write', 50, 'moodle', 16),
(90, 'moodle/calendar:managegroupentries', 'write', 50, 'moodle', 16),
(91, 'moodle/calendar:manageentries', 'write', 50, 'moodle', 16),
(92, 'moodle/user:editprofile', 'write', 30, 'moodle', 24),
(93, 'moodle/user:editownprofile', 'write', 10, 'moodle', 16),
(94, 'moodle/user:changeownpassword', 'write', 10, 'moodle', 0),
(95, 'moodle/user:readuserposts', 'read', 30, 'moodle', 0),
(96, 'moodle/user:readuserblogs', 'read', 30, 'moodle', 0),
(97, 'moodle/user:viewuseractivitiesreport', 'read', 30, 'moodle', 8),
(98, 'moodle/user:editmessageprofile', 'write', 30, 'moodle', 16),
(99, 'moodle/user:editownmessageprofile', 'write', 10, 'moodle', 0),
(100, 'moodle/question:managecategory', 'write', 50, 'moodle', 20),
(101, 'moodle/question:add', 'write', 50, 'moodle', 20),
(102, 'moodle/question:editmine', 'write', 50, 'moodle', 20),
(103, 'moodle/question:editall', 'write', 50, 'moodle', 20),
(104, 'moodle/question:viewmine', 'read', 50, 'moodle', 0),
(105, 'moodle/question:viewall', 'read', 50, 'moodle', 0),
(106, 'moodle/question:usemine', 'read', 50, 'moodle', 0),
(107, 'moodle/question:useall', 'read', 50, 'moodle', 0),
(108, 'moodle/question:movemine', 'write', 50, 'moodle', 0),
(109, 'moodle/question:moveall', 'write', 50, 'moodle', 0),
(110, 'moodle/question:config', 'write', 10, 'moodle', 2),
(111, 'moodle/question:flag', 'write', 50, 'moodle', 0),
(112, 'moodle/site:doclinks', 'read', 10, 'moodle', 0),
(113, 'moodle/course:sectionvisibility', 'write', 50, 'moodle', 0),

(114,
(115,
(116,
(117,
(118,
(119,
(120,
(121,
(122,
(123,
(124,
(125,
(126,
(127,
(128,
(129,
(130,
(131,
(132,
(133,
(134,
(135,
(136,
(137,
(138,
(139,
(140,
(141,
(142,
(143,
(144,
(145,
(146,
(147,
(148,
(149,
(150,
(151,
(152,
(153,
(154,
(155,
(156,
(157,
(158,
(159,
(160,
(161,
(162,
(163,
(164,
(165,
(166,
(167,
(168,
(169,
(170,
(171,
(172,
(173,

'moodle/course:useremail', 'write', 50, 'moodle', 0),


'moodle/course:viewhiddensections', 'write', 50, 'moodle', 0),
'moodle/course:setcurrentsection', 'write', 50, 'moodle', 0),
'moodle/site:mnetlogintoremote', 'read', 10, 'moodle', 0),
'moodle/grade:viewall', 'read', 50, 'moodle', 8),
'moodle/grade:view', 'read', 50, 'moodle', 0),
'moodle/grade:viewhidden', 'read', 50, 'moodle', 8),
'moodle/grade:import', 'write', 50, 'moodle', 12),
'moodle/grade:export', 'read', 50, 'moodle', 8),
'moodle/grade:manage', 'write', 50, 'moodle', 12),
'moodle/grade:edit', 'write', 50, 'moodle', 12),
'moodle/grade:manageoutcomes', 'write', 50, 'moodle', 0),
'moodle/grade:manageletters', 'write', 50, 'moodle', 0),
'moodle/grade:hide', 'write', 50, 'moodle', 0),
'moodle/grade:lock', 'write', 50, 'moodle', 0),
'moodle/grade:unlock', 'write', 50, 'moodle', 0),
'moodle/my:manageblocks', 'write', 10, 'moodle', 0),
'moodle/notes:view', 'read', 50, 'moodle', 0),
'moodle/notes:manage', 'write', 50, 'moodle', 16),
'moodle/tag:manage', 'write', 10, 'moodle', 16),
'moodle/tag:create', 'write', 10, 'moodle', 16),
'moodle/tag:edit', 'write', 10, 'moodle', 16),
'moodle/tag:editblocks', 'write', 10, 'moodle', 0),
'moodle/block:view', 'read', 80, 'moodle', 0),
'moodle/block:edit', 'write', 80, 'moodle', 20),
'moodle/portfolio:export', 'read', 10, 'moodle', 0),
'moodle/comment:view', 'read', 50, 'moodle', 0),
'moodle/comment:post', 'write', 50, 'moodle', 24),
'moodle/comment:delete', 'write', 50, 'moodle', 32),
'moodle/webservice:createtoken', 'write', 10, 'moodle', 62),
'moodle/rating:view', 'read', 50, 'moodle', 0),
'moodle/rating:viewany', 'read', 50, 'moodle', 8),
'moodle/rating:viewall', 'read', 50, 'moodle', 8),
'moodle/rating:rate', 'write', 50, 'moodle', 0),
'moodle/course:publish', 'write', 10, 'moodle', 24),
'moodle/course:markcomplete', 'write', 50, 'moodle', 0),
'moodle/community:add', 'write', 10, 'moodle', 0),
'moodle/community:download', 'write', 10, 'moodle', 0),
'mod/assignment:view', 'read', 70, 'mod_assignment', 0),
'mod/assignment:submit', 'write', 70, 'mod_assignment', 0),
'mod/assignment:grade', 'write', 70, 'mod_assignment', 4),
'mod/assignment:exportownsubmission', 'read', 70, 'mod_assignment', 0),
'mod/chat:chat', 'write', 70, 'mod_chat', 16),
'mod/chat:readlog', 'read', 70, 'mod_chat', 0),
'mod/chat:deletelog', 'write', 70, 'mod_chat', 0),
'mod/chat:exportparticipatedsession', 'read', 70, 'mod_chat', 8),
'mod/chat:exportsession', 'read', 70, 'mod_chat', 8),
'mod/choice:choose', 'write', 70, 'mod_choice', 0),
'mod/choice:readresponses', 'read', 70, 'mod_choice', 0),
'mod/choice:deleteresponses', 'write', 70, 'mod_choice', 0),
'mod/choice:downloadresponses', 'read', 70, 'mod_choice', 0),
'mod/data:viewentry', 'read', 70, 'mod_data', 0),
'mod/data:writeentry', 'write', 70, 'mod_data', 16),
'mod/data:comment', 'write', 70, 'mod_data', 16),
'mod/data:rate', 'write', 70, 'mod_data', 0),
'mod/data:viewrating', 'read', 70, 'mod_data', 0),
'mod/data:viewanyrating', 'read', 70, 'mod_data', 8),
'mod/data:viewallratings', 'read', 70, 'mod_data', 8),
'mod/data:approve', 'write', 70, 'mod_data', 16),
'mod/data:manageentries', 'write', 70, 'mod_data', 16),

(174,
(175,
(176,
(177,
(178,
(179,
(180,
(181,
(182,
(183,
(184,
(185,
(186,
(187,
(188,
(189,
(190,
(191,
(192,
(193,
(194,
(195,
(196,
(197,
(198,
(199,
(200,
(201,
(202,
(203,
(204,
(205,
(206,
(207,
(208,
(209,
(210,
(211,
(212,
(213,
(214,
(215,
(216,
(217,
(218,
(219,
(220,
(221,
(222,
(223,
(224,
(225,
(226,
(227,
(228,
(229,
(230,
(231,
(232,
(233,

'mod/data:managecomments', 'write', 70, 'mod_data', 16),


'mod/data:managetemplates', 'write', 70, 'mod_data', 20),
'mod/data:viewalluserpresets', 'read', 70, 'mod_data', 0),
'mod/data:manageuserpresets', 'write', 70, 'mod_data', 20),
'mod/data:exportentry', 'read', 70, 'mod_data', 8),
'mod/data:exportownentry', 'read', 70, 'mod_data', 0),
'mod/data:exportallentries', 'read', 70, 'mod_data', 8),
'mod/feedback:view', 'read', 70, 'mod_feedback', 0),
'mod/feedback:complete', 'write', 70, 'mod_feedback', 16),
'mod/feedback:viewanalysepage', 'read', 70, 'mod_feedback', 8),
'mod/feedback:deletesubmissions', 'write', 70, 'mod_feedback', 0),
'mod/feedback:mapcourse', 'write', 70, 'mod_feedback', 0),
'mod/feedback:edititems', 'write', 70, 'mod_feedback', 20),
'mod/feedback:createprivatetemplate', 'write', 70, 'mod_feedback', 16),
'mod/feedback:createpublictemplate', 'write', 70, 'mod_feedback', 16),
'mod/feedback:deletetemplate', 'write', 70, 'mod_feedback', 0),
'mod/feedback:viewreports', 'read', 70, 'mod_feedback', 8),
'mod/feedback:receivemail', 'read', 70, 'mod_feedback', 8),
'mod/folder:view', 'read', 70, 'mod_folder', 0),
'mod/folder:managefiles', 'write', 70, 'mod_folder', 16),
'mod/forum:viewdiscussion', 'read', 70, 'mod_forum', 0),
'mod/forum:viewhiddentimedposts', 'read', 70, 'mod_forum', 0),
'mod/forum:startdiscussion', 'write', 70, 'mod_forum', 16),
'mod/forum:replypost', 'write', 70, 'mod_forum', 16),
'mod/forum:addnews', 'write', 70, 'mod_forum', 16),
'mod/forum:replynews', 'write', 70, 'mod_forum', 16),
'mod/forum:viewrating', 'read', 70, 'mod_forum', 0),
'mod/forum:viewanyrating', 'read', 70, 'mod_forum', 8),
'mod/forum:viewallratings', 'read', 70, 'mod_forum', 8),
'mod/forum:rate', 'write', 70, 'mod_forum', 0),
'mod/forum:createattachment', 'write', 70, 'mod_forum', 16),
'mod/forum:deleteownpost', 'read', 70, 'mod_forum', 0),
'mod/forum:deleteanypost', 'read', 70, 'mod_forum', 0),
'mod/forum:splitdiscussions', 'read', 70, 'mod_forum', 0),
'mod/forum:movediscussions', 'read', 70, 'mod_forum', 0),
'mod/forum:editanypost', 'write', 70, 'mod_forum', 16),
'mod/forum:viewqandawithoutposting', 'read', 70, 'mod_forum', 0),
'mod/forum:viewsubscribers', 'read', 70, 'mod_forum', 0),
'mod/forum:managesubscriptions', 'read', 70, 'mod_forum', 16),
'mod/forum:initialsubscriptions', 'read', 70, 'mod_forum', 0),
'mod/forum:postwithoutthrottling', 'write', 70, 'mod_forum', 16),
'mod/forum:exportdiscussion', 'read', 70, 'mod_forum', 8),
'mod/forum:exportpost', 'read', 70, 'mod_forum', 8),
'mod/forum:exportownpost', 'read', 70, 'mod_forum', 8),
'mod/glossary:write', 'write', 70, 'mod_glossary', 16),
'mod/glossary:manageentries', 'write', 70, 'mod_glossary', 16),
'mod/glossary:managecategories', 'write', 70, 'mod_glossary', 16),
'mod/glossary:comment', 'write', 70, 'mod_glossary', 16),
'mod/glossary:managecomments', 'write', 70, 'mod_glossary', 16),
'mod/glossary:import', 'write', 70, 'mod_glossary', 16),
'mod/glossary:export', 'read', 70, 'mod_glossary', 0),
'mod/glossary:approve', 'write', 70, 'mod_glossary', 16),
'mod/glossary:rate', 'write', 70, 'mod_glossary', 0),
'mod/glossary:viewrating', 'read', 70, 'mod_glossary', 0),
'mod/glossary:viewanyrating', 'read', 70, 'mod_glossary', 8),
'mod/glossary:viewallratings', 'read', 70, 'mod_glossary', 8),
'mod/glossary:exportentry', 'read', 70, 'mod_glossary', 8),
'mod/glossary:exportownentry', 'read', 70, 'mod_glossary', 0),
'mod/imscp:view', 'read', 70, 'mod_imscp', 0),
'mod/lesson:edit', 'write', 70, 'mod_lesson', 4),

(234,
(235,
(236,
(237,
(238,
(239,
(240,
(241,
(242,
(243,
(244,
(245,
(246,
(247,
(248,
(249,
(250,
(251,
(252,
(253,
(254,
(255,
(256,
(257,
(258,
(259,
(260,
(261,
(262,
(263,
(264,
(265,
(266,
(267,
(268,
(269,
(270,
(271,
(272,
(273,
(274,
(275,
(276,
(277,
(278,
(279,
(280,
(281,
(282,
(283,
(284,
(285,
(286,
(287,
(288,
(289,
(290,
(291,
(292,
(293,

'mod/lesson:manage', 'write', 70, 'mod_lesson', 0),


'mod/page:view', 'read', 70, 'mod_page', 0),
'mod/quiz:view', 'read', 70, 'mod_quiz', 0),
'mod/quiz:attempt', 'write', 70, 'mod_quiz', 16),
'mod/quiz:reviewmyattempts', 'read', 70, 'mod_quiz', 0),
'mod/quiz:manage', 'write', 70, 'mod_quiz', 16),
'mod/quiz:manageoverrides', 'write', 70, 'mod_quiz', 0),
'mod/quiz:preview', 'write', 70, 'mod_quiz', 0),
'mod/quiz:grade', 'write', 70, 'mod_quiz', 16),
'mod/quiz:regrade', 'write', 70, 'mod_quiz', 16),
'mod/quiz:viewreports', 'read', 70, 'mod_quiz', 8),
'mod/quiz:deleteattempts', 'write', 70, 'mod_quiz', 32),
'mod/quiz:ignoretimelimits', 'read', 70, 'mod_quiz', 0),
'mod/quiz:emailconfirmsubmission', 'read', 70, 'mod_quiz', 0),
'mod/quiz:emailnotifysubmission', 'read', 70, 'mod_quiz', 0),
'mod/resource:view', 'read', 70, 'mod_resource', 0),
'mod/scorm:viewreport', 'read', 70, 'mod_scorm', 0),
'mod/scorm:skipview', 'write', 70, 'mod_scorm', 0),
'mod/scorm:savetrack', 'write', 70, 'mod_scorm', 0),
'mod/scorm:viewscores', 'read', 70, 'mod_scorm', 0),
'mod/scorm:deleteresponses', 'read', 70, 'mod_scorm', 0),
'mod/survey:participate', 'read', 70, 'mod_survey', 0),
'mod/survey:readresponses', 'read', 70, 'mod_survey', 0),
'mod/survey:download', 'read', 70, 'mod_survey', 0),
'mod/url:view', 'read', 70, 'mod_url', 0),
'mod/wiki:viewpage', 'read', 70, 'mod_wiki', 0),
'mod/wiki:editpage', 'write', 70, 'mod_wiki', 16),
'mod/wiki:createpage', 'write', 70, 'mod_wiki', 16),
'mod/wiki:viewcomment', 'read', 70, 'mod_wiki', 0),
'mod/wiki:editcomment', 'write', 70, 'mod_wiki', 16),
'mod/wiki:managecomment', 'write', 70, 'mod_wiki', 0),
'mod/wiki:managefiles', 'write', 70, 'mod_wiki', 0),
'mod/wiki:overridelock', 'write', 70, 'mod_wiki', 0),
'mod/wiki:managewiki', 'write', 70, 'mod_wiki', 0),
'mod/workshop:view', 'read', 70, 'mod_workshop', 0),
'mod/workshop:switchphase', 'write', 70, 'mod_workshop', 0),
'mod/workshop:editdimensions', 'write', 70, 'mod_workshop', 4),
'mod/workshop:submit', 'write', 70, 'mod_workshop', 0),
'mod/workshop:peerassess', 'write', 70, 'mod_workshop', 0),
'mod/workshop:manageexamples', 'write', 70, 'mod_workshop', 0),
'mod/workshop:allocate', 'write', 70, 'mod_workshop', 0),
'mod/workshop:publishsubmissions', 'write', 70, 'mod_workshop', 0),
'mod/workshop:viewauthornames', 'read', 70, 'mod_workshop', 0),
'mod/workshop:viewreviewernames', 'read', 70, 'mod_workshop', 0),
'mod/workshop:viewallsubmissions', 'read', 70, 'mod_workshop', 0),
'mod/workshop:viewpublishedsubmissions', 'read', 70, 'mod_workshop', 0),
'mod/workshop:viewauthorpublished', 'read', 70, 'mod_workshop', 0),
'mod/workshop:viewallassessments', 'read', 70, 'mod_workshop', 0),
'mod/workshop:overridegrades', 'write', 70, 'mod_workshop', 0),
'enrol/authorize:config', 'write', 50, 'enrol_authorize', 0),
'enrol/authorize:manage', 'write', 50, 'enrol_authorize', 0),
'enrol/authorize:unenrol', 'write', 50, 'enrol_authorize', 0),
'enrol/authorize:unenrolself', 'write', 50, 'enrol_authorize', 0),
'enrol/authorize:managepayments', 'write', 10, 'enrol_authorize', 8),
'enrol/authorize:uploadcsv', 'write', 10, 'enrol_authorize', 4),
'enrol/category:synchronised', 'write', 10, 'enrol_category', 0),
'enrol/cohort:config', 'write', 50, 'enrol_cohort', 0),
'enrol/guest:config', 'write', 50, 'enrol_guest', 0),
'enrol/ldap:manage', 'write', 50, 'enrol_ldap', 0),
'enrol/manual:config', 'write', 50, 'enrol_manual', 0),

(294, 'enrol/manual:enrol', 'write', 50, 'enrol_manual', 0),


(295, 'enrol/manual:manage', 'write', 50, 'enrol_manual', 0),
(296, 'enrol/manual:unenrol', 'write', 50, 'enrol_manual', 0),
(297, 'enrol/manual:unenrolself', 'write', 50, 'enrol_manual', 0),
(298, 'enrol/meta:config', 'write', 50, 'enrol_meta', 0),
(299, 'enrol/meta:selectaslinked', 'read', 50, 'enrol_meta', 0),
(300, 'enrol/paypal:config', 'write', 50, 'enrol_paypal', 0),
(301, 'enrol/paypal:manage', 'write', 50, 'enrol_paypal', 0),
(302, 'enrol/paypal:unenrol', 'write', 50, 'enrol_paypal', 0),
(303, 'enrol/paypal:unenrolself', 'write', 50, 'enrol_paypal', 0),
(304, 'enrol/self:config', 'write', 50, 'enrol_self', 0),
(305, 'enrol/self:manage', 'write', 50, 'enrol_self', 0),
(306, 'enrol/self:unenrolself', 'write', 50, 'enrol_self', 0),
(307, 'enrol/self:unenrol', 'write', 50, 'enrol_self', 0),
(308, 'block/online_users:viewlist', 'read', 80, 'block_online_users', 0),
(309, 'block/rss_client:manageownfeeds', 'write', 80, 'block_rss_client', 0),
(310, 'block/rss_client:manageanyfeeds', 'write', 80, 'block_rss_client', 16),
(311, 'report/courseoverview:view', 'read', 10, 'report_courseoverview', 8),
(312, 'report/customlang:view', 'read', 10, 'report_customlang', 2),
(313, 'report/customlang:edit', 'write', 10, 'report_customlang', 6),
(314, 'report/questioninstances:view', 'read', 10, 'report_questioninstances', 0
),
(315, 'report/security:view', 'read', 10, 'report_security', 2),
(316, 'report/unittest:view', 'read', 10, 'report_unittest', 32),
(317, 'coursereport/completion:view', 'read', 50, 'coursereport_completion', 8),
(318, 'coursereport/log:view', 'read', 50, 'coursereport_log', 8),
(319, 'coursereport/log:viewlive', 'read', 50, 'coursereport_log', 8),
(320, 'coursereport/log:viewtoday', 'read', 50, 'coursereport_log', 8),
(321, 'coursereport/outline:view', 'read', 50, 'coursereport_outline', 8),
(322, 'coursereport/participation:view', 'read', 50, 'coursereport_participation
', 8),
(323, 'coursereport/progress:view', 'read', 50, 'coursereport_progress', 8),
(324, 'coursereport/stats:view', 'read', 50, 'coursereport_stats', 8),
(325, 'gradeexport/ods:view', 'read', 50, 'gradeexport_ods', 8),
(326, 'gradeexport/ods:publish', 'read', 50, 'gradeexport_ods', 8),
(327, 'gradeexport/txt:view', 'read', 50, 'gradeexport_txt', 8),
(328, 'gradeexport/txt:publish', 'read', 50, 'gradeexport_txt', 8),
(329, 'gradeexport/xls:view', 'read', 50, 'gradeexport_xls', 8),
(330, 'gradeexport/xls:publish', 'read', 50, 'gradeexport_xls', 8),
(331, 'gradeexport/xml:view', 'read', 50, 'gradeexport_xml', 8),
(332, 'gradeexport/xml:publish', 'read', 50, 'gradeexport_xml', 8),
(333, 'gradeimport/csv:view', 'write', 50, 'gradeimport_csv', 0),
(334, 'gradeimport/xml:view', 'write', 50, 'gradeimport_xml', 0),
(335, 'gradeimport/xml:publish', 'write', 50, 'gradeimport_xml', 0),
(336, 'gradereport/grader:view', 'read', 50, 'gradereport_grader', 8),
(337, 'gradereport/outcomes:view', 'read', 50, 'gradereport_outcomes', 8),
(338, 'gradereport/overview:view', 'read', 50, 'gradereport_overview', 8),
(339, 'gradereport/user:view', 'read', 50, 'gradereport_user', 8),
(340, 'webservice/amf:use', 'read', 50, 'webservice_amf', 62),
(341, 'webservice/rest:use', 'read', 50, 'webservice_rest', 62),
(342, 'webservice/soap:use', 'read', 50, 'webservice_soap', 62),
(343, 'webservice/xmlrpc:use', 'read', 50, 'webservice_xmlrpc', 62),
(344, 'repository/alfresco:view', 'read', 70, 'repository_alfresco', 0),
(345, 'repository/boxnet:view', 'read', 70, 'repository_boxnet', 0),
(346, 'repository/coursefiles:view', 'read', 70, 'repository_coursefiles', 0),
(347, 'repository/dropbox:view', 'read', 70, 'repository_dropbox', 0),
(348, 'repository/filesystem:view', 'read', 70, 'repository_filesystem', 0),
(349, 'repository/flickr:view', 'read', 70, 'repository_flickr', 0),
(350, 'repository/flickr_public:view', 'read', 70, 'repository_flickr_public', 0
),

(351,
(352,
(353,
(354,
(355,
(356,
(357,
(358,
(359,
(360,
(361,
(362,
(363,

'repository/googledocs:view', 'read', 70, 'repository_googledocs', 0),


'repository/local:view', 'read', 70, 'repository_local', 0),
'repository/merlot:view', 'read', 70, 'repository_merlot', 0),
'repository/picasa:view', 'read', 70, 'repository_picasa', 0),
'repository/recent:view', 'read', 70, 'repository_recent', 0),
'repository/s3:view', 'read', 70, 'repository_s3', 0),
'repository/upload:view', 'read', 70, 'repository_upload', 0),
'repository/url:view', 'read', 70, 'repository_url', 0),
'repository/user:view', 'read', 70, 'repository_user', 0),
'repository/webdav:view', 'read', 70, 'repository_webdav', 0),
'repository/wikimedia:view', 'read', 70, 'repository_wikimedia', 0),
'repository/youtube:view', 'read', 70, 'repository_youtube', 0),
'quizreport/statistics:view', 'read', 70, 'quiz_statistics', 0);

-- ---------------------------------------------------------- Table structure for table `mdl_chat`


-CREATE TABLE IF NOT EXISTS `mdl_chat` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`keepdays` bigint(11) NOT NULL DEFAULT '0',
`studentlogs` smallint(4) NOT NULL DEFAULT '0',
`chattime` bigint(10) unsigned NOT NULL DEFAULT '0',
`schedule` smallint(4) NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_chat_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Each of th
ese is a chat room' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_chat_messages`
-CREATE TABLE IF NOT EXISTS `mdl_chat_messages` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`chatid` bigint(10) NOT NULL DEFAULT '0',
`userid` bigint(10) NOT NULL DEFAULT '0',
`groupid` bigint(10) NOT NULL DEFAULT '0',
`system` tinyint(1) unsigned NOT NULL DEFAULT '0',
`message` text COLLATE utf8_unicode_ci NOT NULL,
`timestamp` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_chatmess_use_ix` (`userid`),
KEY `mdl_chatmess_gro_ix` (`groupid`),
KEY `mdl_chatmess_timcha_ix` (`timestamp`,`chatid`),
KEY `mdl_chatmess_cha_ix` (`chatid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores all
the actual chat messages' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_chat_messages_current`


-CREATE TABLE IF NOT EXISTS `mdl_chat_messages_current` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`chatid` bigint(10) NOT NULL DEFAULT '0',
`userid` bigint(10) NOT NULL DEFAULT '0',
`groupid` bigint(10) NOT NULL DEFAULT '0',
`system` tinyint(1) unsigned NOT NULL DEFAULT '0',
`message` text COLLATE utf8_unicode_ci NOT NULL,
`timestamp` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_chatmesscurr_use_ix` (`userid`),
KEY `mdl_chatmesscurr_gro_ix` (`groupid`),
KEY `mdl_chatmesscurr_timcha_ix` (`timestamp`,`chatid`),
KEY `mdl_chatmesscurr_cha_ix` (`chatid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores cur
rent session' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_chat_users`
-CREATE TABLE IF NOT EXISTS `mdl_chat_users` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`chatid` bigint(11) NOT NULL DEFAULT '0',
`userid` bigint(11) NOT NULL DEFAULT '0',
`groupid` bigint(11) NOT NULL DEFAULT '0',
`version` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`ip` varchar(45) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`firstping` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastping` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastmessageping` bigint(10) unsigned NOT NULL DEFAULT '0',
`sid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`lang` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_chatuser_use_ix` (`userid`),
KEY `mdl_chatuser_las_ix` (`lastping`),
KEY `mdl_chatuser_gro_ix` (`groupid`),
KEY `mdl_chatuser_cha_ix` (`chatid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Keeps trac
k of which users are in which chat rooms' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_choice`
-CREATE TABLE IF NOT EXISTS `mdl_choice` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`publish` tinyint(2) unsigned NOT NULL DEFAULT '0',

`showresults` tinyint(2) unsigned NOT NULL DEFAULT '0',


`display` smallint(4) unsigned NOT NULL DEFAULT '0',
`allowupdate` tinyint(2) unsigned NOT NULL DEFAULT '0',
`showunanswered` tinyint(2) unsigned NOT NULL DEFAULT '0',
`limitanswers` tinyint(2) unsigned NOT NULL DEFAULT '0',
`timeopen` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeclose` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`completionsubmit` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_choi_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Available
choices are stored here' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_choice_answers`
-CREATE TABLE IF NOT EXISTS `mdl_choice_answers` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`choiceid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`optionid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_choiansw_use_ix` (`userid`),
KEY `mdl_choiansw_cho_ix` (`choiceid`),
KEY `mdl_choiansw_opt_ix` (`optionid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='choices pe
rformed by users' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_choice_options`
-CREATE TABLE IF NOT EXISTS `mdl_choice_options` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`choiceid` bigint(10) unsigned NOT NULL DEFAULT '0',
`text` text COLLATE utf8_unicode_ci,
`maxanswers` bigint(10) unsigned DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_choiopti_cho_ix` (`choiceid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='available
options to choice' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_cohort`
-CREATE TABLE IF NOT EXISTS `mdl_cohort` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`contextid` bigint(10) unsigned NOT NULL,
`name` varchar(254) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',

`idnumber` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,


`description` text COLLATE utf8_unicode_ci,
`descriptionformat` tinyint(2) unsigned NOT NULL,
`component` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timecreated` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_coho_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Each recor
d represents one cohort (aka site-wide group).' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_cohort_members`
-CREATE TABLE IF NOT EXISTS `mdl_cohort_members` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`cohortid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeadded` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_cohomemb_cohuse_uix` (`cohortid`,`userid`),
KEY `mdl_cohomemb_coh_ix` (`cohortid`),
KEY `mdl_cohomemb_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Link a use
r to a cohort.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_comments`
-CREATE TABLE IF NOT EXISTS `mdl_comments` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`contextid` bigint(10) unsigned NOT NULL,
`commentarea` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemid` bigint(10) unsigned NOT NULL,
`content` text COLLATE utf8_unicode_ci NOT NULL,
`format` tinyint(2) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL,
`timecreated` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='moodle com
ments module' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_config`
-CREATE TABLE IF NOT EXISTS `mdl_config` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_conf_nam_uix` (`name`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Moodle co


nfiguration variables' AUTO_INCREMENT=394 ;
--- Dumping data for table `mdl_config`
-INSERT INTO `mdl_config` (`id`, `name`, `value`) VALUES
(2, 'rolesactive', '1'),
(3, 'auth', 'email'),
(4, 'auth_pop3mailbox', 'INBOX'),
(5, 'enrol_plugins_enabled', 'manual,guest,self,cohort'),
(6, 'theme', 'standard'),
(7, 'filter_multilang_converted', '1'),
(8, 'siteidentifier', '23ZT0m4qQOA57QYBJJURMBUGEAICqN74localhost'),
(9, 'backup_version', '2008111700'),
(10, 'backup_release', '2.0 dev'),
(11, 'mnet_dispatcher_mode', 'off'),
(12, 'sessiontimeout', '7200'),
(13, 'stringfilters', ''),
(14, 'filterall', '0'),
(15, 'texteditors', 'tinymce,textarea'),
(16, 'mnet_localhost_id', '1'),
(17, 'mnet_all_hosts_id', '2'),
(18, 'siteguest', '1'),
(19, 'siteadmins', '2'),
(20, 'themerev', '163'),
(21, 'licenses', 'unknown,allrightsreserved,public,cc,cc-nd,cc-nc-nd,cc-nc,cc-nc
-sa,cc-sa'),
(22, 'version', '2011033010'),
(23, 'enableoutcomes', '0'),
(24, 'usecomments', '1'),
(25, 'usetags', '1'),
(26, 'enablenotes', '1'),
(27, 'enableportfolios', '0'),
(28, 'enablewebservices', '0'),
(29, 'messaging', '1'),
(30, 'messaginghidereadnotifications', '0'),
(31, 'messagingdeletereadnotificationsdelay', '604800'),
(32, 'enablestats', '0'),
(33, 'enablerssfeeds', '0'),
(34, 'bloglevel', '4'),
(35, 'enablecompletion', '0'),
(36, 'enableavailability', '0'),
(37, 'enableplagiarism', '0'),
(38, 'autologinguests', '0'),
(39, 'hiddenuserfields', ''),
(40, 'extrauserselectorfields', 'email'),
(41, 'enablecourserequests', '0'),
(42, 'defaultrequestcategory', '1'),
(43, 'courserequestnotify', ''),
(44, 'grade_profilereport', 'user'),
(45, 'grade_aggregationposition', '1'),
(46, 'grade_includescalesinaggregation', '1'),
(47, 'grade_hiddenasdate', '0'),
(48, 'gradepublishing', '0'),
(49, 'grade_export_displaytype', '1'),
(50, 'grade_export_decimalpoints', '2'),
(51, 'grade_navmethod', '0'),
(52, 'gradeexport', ''),

(53, 'unlimitedgrades', '0'),


(54, 'grade_hideforcedsettings', '1'),
(55, 'grade_aggregation', '11'),
(56, 'grade_aggregation_flag', '0'),
(57, 'grade_aggregations_visible', '0,10,11,12,2,4,6,8,13'),
(58, 'grade_aggregateonlygraded', '1'),
(59, 'grade_aggregateonlygraded_flag', '2'),
(60, 'grade_aggregateoutcomes', '0'),
(61, 'grade_aggregateoutcomes_flag', '2'),
(62, 'grade_aggregatesubcats', '0'),
(63, 'grade_aggregatesubcats_flag', '2'),
(64, 'grade_keephigh', '0'),
(65, 'grade_keephigh_flag', '3'),
(66, 'grade_droplow', '0'),
(67, 'grade_droplow_flag', '2'),
(68, 'grade_displaytype', '1'),
(69, 'grade_decimalpoints', '2'),
(70, 'grade_item_advanced', 'iteminfo,idnumber,gradepass,plusfactor,multfactor,d
isplay,decimals,hiddenuntil,locktime'),
(71, 'grade_report_studentsperpage', '100'),
(72, 'grade_report_quickgrading', '1'),
(73, 'grade_report_showquickfeedback', '0'),
(74, 'grade_report_fixedstudents', '0'),
(75, 'grade_report_meanselection', '1'),
(76, 'grade_report_enableajax', '0'),
(77, 'grade_report_showcalculations', '0'),
(78, 'grade_report_showeyecons', '0'),
(79, 'grade_report_showaverages', '1'),
(80, 'grade_report_showlocks', '0'),
(81, 'grade_report_showranges', '0'),
(82, 'grade_report_showuserimage', '1'),
(83, 'grade_report_showuseridnumber', '0'),
(84, 'grade_report_showactivityicons', '1'),
(85, 'grade_report_shownumberofgrades', '0'),
(86, 'grade_report_averagesdisplaytype', 'inherit'),
(87, 'grade_report_rangesdisplaytype', 'inherit'),
(88, 'grade_report_averagesdecimalpoints', 'inherit'),
(89, 'grade_report_rangesdecimalpoints', 'inherit'),
(90, 'grade_report_overview_showrank', '0'),
(91, 'grade_report_overview_showtotalsifcontainhidden', '0'),
(92, 'grade_report_user_showrank', '0'),
(93, 'grade_report_user_showpercentage', '1'),
(94, 'grade_report_user_showgrade', '1'),
(95, 'grade_report_user_showfeedback', '1'),
(96, 'grade_report_user_showrange', '1'),
(97, 'grade_report_user_showweight', '0'),
(98, 'grade_report_user_showaverage', '0'),
(99, 'grade_report_user_showlettergrade', '0'),
(100, 'grade_report_user_rangedecimals', '0'),
(101, 'grade_report_user_showhiddenitems', '1'),
(102, 'grade_report_user_showtotalsifcontainhidden', '0'),
(103, 'timezone', '99'),
(104, 'forcetimezone', '99'),
(105, 'country', '0'),
(106, 'defaultcity', ''),
(107, 'geoipfile', 'C:\\XAMPP\\htdocs\\moodledata/geoip/GeoLiteCity.dat'),
(108, 'googlemapkey', ''),
(109, 'allcountrycodes', ''),
(110, 'autolang', '1'),
(111, 'lang', 'id'),

(112, 'langmenu', '1'),


(113, 'langlist', ''),
(114, 'langcache', '1'),
(115, 'langstringcache', '1'),
(116, 'locale', ''),
(117, 'latinexcelexport', '0'),
(119, 'guestloginbutton', '1'),
(120, 'alternateloginurl', ''),
(121, 'forgottenpasswordurl', ''),
(122, 'auth_instructions', ''),
(123, 'allowemailaddresses', ''),
(124, 'denyemailaddresses', ''),
(125, 'verifychangedemail', '1'),
(126, 'recaptchapublickey', ''),
(127, 'recaptchaprivatekey', ''),
(128, 'sitedefaultlicense', 'allrightsreserved'),
(129, 'cachetext', '60'),
(130, 'filteruploadedfiles', '0'),
(131, 'filtermatchoneperpage', '0'),
(132, 'filtermatchonepertext', '0'),
(133, 'filter_multilang_force_old', '0'),
(134, 'filter_mediaplugin_enable_youtube', '1'),
(135, 'filter_mediaplugin_enable_vimeo', '0'),
(136, 'filter_mediaplugin_enable_mp3', '1'),
(137, 'filter_mediaplugin_enable_flv', '1'),
(138, 'filter_mediaplugin_enable_swf', '1'),
(139, 'filter_mediaplugin_enable_html5audio', '0'),
(140, 'filter_mediaplugin_enable_html5video', '0'),
(141, 'filter_mediaplugin_enable_qt', '1'),
(142, 'filter_mediaplugin_enable_wmp', '1'),
(143, 'filter_mediaplugin_enable_rm', '1'),
(144, 'filter_tex_latexpreamble', '\\usepackage[latin1]{inputenc}\n\\usepackage{
amsmath}\n\\usepackage{amsfonts}\n\\RequirePackage{amsmath,amssymb,latexsym}\n')
,
(145, 'filter_tex_latexbackground', '#FFFFFF'),
(146, 'filter_tex_density', '120'),
(147, 'filter_tex_pathlatex', '"c:\\texmf\\miktex\\bin\\latex.exe" '),
(148, 'filter_tex_pathdvips', '"c:\\texmf\\miktex\\bin\\dvips.exe" '),
(149, 'filter_tex_pathconvert', '"c:\\imagemagick\\convert.exe" '),
(150, 'filter_tex_convertformat', 'gif'),
(151, 'filter_censor_badwords', ''),
(152, 'portfolio_moderate_filesize_threshold', '1048576'),
(153, 'portfolio_high_filesize_threshold', '5242880'),
(154, 'portfolio_moderate_db_threshold', '20'),
(155, 'portfolio_high_db_threshold', '50'),
(156, 'repositorycacheexpire', '120'),
(157, 'repositoryallowexternallinks', '1'),
(158, 'legacyfilesinnewcourses', '0'),
(159, 'enablewsdocumentation', '0'),
(160, 'allowbeforeblock', '0'),
(161, 'allowedip', ''),
(162, 'blockedip', ''),
(163, 'protectusernames', '1'),
(164, 'forcelogin', '0'),
(165, 'forceloginforprofiles', '1'),
(166, 'forceloginforprofileimage', '0'),
(167, 'opentogoogle', '0'),
(168, 'maxbytes', '0'),
(169, 'userquota', '104857600'),
(170, 'enablehtmlpurifier', '1'),

(171, 'allowobjectembed', '0'),


(172, 'enabletrusttext', '0'),
(173, 'maxeditingtime', '1800'),
(174, 'fullnamedisplay', 'language'),
(175, 'extendedusernamechars', '0'),
(176, 'sitepolicy', ''),
(177, 'sitepolicyguest', ''),
(178, 'keeptagnamecase', '1'),
(179, 'profilesforenrolledusersonly', '1'),
(180, 'cronclionly', '0'),
(181, 'cronremotepassword', ''),
(182, 'passwordpolicy', '1'),
(183, 'minpasswordlength', '8'),
(184, 'minpassworddigits', '1'),
(185, 'minpasswordlower', '1'),
(186, 'minpasswordupper', '1'),
(187, 'minpasswordnonalphanum', '1'),
(188, 'maxconsecutiveidentchars', '0'),
(189, 'groupenrolmentkeypolicy', '1'),
(190, 'disableuserimages', '0'),
(191, 'emailchangeconfirmation', '1'),
(192, 'strictformsrequired', '0'),
(193, 'loginhttps', '0'),
(194, 'cookiesecure', '0'),
(195, 'cookiehttponly', '0'),
(196, 'excludeoldflashclients', '10.0.12'),
(197, 'loginpasswordautocomplete', '0'),
(198, 'restrictmodulesfor', 'none'),
(199, 'restrictbydefault', '0'),
(200, 'displayloginfailures', ''),
(201, 'notifyloginfailures', ''),
(202, 'notifyloginthreshold', '10'),
(203, 'runclamonupload', '0'),
(204, 'pathtoclam', ''),
(205, 'quarantinedir', ''),
(206, 'clamfailureonupload', 'donothing'),
(207, 'themelist', ''),
(208, 'themedesignermode', '0'),
(209, 'allowuserthemes', '0'),
(210, 'allowcoursethemes', '0'),
(211, 'allowcategorythemes', '0'),
(212, 'allowthemechangeonurl', '0'),
(213, 'allowuserblockhiding', '1'),
(214, 'allowblockstodock', '1'),
(215, 'custommenuitems', ''),
(216, 'calendar_adminseesall', '0'),
(217, 'calendar_site_timeformat', '0'),
(218, 'calendar_startwday', '0'),
(219, 'calendar_weekend', '65'),
(220, 'calendar_lookahead', '21'),
(221, 'calendar_maxevents', '10'),
(222, 'enablecalendarexport', '1'),
(223, 'calendar_exportsalt', 'n9lp2FrYIQhQzwtLO4Qtdw32sxCf2qlcySTDUf0KdMXSjAhXel
6q4xYiLtUH'),
(224, 'useblogassociations', '1'),
(225, 'useexternalblogs', '1'),
(226, 'externalblogcrontime', '86400'),
(227, 'maxexternalblogsperuser', '1'),
(228, 'blogusecomments', '1'),
(229, 'blogshowcommentscount', '1'),

(230, 'defaulthomepage', '0'),


(231, 'navshowcategories', '1'),
(232, 'navshowallcourses', '0'),
(233, 'navcourselimit', '20'),
(234, 'formatstringstriptags', '1'),
(235, 'emoticons', '[{"text":":-)","imagename":"s\\/smiley","imagecomponent":"co
re","altidentifier":"smiley","altcomponent":"core_pix"},{"text":":)","imagename"
:"s\\/smiley","imagecomponent":"core","altidentifier":"smiley","altcomponent":"c
ore_pix"},{"text":":-D","imagename":"s\\/biggrin","imagecomponent":"core","altid
entifier":"biggrin","altcomponent":"core_pix"},{"text":";-)","imagename":"s\\/wi
nk","imagecomponent":"core","altidentifier":"wink","altcomponent":"core_pix"},{"
text":":-\\/","imagename":"s\\/mixed","imagecomponent":"core","altidentifier":"m
ixed","altcomponent":"core_pix"},{"text":"V-.","imagename":"s\\/thoughtful","ima
gecomponent":"core","altidentifier":"thoughtful","altcomponent":"core_pix"},{"te
xt":":-P","imagename":"s\\/tongueout","imagecomponent":"core","altidentifier":"t
ongueout","altcomponent":"core_pix"},{"text":":-p","imagename":"s\\/tongueout","
imagecomponent":"core","altidentifier":"tongueout","altcomponent":"core_pix"},{"
text":"B-)","imagename":"s\\/cool","imagecomponent":"core","altidentifier":"cool
","altcomponent":"core_pix"},{"text":"^-)","imagename":"s\\/approve","imagecompo
nent":"core","altidentifier":"approve","altcomponent":"core_pix"},{"text":"8-)",
"imagename":"s\\/wideeyes","imagecomponent":"core","altidentifier":"wideeyes","a
ltcomponent":"core_pix"},{"text":":o)","imagename":"s\\/clown","imagecomponent":
"core","altidentifier":"clown","altcomponent":"core_pix"},{"text":":-(","imagena
me":"s\\/sad","imagecomponent":"core","altidentifier":"sad","altcomponent":"core
_pix"},{"text":":(","imagename":"s\\/sad","imagecomponent":"core","altidentifier
":"sad","altcomponent":"core_pix"},{"text":"8-.","imagename":"s\\/shy","imagecom
ponent":"core","altidentifier":"shy","altcomponent":"core_pix"},{"text":":-I","i
magename":"s\\/blush","imagecomponent":"core","altidentifier":"blush","altcompon
ent":"core_pix"},{"text":":-X","imagename":"s\\/kiss","imagecomponent":"core","a
ltidentifier":"kiss","altcomponent":"core_pix"},{"text":"8-o","imagename":"s\\/s
urprise","imagecomponent":"core","altidentifier":"surprise","altcomponent":"core
_pix"},{"text":"P-|","imagename":"s\\/blackeye","imagecomponent":"core","altiden
tifier":"blackeye","altcomponent":"core_pix"},{"text":"8-[","imagename":"s\\/ang
ry","imagecomponent":"core","altidentifier":"angry","altcomponent":"core_pix"},{
"text":"(grr)","imagename":"s\\/angry","imagecomponent":"core","altidentifier":"
angry","altcomponent":"core_pix"},{"text":"xx-P","imagename":"s\\/dead","imageco
mponent":"core","altidentifier":"dead","altcomponent":"core_pix"},{"text":"|-.",
"imagename":"s\\/sleepy","imagecomponent":"core","altidentifier":"sleepy","altco
mponent":"core_pix"},{"text":"}-]","imagename":"s\\/evil","imagecomponent":"core
","altidentifier":"evil","altcomponent":"core_pix"},{"text":"(h)","imagename":"s
\\/heart","imagecomponent":"core","altidentifier":"heart","altcomponent":"core_p
ix"},{"text":"(heart)","imagename":"s\\/heart","imagecomponent":"core","altident
ifier":"heart","altcomponent":"core_pix"},{"text":"(y)","imagename":"s\\/yes","i
magecomponent":"core","altidentifier":"yes","altcomponent":"core"},{"text":"(n)"
,"imagename":"s\\/no","imagecomponent":"core","altidentifier":"no","altcomponent
":"core"},{"text":"(martin)","imagename":"s\\/martin","imagecomponent":"core","a
ltidentifier":"martin","altcomponent":"core_pix"},{"text":"( )","imagename":"s\\
/egg","imagecomponent":"core","altidentifier":"egg","altcomponent":"core_pix"}]'
),
(236, 'docroot', 'http://docs.moodle.org'),
(237, 'doctonewwindow', '0'),
(238, 'enableajax', '1'),
(239, 'useexternalyui', '0'),
(240, 'yuicomboloading', '1'),
(241, 'cachejs', '1'),
(242, 'enablecourseajax', '1'),
(243, 'additionalhtmlhead', ''),
(244, 'additionalhtmltopofbody', ''),
(245, 'additionalhtmlfooter', ''),
(246, 'gdversion', '2'),

(247,
(248,
(249,
(250,
(251,
(252,
(253,
(254,
(255,
(256,
(257,
(258,
(259,
(260,
(261,
(262,
(263,
(264,
(265,
(266,
(267,
(268,
(269,
(270,
(271,
(272,
(273,
(274,
(275,
(276,
(277,
(278,
(279,
(280,
(281,
(282,
(283,
(284,
(285,
(286,
(287,
(288,
(289,
(290,
(291,
(292,
(293,
(294,
(295,
(296,
(297,
(298,
(299,
(300,
(301,
(302,
(303,
(304,
(305,
(306,

'pathtodu', ''),
'aspellpath', ''),
'pathtodot', ''),
'smtphosts', ''),
'smtpuser', ''),
'smtppass', ''),
'smtpmaxbulk', '1'),
'noreplyaddress', 'noreply@localhost'),
'digestmailtime', '17'),
'sitemailcharset', '0'),
'allowusermailcharset', '0'),
'mailnewline', 'LF'),
'supportpage', ''),
'jabberhost', ''),
'jabberserver', ''),
'jabberusername', ''),
'jabberpassword', ''),
'jabberport', '5222'),
'dbsessions', '1'),
'sessioncookie', ''),
'sessioncookiepath', '/'),
'sessioncookiedomain', ''),
'statsfirstrun', 'none'),
'statsmaxruntime', '0'),
'statsruntimedays', '31'),
'statsruntimestarthour', '0'),
'statsruntimestartminute', '0'),
'statsuserthreshold', '0'),
'framename', '_top'),
'slasharguments', '1'),
'getremoteaddrconf', '0'),
'proxyhost', ''),
'proxyport', '0'),
'proxytype', 'HTTP'),
'proxyuser', ''),
'proxypassword', ''),
'proxybypass', 'localhost, 127.0.0.1'),
'maintenance_enabled', '0'),
'maintenance_message', ''),
'deleteunconfirmed', '168'),
'deleteincompleteusers', '0'),
'logguests', '1'),
'loglifetime', '0'),
'disablegradehistory', '0'),
'gradehistorylifetime', '0'),
'numcoursesincombo', '500'),
'extramemorylimit', '512M'),
'curlcache', '120'),
'curltimeoutkbitrate', '56'),
'enableglobalsearch', '0'),
'enablesafebrowserintegration', '0'),
'enablegroupmembersonly', '0'),
'debug', '0'),
'debugdisplay', '1'),
'xmlstrictheaders', '0'),
'debugsmtp', '0'),
'perfdebug', '7'),
'debugstringids', '0'),
'debugvalidators', '0'),
'debugpageinfo', '0'),

(307,
(308,
(310,
(311,
(312,
(313,
(314,
(315,
(316,
(317,
(318,
(319,
(320,
(321,
(322,
(323,
(324,
(325,
(326,
(327,
(328,
(329,
(330,
(331,
(332,
(333,
(334,
(335,
(336,
(337,
(338,
(339,
(340,
(341,
(342,
(343,
(344,
(345,
(346,
(347,
(348,
(349,
(350,
(351,
(352,
(353,
(354,
(355,
(356,
(357,
(358,
(359,
(360,
(361,
(362,
(363,
(364,
(365,
(366,
(367,

'release', '2.0.10 (Build: 20120706)'),


'jsrev', '162'),
'notloggedinroleid', '6'),
'guestroleid', '6'),
'defaultuserroleid', '7'),
'creatornewroleid', '3'),
'gradebookroles', '5'),
'assignment_maxbytes', '1048576'),
'assignment_itemstocount', '1'),
'assignment_showrecentsubmissions', '1'),
'chat_method', 'ajax'),
'chat_refresh_userlist', '10'),
'chat_old_ping', '35'),
'chat_refresh_room', '5'),
'chat_normal_updatemode', 'jsupdate'),
'chat_serverhost', 'localhost'),
'chat_serverip', '127.0.0.1'),
'chat_serverport', '9111'),
'chat_servermax', '100'),
'data_enablerssfeeds', '0'),
'feedback_allowfullanonymous', '0'),
'forum_displaymode', '3'),
'forum_replytouser', '1'),
'forum_shortpost', '300'),
'forum_longpost', '600'),
'forum_manydiscussions', '100'),
'forum_maxbytes', '512000'),
'forum_maxattachments', '9'),
'forum_trackreadposts', '1'),
'forum_oldpostdays', '14'),
'forum_usermarksread', '0'),
'forum_cleanreadtime', '2'),
'forum_enablerssfeeds', '0'),
'forum_enabletimedposts', '0'),
'glossary_entbypage', '10'),
'glossary_dupentries', '0'),
'glossary_allowcomments', '0'),
'glossary_linkbydefault', '1'),
'glossary_defaultapproval', '1'),
'glossary_enablerssfeeds', '0'),
'glossary_linkentries', '0'),
'glossary_casesensitive', '0'),
'glossary_fullmatch', '0'),
'lesson_slideshowwidth', '640'),
'lesson_slideshowheight', '480'),
'lesson_slideshowbgcolor', '#FFFFFF'),
'lesson_mediawidth', '640'),
'lesson_mediaheight', '480'),
'lesson_mediaclose', '0'),
'lesson_maxhighscores', '10'),
'lesson_maxanswers', '4'),
'lesson_defaultnextpage', '0'),
'block_course_list_adminview', 'all'),
'block_course_list_hideallcourseslink', '0'),
'block_online_users_timetosee', '5'),
'block_rss_client_num_entries', '5'),
'block_rss_client_timeout', '30'),
'block_search_enable_file_indexing', '0'),
'block_search_filetypes', 'PDF,TXT,HTML,PPT,XML,DOC,HTM'),
'block_search_usemoodleroot', '1'),

(368, 'block_search_limit_index_body', '0'),


(369, 'block_search_pdf_to_text_cmd', 'lib/xpdf/win32/pdftotext.exe -eol dos -en
c UTF-8 -q'),
(370, 'block_search_word_to_text_cmd', 'lib/antiword/win32/antiword/antiword.exe
'),
(371, 'block_search_word_to_text_env', 'HOME=C:\\XAMPP\\htdocs\\web62_CMS\\moodl
e2.0\\lib\\antiword\\win32'),
(372, 'search_in_assignment', '1'),
(373, 'search_in_chat', '1'),
(374, 'search_in_data', '1'),
(375, 'search_in_forum', '1'),
(376, 'search_in_glossary', '1'),
(377, 'search_in_label', '1'),
(378, 'search_in_lesson', '1'),
(379, 'search_in_resource', '1'),
(380, 'search_in_wiki', '1'),
(381, 'block_tags_showcoursetags', '0'),
(382, 'profileroles', '5,4,3'),
(383, 'defaultallowedmodules', ''),
(384, 'coursecontact', '3'),
(385, 'frontpage', '1'),
(386, 'frontpageloggedin', '1'),
(387, 'maxcategorydepth', '0'),
(388, 'commentsperpage', '15'),
(389, 'coursesperpage', '20'),
(390, 'defaultfrontpageroleid', '8'),
(391, 'supportname', 'Admin62 smpn62'),
(392, 'supportemail', 'smpn62jakarta@gmail.com'),
(393, 'registerauth', '');
-- ---------------------------------------------------------- Table structure for table `mdl_config_log`
-CREATE TABLE IF NOT EXISTS `mdl_config_log` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
`plugin` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` text COLLATE utf8_unicode_ci,
`oldvalue` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `mdl_conflog_tim_ix` (`timemodified`),
KEY `mdl_conflog_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Changes d
one in server configuration through admin UI' AUTO_INCREMENT=702 ;
--- Dumping data for table `mdl_config_log`
-INSERT INTO `mdl_config_log` (`id`, `userid`, `timemodified`, `plugin`, `name`,
`value`, `oldvalue`) VALUES
(1, 0, 1441540970, NULL, 'enableoutcomes', '0', NULL),
(2, 0, 1441540970, NULL, 'usecomments', '1', NULL),
(3, 0, 1441540970, NULL, 'usetags', '1', NULL),
(4, 0, 1441540970, NULL, 'enablenotes', '1', NULL),

(5, 0, 1441540970, NULL, 'enableportfolios', '0', NULL),


(6, 0, 1441540970, NULL, 'enablewebservices', '0', NULL),
(7, 0, 1441540970, NULL, 'messaging', '1', NULL),
(8, 0, 1441540970, NULL, 'messaginghidereadnotifications', '0', NULL),
(9, 0, 1441540970, NULL, 'messagingdeletereadnotificationsdelay', '604800', NULL
),
(10, 0, 1441540971, NULL, 'enablestats', '0', NULL),
(11, 0, 1441540971, NULL, 'enablerssfeeds', '0', NULL),
(12, 0, 1441540971, NULL, 'bloglevel', '4', NULL),
(13, 0, 1441540971, NULL, 'enablecompletion', '0', NULL),
(14, 0, 1441540971, NULL, 'enableavailability', '0', NULL),
(15, 0, 1441540971, NULL, 'enableplagiarism', '0', NULL),
(16, 0, 1441540971, NULL, 'autologinguests', '0', NULL),
(17, 0, 1441540971, NULL, 'hiddenuserfields', '', NULL),
(18, 0, 1441540971, NULL, 'extrauserselectorfields', 'email', NULL),
(19, 0, 1441540971, 'moodlecourse', 'format', 'weeks', NULL),
(20, 0, 1441540971, 'moodlecourse', 'numsections', '10', NULL),
(21, 0, 1441540971, 'moodlecourse', 'hiddensections', '0', NULL),
(22, 0, 1441540971, 'moodlecourse', 'newsitems', '5', NULL),
(23, 0, 1441540971, 'moodlecourse', 'showgrades', '1', NULL),
(24, 0, 1441540971, 'moodlecourse', 'showreports', '0', NULL),
(25, 0, 1441540971, 'moodlecourse', 'maxbytes', '2097152', NULL),
(26, 0, 1441540972, 'moodlecourse', 'groupmode', '0', NULL),
(27, 0, 1441540972, 'moodlecourse', 'groupmodeforce', '0', NULL),
(28, 0, 1441540972, 'moodlecourse', 'visible', '1', NULL),
(29, 0, 1441540972, 'moodlecourse', 'lang', '', NULL),
(30, 0, 1441540972, 'moodlecourse', 'enablecompletion', '0', NULL),
(31, 0, 1441540972, 'moodlecourse', 'completionstartonenrol', '0', NULL),
(32, 0, 1441540972, NULL, 'enablecourserequests', '0', NULL),
(33, 0, 1441540972, NULL, 'defaultrequestcategory', '1', NULL),
(34, 0, 1441540972, NULL, 'courserequestnotify', '', NULL),
(35, 0, 1441540972, 'backup', 'backup_general_users', '1', NULL),
(36, 0, 1441540972, 'backup', 'backup_general_users_locked', '0', NULL),
(37, 0, 1441540972, 'backup', 'backup_general_anonymize', '0', NULL),
(38, 0, 1441540972, 'backup', 'backup_general_anonymize_locked', '0', NULL),
(39, 0, 1441540972, 'backup', 'backup_general_role_assignments', '1', NULL),
(40, 0, 1441540973, 'backup', 'backup_general_role_assignments_locked', '0', NUL
L),
(41, 0, 1441540973, 'backup', 'backup_general_activities', '1', NULL),
(42, 0, 1441540973, 'backup', 'backup_general_activities_locked', '0', NULL),
(43, 0, 1441540973, 'backup', 'backup_general_blocks', '1', NULL),
(44, 0, 1441540973, 'backup', 'backup_general_blocks_locked', '0', NULL),
(45, 0, 1441540973, 'backup', 'backup_general_filters', '1', NULL),
(46, 0, 1441540973, 'backup', 'backup_general_filters_locked', '0', NULL),
(47, 0, 1441540973, 'backup', 'backup_general_comments', '1', NULL),
(48, 0, 1441540973, 'backup', 'backup_general_comments_locked', '0', NULL),
(49, 0, 1441540973, 'backup', 'backup_general_userscompletion', '1', NULL),
(50, 0, 1441540973, 'backup', 'backup_general_userscompletion_locked', '0', NULL
),
(51, 0, 1441540973, 'backup', 'backup_general_logs', '0', NULL),
(52, 0, 1441540973, 'backup', 'backup_general_logs_locked', '0', NULL),
(53, 0, 1441540973, 'backup', 'backup_general_histories', '0', NULL),
(54, 0, 1441540973, 'backup', 'backup_general_histories_locked', '0', NULL),
(55, 0, 1441540973, 'backup', 'backup_auto_active', '0', NULL),
(56, 0, 1441540973, 'backup', 'backup_auto_weekdays', '0000000', NULL),
(57, 0, 1441540973, 'backup', 'backup_auto_hour', '0', NULL),
(58, 0, 1441540973, 'backup', 'backup_auto_minute', '0', NULL),
(59, 0, 1441540974, 'backup', 'backup_auto_storage', '0', NULL),
(60, 0, 1441540974, 'backup', 'backup_auto_destination', '', NULL),
(61, 0, 1441540974, 'backup', 'backup_auto_keep', '1', NULL),

(62, 0, 1441540974, 'backup', 'backup_auto_users', '1', NULL),


(63, 0, 1441540974, 'backup', 'backup_auto_role_assignments', '1', NULL),
(64, 0, 1441540974, 'backup', 'backup_auto_activities', '1', NULL),
(65, 0, 1441540974, 'backup', 'backup_auto_blocks', '1', NULL),
(66, 0, 1441540974, 'backup', 'backup_auto_filters', '1', NULL),
(67, 0, 1441540974, 'backup', 'backup_auto_comments', '1', NULL),
(68, 0, 1441540974, 'backup', 'backup_auto_userscompletion', '1', NULL),
(69, 0, 1441540974, 'backup', 'backup_auto_logs', '0', NULL),
(70, 0, 1441540974, 'backup', 'backup_auto_histories', '0', NULL),
(71, 0, 1441540974, NULL, 'grade_profilereport', 'user', NULL),
(72, 0, 1441540974, NULL, 'grade_aggregationposition', '1', NULL),
(73, 0, 1441540974, NULL, 'grade_includescalesinaggregation', '1', NULL),
(74, 0, 1441540975, NULL, 'grade_hiddenasdate', '0', NULL),
(75, 0, 1441540975, NULL, 'gradepublishing', '0', NULL),
(76, 0, 1441540975, NULL, 'grade_export_displaytype', '1', NULL),
(77, 0, 1441540975, NULL, 'grade_export_decimalpoints', '2', NULL),
(78, 0, 1441540975, NULL, 'grade_navmethod', '0', NULL),
(79, 0, 1441540975, NULL, 'gradeexport', '', NULL),
(80, 0, 1441540975, NULL, 'unlimitedgrades', '0', NULL),
(81, 0, 1441540975, NULL, 'grade_hideforcedsettings', '1', NULL),
(82, 0, 1441540975, NULL, 'grade_aggregation', '11', NULL),
(83, 0, 1441540975, NULL, 'grade_aggregation_flag', '0', NULL),
(84, 0, 1441540975, NULL, 'grade_aggregations_visible', '0,10,11,12,2,4,6,8,13',
NULL),
(85, 0, 1441540975, NULL, 'grade_aggregateonlygraded', '1', NULL),
(86, 0, 1441540975, NULL, 'grade_aggregateonlygraded_flag', '2', NULL),
(87, 0, 1441540976, NULL, 'grade_aggregateoutcomes', '0', NULL),
(88, 0, 1441540976, NULL, 'grade_aggregateoutcomes_flag', '2', NULL),
(89, 0, 1441540976, NULL, 'grade_aggregatesubcats', '0', NULL),
(90, 0, 1441540976, NULL, 'grade_aggregatesubcats_flag', '2', NULL),
(91, 0, 1441540976, NULL, 'grade_keephigh', '0', NULL),
(92, 0, 1441540976, NULL, 'grade_keephigh_flag', '3', NULL),
(93, 0, 1441540976, NULL, 'grade_droplow', '0', NULL),
(94, 0, 1441540976, NULL, 'grade_droplow_flag', '2', NULL),
(95, 0, 1441540976, NULL, 'grade_displaytype', '1', NULL),
(96, 0, 1441540976, NULL, 'grade_decimalpoints', '2', NULL),
(97, 0, 1441540976, NULL, 'grade_item_advanced', 'iteminfo,idnumber,gradepass,pl
usfactor,multfactor,display,decimals,hiddenuntil,locktime', NULL),
(98, 0, 1441540976, NULL, 'grade_report_studentsperpage', '100', NULL),
(99, 0, 1441540976, NULL, 'grade_report_quickgrading', '1', NULL),
(100, 0, 1441540976, NULL, 'grade_report_showquickfeedback', '0', NULL),
(101, 0, 1441540976, NULL, 'grade_report_fixedstudents', '0', NULL),
(102, 0, 1441540976, NULL, 'grade_report_meanselection', '1', NULL),
(103, 0, 1441540976, NULL, 'grade_report_enableajax', '0', NULL),
(104, 0, 1441540976, NULL, 'grade_report_showcalculations', '0', NULL),
(105, 0, 1441540977, NULL, 'grade_report_showeyecons', '0', NULL),
(106, 0, 1441540977, NULL, 'grade_report_showaverages', '1', NULL),
(107, 0, 1441540977, NULL, 'grade_report_showlocks', '0', NULL),
(108, 0, 1441540977, NULL, 'grade_report_showranges', '0', NULL),
(109, 0, 1441540977, NULL, 'grade_report_showuserimage', '1', NULL),
(110, 0, 1441540977, NULL, 'grade_report_showuseridnumber', '0', NULL),
(111, 0, 1441540977, NULL, 'grade_report_showactivityicons', '1', NULL),
(112, 0, 1441540977, NULL, 'grade_report_shownumberofgrades', '0', NULL),
(113, 0, 1441540977, NULL, 'grade_report_averagesdisplaytype', 'inherit', NULL),
(114, 0, 1441540977, NULL, 'grade_report_rangesdisplaytype', 'inherit', NULL),
(115, 0, 1441540977, NULL, 'grade_report_averagesdecimalpoints', 'inherit', NULL
),
(116, 0, 1441540977, NULL, 'grade_report_rangesdecimalpoints', 'inherit', NULL),
(117, 0, 1441540977, NULL, 'grade_report_overview_showrank', '0', NULL),
(118, 0, 1441540977, NULL, 'grade_report_overview_showtotalsifcontainhidden', '0

', NULL),
(119, 0, 1441540977, NULL, 'grade_report_user_showrank', '0', NULL),
(120, 0, 1441540977, NULL, 'grade_report_user_showpercentage', '1', NULL),
(121, 0, 1441540977, NULL, 'grade_report_user_showgrade', '1', NULL),
(122, 0, 1441540977, NULL, 'grade_report_user_showfeedback', '1', NULL),
(123, 0, 1441540977, NULL, 'grade_report_user_showrange', '1', NULL),
(124, 0, 1441540977, NULL, 'grade_report_user_showweight', '0', NULL),
(125, 0, 1441540978, NULL, 'grade_report_user_showaverage', '0', NULL),
(126, 0, 1441540978, NULL, 'grade_report_user_showlettergrade', '0', NULL),
(127, 0, 1441540978, NULL, 'grade_report_user_rangedecimals', '0', NULL),
(128, 0, 1441540978, NULL, 'grade_report_user_showhiddenitems', '1', NULL),
(129, 0, 1441540978, NULL, 'grade_report_user_showtotalsifcontainhidden', '0', N
ULL),
(130, 0, 1441540978, NULL, 'timezone', '99', NULL),
(131, 0, 1441540978, NULL, 'forcetimezone', '99', NULL),
(132, 0, 1441540978, NULL, 'country', '0', NULL),
(133, 0, 1441540978, NULL, 'defaultcity', '', NULL),
(134, 0, 1441540978, NULL, 'geoipfile', 'C:\\XAMPP\\htdocs\\moodledata/geoip/Geo
LiteCity.dat', NULL),
(135, 0, 1441540978, NULL, 'googlemapkey', '', NULL),
(136, 0, 1441540978, NULL, 'allcountrycodes', '', NULL),
(137, 0, 1441540978, NULL, 'autolang', '1', NULL),
(138, 0, 1441540978, NULL, 'lang', 'id', NULL),
(139, 0, 1441540978, NULL, 'langmenu', '1', NULL),
(140, 0, 1441540978, NULL, 'langlist', '', NULL),
(141, 0, 1441540979, NULL, 'langcache', '1', NULL),
(142, 0, 1441540979, NULL, 'langstringcache', '1', NULL),
(143, 0, 1441540979, NULL, 'locale', '', NULL),
(144, 0, 1441540979, NULL, 'latinexcelexport', '0', NULL),
(145, 0, 1441540979, NULL, 'registerauth', '', NULL),
(146, 0, 1441540979, NULL, 'guestloginbutton', '1', NULL),
(147, 0, 1441540979, NULL, 'alternateloginurl', '', NULL),
(148, 0, 1441540979, NULL, 'forgottenpasswordurl', '', NULL),
(149, 0, 1441540979, NULL, 'auth_instructions', '', NULL),
(150, 0, 1441540979, NULL, 'allowemailaddresses', '', NULL),
(151, 0, 1441540979, NULL, 'denyemailaddresses', '', NULL),
(152, 0, 1441540979, NULL, 'verifychangedemail', '1', NULL),
(153, 0, 1441540979, NULL, 'recaptchapublickey', '', NULL),
(154, 0, 1441540980, NULL, 'recaptchaprivatekey', '', NULL),
(155, 0, 1441540980, 'enrol_database', 'dbtype', '', NULL),
(156, 0, 1441540980, 'enrol_database', 'dbhost', 'localhost', NULL),
(157, 0, 1441540980, 'enrol_database', 'dbuser', '', NULL),
(158, 0, 1441540980, 'enrol_database', 'dbpass', '', NULL),
(159, 0, 1441540980, 'enrol_database', 'dbname', '', NULL),
(160, 0, 1441540980, 'enrol_database', 'dbencoding', 'utf-8', NULL),
(161, 0, 1441540980, 'enrol_database', 'dbsetupsql', '', NULL),
(162, 0, 1441540980, 'enrol_database', 'dbsybasequoting', '0', NULL),
(163, 0, 1441540980, 'enrol_database', 'debugdb', '0', NULL),
(164, 0, 1441540980, 'enrol_database', 'localcoursefield', 'idnumber', NULL),
(165, 0, 1441540980, 'enrol_database', 'localuserfield', 'idnumber', NULL),
(166, 0, 1441540980, 'enrol_database', 'localrolefield', 'shortname', NULL),
(167, 0, 1441540980, 'enrol_database', 'remoteenroltable', '', NULL),
(168, 0, 1441540980, 'enrol_database', 'remotecoursefield', '', NULL),
(169, 0, 1441540980, 'enrol_database', 'remoteuserfield', '', NULL),
(170, 0, 1441540980, 'enrol_database', 'remoterolefield', '', NULL),
(171, 0, 1441540980, 'enrol_database', 'ignorehiddencourses', '0', NULL),
(172, 0, 1441540980, 'enrol_database', 'unenrolaction', '0', NULL),
(173, 0, 1441540980, 'enrol_database', 'newcoursetable', '', NULL),
(174, 0, 1441540981, 'enrol_database', 'newcoursefullname', 'fullname', NULL),
(175, 0, 1441540981, 'enrol_database', 'newcourseshortname', 'shortname', NULL),

(176,
(177,
(178,
(179,
(180,
(181,
(182,
(183,
(184,
(185,
(186,
(187,
(188,
(189,
(190,
(191,
(192,
(193,
(194,
(195,
(196,
(197,
(198,
(199,
(200,
(201,
(202,
(203,
(204,
(205,
(206,
(207,
(208,
(209,
(210,
(211,
(212,
(213,
(214,
(215,
(216,
(217,
(218,
(219,
(220,
(221,
(222,
(223,
(224,
(225,
(226,
(227,
(228,
(229,
(230,
(231,
(232,
(233,
(234,
(235,

0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,

1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540981,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540982,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540983,
1441540984,
1441540984,
1441540984,
1441540984,
1441540984,
1441540984,
1441540984,
1441540984,
1441540984,

'enrol_database', 'newcourseidnumber', 'idnumber', NULL),


'enrol_database', 'newcoursecategory', '', NULL),
'enrol_database', 'templatecourse', '', NULL),
'enrol_flatfile', 'location', '', NULL),
'enrol_flatfile', 'mailstudents', '0', NULL),
'enrol_flatfile', 'mailteachers', '0', NULL),
'enrol_flatfile', 'mailadmins', '0', NULL),
'enrol_guest', 'requirepassword', '0', NULL),
'enrol_guest', 'usepasswordpolicy', '0', NULL),
'enrol_guest', 'showhint', '0', NULL),
'enrol_guest', 'defaultenrol', '1', NULL),
'enrol_guest', 'status', '1', NULL),
'enrol_guest', 'status_adv', '0', NULL),
'enrol_imsenterprise', 'imsfilelocation', '', NULL),
'enrol_imsenterprise', 'logtolocation', '', NULL),
'enrol_imsenterprise', 'mailadmins', '0', NULL),
'enrol_imsenterprise', 'createnewusers', '0', NULL),
'enrol_imsenterprise', 'imsdeleteusers', '0', NULL),
'enrol_imsenterprise', 'fixcaseusernames', '0', NULL),
'enrol_imsenterprise', 'fixcasepersonalnames', '0', NULL),
'enrol_imsenterprise', 'imssourcedidfallback', '0', NULL),
'enrol_imsenterprise', 'truncatecoursecodes', '0', NULL),
'enrol_imsenterprise', 'createnewcourses', '0', NULL),
'enrol_imsenterprise', 'createnewcategories', '0', NULL),
'enrol_imsenterprise', 'imsunenrol', '0', NULL),
'enrol_imsenterprise', 'imsrestricttarget', '', NULL),
'enrol_imsenterprise', 'imscapitafix', '0', NULL),
'enrol_manual', 'defaultenrol', '1', NULL),
'enrol_manual', 'status', '0', NULL),
'enrol_manual', 'enrolperiod', '0', NULL),
'enrol_paypal', 'paypalbusiness', '', NULL),
'enrol_paypal', 'mailstudents', '0', NULL),
'enrol_paypal', 'mailteachers', '0', NULL),
'enrol_paypal', 'mailadmins', '0', NULL),
'enrol_paypal', 'status', '1', NULL),
'enrol_paypal', 'cost', '0', NULL),
'enrol_paypal', 'currency', 'USD', NULL),
'enrol_paypal', 'enrolperiod', '0', NULL),
'enrol_self', 'requirepassword', '0', NULL),
'enrol_self', 'usepasswordpolicy', '0', NULL),
'enrol_self', 'showhint', '0', NULL),
'enrol_self', 'defaultenrol', '1', NULL),
'enrol_self', 'status', '1', NULL),
'enrol_self', 'groupkey', '0', NULL),
'enrol_self', 'enrolperiod', '0', NULL),
'enrol_self', 'longtimenosee', '0', NULL),
'enrol_self', 'maxenrolled', '0', NULL),
'enrol_self', 'sendcoursewelcomemessage', '1', NULL),
'editor_tinymce', 'spellengine', 'GoogleSpell', NULL),
NULL, 'sitedefaultlicense', 'allrightsreserved', NULL),
NULL, 'cachetext', '60', NULL),
NULL, 'filteruploadedfiles', '0', NULL),
NULL, 'filtermatchoneperpage', '0', NULL),
NULL, 'filtermatchonepertext', '0', NULL),
'filter_urltolink', 'formats', '0', NULL),
'filter_urltolink', 'embedimages', '1', NULL),
'filter_emoticon', 'formats', '1,4,0', NULL),
NULL, 'filter_multilang_force_old', '0', NULL),
NULL, 'filter_mediaplugin_enable_youtube', '1', NULL),
NULL, 'filter_mediaplugin_enable_vimeo', '0', NULL),

(236, 0, 1441540984, NULL, 'filter_mediaplugin_enable_mp3', '1', NULL),


(237, 0, 1441540984, NULL, 'filter_mediaplugin_enable_flv', '1', NULL),
(238, 0, 1441540984, NULL, 'filter_mediaplugin_enable_swf', '1', NULL),
(239, 0, 1441540984, NULL, 'filter_mediaplugin_enable_html5audio', '0', NULL),
(240, 0, 1441540984, NULL, 'filter_mediaplugin_enable_html5video', '0', NULL),
(241, 0, 1441540984, NULL, 'filter_mediaplugin_enable_qt', '1', NULL),
(242, 0, 1441540984, NULL, 'filter_mediaplugin_enable_wmp', '1', NULL),
(243, 0, 1441540984, NULL, 'filter_mediaplugin_enable_rm', '1', NULL),
(244, 0, 1441540984, NULL, 'filter_tex_latexpreamble', '\\usepackage[latin1]{inp
utenc}\n\\usepackage{amsmath}\n\\usepackage{amsfonts}\n\\RequirePackage{amsmath,
amssymb,latexsym}\n', NULL),
(245, 0, 1441540984, NULL, 'filter_tex_latexbackground', '#FFFFFF', NULL),
(246, 0, 1441540984, NULL, 'filter_tex_density', '120', NULL),
(247, 0, 1441540985, NULL, 'filter_tex_pathlatex', '"c:\\texmf\\miktex\\bin\\lat
ex.exe" ', NULL),
(248, 0, 1441540985, NULL, 'filter_tex_pathdvips', '"c:\\texmf\\miktex\\bin\\dvi
ps.exe" ', NULL),
(249, 0, 1441540985, NULL, 'filter_tex_pathconvert', '"c:\\imagemagick\\convert.
exe" ', NULL),
(250, 0, 1441540985, NULL, 'filter_tex_convertformat', 'gif', NULL),
(251, 0, 1441540985, NULL, 'filter_censor_badwords', '', NULL),
(252, 0, 1441540985, NULL, 'portfolio_moderate_filesize_threshold', '1048576', N
ULL),
(253, 0, 1441540985, NULL, 'portfolio_high_filesize_threshold', '5242880', NULL)
,
(254, 0, 1441540985, NULL, 'portfolio_moderate_db_threshold', '20', NULL),
(255, 0, 1441540985, NULL, 'portfolio_high_db_threshold', '50', NULL),
(256, 0, 1441540985, NULL, 'repositorycacheexpire', '120', NULL),
(257, 0, 1441540986, NULL, 'repositoryallowexternallinks', '1', NULL),
(258, 0, 1441540986, NULL, 'legacyfilesinnewcourses', '0', NULL),
(259, 0, 1441540986, NULL, 'enablewsdocumentation', '0', NULL),
(260, 0, 1441540986, NULL, 'allowbeforeblock', '0', NULL),
(261, 0, 1441540986, NULL, 'allowedip', '', NULL),
(262, 0, 1441540986, NULL, 'blockedip', '', NULL),
(263, 0, 1441540986, NULL, 'protectusernames', '1', NULL),
(264, 0, 1441540986, NULL, 'forcelogin', '0', NULL),
(265, 0, 1441540986, NULL, 'forceloginforprofiles', '1', NULL),
(266, 0, 1441540986, NULL, 'forceloginforprofileimage', '0', NULL),
(267, 0, 1441540986, NULL, 'opentogoogle', '0', NULL),
(268, 0, 1441540986, NULL, 'maxbytes', '0', NULL),
(269, 0, 1441540986, NULL, 'userquota', '104857600', NULL),
(270, 0, 1441540986, NULL, 'enablehtmlpurifier', '1', NULL),
(271, 0, 1441540987, NULL, 'allowobjectembed', '0', NULL),
(272, 0, 1441540987, NULL, 'enabletrusttext', '0', NULL),
(273, 0, 1441540987, NULL, 'maxeditingtime', '1800', NULL),
(274, 0, 1441540987, NULL, 'fullnamedisplay', 'language', NULL),
(275, 0, 1441540987, NULL, 'extendedusernamechars', '0', NULL),
(276, 0, 1441540987, NULL, 'sitepolicy', '', NULL),
(277, 0, 1441540987, NULL, 'sitepolicyguest', '', NULL),
(278, 0, 1441540987, NULL, 'keeptagnamecase', '1', NULL),
(279, 0, 1441540987, NULL, 'profilesforenrolledusersonly', '1', NULL),
(280, 0, 1441540987, NULL, 'cronclionly', '0', NULL),
(281, 0, 1441540987, NULL, 'cronremotepassword', '', NULL),
(282, 0, 1441540987, NULL, 'passwordpolicy', '1', NULL),
(283, 0, 1441540987, NULL, 'minpasswordlength', '8', NULL),
(284, 0, 1441540987, NULL, 'minpassworddigits', '1', NULL),
(285, 0, 1441540987, NULL, 'minpasswordlower', '1', NULL),
(286, 0, 1441540988, NULL, 'minpasswordupper', '1', NULL),
(287, 0, 1441540988, NULL, 'minpasswordnonalphanum', '1', NULL),
(288, 0, 1441540988, NULL, 'maxconsecutiveidentchars', '0', NULL),

(289,
(290,
(291,
(292,
(293,
(294,
(295,
(296,
(297,
(298,
(299,
(300,
(301,
(302,
(303,
(304,
(305,
(306,
(307,
(308,
(309,
(310,
(311,
(312,
(313,
(314,
(315,
(316,
(317,
(318,
(319,
(320,
(321,
(322,
(323,
(324,
(325,
(326,
(327,
(328,
(329,
(330,
(331,
(332,
(333,
(334,
(335,
(336,
(337,
(338,
(339,
(340,
(341,
(342,
(343,
(344,
(345,
(346,
(347,
(348,

0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,

1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540988,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540989,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540990,
1441540991,
1441540991,
1441540991,
1441540991,
1441540991,
1441540991,
1441540991,
1441540991,
1441540991,
1441540991,
1441540991,

NULL, 'groupenrolmentkeypolicy', '1', NULL),


NULL, 'disableuserimages', '0', NULL),
NULL, 'emailchangeconfirmation', '1', NULL),
NULL, 'strictformsrequired', '0', NULL),
NULL, 'loginhttps', '0', NULL),
NULL, 'cookiesecure', '0', NULL),
NULL, 'cookiehttponly', '0', NULL),
NULL, 'excludeoldflashclients', '10.0.12', NULL),
NULL, 'loginpasswordautocomplete', '0', NULL),
NULL, 'restrictmodulesfor', 'none', NULL),
NULL, 'restrictbydefault', '0', NULL),
NULL, 'displayloginfailures', '', NULL),
NULL, 'notifyloginfailures', '', NULL),
NULL, 'notifyloginthreshold', '10', NULL),
NULL, 'runclamonupload', '0', NULL),
NULL, 'pathtoclam', '', NULL),
NULL, 'quarantinedir', '', NULL),
NULL, 'clamfailureonupload', 'donothing', NULL),
NULL, 'themelist', '', NULL),
NULL, 'themedesignermode', '0', NULL),
NULL, 'allowuserthemes', '0', NULL),
NULL, 'allowcoursethemes', '0', NULL),
NULL, 'allowcategorythemes', '0', NULL),
NULL, 'allowthemechangeonurl', '0', NULL),
NULL, 'allowuserblockhiding', '1', NULL),
NULL, 'allowblockstodock', '1', NULL),
NULL, 'custommenuitems', '', NULL),
'theme_arialist', 'logo', '', NULL),
'theme_arialist', 'tagline', '', NULL),
'theme_arialist', 'linkcolor', '#f25f0f', NULL),
'theme_arialist', 'regionwidth', '250', NULL),
'theme_arialist', 'customcss', '', NULL),
'theme_brick', 'logo', '', NULL),
'theme_brick', 'linkcolor', '#06365b', NULL),
'theme_brick', 'linkhover', '#5487ad', NULL),
'theme_brick', 'maincolor', '#8e2800', NULL),
'theme_brick', 'maincolorlink', '#fff0a5', NULL),
'theme_brick', 'headingcolor', '#5c3500', NULL),
'theme_formal_white', 'fontsizereference', '13', NULL),
'theme_formal_white', 'noframe', '0', NULL),
'theme_formal_white', 'displaylogo', '1', NULL),
'theme_formal_white', 'logo', '', NULL),
'theme_formal_white', 'headerbgc', '#E3DFD4', NULL),
'theme_formal_white', 'blockcontentbgc', '#F6F6F6', NULL),
'theme_formal_white', 'lblockcolumnbgc', '#E3DFD4', NULL),
'theme_formal_white', 'rblockcolumnbgc', '', NULL),
'theme_formal_white', 'blockcolumnwidth', '200', NULL),
'theme_formal_white', 'footnote', '', NULL),
'theme_formal_white', 'customcss', '', NULL),
'theme_fusion', 'linkcolor', '#2d83d5', NULL),
'theme_fusion', 'tagline', '', NULL),
'theme_fusion', 'footertext', '', NULL),
'theme_fusion', 'customcss', '', NULL),
'theme_magazine', 'background', '', NULL),
'theme_magazine', 'logo', '', NULL),
'theme_magazine', 'linkcolor', '#32529a', NULL),
'theme_magazine', 'linkhover', '#4e2300', NULL),
'theme_magazine', 'maincolor', '#002f2f', NULL),
'theme_magazine', 'maincoloraccent', '#092323', NULL),
'theme_magazine', 'headingcolor', '#4e0000', NULL),

(349, 0, 1441540991, 'theme_magazine', 'blockcolor', '#002f2f', NULL),


(350, 0, 1441540991, 'theme_magazine', 'forumback', '#e6e2af', NULL),
(351, 0, 1441540991, 'theme_nimble', 'tagline', '', NULL),
(352, 0, 1441540991, 'theme_nimble', 'footerline', '', NULL),
(353, 0, 1441540991, 'theme_nimble', 'backgroundcolor', '#454545', NULL),
(354, 0, 1441540991, 'theme_nimble', 'linkcolor', '#2a65b1', NULL),
(355, 0, 1441540991, 'theme_nimble', 'linkhover', '#222222', NULL),
(356, 0, 1441540992, 'theme_nonzero', 'regionprewidth', '200', NULL),
(357, 0, 1441540992, 'theme_nonzero', 'regionpostwidth', '200', NULL),
(358, 0, 1441540992, 'theme_nonzero', 'customcss', '', NULL),
(359, 0, 1441540992, 'theme_overlay', 'linkcolor', '#428ab5', NULL),
(360, 0, 1441540992, 'theme_overlay', 'headercolor', '#2a4c7b', NULL),
(361, 0, 1441540992, 'theme_overlay', 'footertext', '', NULL),
(362, 0, 1441540992, 'theme_overlay', 'customcss', '', NULL),
(363, 0, 1441540992, 'theme_sky_high', 'logo', '', NULL),
(364, 0, 1441540992, 'theme_sky_high', 'regionwidth', '240', NULL),
(365, 0, 1441540992, 'theme_sky_high', 'footnote', '', NULL),
(366, 0, 1441540992, 'theme_sky_high', 'customcss', '', NULL),
(367, 0, 1441540992, 'theme_splash', 'logo', '', NULL),
(368, 0, 1441540992, 'theme_splash', 'tagline', 'Virtual learning center', NULL)
,
(369, 0, 1441540992, 'theme_splash', 'hide_tagline', '0', NULL),
(370, 0, 1441540992, 'theme_splash', 'footnote', '', NULL),
(371, 0, 1441540992, 'theme_splash', 'customcss', '', NULL),
(372, 0, 1441540992, NULL, 'calendar_adminseesall', '0', NULL),
(373, 0, 1441540992, NULL, 'calendar_site_timeformat', '0', NULL),
(374, 0, 1441540992, NULL, 'calendar_startwday', '0', NULL),
(375, 0, 1441540992, NULL, 'calendar_weekend', '65', NULL),
(376, 0, 1441540993, NULL, 'calendar_lookahead', '21', NULL),
(377, 0, 1441540993, NULL, 'calendar_maxevents', '10', NULL),
(378, 0, 1441540993, NULL, 'enablecalendarexport', '1', NULL),
(379, 0, 1441540993, NULL, 'calendar_exportsalt', 'n9lp2FrYIQhQzwtLO4Qtdw32sxCf2
qlcySTDUf0KdMXSjAhXel6q4xYiLtUH', NULL),
(380, 0, 1441540993, NULL, 'useblogassociations', '1', NULL),
(381, 0, 1441540993, NULL, 'useexternalblogs', '1', NULL),
(382, 0, 1441540993, NULL, 'externalblogcrontime', '86400', NULL),
(383, 0, 1441540993, NULL, 'maxexternalblogsperuser', '1', NULL),
(384, 0, 1441540993, NULL, 'blogusecomments', '1', NULL),
(385, 0, 1441540993, NULL, 'blogshowcommentscount', '1', NULL),
(386, 0, 1441540993, NULL, 'defaulthomepage', '0', NULL),
(387, 0, 1441540993, NULL, 'navshowcategories', '1', NULL),
(388, 0, 1441540993, NULL, 'navshowallcourses', '0', NULL),
(389, 0, 1441540993, NULL, 'navcourselimit', '20', NULL),
(390, 0, 1441540993, NULL, 'formatstringstriptags', '1', NULL),
(391, 0, 1441540994, NULL, 'emoticons', '[{"text":":-)","imagename":"s\\/smiley"
,"imagecomponent":"core","altidentifier":"smiley","altcomponent":"core_pix"},{"t
ext":":)","imagename":"s\\/smiley","imagecomponent":"core","altidentifier":"smil
ey","altcomponent":"core_pix"},{"text":":-D","imagename":"s\\/biggrin","imagecom
ponent":"core","altidentifier":"biggrin","altcomponent":"core_pix"},{"text":";-)
","imagename":"s\\/wink","imagecomponent":"core","altidentifier":"wink","altcomp
onent":"core_pix"},{"text":":-\\/","imagename":"s\\/mixed","imagecomponent":"cor
e","altidentifier":"mixed","altcomponent":"core_pix"},{"text":"V-.","imagename":
"s\\/thoughtful","imagecomponent":"core","altidentifier":"thoughtful","altcompon
ent":"core_pix"},{"text":":-P","imagename":"s\\/tongueout","imagecomponent":"cor
e","altidentifier":"tongueout","altcomponent":"core_pix"},{"text":":-p","imagena
me":"s\\/tongueout","imagecomponent":"core","altidentifier":"tongueout","altcomp
onent":"core_pix"},{"text":"B-)","imagename":"s\\/cool","imagecomponent":"core",
"altidentifier":"cool","altcomponent":"core_pix"},{"text":"^-)","imagename":"s\\
/approve","imagecomponent":"core","altidentifier":"approve","altcomponent":"core
_pix"},{"text":"8-)","imagename":"s\\/wideeyes","imagecomponent":"core","altiden

tifier":"wideeyes","altcomponent":"core_pix"},{"text":":o)","imagename":"s\\/clo
wn","imagecomponent":"core","altidentifier":"clown","altcomponent":"core_pix"},{
"text":":-(","imagename":"s\\/sad","imagecomponent":"core","altidentifier":"sad"
,"altcomponent":"core_pix"},{"text":":(","imagename":"s\\/sad","imagecomponent":
"core","altidentifier":"sad","altcomponent":"core_pix"},{"text":"8-.","imagename
":"s\\/shy","imagecomponent":"core","altidentifier":"shy","altcomponent":"core_p
ix"},{"text":":-I","imagename":"s\\/blush","imagecomponent":"core","altidentifie
r":"blush","altcomponent":"core_pix"},{"text":":-X","imagename":"s\\/kiss","imag
ecomponent":"core","altidentifier":"kiss","altcomponent":"core_pix"},{"text":"8o","imagename":"s\\/surprise","imagecomponent":"core","altidentifier":"surprise"
,"altcomponent":"core_pix"},{"text":"P-|","imagename":"s\\/blackeye","imagecompo
nent":"core","altidentifier":"blackeye","altcomponent":"core_pix"},{"text":"8-["
,"imagename":"s\\/angry","imagecomponent":"core","altidentifier":"angry","altcom
ponent":"core_pix"},{"text":"(grr)","imagename":"s\\/angry","imagecomponent":"co
re","altidentifier":"angry","altcomponent":"core_pix"},{"text":"xx-P","imagename
":"s\\/dead","imagecomponent":"core","altidentifier":"dead","altcomponent":"core
_pix"},{"text":"|-.","imagename":"s\\/sleepy","imagecomponent":"core","altidenti
fier":"sleepy","altcomponent":"core_pix"},{"text":"}-]","imagename":"s\\/evil","
imagecomponent":"core","altidentifier":"evil","altcomponent":"core_pix"},{"text"
:"(h)","imagename":"s\\/heart","imagecomponent":"core","altidentifier":"heart","
altcomponent":"core_pix"},{"text":"(heart)","imagename":"s\\/heart","imagecompon
ent":"core","altidentifier":"heart","altcomponent":"core_pix"},{"text":"(y)","im
agename":"s\\/yes","imagecomponent":"core","altidentifier":"yes","altcomponent":
"core"},{"text":"(n)","imagename":"s\\/no","imagecomponent":"core","altidentifie
r":"no","altcomponent":"core"},{"text":"(martin)","imagename":"s\\/martin","imag
ecomponent":"core","altidentifier":"martin","altcomponent":"core_pix"},{"text":"
( )","imagename":"s\\/egg","imagecomponent":"core","altidentifier":"egg","altcom
ponent":"core_pix"}]', NULL),
(392, 0, 1441540994, NULL, 'docroot', 'http://docs.moodle.org', NULL),
(393, 0, 1441540994, NULL, 'doctonewwindow', '0', NULL),
(394, 0, 1441540994, NULL, 'enableajax', '1', NULL),
(395, 0, 1441540994, NULL, 'useexternalyui', '0', NULL),
(396, 0, 1441540994, NULL, 'yuicomboloading', '1', NULL),
(397, 0, 1441540994, NULL, 'cachejs', '1', NULL),
(398, 0, 1441540994, NULL, 'enablecourseajax', '1', NULL),
(399, 0, 1441540994, NULL, 'additionalhtmlhead', '', NULL),
(400, 0, 1441540994, NULL, 'additionalhtmltopofbody', '', NULL),
(401, 0, 1441540994, NULL, 'additionalhtmlfooter', '', NULL),
(402, 0, 1441540994, NULL, 'gdversion', '2', NULL),
(403, 0, 1441540994, NULL, 'pathtodu', '', NULL),
(404, 0, 1441540994, NULL, 'aspellpath', '', NULL),
(405, 0, 1441540994, NULL, 'pathtodot', '', NULL),
(406, 0, 1441540995, NULL, 'smtphosts', '', NULL),
(407, 0, 1441540995, NULL, 'smtpuser', '', NULL),
(408, 0, 1441540995, NULL, 'smtppass', '', NULL),
(409, 0, 1441540995, NULL, 'smtpmaxbulk', '1', NULL),
(410, 0, 1441540995, NULL, 'noreplyaddress', 'noreply@localhost', NULL),
(411, 0, 1441540995, NULL, 'digestmailtime', '17', NULL),
(412, 0, 1441540995, NULL, 'sitemailcharset', '0', NULL),
(413, 0, 1441540995, NULL, 'allowusermailcharset', '0', NULL),
(414, 0, 1441540995, NULL, 'mailnewline', 'LF', NULL),
(415, 0, 1441540995, NULL, 'supportpage', '', NULL),
(416, 0, 1441540995, NULL, 'jabberhost', '', NULL),
(417, 0, 1441540995, NULL, 'jabberserver', '', NULL),
(418, 0, 1441540995, NULL, 'jabberusername', '', NULL),
(419, 0, 1441540995, NULL, 'jabberpassword', '', NULL),
(420, 0, 1441540995, NULL, 'jabberport', '5222', NULL),
(421, 0, 1441540995, NULL, 'dbsessions', '1', NULL),
(422, 0, 1441540995, NULL, 'sessioncookie', '', NULL),
(423, 0, 1441540995, NULL, 'sessioncookiepath', '/', NULL),

(424,
(425,
(426,
(427,
(428,
(429,
(430,
(431,
(432,
(433,
(434,
(435,
(436,
(437,
(438,
(439,
(440,
(441,
(442,
(443,
(444,
(445,
(446,
(447,
(448,
(449,
(450,
(451,
(452,
(453,
(454,
(455,
(456,
(457,
(458,
(459,
(460,
(461,
(462,
(463,
(464,
(465,
(466,
(467,
(468,
(469,
(470,
(471,
(472,
(473,
(474,
(475,
(476,
(477,
(478,
(479,
(480,
(481,
(482,
(483,

0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,

1441540995,
1441540995,
1441540996,
1441540996,
1441540996,
1441540996,
1441540996,
1441540996,
1441540996,
1441540996,
1441540996,
1441540996,
1441540996,
1441540996,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540997,
1441540998,
1441540998,
1441540998,
1441540998,
1441540998,
1441540998,
1441541434,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541435,
1441541436,
1441541436,

NULL, 'sessioncookiedomain', '', NULL),


NULL, 'statsfirstrun', 'none', NULL),
NULL, 'statsmaxruntime', '0', NULL),
NULL, 'statsruntimedays', '31', NULL),
NULL, 'statsruntimestarthour', '0', NULL),
NULL, 'statsruntimestartminute', '0', NULL),
NULL, 'statsuserthreshold', '0', NULL),
NULL, 'framename', '_top', NULL),
NULL, 'slasharguments', '1', NULL),
NULL, 'getremoteaddrconf', '0', NULL),
NULL, 'proxyhost', '', NULL),
NULL, 'proxyport', '0', NULL),
NULL, 'proxytype', 'HTTP', NULL),
NULL, 'proxyuser', '', NULL),
NULL, 'proxypassword', '', NULL),
NULL, 'proxybypass', 'localhost, 127.0.0.1', NULL),
NULL, 'maintenance_enabled', '0', NULL),
NULL, 'maintenance_message', '', NULL),
NULL, 'deleteunconfirmed', '168', NULL),
NULL, 'deleteincompleteusers', '0', NULL),
NULL, 'logguests', '1', NULL),
NULL, 'loglifetime', '0', NULL),
NULL, 'disablegradehistory', '0', NULL),
NULL, 'gradehistorylifetime', '0', NULL),
NULL, 'numcoursesincombo', '500', NULL),
NULL, 'extramemorylimit', '512M', NULL),
NULL, 'curlcache', '120', NULL),
NULL, 'curltimeoutkbitrate', '56', NULL),
NULL, 'enableglobalsearch', '0', NULL),
NULL, 'enablesafebrowserintegration', '0', NULL),
NULL, 'enablegroupmembersonly', '0', NULL),
NULL, 'debug', '0', NULL),
NULL, 'debugdisplay', '1', NULL),
NULL, 'xmlstrictheaders', '0', NULL),
NULL, 'debugsmtp', '0', NULL),
NULL, 'perfdebug', '7', NULL),
NULL, 'debugstringids', '0', NULL),
NULL, 'debugvalidators', '0', NULL),
NULL, 'debugpageinfo', '0', NULL),
NULL, 'notloggedinroleid', '6', NULL),
NULL, 'guestroleid', '6', NULL),
NULL, 'defaultuserroleid', '7', NULL),
NULL, 'creatornewroleid', '3', NULL),
NULL, 'gradebookroles', '5', NULL),
NULL, 'assignment_maxbytes', '1048576', NULL),
NULL, 'assignment_itemstocount', '1', NULL),
NULL, 'assignment_showrecentsubmissions', '1', NULL),
NULL, 'chat_method', 'ajax', NULL),
NULL, 'chat_refresh_userlist', '10', NULL),
NULL, 'chat_old_ping', '35', NULL),
NULL, 'chat_refresh_room', '5', NULL),
NULL, 'chat_normal_updatemode', 'jsupdate', NULL),
NULL, 'chat_serverhost', 'localhost', NULL),
NULL, 'chat_serverip', '127.0.0.1', NULL),
NULL, 'chat_serverport', '9111', NULL),
NULL, 'chat_servermax', '100', NULL),
NULL, 'data_enablerssfeeds', '0', NULL),
NULL, 'feedback_allowfullanonymous', '0', NULL),
'folder', 'requiremodintro', '1', NULL),
NULL, 'forum_displaymode', '3', NULL),

(484,
(485,
(486,
(487,
(488,
(489,
(490,
(491,
(492,
(493,
(494,
(495,
(496,
(497,
(498,
(499,
(500,
(501,
(502,
(503,
(504,
(505,
(506,
(507,
(508,
(509,
(510,
(511,
(512,
(513,
(514,
(515,
(516,
(517,
(518,
(519,
(520,
(521,
(522,
(523,
(524,
(525,
(526,
(527,
(528,
(529,
(530,
(531,
(532,
(533,
(534,
(535,
(536,
(537,
(538,
(539,
(540,
(541,
(542,
(543,

2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,

1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541436,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541437,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541438,
1441541439,
1441541439,
1441541439,
1441541439,
1441541439,
1441541439,
1441541439,

NULL, 'forum_replytouser', '1', NULL),


NULL, 'forum_shortpost', '300', NULL),
NULL, 'forum_longpost', '600', NULL),
NULL, 'forum_manydiscussions', '100', NULL),
NULL, 'forum_maxbytes', '512000', NULL),
NULL, 'forum_maxattachments', '9', NULL),
NULL, 'forum_trackreadposts', '1', NULL),
NULL, 'forum_oldpostdays', '14', NULL),
NULL, 'forum_usermarksread', '0', NULL),
NULL, 'forum_cleanreadtime', '2', NULL),
NULL, 'forum_enablerssfeeds', '0', NULL),
NULL, 'forum_enabletimedposts', '0', NULL),
NULL, 'glossary_entbypage', '10', NULL),
NULL, 'glossary_dupentries', '0', NULL),
NULL, 'glossary_allowcomments', '0', NULL),
NULL, 'glossary_linkbydefault', '1', NULL),
NULL, 'glossary_defaultapproval', '1', NULL),
NULL, 'glossary_enablerssfeeds', '0', NULL),
NULL, 'glossary_linkentries', '0', NULL),
NULL, 'glossary_casesensitive', '0', NULL),
NULL, 'glossary_fullmatch', '0', NULL),
'imscp', 'requiremodintro', '1', NULL),
'imscp', 'keepold', '1', NULL),
'imscp', 'keepold_adv', '0', NULL),
NULL, 'lesson_slideshowwidth', '640', NULL),
NULL, 'lesson_slideshowheight', '480', NULL),
NULL, 'lesson_slideshowbgcolor', '#FFFFFF', NULL),
NULL, 'lesson_mediawidth', '640', NULL),
NULL, 'lesson_mediaheight', '480', NULL),
NULL, 'lesson_mediaclose', '0', NULL),
NULL, 'lesson_maxhighscores', '10', NULL),
NULL, 'lesson_maxanswers', '4', NULL),
NULL, 'lesson_defaultnextpage', '0', NULL),
'page', 'requiremodintro', '1', NULL),
'page', 'displayoptions', '5', NULL),
'page', 'printheading', '1', NULL),
'page', 'printheading_adv', '0', NULL),
'page', 'printintro', '0', NULL),
'page', 'printintro_adv', '0', NULL),
'page', 'display', '5', NULL),
'page', 'display_adv', '1', NULL),
'page', 'popupwidth', '620', NULL),
'page', 'popupwidth_adv', '1', NULL),
'page', 'popupheight', '450', NULL),
'page', 'popupheight_adv', '1', NULL),
'quiz', 'timelimit', '0', NULL),
'quiz', 'timelimit_adv', '0', NULL),
'quiz', 'attempts', '0', NULL),
'quiz', 'attempts_adv', '0', NULL),
'quiz', 'grademethod', '1', NULL),
'quiz', 'grademethod_adv', '0', NULL),
'quiz', 'maximumgrade', '10', NULL),
'quiz', 'shufflequestions', '0', NULL),
'quiz', 'shufflequestions_adv', '0', NULL),
'quiz', 'questionsperpage', '1', NULL),
'quiz', 'questionsperpage_adv', '0', NULL),
'quiz', 'shuffleanswers', '1', NULL),
'quiz', 'shuffleanswers_adv', '0', NULL),
'quiz', 'optionflags', '1', NULL),
'quiz', 'optionflags_adv', '0', NULL),

(544,
(545,
(546,
(547,
(548,
(549,
(550,
(551,
(552,
(553,
(554,
(555,
(556,
(557,
(558,
(559,
(560,
(561,
(562,
(563,
(564,
(565,
(566,
(567,
(568,
(569,
(570,
(571,
(572,
(573,
(574,
(575,
(576,
(577,
(578,
(579,
(580,
(581,
(582,
(583,
(584,
(585,
(586,
(587,
(588,
(589,
(590,
(591,
(592,
(593,
(594,
(595,
(596,
(597,
(598,
(599,
(600,
(601,
(602,
(603,

2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,

1441541439,
1441541439,
1441541439,
1441541439,
1441541439,
1441541439,
1441541439,
1441541439,
1441541439,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541440,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541441,
1441541442,
1441541442,
1441541442,
1441541442,
1441541442,
1441541442,
1441541442,
1441541442,
1441541442,
1441541442,
1441541443,
1441541443,
1441541443,
1441541443,
1441541443,
1441541443,
1441541443,
1441541443,
1441541443,
1441541443,

'quiz', 'penaltyscheme', '1', NULL),


'quiz', 'penaltyscheme_adv', '1', NULL),
'quiz', 'attemptonlast', '0', NULL),
'quiz', 'attemptonlast_adv', '1', NULL),
'quiz', 'review', '1073741823', NULL),
'quiz', 'review_adv', '0', NULL),
'quiz', 'showuserpicture', '0', NULL),
'quiz', 'showuserpicture_adv', '0', NULL),
'quiz', 'decimalpoints', '2', NULL),
'quiz', 'decimalpoints_adv', '0', NULL),
'quiz', 'questiondecimalpoints', '-1', NULL),
'quiz', 'questiondecimalpoints_adv', '0', NULL),
'quiz', 'showblocks', '0', NULL),
'quiz', 'showblocks_adv', '1', NULL),
'quiz', 'password', '', NULL),
'quiz', 'password_adv', '0', NULL),
'quiz', 'subnet', '', NULL),
'quiz', 'subnet_adv', '0', NULL),
'quiz', 'delay1', '0', NULL),
'quiz', 'delay1_adv', '0', NULL),
'quiz', 'delay2', '0', NULL),
'quiz', 'delay2_adv', '0', NULL),
'quiz', 'popup', '0', NULL),
'quiz', 'popup_adv', '1', NULL),
'resource', 'framesize', '130', NULL),
'resource', 'requiremodintro', '1', NULL),
'resource', 'displayoptions', '0,1,4,5,6', NULL),
'resource', 'printheading', '0', NULL),
'resource', 'printheading_adv', '0', NULL),
'resource', 'printintro', '1', NULL),
'resource', 'printintro_adv', '0', NULL),
'resource', 'display', '0', NULL),
'resource', 'display_adv', '0', NULL),
'resource', 'popupwidth', '620', NULL),
'resource', 'popupwidth_adv', '1', NULL),
'resource', 'popupheight', '450', NULL),
'resource', 'popupheight_adv', '1', NULL),
'resource', 'filterfiles', '0', NULL),
'resource', 'filterfiles_adv', '1', NULL),
'scorm', 'grademethod', '1', NULL),
'scorm', 'maxgrade', '100', NULL),
'scorm', 'maxattempts', '0', NULL),
'scorm', 'displayattemptstatus', '0', NULL),
'scorm', 'displaycoursestructure', '0', NULL),
'scorm', 'forcecompleted', '0', NULL),
'scorm', 'forcenewattempt', '0', NULL),
'scorm', 'lastattemptlock', '0', NULL),
'scorm', 'whatgrade', '0', NULL),
'scorm', 'framewidth', '100', NULL),
'scorm', 'frameheight', '500', NULL),
'scorm', 'popup', '0', NULL),
'scorm', 'resizable', '0', NULL),
'scorm', 'scrollbars', '0', NULL),
'scorm', 'directories', '0', NULL),
'scorm', 'location', '0', NULL),
'scorm', 'menubar', '0', NULL),
'scorm', 'toolbar', '0', NULL),
'scorm', 'status', '0', NULL),
'scorm', 'skipview', '0', NULL),
'scorm', 'hidebrowse', '0', NULL),

(604, 2, 1441541443, 'scorm', 'hidetoc', '0', NULL),


(605, 2, 1441541443, 'scorm', 'hidenav', '0', NULL),
(606, 2, 1441541443, 'scorm', 'auto', '0', NULL),
(607, 2, 1441541444, 'scorm', 'updatefreq', '0', NULL),
(608, 2, 1441541444, 'scorm', 'allowtypeexternal', '0', NULL),
(609, 2, 1441541444, 'scorm', 'allowtypelocalsync', '0', NULL),
(610, 2, 1441541444, 'scorm', 'allowtypeimsrepository', '0', NULL),
(611, 2, 1441541444, 'scorm', 'forcejavascript', '1', NULL),
(612, 2, 1441541444, 'scorm', 'allowapidebug', '0', NULL),
(613, 2, 1441541444, 'scorm', 'apidebugmask', '.*', NULL),
(614, 2, 1441541444, 'url', 'framesize', '130', NULL),
(615, 2, 1441541444, 'url', 'requiremodintro', '1', NULL),
(616, 2, 1441541444, 'url', 'secretphrase', '', NULL),
(617, 2, 1441541444, 'url', 'rolesinparams', '0', NULL),
(618, 2, 1441541444, 'url', 'displayoptions', '0,1,5,6', NULL),
(619, 2, 1441541444, 'url', 'printheading', '0', NULL),
(620, 2, 1441541444, 'url', 'printheading_adv', '0', NULL),
(621, 2, 1441541444, 'url', 'printintro', '1', NULL),
(622, 2, 1441541444, 'url', 'printintro_adv', '0', NULL),
(623, 2, 1441541444, 'url', 'display', '0', NULL),
(624, 2, 1441541444, 'url', 'display_adv', '0', NULL),
(625, 2, 1441541445, 'url', 'popupwidth', '620', NULL),
(626, 2, 1441541445, 'url', 'popupwidth_adv', '1', NULL),
(627, 2, 1441541445, 'url', 'popupheight', '450', NULL),
(628, 2, 1441541445, 'url', 'popupheight_adv', '1', NULL),
(629, 2, 1441541445, 'workshop', 'grade', '80', NULL),
(630, 2, 1441541445, 'workshop', 'gradinggrade', '20', NULL),
(631, 2, 1441541445, 'workshop', 'gradedecimals', '0', NULL),
(632, 2, 1441541445, 'workshop', 'maxbytes', '0', NULL),
(633, 2, 1441541445, 'workshop', 'strategy', 'accumulative', NULL),
(634, 2, 1441541445, 'workshop', 'examplesmode', '0', NULL),
(635, 2, 1441541445, 'workshopallocation_random', 'numofreviews', '5', NULL),
(636, 2, 1441541445, 'workshopform_numerrors', 'grade0', 'No', NULL),
(637, 2, 1441541445, 'workshopform_numerrors', 'grade1', 'Yes', NULL),
(638, 2, 1441541445, 'workshopeval_best', 'comparison', '5', NULL),
(639, 2, 1441541445, NULL, 'block_course_list_adminview', 'all', NULL),
(640, 2, 1441541445, NULL, 'block_course_list_hideallcourseslink', '0', NULL),
(641, 2, 1441541446, NULL, 'block_online_users_timetosee', '5', NULL),
(642, 2, 1441541446, NULL, 'block_rss_client_num_entries', '5', NULL),
(643, 2, 1441541446, NULL, 'block_rss_client_timeout', '30', NULL),
(644, 2, 1441541446, NULL, 'block_search_enable_file_indexing', '0', NULL),
(645, 2, 1441541446, NULL, 'block_search_filetypes', 'PDF,TXT,HTML,PPT,XML,DOC,H
TM', NULL),
(646, 2, 1441541446, NULL, 'block_search_usemoodleroot', '1', NULL),
(647, 2, 1441541446, NULL, 'block_search_limit_index_body', '0', NULL),
(648, 2, 1441541446, NULL, 'block_search_pdf_to_text_cmd', 'lib/xpdf/win32/pdfto
text.exe -eol dos -enc UTF-8 -q', NULL),
(649, 2, 1441541446, NULL, 'block_search_word_to_text_cmd', 'lib/antiword/win32/
antiword/antiword.exe ', NULL),
(650, 2, 1441541446, NULL, 'block_search_word_to_text_env', 'HOME=C:\\XAMPP\\htd
ocs\\web62_CMS\\moodle2.0\\lib\\antiword\\win32', NULL),
(651, 2, 1441541446, NULL, 'search_in_assignment', '1', NULL),
(652, 2, 1441541446, NULL, 'search_in_chat', '1', NULL),
(653, 2, 1441541446, NULL, 'search_in_data', '1', NULL),
(654, 2, 1441541446, NULL, 'search_in_forum', '1', NULL),
(655, 2, 1441541446, NULL, 'search_in_glossary', '1', NULL),
(656, 2, 1441541446, NULL, 'search_in_label', '1', NULL),
(657, 2, 1441541446, NULL, 'search_in_lesson', '1', NULL),
(658, 2, 1441541447, NULL, 'search_in_resource', '1', NULL),
(659, 2, 1441541447, NULL, 'search_in_wiki', '1', NULL),

(660,
(661,
(662,
(663,
(664,
(665,
(666,
(667,
(668,
(669,
(670,
(671,
(672,
(673,
(674,
(675,
(676,
(677,
(678,
(679,
(680,
(681,
(682,
(683,
(684,
(685,
(686,
(687,
(688,
(689,
(690,
(691,
(692,
(693,
(694,
(695,
(696,
(697,
(698,
(699,
(700,
(701,

2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,

1441541447,
1441541447,
1441541447,
1441541447,
1441541447,
1441541447,
1441541447,
1441541447,
1441541447,
1441541447,
1441541447,
1441541447,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541448,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541449,
1441541450,
1441541572,

'blocks/section_links', 'numsections1', '22', NULL),


'blocks/section_links', 'incby1', '2', NULL),
'blocks/section_links', 'numsections2', '40', NULL),
'blocks/section_links', 'incby2', '5', NULL),
NULL, 'block_tags_showcoursetags', '0', NULL),
'enrol_cohort', 'roleid', '5', NULL),
'enrol_database', 'defaultrole', '5', NULL),
'enrol_database', 'defaultcategory', '1', NULL),
'enrol_flatfile', 'map_1', 'manager', NULL),
'enrol_flatfile', 'map_2', 'coursecreator', NULL),
'enrol_flatfile', 'map_3', 'editingteacher', NULL),
'enrol_flatfile', 'map_4', 'teacher', NULL),
'enrol_flatfile', 'map_5', 'student', NULL),
'enrol_flatfile', 'map_6', 'guest', NULL),
'enrol_flatfile', 'map_7', 'user', NULL),
'enrol_flatfile', 'map_8', 'frontpage', NULL),
'enrol_imsenterprise', 'imsrolemap01', '5', NULL),
'enrol_imsenterprise', 'imsrolemap02', '3', NULL),
'enrol_imsenterprise', 'imsrolemap03', '3', NULL),
'enrol_imsenterprise', 'imsrolemap04', '5', NULL),
'enrol_imsenterprise', 'imsrolemap05', '0', NULL),
'enrol_imsenterprise', 'imsrolemap06', '4', NULL),
'enrol_imsenterprise', 'imsrolemap07', '0', NULL),
'enrol_imsenterprise', 'imsrolemap08', '4', NULL),
'enrol_manual', 'roleid', '5', NULL),
'enrol_meta', 'nosyncroleids', '', NULL),
'enrol_mnet', 'roleid', '5', NULL),
'enrol_mnet', 'roleid_adv', '1', NULL),
'enrol_paypal', 'roleid', '5', NULL),
'enrol_self', 'roleid', '5', NULL),
NULL, 'profileroles', '5,4,3', NULL),
NULL, 'defaultallowedmodules', '', NULL),
NULL, 'coursecontact', '3', NULL),
NULL, 'frontpage', '1', NULL),
NULL, 'frontpageloggedin', '1', NULL),
NULL, 'maxcategorydepth', '0', NULL),
NULL, 'commentsperpage', '15', NULL),
NULL, 'coursesperpage', '20', NULL),
NULL, 'defaultfrontpageroleid', '8', NULL),
NULL, 'supportname', 'Admin62 smpn62', NULL),
NULL, 'supportemail', 'smpn62jakarta@gmail.com', NULL),
NULL, 'registerauth', '', NULL);

-- ---------------------------------------------------------- Table structure for table `mdl_config_plugins`


-CREATE TABLE IF NOT EXISTS `mdl_config_plugins` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`plugin` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'core',
`name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_confplug_plunam_uix` (`plugin`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Moodle mo
dules and plugins configuration variables' AUTO_INCREMENT=489 ;
--

-- Dumping data for table `mdl_config_plugins`


-INSERT INTO `mdl_config_plugins` (`id`, `plugin`, `name`, `value`) VALUES
(1, 'moodlecourse', 'format', 'weeks'),
(2, 'moodlecourse', 'numsections', '10'),
(3, 'moodlecourse', 'hiddensections', '0'),
(4, 'moodlecourse', 'newsitems', '5'),
(5, 'moodlecourse', 'showgrades', '1'),
(6, 'moodlecourse', 'showreports', '0'),
(7, 'moodlecourse', 'maxbytes', '2097152'),
(8, 'moodlecourse', 'groupmode', '0'),
(9, 'moodlecourse', 'groupmodeforce', '0'),
(10, 'moodlecourse', 'visible', '1'),
(11, 'moodlecourse', 'lang', ''),
(12, 'moodlecourse', 'enablecompletion', '0'),
(13, 'moodlecourse', 'completionstartonenrol', '0'),
(14, 'backup', 'backup_general_users', '1'),
(15, 'backup', 'backup_general_users_locked', '0'),
(16, 'backup', 'backup_general_anonymize', '0'),
(17, 'backup', 'backup_general_anonymize_locked', '0'),
(18, 'backup', 'backup_general_role_assignments', '1'),
(19, 'backup', 'backup_general_role_assignments_locked', '0'),
(20, 'backup', 'backup_general_activities', '1'),
(21, 'backup', 'backup_general_activities_locked', '0'),
(22, 'backup', 'backup_general_blocks', '1'),
(23, 'backup', 'backup_general_blocks_locked', '0'),
(24, 'backup', 'backup_general_filters', '1'),
(25, 'backup', 'backup_general_filters_locked', '0'),
(26, 'backup', 'backup_general_comments', '1'),
(27, 'backup', 'backup_general_comments_locked', '0'),
(28, 'backup', 'backup_general_userscompletion', '1'),
(29, 'backup', 'backup_general_userscompletion_locked', '0'),
(30, 'backup', 'backup_general_logs', '0'),
(31, 'backup', 'backup_general_logs_locked', '0'),
(32, 'backup', 'backup_general_histories', '0'),
(33, 'backup', 'backup_general_histories_locked', '0'),
(34, 'backup', 'backup_auto_active', '0'),
(35, 'backup', 'backup_auto_weekdays', '0000000'),
(36, 'backup', 'backup_auto_hour', '0'),
(37, 'backup', 'backup_auto_minute', '0'),
(38, 'backup', 'backup_auto_storage', '0'),
(39, 'backup', 'backup_auto_destination', ''),
(40, 'backup', 'backup_auto_keep', '1'),
(41, 'backup', 'backup_auto_users', '1'),
(42, 'backup', 'backup_auto_role_assignments', '1'),
(43, 'backup', 'backup_auto_activities', '1'),
(44, 'backup', 'backup_auto_blocks', '1'),
(45, 'backup', 'backup_auto_filters', '1'),
(46, 'backup', 'backup_auto_comments', '1'),
(47, 'backup', 'backup_auto_userscompletion', '1'),
(48, 'backup', 'backup_auto_logs', '0'),
(49, 'backup', 'backup_auto_histories', '0'),
(50, 'enrol_database', 'dbtype', ''),
(51, 'enrol_database', 'dbhost', 'localhost'),
(52, 'enrol_database', 'dbuser', ''),
(53, 'enrol_database', 'dbpass', ''),
(54, 'enrol_database', 'dbname', ''),
(55, 'enrol_database', 'dbencoding', 'utf-8'),
(56, 'enrol_database', 'dbsetupsql', ''),

(57, 'enrol_database', 'dbsybasequoting', '0'),


(58, 'enrol_database', 'debugdb', '0'),
(59, 'enrol_database', 'localcoursefield', 'idnumber'),
(60, 'enrol_database', 'localuserfield', 'idnumber'),
(61, 'enrol_database', 'localrolefield', 'shortname'),
(62, 'enrol_database', 'remoteenroltable', ''),
(63, 'enrol_database', 'remotecoursefield', ''),
(64, 'enrol_database', 'remoteuserfield', ''),
(65, 'enrol_database', 'remoterolefield', ''),
(66, 'enrol_database', 'ignorehiddencourses', '0'),
(67, 'enrol_database', 'unenrolaction', '0'),
(68, 'enrol_database', 'newcoursetable', ''),
(69, 'enrol_database', 'newcoursefullname', 'fullname'),
(70, 'enrol_database', 'newcourseshortname', 'shortname'),
(71, 'enrol_database', 'newcourseidnumber', 'idnumber'),
(72, 'enrol_database', 'newcoursecategory', ''),
(73, 'enrol_database', 'templatecourse', ''),
(74, 'enrol_flatfile', 'location', ''),
(75, 'enrol_flatfile', 'mailstudents', '0'),
(76, 'enrol_flatfile', 'mailteachers', '0'),
(77, 'enrol_flatfile', 'mailadmins', '0'),
(78, 'enrol_guest', 'requirepassword', '0'),
(79, 'enrol_guest', 'usepasswordpolicy', '0'),
(80, 'enrol_guest', 'showhint', '0'),
(81, 'enrol_guest', 'defaultenrol', '1'),
(82, 'enrol_guest', 'status', '1'),
(83, 'enrol_guest', 'status_adv', '0'),
(84, 'enrol_imsenterprise', 'imsfilelocation', ''),
(85, 'enrol_imsenterprise', 'logtolocation', ''),
(86, 'enrol_imsenterprise', 'mailadmins', '0'),
(87, 'enrol_imsenterprise', 'createnewusers', '0'),
(88, 'enrol_imsenterprise', 'imsdeleteusers', '0'),
(89, 'enrol_imsenterprise', 'fixcaseusernames', '0'),
(90, 'enrol_imsenterprise', 'fixcasepersonalnames', '0'),
(91, 'enrol_imsenterprise', 'imssourcedidfallback', '0'),
(92, 'enrol_imsenterprise', 'truncatecoursecodes', '0'),
(93, 'enrol_imsenterprise', 'createnewcourses', '0'),
(94, 'enrol_imsenterprise', 'createnewcategories', '0'),
(95, 'enrol_imsenterprise', 'imsunenrol', '0'),
(96, 'enrol_imsenterprise', 'imsrestricttarget', ''),
(97, 'enrol_imsenterprise', 'imscapitafix', '0'),
(98, 'enrol_manual', 'defaultenrol', '1'),
(99, 'enrol_manual', 'status', '0'),
(100, 'enrol_manual', 'enrolperiod', '0'),
(101, 'enrol_paypal', 'paypalbusiness', ''),
(102, 'enrol_paypal', 'mailstudents', '0'),
(103, 'enrol_paypal', 'mailteachers', '0'),
(104, 'enrol_paypal', 'mailadmins', '0'),
(105, 'enrol_paypal', 'status', '1'),
(106, 'enrol_paypal', 'cost', '0'),
(107, 'enrol_paypal', 'currency', 'USD'),
(108, 'enrol_paypal', 'enrolperiod', '0'),
(109, 'enrol_self', 'requirepassword', '0'),
(110, 'enrol_self', 'usepasswordpolicy', '0'),
(111, 'enrol_self', 'showhint', '0'),
(112, 'enrol_self', 'defaultenrol', '1'),
(113, 'enrol_self', 'status', '1'),
(114, 'enrol_self', 'groupkey', '0'),
(115, 'enrol_self', 'enrolperiod', '0'),
(116, 'enrol_self', 'longtimenosee', '0'),

(117,
(118,
(119,
(120,
(121,
(122,
(123,
(124,
(125,
(126,
(127,
(128,
(129,
(130,
(131,
(132,
(133,
(134,
(135,
(136,
(137,
(138,
(139,
(140,
(141,
(142,
(143,
(144,
(145,
(146,
(147,
(148,
(149,
(150,
(151,
(152,
(153,
(154,
(155,
(156,
(157,
(158,
(159,
(160,
(161,
(162,
(163,
(164,
(165,
(166,
(167,
(168,
(169,
(170,
(171,
(172,
(173,
(174,
(175,
(176,

'enrol_self', 'maxenrolled', '0'),


'enrol_self', 'sendcoursewelcomemessage', '1'),
'editor_tinymce', 'spellengine', 'GoogleSpell'),
'filter_urltolink', 'formats', '0'),
'filter_urltolink', 'embedimages', '1'),
'filter_emoticon', 'formats', '1,4,0'),
'theme_arialist', 'logo', ''),
'theme_arialist', 'tagline', ''),
'theme_arialist', 'linkcolor', '#f25f0f'),
'theme_arialist', 'regionwidth', '250'),
'theme_arialist', 'customcss', ''),
'theme_brick', 'logo', ''),
'theme_brick', 'linkcolor', '#06365b'),
'theme_brick', 'linkhover', '#5487ad'),
'theme_brick', 'maincolor', '#8e2800'),
'theme_brick', 'maincolorlink', '#fff0a5'),
'theme_brick', 'headingcolor', '#5c3500'),
'theme_formal_white', 'fontsizereference', '13'),
'theme_formal_white', 'noframe', '0'),
'theme_formal_white', 'displaylogo', '1'),
'theme_formal_white', 'logo', ''),
'theme_formal_white', 'headerbgc', '#E3DFD4'),
'theme_formal_white', 'blockcontentbgc', '#F6F6F6'),
'theme_formal_white', 'lblockcolumnbgc', '#E3DFD4'),
'theme_formal_white', 'rblockcolumnbgc', ''),
'theme_formal_white', 'blockcolumnwidth', '200'),
'theme_formal_white', 'footnote', ''),
'theme_formal_white', 'customcss', ''),
'theme_fusion', 'linkcolor', '#2d83d5'),
'theme_fusion', 'tagline', ''),
'theme_fusion', 'footertext', ''),
'theme_fusion', 'customcss', ''),
'theme_magazine', 'background', ''),
'theme_magazine', 'logo', ''),
'theme_magazine', 'linkcolor', '#32529a'),
'theme_magazine', 'linkhover', '#4e2300'),
'theme_magazine', 'maincolor', '#002f2f'),
'theme_magazine', 'maincoloraccent', '#092323'),
'theme_magazine', 'headingcolor', '#4e0000'),
'theme_magazine', 'blockcolor', '#002f2f'),
'theme_magazine', 'forumback', '#e6e2af'),
'theme_nimble', 'tagline', ''),
'theme_nimble', 'footerline', ''),
'theme_nimble', 'backgroundcolor', '#454545'),
'theme_nimble', 'linkcolor', '#2a65b1'),
'theme_nimble', 'linkhover', '#222222'),
'theme_nonzero', 'regionprewidth', '200'),
'theme_nonzero', 'regionpostwidth', '200'),
'theme_nonzero', 'customcss', ''),
'theme_overlay', 'linkcolor', '#428ab5'),
'theme_overlay', 'headercolor', '#2a4c7b'),
'theme_overlay', 'footertext', ''),
'theme_overlay', 'customcss', ''),
'theme_sky_high', 'logo', ''),
'theme_sky_high', 'regionwidth', '240'),
'theme_sky_high', 'footnote', ''),
'theme_sky_high', 'customcss', ''),
'theme_splash', 'logo', ''),
'theme_splash', 'tagline', 'Virtual learning center'),
'theme_splash', 'hide_tagline', '0'),

(177,
(178,
(187,
(189,
(191,
(193,
(195,
(197,
(198,
(200,
(202,
(204,
(206,
(208,
(210,
(211,
(213,
(214,
(216,
(217,
(218,
(220,
(222,
(224,
(226,
(227,
(228,
(230,
(232,
(234,
(238,
(239,
(241,
(243,
(244,
(245,
(246,
(247,
(248,
(249,
(250,
(251,
(252,
(253,
(254,
(255,
(256,
(257,
(258,
(259,
(260,
(261,
(262,
(263,
(264,
(265,
(266,
(267,
(268,
(269,

'theme_splash', 'footnote', ''),


'theme_splash', 'customcss', ''),
'auth_cas', 'version', '2010072600'),
'auth_db', 'version', '2009112400'),
'auth_fc', 'version', '2009112400'),
'auth_imap', 'version', '2009112400'),
'auth_ldap', 'version', '2010072600'),
'auth_manual', 'version', '2011022700'),
'auth_mnet', 'version', '2010071300'),
'auth_nntp', 'version', '2009112400'),
'auth_pam', 'version', '2009112400'),
'auth_pop3', 'version', '2009112400'),
'auth_radius', 'version', '2009112400'),
'auth_shibboleth', 'version', '2009112400'),
'enrol_authorize', 'version', '2010081203'),
'enrol_category', 'version', '2010061500'),
'enrol_cohort', 'version', '2010073100'),
'enrol_database', 'version', '2010073101'),
'enrol_flatfile', 'version', '2010091400'),
'enrol_guest', 'version', '2010081800'),
'enrol_imsenterprise', 'version', '2011013000'),
'enrol_ldap', 'version', '2010071100'),
'enrol_manual', 'version', '2010071201'),
'enrol_meta', 'version', '2010073100'),
'enrol_mnet', 'version', '2010071701'),
'enrol_paypal', 'version', '2010073100'),
'enrol_self', 'version', '2010090501'),
'message_email', 'version', '2010090501'),
'message_jabber', 'version', '2010090501'),
'message_popup', 'version', '2010090501'),
'filter_emoticon', 'version', '2010102300'),
'filter_mediaplugin', 'version', '2011030900'),
'filter_tex', 'version', '2011031301'),
'filter_urltolink', 'version', '2010100500'),
'editor_textarea', 'version', '2010090501'),
'editor_tinymce', 'version', '2010093000'),
'report_courseoverview', 'version', '2010090501'),
'report_customlang', 'version', '2011041900'),
'report_questioninstances', 'version', '2010090501'),
'report_security', 'version', '2010090501'),
'report_unittest', 'version', '2010090501'),
'report_unsuproles', 'version', '2010071800'),
'coursereport_completion', 'version', '2010090501'),
'coursereport_log', 'version', '2010090501'),
'coursereport_outline', 'version', '2010090501'),
'coursereport_participation', 'version', '2010090501'),
'coursereport_progress', 'version', '2010090501'),
'coursereport_stats', 'version', '2010090501'),
'gradeexport_ods', 'version', '2010090501'),
'gradeexport_txt', 'version', '2010090501'),
'gradeexport_xls', 'version', '2010090501'),
'gradeexport_xml', 'version', '2010090501'),
'gradeimport_csv', 'version', '2010090501'),
'gradeimport_xml', 'version', '2010090501'),
'gradereport_grader', 'version', '2010090501'),
'gradereport_outcomes', 'version', '2010090501'),
'gradereport_overview', 'version', '2010090501'),
'gradereport_user', 'version', '2010090501'),
'mnetservice_enrol', 'version', '2010071700'),
'webservice_amf', 'version', '2009101900'),

(270,
(271,
(272,
(273,
(274,
(275,
(276,
(277,
(278,
(279,
(280,
(281,
(283,
(284,
(285,
(286,
(287,
(289,
(290,
(291,
(292,
(294,
(295,
(296,
(297,
(299,
(300,
(301,
(302,
(303,
(304,
(305,
(306,
(307,
(308,
(309,
(310,
(311,
(312,
(313,
(314,
(315,
(316,
(317,
(318,
(319,
(321,
(322,
(323,
(325,
(327,
(329,
(331,
(333,
(334,
(335,
(336,
(337,
(338,
(339,

'webservice_rest', 'version', '2009100800'),


'webservice_soap', 'version', '2009101900'),
'webservice_xmlrpc', 'version', '2009101900'),
'repository_alfresco', 'version', '2010050700'),
'repository_boxnet', 'version', '2009080105'),
'repository_coursefiles', 'version', '2012010100'),
'repository_dropbox', 'version', '2010051400'),
'repository_filesystem', 'version', '2012010100'),
'repository_flickr', 'version', '2009080102'),
'repository_flickr_public', 'version', '2009080102'),
'repository_googledocs', 'version', '2009080102'),
'repository_local', 'version', '2012010100'),
'local', 'enablecourseinstances', '0'),
'local', 'enableuserinstances', '0'),
'repository_merlot', 'version', '2009111301'),
'repository_picasa', 'version', '2009080102'),
'repository_recent', 'version', '2010042202'),
'recent', 'enablecourseinstances', '0'),
'recent', 'enableuserinstances', '0'),
'repository_s3', 'version', '2009080102'),
'repository_upload', 'version', '2009080102'),
'upload', 'enablecourseinstances', '0'),
'upload', 'enableuserinstances', '0'),
'repository_url', 'version', '2009080102'),
'repository_user', 'version', '2010052700'),
'user', 'enablecourseinstances', '0'),
'user', 'enableuserinstances', '0'),
'repository_webdav', 'version', '2012010100'),
'repository_wikimedia', 'version', '2009080102'),
'repository_youtube', 'version', '2009080102'),
'portfolio_boxnet', 'version', '2010090501'),
'portfolio_download', 'version', '2010090501'),
'portfolio_flickr', 'version', '2010090501'),
'portfolio_googledocs', 'version', '2010090501'),
'portfolio_mahara', 'version', '2010090501'),
'portfolio_picasa', 'version', '2010090501'),
'qtype_calculated', 'version', '2010090501'),
'qtype_essay', 'version', '2010090501'),
'qtype_match', 'version', '2010090501'),
'qtype_multianswer', 'version', '2010090501'),
'qtype_multichoice', 'version', '2010090501'),
'qtype_numerical', 'version', '2010090501'),
'qtype_randomsamatch', 'version', '2010090501'),
'qtype_shortanswer', 'version', '2010090501'),
'qtype_truefalse', 'version', '2010090501'),
'theme_formal_white', 'version', '2011061301'),
'assignment_online', 'version', '2010090501'),
'quiz_overview', 'version', '2009091400'),
'quiz_statistics', 'version', '2008112103'),
'workshopform_accumulative', 'version', '2010091700'),
'workshopform_comments', 'version', '2010091700'),
'workshopform_numerrors', 'version', '2010091700'),
'workshopform_rubric', 'version', '2010091700'),
'workshopeval_best', 'version', '2010090501'),
'folder', 'requiremodintro', '1'),
'imscp', 'requiremodintro', '1'),
'imscp', 'keepold', '1'),
'imscp', 'keepold_adv', '0'),
'page', 'requiremodintro', '1'),
'page', 'displayoptions', '5'),

(340,
(341,
(342,
(343,
(344,
(345,
(346,
(347,
(348,
(349,
(350,
(351,
(352,
(353,
(354,
(355,
(356,
(357,
(358,
(359,
(360,
(361,
(362,
(363,
(364,
(365,
(366,
(367,
(368,
(369,
(370,
(371,
(372,
(373,
(374,
(375,
(376,
(377,
(378,
(379,
(380,
(381,
(382,
(383,
(384,
(385,
(386,
(387,
(388,
(389,
(390,
(391,
(392,
(393,
(394,
(395,
(396,
(397,
(398,
(399,

'page', 'printheading', '1'),


'page', 'printheading_adv', '0'),
'page', 'printintro', '0'),
'page', 'printintro_adv', '0'),
'page', 'display', '5'),
'page', 'display_adv', '1'),
'page', 'popupwidth', '620'),
'page', 'popupwidth_adv', '1'),
'page', 'popupheight', '450'),
'page', 'popupheight_adv', '1'),
'quiz', 'timelimit', '0'),
'quiz', 'timelimit_adv', '0'),
'quiz', 'attempts', '0'),
'quiz', 'attempts_adv', '0'),
'quiz', 'grademethod', '1'),
'quiz', 'grademethod_adv', '0'),
'quiz', 'maximumgrade', '10'),
'quiz', 'shufflequestions', '0'),
'quiz', 'shufflequestions_adv', '0'),
'quiz', 'questionsperpage', '1'),
'quiz', 'questionsperpage_adv', '0'),
'quiz', 'shuffleanswers', '1'),
'quiz', 'shuffleanswers_adv', '0'),
'quiz', 'optionflags', '1'),
'quiz', 'optionflags_adv', '0'),
'quiz', 'penaltyscheme', '1'),
'quiz', 'penaltyscheme_adv', '1'),
'quiz', 'attemptonlast', '0'),
'quiz', 'attemptonlast_adv', '1'),
'quiz', 'review', '1073741823'),
'quiz', 'review_adv', '0'),
'quiz', 'showuserpicture', '0'),
'quiz', 'showuserpicture_adv', '0'),
'quiz', 'decimalpoints', '2'),
'quiz', 'decimalpoints_adv', '0'),
'quiz', 'questiondecimalpoints', '-1'),
'quiz', 'questiondecimalpoints_adv', '0'),
'quiz', 'showblocks', '0'),
'quiz', 'showblocks_adv', '1'),
'quiz', 'password', ''),
'quiz', 'password_adv', '0'),
'quiz', 'subnet', ''),
'quiz', 'subnet_adv', '0'),
'quiz', 'delay1', '0'),
'quiz', 'delay1_adv', '0'),
'quiz', 'delay2', '0'),
'quiz', 'delay2_adv', '0'),
'quiz', 'popup', '0'),
'quiz', 'popup_adv', '1'),
'resource', 'framesize', '130'),
'resource', 'requiremodintro', '1'),
'resource', 'displayoptions', '0,1,4,5,6'),
'resource', 'printheading', '0'),
'resource', 'printheading_adv', '0'),
'resource', 'printintro', '1'),
'resource', 'printintro_adv', '0'),
'resource', 'display', '0'),
'resource', 'display_adv', '0'),
'resource', 'popupwidth', '620'),
'resource', 'popupwidth_adv', '1'),

(400,
(401,
(402,
(403,
(404,
(405,
(406,
(407,
(408,
(409,
(410,
(411,
(412,
(413,
(414,
(415,
(416,
(417,
(418,
(419,
(420,
(421,
(422,
(423,
(424,
(425,
(426,
(427,
(428,
(429,
(430,
(431,
(432,
(433,
(434,
(435,
(436,
(437,
(438,
(439,
(440,
(441,
(442,
(443,
(444,
(445,
(446,
(447,
(448,
(449,
(450,
(451,
(452,
(453,
(454,
(455,
(456,
(457,
(458,
(459,

'resource', 'popupheight', '450'),


'resource', 'popupheight_adv', '1'),
'resource', 'filterfiles', '0'),
'resource', 'filterfiles_adv', '1'),
'scorm', 'grademethod', '1'),
'scorm', 'maxgrade', '100'),
'scorm', 'maxattempts', '0'),
'scorm', 'displayattemptstatus', '0'),
'scorm', 'displaycoursestructure', '0'),
'scorm', 'forcecompleted', '0'),
'scorm', 'forcenewattempt', '0'),
'scorm', 'lastattemptlock', '0'),
'scorm', 'whatgrade', '0'),
'scorm', 'framewidth', '100'),
'scorm', 'frameheight', '500'),
'scorm', 'popup', '0'),
'scorm', 'resizable', '0'),
'scorm', 'scrollbars', '0'),
'scorm', 'directories', '0'),
'scorm', 'location', '0'),
'scorm', 'menubar', '0'),
'scorm', 'toolbar', '0'),
'scorm', 'status', '0'),
'scorm', 'skipview', '0'),
'scorm', 'hidebrowse', '0'),
'scorm', 'hidetoc', '0'),
'scorm', 'hidenav', '0'),
'scorm', 'auto', '0'),
'scorm', 'updatefreq', '0'),
'scorm', 'allowtypeexternal', '0'),
'scorm', 'allowtypelocalsync', '0'),
'scorm', 'allowtypeimsrepository', '0'),
'scorm', 'forcejavascript', '1'),
'scorm', 'allowapidebug', '0'),
'scorm', 'apidebugmask', '.*'),
'url', 'framesize', '130'),
'url', 'requiremodintro', '1'),
'url', 'secretphrase', ''),
'url', 'rolesinparams', '0'),
'url', 'displayoptions', '0,1,5,6'),
'url', 'printheading', '0'),
'url', 'printheading_adv', '0'),
'url', 'printintro', '1'),
'url', 'printintro_adv', '0'),
'url', 'display', '0'),
'url', 'display_adv', '0'),
'url', 'popupwidth', '620'),
'url', 'popupwidth_adv', '1'),
'url', 'popupheight', '450'),
'url', 'popupheight_adv', '1'),
'workshop', 'grade', '80'),
'workshop', 'gradinggrade', '20'),
'workshop', 'gradedecimals', '0'),
'workshop', 'maxbytes', '0'),
'workshop', 'strategy', 'accumulative'),
'workshop', 'examplesmode', '0'),
'workshopallocation_random', 'numofreviews', '5'),
'workshopform_numerrors', 'grade0', 'No'),
'workshopform_numerrors', 'grade1', 'Yes'),
'workshopeval_best', 'comparison', '5'),

(460,
(461,
(462,
(463,
(464,
(465,
(466,
(467,
(468,
(469,
(470,
(471,
(472,
(473,
(474,
(475,
(476,
(477,
(478,
(479,
(480,
(481,
(482,
(483,
(484,
(485,
(486,
(487,
(488,

'blocks/section_links', 'numsections1', '22'),


'blocks/section_links', 'incby1', '2'),
'blocks/section_links', 'numsections2', '40'),
'blocks/section_links', 'incby2', '5'),
'enrol_cohort', 'roleid', '5'),
'enrol_database', 'defaultrole', '5'),
'enrol_database', 'defaultcategory', '1'),
'enrol_flatfile', 'map_1', 'manager'),
'enrol_flatfile', 'map_2', 'coursecreator'),
'enrol_flatfile', 'map_3', 'editingteacher'),
'enrol_flatfile', 'map_4', 'teacher'),
'enrol_flatfile', 'map_5', 'student'),
'enrol_flatfile', 'map_6', 'guest'),
'enrol_flatfile', 'map_7', 'user'),
'enrol_flatfile', 'map_8', 'frontpage'),
'enrol_imsenterprise', 'imsrolemap01', '5'),
'enrol_imsenterprise', 'imsrolemap02', '3'),
'enrol_imsenterprise', 'imsrolemap03', '3'),
'enrol_imsenterprise', 'imsrolemap04', '5'),
'enrol_imsenterprise', 'imsrolemap05', '0'),
'enrol_imsenterprise', 'imsrolemap06', '4'),
'enrol_imsenterprise', 'imsrolemap07', '0'),
'enrol_imsenterprise', 'imsrolemap08', '4'),
'enrol_manual', 'roleid', '5'),
'enrol_meta', 'nosyncroleids', ''),
'enrol_mnet', 'roleid', '5'),
'enrol_mnet', 'roleid_adv', '1'),
'enrol_paypal', 'roleid', '5'),
'enrol_self', 'roleid', '5');

-- ---------------------------------------------------------- Table structure for table `mdl_context`


-CREATE TABLE IF NOT EXISTS `mdl_context` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`contextlevel` bigint(10) unsigned NOT NULL DEFAULT '0',
`instanceid` bigint(10) unsigned NOT NULL DEFAULT '0',
`path` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`depth` tinyint(2) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_cont_conins_uix` (`contextlevel`,`instanceid`),
KEY `mdl_cont_ins_ix` (`instanceid`),
KEY `mdl_cont_pat_ix` (`path`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='one of th
ese must be set' AUTO_INCREMENT=14 ;
--- Dumping data for table `mdl_context`
-INSERT INTO `mdl_context` (`id`, `contextlevel`, `instanceid`, `path`, `depth`)
VALUES
(1, 10, 0, '/1', 1),
(2, 50, 1, '/1/2', 2),
(3, 40, 1, '/1/3', 2),
(4, 80, 1, '/1/2/4', 3),
(5, 80, 2, '/1/2/5', 3),

(6, 80, 3, '/1/2/6', 3),


(7, 80, 4, '/1/7', 2),
(8, 80, 5, '/1/8', 2),
(9, 80, 6, '/1/9', 2),
(10, 80, 7, '/1/10', 2),
(11, 80, 8, '/1/11', 2),
(12, 80, 9, '/1/12', 2),
(13, 30, 2, '/1/13', 2);
-- ---------------------------------------------------------- Table structure for table `mdl_context_temp`
-CREATE TABLE IF NOT EXISTS `mdl_context_temp` (
`id` bigint(10) unsigned NOT NULL,
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`depth` tinyint(2) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Used by bu
ild_context_path() in upgrade and cron to keep con';
-- ---------------------------------------------------------- Table structure for table `mdl_course`
-CREATE TABLE IF NOT EXISTS `mdl_course` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`category` bigint(10) unsigned NOT NULL DEFAULT '0',
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
`fullname` varchar(254) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`shortname` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`idnumber` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`summary` text COLLATE utf8_unicode_ci,
`summaryformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`format` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'topics',
`showgrades` tinyint(2) unsigned NOT NULL DEFAULT '1',
`modinfo` longtext COLLATE utf8_unicode_ci,
`newsitems` mediumint(5) unsigned NOT NULL DEFAULT '1',
`startdate` bigint(10) unsigned NOT NULL DEFAULT '0',
`numsections` mediumint(5) unsigned NOT NULL DEFAULT '1',
`marker` bigint(10) unsigned NOT NULL DEFAULT '0',
`maxbytes` bigint(10) unsigned NOT NULL DEFAULT '0',
`legacyfiles` smallint(4) unsigned NOT NULL DEFAULT '0',
`showreports` smallint(4) unsigned NOT NULL DEFAULT '0',
`visible` tinyint(1) unsigned NOT NULL DEFAULT '1',
`visibleold` tinyint(1) unsigned NOT NULL DEFAULT '1',
`hiddensections` tinyint(2) unsigned NOT NULL DEFAULT '0',
`groupmode` smallint(4) unsigned NOT NULL DEFAULT '0',
`groupmodeforce` smallint(4) unsigned NOT NULL DEFAULT '0',
`defaultgroupingid` bigint(10) unsigned NOT NULL DEFAULT '0',
`lang` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`theme` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`requested` tinyint(1) unsigned NOT NULL DEFAULT '0',
`restrictmodules` tinyint(1) unsigned NOT NULL DEFAULT '0',

`enablecompletion` tinyint(1) unsigned NOT NULL DEFAULT '0',


`completionstartonenrol` tinyint(1) unsigned NOT NULL DEFAULT '0',
`completionnotify` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_cour_cat_ix` (`category`),
KEY `mdl_cour_idn_ix` (`idnumber`),
KEY `mdl_cour_sho_ix` (`shortname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Central c
ourse table' AUTO_INCREMENT=2 ;
--- Dumping data for table `mdl_course`
-INSERT INTO `mdl_course` (`id`, `category`, `sortorder`, `fullname`, `shortname`
, `idnumber`, `summary`, `summaryformat`, `format`, `showgrades`, `modinfo`, `ne
wsitems`, `startdate`, `numsections`, `marker`, `maxbytes`, `legacyfiles`, `show
reports`, `visible`, `visibleold`, `hiddensections`, `groupmode`, `groupmodeforc
e`, `defaultgroupingid`, `lang`, `theme`, `timecreated`, `timemodified`, `reques
ted`, `restrictmodules`, `enablecompletion`, `completionstartonenrol`, `completi
onnotify`) VALUES
(1, 0, 1, 'SMPN 62 JAKARTA', 'smp62', '', '<p>Sistem Pembelajaran Dari SMP Neger
i 62 Jakarta</p>', 0, 'site', 1, 'a:0:{}', 3, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0
, '', '', 1441540948, 1441541572, 0, 0, 0, 0, 0);
-- ---------------------------------------------------------- Table structure for table `mdl_course_allowed_modules`
-CREATE TABLE IF NOT EXISTS `mdl_course_allowed_modules` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`module` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_courallomodu_cou_ix` (`course`),
KEY `mdl_courallomodu_mod_ix` (`module`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='allowed mo
dules foreach course' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_categories`
-CREATE TABLE IF NOT EXISTS `mdl_course_categories` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci,
`descriptionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`parent` bigint(10) unsigned NOT NULL DEFAULT '0',
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
`coursecount` bigint(10) unsigned NOT NULL DEFAULT '0',
`visible` tinyint(1) NOT NULL DEFAULT '1',
`visibleold` tinyint(1) NOT NULL DEFAULT '1',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`depth` bigint(10) unsigned NOT NULL DEFAULT '0',
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',

`theme` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,


PRIMARY KEY (`id`),
KEY `mdl_courcate_par_ix` (`parent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Course ca
tegories' AUTO_INCREMENT=2 ;
--- Dumping data for table `mdl_course_categories`
-INSERT INTO `mdl_course_categories` (`id`, `name`, `description`, `descriptionfo
rmat`, `parent`, `sortorder`, `coursecount`, `visible`, `visibleold`, `timemodif
ied`, `depth`, `path`, `theme`) VALUES
(1, 'Lain-lain', NULL, 0, 0, 10000, 0, 1, 1, 1441540948, 1, '/1', NULL);
-- ---------------------------------------------------------- Table structure for table `mdl_course_completions`
-CREATE TABLE IF NOT EXISTS `mdl_course_completions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`deleted` tinyint(1) unsigned DEFAULT NULL,
`timenotified` bigint(10) unsigned DEFAULT NULL,
`timeenrolled` bigint(10) unsigned NOT NULL DEFAULT '0',
`timestarted` bigint(10) unsigned NOT NULL DEFAULT '0',
`timecompleted` bigint(10) unsigned DEFAULT NULL,
`reaggregate` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_courcomp_use_ix` (`userid`),
KEY `mdl_courcomp_cou_ix` (`course`),
KEY `mdl_courcomp_tim_ix` (`timecompleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Course com
pletion records' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_completion_aggr_methd`
-CREATE TABLE IF NOT EXISTS `mdl_course_completion_aggr_methd` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`criteriatype` bigint(20) unsigned DEFAULT NULL,
`method` tinyint(1) unsigned NOT NULL DEFAULT '0',
`value` decimal(10,5) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_courcompaggrmeth_cou_ix` (`course`),
KEY `mdl_courcompaggrmeth_cri_ix` (`criteriatype`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Course com
pletion aggregation methods for criteria' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_completion_criteria`

-CREATE TABLE IF NOT EXISTS `mdl_course_completion_criteria` (


`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`criteriatype` bigint(20) unsigned NOT NULL DEFAULT '0',
`module` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`moduleinstance` bigint(10) unsigned DEFAULT NULL,
`courseinstance` bigint(10) unsigned DEFAULT NULL,
`enrolperiod` bigint(10) unsigned DEFAULT NULL,
`timeend` bigint(10) unsigned DEFAULT NULL,
`gradepass` decimal(10,5) DEFAULT NULL,
`role` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_courcompcrit_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Course com
pletion criteria' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_completion_crit_compl`
-CREATE TABLE IF NOT EXISTS `mdl_course_completion_crit_compl` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`criteriaid` bigint(10) unsigned NOT NULL DEFAULT '0',
`gradefinal` decimal(10,5) DEFAULT NULL,
`unenroled` bigint(10) unsigned DEFAULT NULL,
`deleted` tinyint(1) unsigned DEFAULT NULL,
`timecompleted` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_courcompcritcomp_use_ix` (`userid`),
KEY `mdl_courcompcritcomp_cou_ix` (`course`),
KEY `mdl_courcompcritcomp_cri_ix` (`criteriaid`),
KEY `mdl_courcompcritcomp_tim_ix` (`timecompleted`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Course com
pletion user records' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_completion_notify`
-CREATE TABLE IF NOT EXISTS `mdl_course_completion_notify` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`role` bigint(10) unsigned NOT NULL DEFAULT '0',
`message` text COLLATE utf8_unicode_ci NOT NULL,
`timesent` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_courcompnoti_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Course com
pletion notification emails' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_course_display`


-CREATE TABLE IF NOT EXISTS `mdl_course_display` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`display` bigint(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_courdisp_couuse_ix` (`course`,`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores inf
o about how to display the course' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_modules`
-CREATE TABLE IF NOT EXISTS `mdl_course_modules` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`module` bigint(10) unsigned NOT NULL DEFAULT '0',
`instance` bigint(10) unsigned NOT NULL DEFAULT '0',
`section` bigint(10) unsigned NOT NULL DEFAULT '0',
`idnumber` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`added` bigint(10) unsigned NOT NULL DEFAULT '0',
`score` smallint(4) NOT NULL DEFAULT '0',
`indent` mediumint(5) unsigned NOT NULL DEFAULT '0',
`visible` tinyint(1) NOT NULL DEFAULT '1',
`visibleold` tinyint(1) NOT NULL DEFAULT '1',
`groupmode` smallint(4) NOT NULL DEFAULT '0',
`groupingid` bigint(10) unsigned NOT NULL DEFAULT '0',
`groupmembersonly` smallint(4) unsigned NOT NULL DEFAULT '0',
`completion` tinyint(1) unsigned NOT NULL DEFAULT '0',
`completiongradeitemnumber` bigint(10) unsigned DEFAULT NULL,
`completionview` tinyint(1) unsigned NOT NULL DEFAULT '0',
`completionexpected` bigint(10) unsigned NOT NULL DEFAULT '0',
`availablefrom` bigint(10) unsigned NOT NULL DEFAULT '0',
`availableuntil` bigint(10) unsigned NOT NULL DEFAULT '0',
`showavailability` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_courmodu_vis_ix` (`visible`),
KEY `mdl_courmodu_cou_ix` (`course`),
KEY `mdl_courmodu_mod_ix` (`module`),
KEY `mdl_courmodu_ins_ix` (`instance`),
KEY `mdl_courmodu_idncou_ix` (`idnumber`,`course`),
KEY `mdl_courmodu_gro_ix` (`groupingid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='course_mod
ules table retrofitted from MySQL' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_modules_availability`
-CREATE TABLE IF NOT EXISTS `mdl_course_modules_availability` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,

`coursemoduleid` bigint(10) unsigned NOT NULL,


`sourcecmid` bigint(10) unsigned DEFAULT NULL,
`requiredcompletion` tinyint(1) unsigned DEFAULT NULL,
`gradeitemid` bigint(10) unsigned DEFAULT NULL,
`grademin` decimal(10,5) DEFAULT NULL,
`grademax` decimal(10,5) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_courmoduavai_cou_ix` (`coursemoduleid`),
KEY `mdl_courmoduavai_sou_ix` (`sourcecmid`),
KEY `mdl_courmoduavai_gra_ix` (`gradeitemid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Table stor
es conditions that affect whether a module/activit' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_modules_completion`
-CREATE TABLE IF NOT EXISTS `mdl_course_modules_completion` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`coursemoduleid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`completionstate` tinyint(1) unsigned NOT NULL,
`viewed` tinyint(1) unsigned DEFAULT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_courmoducomp_usecou_uix` (`userid`,`coursemoduleid`),
KEY `mdl_courmoducomp_cou_ix` (`coursemoduleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores the
completion state (completed or not completed, etc' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_published`
-CREATE TABLE IF NOT EXISTS `mdl_course_published` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`huburl` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`courseid` bigint(10) unsigned NOT NULL,
`timepublished` bigint(10) unsigned NOT NULL,
`enrollable` tinyint(1) unsigned NOT NULL DEFAULT '1',
`hubcourseid` bigint(10) unsigned NOT NULL,
`status` tinyint(1) unsigned DEFAULT '0',
`timechecked` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Informatio
n about how and when an local courses were publish' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_request`
-CREATE TABLE IF NOT EXISTS `mdl_course_request` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`fullname` varchar(254) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',

`shortname` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',


`summary` text COLLATE utf8_unicode_ci NOT NULL,
`summaryformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`reason` text COLLATE utf8_unicode_ci NOT NULL,
`requester` bigint(10) unsigned NOT NULL DEFAULT '0',
`password` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_courrequ_sho_ix` (`shortname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='course req
uests' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_course_sections`
-CREATE TABLE IF NOT EXISTS `mdl_course_sections` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`section` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`summary` text COLLATE utf8_unicode_ci,
`summaryformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`sequence` text COLLATE utf8_unicode_ci,
`visible` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `mdl_coursect_cousec_ix` (`course`,`section`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='to define
the sections for each course' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_data`
-CREATE TABLE IF NOT EXISTS `mdl_data` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`comments` smallint(4) unsigned NOT NULL DEFAULT '0',
`timeavailablefrom` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeavailableto` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeviewfrom` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeviewto` bigint(10) unsigned NOT NULL DEFAULT '0',
`requiredentries` int(8) unsigned NOT NULL DEFAULT '0',
`requiredentriestoview` int(8) unsigned NOT NULL DEFAULT '0',
`maxentries` int(8) unsigned NOT NULL DEFAULT '0',
`rssarticles` smallint(4) unsigned NOT NULL DEFAULT '0',
`singletemplate` text COLLATE utf8_unicode_ci,
`listtemplate` text COLLATE utf8_unicode_ci,
`listtemplateheader` text COLLATE utf8_unicode_ci,
`listtemplatefooter` text COLLATE utf8_unicode_ci,
`addtemplate` text COLLATE utf8_unicode_ci,
`rsstemplate` text COLLATE utf8_unicode_ci,
`rsstitletemplate` text COLLATE utf8_unicode_ci,
`csstemplate` text COLLATE utf8_unicode_ci,

`jstemplate` text COLLATE utf8_unicode_ci,


`asearchtemplate` text COLLATE utf8_unicode_ci,
`approval` smallint(4) unsigned NOT NULL DEFAULT '0',
`scale` bigint(10) NOT NULL DEFAULT '0',
`assessed` bigint(10) unsigned NOT NULL DEFAULT '0',
`assesstimestart` bigint(10) unsigned NOT NULL DEFAULT '0',
`assesstimefinish` bigint(10) unsigned NOT NULL DEFAULT '0',
`defaultsort` bigint(10) unsigned NOT NULL DEFAULT '0',
`defaultsortdir` smallint(4) unsigned NOT NULL DEFAULT '0',
`editany` smallint(4) unsigned NOT NULL DEFAULT '0',
`notification` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_data_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='all databa
se activities' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_data_content`
-CREATE TABLE IF NOT EXISTS `mdl_data_content` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`fieldid` bigint(10) unsigned NOT NULL DEFAULT '0',
`recordid` bigint(10) unsigned NOT NULL DEFAULT '0',
`content` longtext COLLATE utf8_unicode_ci,
`content1` longtext COLLATE utf8_unicode_ci,
`content2` longtext COLLATE utf8_unicode_ci,
`content3` longtext COLLATE utf8_unicode_ci,
`content4` longtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `mdl_datacont_rec_ix` (`recordid`),
KEY `mdl_datacont_fie_ix` (`fieldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='the conten
t introduced in each record/fields' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_data_fields`
-CREATE TABLE IF NOT EXISTS `mdl_data_fields` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`dataid` bigint(10) unsigned NOT NULL DEFAULT '0',
`type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci NOT NULL,
`param1` text COLLATE utf8_unicode_ci,
`param2` text COLLATE utf8_unicode_ci,
`param3` text COLLATE utf8_unicode_ci,
`param4` text COLLATE utf8_unicode_ci,
`param5` text COLLATE utf8_unicode_ci,
`param6` text COLLATE utf8_unicode_ci,
`param7` text COLLATE utf8_unicode_ci,
`param8` text COLLATE utf8_unicode_ci,
`param9` text COLLATE utf8_unicode_ci,
`param10` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),

KEY `mdl_datafiel_typdat_ix` (`type`,`dataid`),


KEY `mdl_datafiel_dat_ix` (`dataid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='every fiel
d available' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_data_records`
-CREATE TABLE IF NOT EXISTS `mdl_data_records` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`groupid` bigint(10) unsigned NOT NULL DEFAULT '0',
`dataid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`approved` smallint(4) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_datareco_dat_ix` (`dataid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='every reco
rd introduced' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_enrol`
-CREATE TABLE IF NOT EXISTS `mdl_enrol` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`enrol` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`status` bigint(10) unsigned NOT NULL DEFAULT '0',
`courseid` bigint(10) unsigned NOT NULL,
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`enrolperiod` bigint(10) unsigned DEFAULT '0',
`enrolstartdate` bigint(10) unsigned DEFAULT '0',
`enrolenddate` bigint(10) unsigned DEFAULT '0',
`expirynotify` tinyint(1) unsigned DEFAULT '0',
`expirythreshold` bigint(10) unsigned DEFAULT '0',
`notifyall` tinyint(1) unsigned DEFAULT '0',
`password` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`cost` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
`currency` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL,
`roleid` bigint(10) unsigned DEFAULT '0',
`customint1` bigint(10) DEFAULT NULL,
`customint2` bigint(10) DEFAULT NULL,
`customint3` bigint(10) DEFAULT NULL,
`customint4` bigint(10) DEFAULT NULL,
`customchar1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`customchar2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`customdec1` decimal(12,7) DEFAULT NULL,
`customdec2` decimal(12,7) DEFAULT NULL,
`customtext1` longtext COLLATE utf8_unicode_ci,
`customtext2` longtext COLLATE utf8_unicode_ci,
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),

KEY `mdl_enro_enr_ix` (`enrol`),


KEY `mdl_enro_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Instances
of enrolment plugins used in courses, fields marke' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_enrol_authorize`
-CREATE TABLE IF NOT EXISTS `mdl_enrol_authorize` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`paymentmethod` varchar(6) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'cc',
`refundinfo` smallint(4) unsigned NOT NULL DEFAULT '0',
`ccname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`instanceid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`transid` bigint(20) unsigned NOT NULL DEFAULT '0',
`status` bigint(10) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`settletime` bigint(10) unsigned NOT NULL DEFAULT '0',
`amount` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`currency` varchar(3) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'USD',
PRIMARY KEY (`id`),
KEY `mdl_enroauth_cou_ix` (`courseid`),
KEY `mdl_enroauth_use_ix` (`userid`),
KEY `mdl_enroauth_sta_ix` (`status`),
KEY `mdl_enroauth_tra_ix` (`transid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Holds all
known information about authorize.net transactions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_enrol_authorize_refunds`
-CREATE TABLE IF NOT EXISTS `mdl_enrol_authorize_refunds` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`orderid` bigint(10) unsigned NOT NULL DEFAULT '0',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0',
`amount` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`transid` bigint(20) unsigned DEFAULT '0',
`settletime` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_enroauthrefu_tra_ix` (`transid`),
KEY `mdl_enroauthrefu_ord_ix` (`orderid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Authorize.
net refunds' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_enrol_flatfile`
-CREATE TABLE IF NOT EXISTS `mdl_enrol_flatfile` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,

`action` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',


`roleid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`courseid` bigint(10) unsigned NOT NULL,
`timestart` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_enroflat_cou_ix` (`courseid`),
KEY `mdl_enroflat_use_ix` (`userid`),
KEY `mdl_enroflat_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='enrol_flat
file table retrofitted from MySQL' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_enrol_paypal`
-CREATE TABLE IF NOT EXISTS `mdl_enrol_paypal` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`business` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`receiver_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`receiver_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`item_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`instanceid` bigint(10) unsigned NOT NULL DEFAULT '0',
`memo` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`tax` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`option_name1` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`option_selection1_x` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT ''
,
`option_name2` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`option_selection2_x` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT ''
,
`payment_status` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`pending_reason` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`reason_code` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`txn_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`parent_txn_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`payment_type` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timeupdated` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Holds all
known information about PayPal transactions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_event`
-CREATE TABLE IF NOT EXISTS `mdl_event` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci NOT NULL,
`format` smallint(4) unsigned NOT NULL DEFAULT '0',
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',

`groupid` bigint(10) unsigned NOT NULL DEFAULT '0',


`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`repeatid` bigint(10) unsigned NOT NULL DEFAULT '0',
`modulename` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`instance` bigint(10) unsigned NOT NULL DEFAULT '0',
`eventtype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timestart` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeduration` bigint(10) unsigned NOT NULL DEFAULT '0',
`visible` smallint(4) NOT NULL DEFAULT '1',
`uuid` varchar(36) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`sequence` bigint(10) unsigned NOT NULL DEFAULT '1',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_even_cou_ix` (`courseid`),
KEY `mdl_even_use_ix` (`userid`),
KEY `mdl_even_tim_ix` (`timestart`),
KEY `mdl_even_tim2_ix` (`timeduration`),
KEY `mdl_even_grocouvisuse_ix` (`groupid`,`courseid`,`visible`,`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='For everyt
hing with a time associated to it' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_events_handlers`
-CREATE TABLE IF NOT EXISTS `mdl_events_handlers` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`eventname` varchar(166) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`component` varchar(166) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`handlerfile` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`handlerfunction` mediumtext COLLATE utf8_unicode_ci,
`schedule` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`status` bigint(10) unsigned NOT NULL DEFAULT '0',
`internal` tinyint(2) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_evenhand_evecom_uix` (`eventname`,`component`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This tabl
e is for storing which components requests what typ' AUTO_INCREMENT=17 ;
--- Dumping data for table `mdl_events_handlers`
-INSERT INTO `mdl_events_handlers` (`id`, `eventname`, `component`, `handlerfile`
, `handlerfunction`, `schedule`, `status`, `internal`) VALUES
(1, 'portfolio_send', 'moodle', '/lib/portfolio.php', 's:22:"portfolio_handle_ev
ent";', 'cron', 0, 0),
(2, 'user_logout', 'mod_chat', '/mod/chat/lib.php', 's:16:"chat_user_logout";',
'instant', 0, 1),
(3, 'user_enrolled', 'mod_forum', '/mod/forum/lib.php', 's:19:"forum_user_enroll
ed";', 'instant', 0, 1),
(4, 'user_unenrolled', 'mod_forum', '/mod/forum/lib.php', 's:21:"forum_user_unen
rolled";', 'instant', 0, 1),
(5, 'role_assigned', 'enrol_category', '/enrol/category/locallib.php', 'a:2:{i:0
;s:22:"enrol_category_handler";i:1;s:13:"role_assigned";}', 'instant', 0, 1),
(6, 'role_unassigned', 'enrol_category', '/enrol/category/locallib.php', 'a:2:{i
:0;s:22:"enrol_category_handler";i:1;s:15:"role_unassigned";}', 'instant', 0, 1)
,

(7, 'cohort_member_added', 'enrol_cohort', '/enrol/cohort/locallib.php', 'a:2:{i


:0;s:20:"enrol_cohort_handler";i:1;s:12:"member_added";}', 'instant', 0, 1),
(8, 'cohort_member_removed', 'enrol_cohort', '/enrol/cohort/locallib.php', 'a:2:
{i:0;s:20:"enrol_cohort_handler";i:1;s:14:"member_removed";}', 'instant', 0, 1),
(9, 'cohort_deleted', 'enrol_cohort', '/enrol/cohort/locallib.php', 'a:2:{i:0;s:
20:"enrol_cohort_handler";i:1;s:7:"deleted";}', 'instant', 0, 1),
(10, 'role_assigned', 'enrol_meta', '/enrol/meta/locallib.php', 'a:2:{i:0;s:18:"
enrol_meta_handler";i:1;s:13:"role_assigned";}', 'instant', 0, 1),
(11, 'role_unassigned', 'enrol_meta', '/enrol/meta/locallib.php', 'a:2:{i:0;s:18
:"enrol_meta_handler";i:1;s:15:"role_unassigned";}', 'instant', 0, 1),
(12, 'user_enrolled', 'enrol_meta', '/enrol/meta/locallib.php', 'a:2:{i:0;s:18:"
enrol_meta_handler";i:1;s:13:"user_enrolled";}', 'instant', 0, 1),
(13, 'user_unenrolled', 'enrol_meta', '/enrol/meta/locallib.php', 'a:2:{i:0;s:18
:"enrol_meta_handler";i:1;s:15:"user_unenrolled";}', 'instant', 0, 1),
(14, 'course_deleted', 'enrol_meta', '/enrol/meta/locallib.php', 'a:2:{i:0;s:18:
"enrol_meta_handler";i:1;s:14:"course_deleted";}', 'instant', 0, 1),
(15, 'user_deleted', 'portfolio_googledocs', '/portfolio/googledocs/lib.php', 's
:33:"portfolio_googledocs_user_deleted";', 'cron', 0, 0),
(16, 'user_deleted', 'portfolio_picasa', '/portfolio/picasa/lib.php', 's:29:"por
tfolio_picasa_user_deleted";', 'cron', 0, 0);
-- ---------------------------------------------------------- Table structure for table `mdl_events_queue`
-CREATE TABLE IF NOT EXISTS `mdl_events_queue` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`eventdata` longtext COLLATE utf8_unicode_ci NOT NULL,
`stackdump` mediumtext COLLATE utf8_unicode_ci,
`userid` bigint(10) unsigned DEFAULT NULL,
`timecreated` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_evenqueu_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This table
is for storing queued events. It stores only one ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_events_queue_handlers`
-CREATE TABLE IF NOT EXISTS `mdl_events_queue_handlers` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`queuedeventid` bigint(10) unsigned NOT NULL,
`handlerid` bigint(10) unsigned NOT NULL,
`status` bigint(10) DEFAULT NULL,
`errormessage` mediumtext COLLATE utf8_unicode_ci,
`timemodified` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_evenqueuhand_que_ix` (`queuedeventid`),
KEY `mdl_evenqueuhand_han_ix` (`handlerid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This is th
e list of queued handlers for processing. The even' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------

-- Table structure for table `mdl_external_functions`


-CREATE TABLE IF NOT EXISTS `mdl_external_functions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`classname` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`methodname` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`classpath` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`component` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`capabilities` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_extefunc_nam_uix` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='list of a
ll external functions' AUTO_INCREMENT=20 ;
--- Dumping data for table `mdl_external_functions`
-INSERT INTO `mdl_external_functions` (`id`, `name`, `classname`, `methodname`, `
classpath`, `component`, `capabilities`) VALUES
(1, 'moodle_group_create_groups', 'moodle_group_external', 'create_groups', 'gro
up/externallib.php', 'moodle', 'moodle/course:managegroups'),
(2, 'moodle_group_get_groups', 'moodle_group_external', 'get_groups', 'group/ext
ernallib.php', 'moodle', 'moodle/course:managegroups'),
(3, 'moodle_group_get_course_groups', 'moodle_group_external', 'get_course_group
s', 'group/externallib.php', 'moodle', 'moodle/course:managegroups'),
(4, 'moodle_group_delete_groups', 'moodle_group_external', 'delete_groups', 'gro
up/externallib.php', 'moodle', 'moodle/course:managegroups'),
(5, 'moodle_group_get_groupmembers', 'moodle_group_external', 'get_groupmembers'
, 'group/externallib.php', 'moodle', 'moodle/course:managegroups'),
(6, 'moodle_group_add_groupmembers', 'moodle_group_external', 'add_groupmembers'
, 'group/externallib.php', 'moodle', 'moodle/course:managegroups'),
(7, 'moodle_group_delete_groupmembers', 'moodle_group_external', 'delete_groupme
mbers', 'group/externallib.php', 'moodle', 'moodle/course:managegroups'),
(8, 'moodle_file_get_files', 'moodle_file_external', 'get_files', 'files/externa
llib.php', 'moodle', ''),
(9, 'moodle_file_upload', 'moodle_file_external', 'upload', 'files/externallib.p
hp', 'moodle', ''),
(10, 'moodle_user_create_users', 'moodle_user_external', 'create_users', 'user/e
xternallib.php', 'moodle', 'moodle/user:create'),
(11, 'moodle_user_get_users_by_id', 'moodle_user_external', 'get_users_by_id', '
user/externallib.php', 'moodle', 'moodle/user:viewalldetails'),
(12, 'moodle_user_delete_users', 'moodle_user_external', 'delete_users', 'user/e
xternallib.php', 'moodle', 'moodle/user:delete'),
(13, 'moodle_user_update_users', 'moodle_user_external', 'update_users', 'user/e
xternallib.php', 'moodle', 'moodle/user:update'),
(14, 'moodle_enrol_get_enrolled_users', 'moodle_enrol_external', 'get_enrolled_u
sers', 'enrol/externallib.php', 'moodle', 'moodle/site:viewparticipants, moodle/
course:viewparticipants,\n
moodle/role:review, moodle/site:accessallg
roups, moodle/course:enrolreview'),
(15, 'moodle_role_assign', 'moodle_enrol_external', 'role_assign', 'enrol/extern
allib.php', 'moodle', 'moodle/role:assign'),
(16, 'moodle_role_unassign', 'moodle_enrol_external', 'role_unassign', 'enrol/ex
ternallib.php', 'moodle', 'moodle/role:assign'),
(17, 'moodle_course_get_courses', 'moodle_course_external', 'get_courses', 'cour
se/externallib.php', 'moodle', 'moodle/course:view,moodle/course:update,moodle/c
ourse:viewhiddencourses'),
(18, 'moodle_course_create_courses', 'moodle_course_external', 'create_courses',

'course/externallib.php', 'moodle', 'moodle/course:create,moodle/course:visibil


ity'),
(19, 'moodle_enrol_manual_enrol_users', 'moodle_enrol_manual_external', 'manual_
enrol_users', 'enrol/manual/externallib.php', 'enrol_manual', 'enrol/manual:enro
l');
-- ---------------------------------------------------------- Table structure for table `mdl_external_services`
-CREATE TABLE IF NOT EXISTS `mdl_external_services` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`enabled` tinyint(1) unsigned NOT NULL,
`requiredcapability` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
`restrictedusers` tinyint(1) unsigned NOT NULL,
`component` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`timecreated` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_exteserv_nam_uix` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='built in a
nd custom external services' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_external_services_functions`
-CREATE TABLE IF NOT EXISTS `mdl_external_services_functions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`externalserviceid` bigint(10) unsigned NOT NULL,
`functionname` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_exteservfunc_ext_ix` (`externalserviceid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='lists func
tions available in each service group' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_external_services_users`
-CREATE TABLE IF NOT EXISTS `mdl_external_services_users` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`externalserviceid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`iprestriction` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`validuntil` bigint(10) unsigned DEFAULT NULL,
`timecreated` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_exteservuser_ext_ix` (`externalserviceid`),
KEY `mdl_exteservuser_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='users allo
wed to use services with restricted users flag' AUTO_INCREMENT=1 ;

-- ---------------------------------------------------------- Table structure for table `mdl_external_tokens`


-CREATE TABLE IF NOT EXISTS `mdl_external_tokens` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`token` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`tokentype` smallint(4) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`externalserviceid` bigint(10) unsigned NOT NULL,
`sid` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
`contextid` bigint(10) unsigned NOT NULL,
`creatorid` bigint(20) unsigned NOT NULL DEFAULT '1',
`iprestriction` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`validuntil` bigint(10) unsigned DEFAULT NULL,
`timecreated` bigint(10) unsigned NOT NULL,
`lastaccess` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_extetoke_use_ix` (`userid`),
KEY `mdl_extetoke_ext_ix` (`externalserviceid`),
KEY `mdl_extetoke_con_ix` (`contextid`),
KEY `mdl_extetoke_cre_ix` (`creatorid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Security t
okens for accessing of external services' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_feedback`
-CREATE TABLE IF NOT EXISTS `mdl_feedback` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`anonymous` tinyint(1) unsigned NOT NULL DEFAULT '1',
`email_notification` tinyint(1) unsigned NOT NULL DEFAULT '1',
`multiple_submit` tinyint(1) unsigned NOT NULL DEFAULT '1',
`autonumbering` tinyint(1) unsigned NOT NULL DEFAULT '1',
`site_after_submit` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`page_after_submit` text COLLATE utf8_unicode_ci NOT NULL,
`page_after_submitformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`publish_stats` tinyint(1) unsigned NOT NULL DEFAULT '0',
`timeopen` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeclose` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`completionsubmit` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_feed_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='all feedba
cks' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_feedback_completed`

-CREATE TABLE IF NOT EXISTS `mdl_feedback_completed` (


`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`feedback` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`random_response` bigint(10) unsigned NOT NULL DEFAULT '0',
`anonymous_response` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_feedcomp_use_ix` (`userid`),
KEY `mdl_feedcomp_fee_ix` (`feedback`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='filled out
feedback' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_feedback_completedtmp`
-CREATE TABLE IF NOT EXISTS `mdl_feedback_completedtmp` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`feedback` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`guestid` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`random_response` bigint(10) unsigned NOT NULL DEFAULT '0',
`anonymous_response` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_feedcomp_use2_ix` (`userid`),
KEY `mdl_feedcomp_fee2_ix` (`feedback`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='filled out
feedback' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_feedback_item`
-CREATE TABLE IF NOT EXISTS `mdl_feedback_item` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`feedback` bigint(10) unsigned NOT NULL DEFAULT '0',
`template` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`label` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`presentation` text COLLATE utf8_unicode_ci NOT NULL,
`typ` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`hasvalue` tinyint(1) unsigned NOT NULL DEFAULT '0',
`position` smallint(3) unsigned NOT NULL DEFAULT '0',
`required` tinyint(1) unsigned NOT NULL DEFAULT '0',
`dependitem` bigint(10) unsigned NOT NULL DEFAULT '0',
`dependvalue` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`options` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_feeditem_fee_ix` (`feedback`),
KEY `mdl_feeditem_tem_ix` (`template`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='feedback_i
tems' AUTO_INCREMENT=1 ;

-- ---------------------------------------------------------- Table structure for table `mdl_feedback_sitecourse_map`


-CREATE TABLE IF NOT EXISTS `mdl_feedback_sitecourse_map` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`feedbackid` bigint(10) unsigned NOT NULL DEFAULT '0',
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_feedsitemap_cou_ix` (`courseid`),
KEY `mdl_feedsitemap_fee_ix` (`feedbackid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='feedback s
itecourse map' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_feedback_template`
-CREATE TABLE IF NOT EXISTS `mdl_feedback_template` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`ispublic` tinyint(1) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_feedtemp_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='templates
of feedbackstructures' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_feedback_tracking`
-CREATE TABLE IF NOT EXISTS `mdl_feedback_tracking` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`feedback` bigint(10) unsigned NOT NULL DEFAULT '0',
`completed` bigint(10) unsigned NOT NULL DEFAULT '0',
`tmp_completed` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_feedtrac_use_ix` (`userid`),
KEY `mdl_feedtrac_fee_ix` (`feedback`),
KEY `mdl_feedtrac_com_ix` (`completed`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='feedback t
rackingdata' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_feedback_value`
-CREATE TABLE IF NOT EXISTS `mdl_feedback_value` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,

`course_id` bigint(10) unsigned NOT NULL DEFAULT '0',


`item` bigint(10) unsigned NOT NULL DEFAULT '0',
`completed` bigint(10) unsigned NOT NULL DEFAULT '0',
`tmp_completed` bigint(10) unsigned NOT NULL DEFAULT '0',
`value` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_feedvalu_cou_ix` (`course_id`),
KEY `mdl_feedvalu_ite_ix` (`item`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='values of
the completeds' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_feedback_valuetmp`
-CREATE TABLE IF NOT EXISTS `mdl_feedback_valuetmp` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course_id` bigint(10) unsigned NOT NULL DEFAULT '0',
`item` bigint(10) unsigned NOT NULL DEFAULT '0',
`completed` bigint(10) unsigned NOT NULL DEFAULT '0',
`tmp_completed` bigint(10) unsigned NOT NULL DEFAULT '0',
`value` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_feedvalu_cou2_ix` (`course_id`),
KEY `mdl_feedvalu_ite2_ix` (`item`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='values of
the completedstmp' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_files`
-CREATE TABLE IF NOT EXISTS `mdl_files` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`contenthash` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`pathnamehash` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`contextid` bigint(10) unsigned NOT NULL,
`component` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`filearea` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemid` bigint(10) unsigned NOT NULL,
`filepath` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`filename` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`userid` bigint(10) unsigned DEFAULT NULL,
`filesize` bigint(10) unsigned NOT NULL,
`mimetype` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`status` bigint(10) unsigned NOT NULL DEFAULT '0',
`source` text COLLATE utf8_unicode_ci,
`author` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`license` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`timecreated` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_file_pat_uix` (`pathnamehash`),
KEY `mdl_file_comfilconite_ix` (`component`,`filearea`,`contextid`,`itemid`),
KEY `mdl_file_con_ix` (`contenthash`),

KEY `mdl_file_con2_ix` (`contextid`),


KEY `mdl_file_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='descriptio
n of files, content is stored in sha1 file pool' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_filter_active`
-CREATE TABLE IF NOT EXISTS `mdl_filter_active` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`filter` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`contextid` bigint(10) unsigned NOT NULL,
`active` smallint(4) NOT NULL,
`sortorder` bigint(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_filtacti_confil_uix` (`contextid`,`filter`),
KEY `mdl_filtacti_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores inf
ormation about which filters are active in which c' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_filter_config`
-CREATE TABLE IF NOT EXISTS `mdl_filter_config` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`filter` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`contextid` bigint(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_filtconf_confilnam_uix` (`contextid`,`filter`,`name`),
KEY `mdl_filtconf_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores per
-context configuration settings for filters which ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_folder`
-CREATE TABLE IF NOT EXISTS `mdl_folder` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`revision` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_fold_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='each recor
d is one folder resource' AUTO_INCREMENT=1 ;

-- ---------------------------------------------------------- Table structure for table `mdl_forum`


-CREATE TABLE IF NOT EXISTS `mdl_forum` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'general',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`assessed` bigint(10) unsigned NOT NULL DEFAULT '0',
`assesstimestart` bigint(10) unsigned NOT NULL DEFAULT '0',
`assesstimefinish` bigint(10) unsigned NOT NULL DEFAULT '0',
`scale` bigint(10) NOT NULL DEFAULT '0',
`maxbytes` bigint(10) unsigned NOT NULL DEFAULT '0',
`maxattachments` bigint(10) unsigned NOT NULL DEFAULT '1',
`forcesubscribe` tinyint(1) unsigned NOT NULL DEFAULT '0',
`trackingtype` tinyint(2) unsigned NOT NULL DEFAULT '1',
`rsstype` tinyint(2) unsigned NOT NULL DEFAULT '0',
`rssarticles` tinyint(2) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`warnafter` bigint(10) unsigned NOT NULL DEFAULT '0',
`blockafter` bigint(10) unsigned NOT NULL DEFAULT '0',
`blockperiod` bigint(10) unsigned NOT NULL DEFAULT '0',
`completiondiscussions` int(9) unsigned NOT NULL DEFAULT '0',
`completionreplies` int(9) unsigned NOT NULL DEFAULT '0',
`completionposts` int(9) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_foru_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Forums con
tain and structure discussion' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_forum_discussions`
-CREATE TABLE IF NOT EXISTS `mdl_forum_discussions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`forum` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`firstpost` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`groupid` bigint(10) NOT NULL DEFAULT '-1',
`assessed` tinyint(1) NOT NULL DEFAULT '1',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`usermodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`timestart` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_forudisc_use_ix` (`userid`),
KEY `mdl_forudisc_for_ix` (`forum`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Forums are
composed of discussions' AUTO_INCREMENT=1 ;

-- ---------------------------------------------------------- Table structure for table `mdl_forum_posts`


-CREATE TABLE IF NOT EXISTS `mdl_forum_posts` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`discussion` bigint(10) unsigned NOT NULL DEFAULT '0',
`parent` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`created` bigint(10) unsigned NOT NULL DEFAULT '0',
`modified` bigint(10) unsigned NOT NULL DEFAULT '0',
`mailed` tinyint(2) unsigned NOT NULL DEFAULT '0',
`subject` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`message` text COLLATE utf8_unicode_ci NOT NULL,
`messageformat` tinyint(2) NOT NULL DEFAULT '0',
`messagetrust` tinyint(2) unsigned NOT NULL DEFAULT '0',
`attachment` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`totalscore` smallint(4) NOT NULL DEFAULT '0',
`mailnow` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_forupost_use_ix` (`userid`),
KEY `mdl_forupost_cre_ix` (`created`),
KEY `mdl_forupost_mai_ix` (`mailed`),
KEY `mdl_forupost_dis_ix` (`discussion`),
KEY `mdl_forupost_par_ix` (`parent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='All posts
are stored in this table' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_forum_queue`
-CREATE TABLE IF NOT EXISTS `mdl_forum_queue` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`discussionid` bigint(10) unsigned NOT NULL DEFAULT '0',
`postid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_foruqueu_use_ix` (`userid`),
KEY `mdl_foruqueu_dis_ix` (`discussionid`),
KEY `mdl_foruqueu_pos_ix` (`postid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='For keepin
g track of posts that will be mailed in digest for' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_forum_read`
-CREATE TABLE IF NOT EXISTS `mdl_forum_read` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`forumid` bigint(10) unsigned NOT NULL DEFAULT '0',
`discussionid` bigint(10) unsigned NOT NULL DEFAULT '0',

`postid` bigint(10) unsigned NOT NULL DEFAULT '0',


`firstread` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastread` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_foruread_usefor_ix` (`userid`,`forumid`),
KEY `mdl_foruread_usedis_ix` (`userid`,`discussionid`),
KEY `mdl_foruread_usepos_ix` (`userid`,`postid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Tracks eac
h users read posts' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_forum_subscriptions`
-CREATE TABLE IF NOT EXISTS `mdl_forum_subscriptions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`forum` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_forusubs_use_ix` (`userid`),
KEY `mdl_forusubs_for_ix` (`forum`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Keeps trac
k of who is subscribed to what forum' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_forum_track_prefs`
-CREATE TABLE IF NOT EXISTS `mdl_forum_track_prefs` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`forumid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_forutracpref_usefor_ix` (`userid`,`forumid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Tracks eac
h users untracked forums' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_glossary`
-CREATE TABLE IF NOT EXISTS `mdl_glossary` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`allowduplicatedentries` tinyint(2) unsigned NOT NULL DEFAULT '0',
`displayformat` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'dictiona
ry',
`mainglossary` tinyint(2) unsigned NOT NULL DEFAULT '0',
`showspecial` tinyint(2) unsigned NOT NULL DEFAULT '1',
`showalphabet` tinyint(2) unsigned NOT NULL DEFAULT '1',
`showall` tinyint(2) unsigned NOT NULL DEFAULT '1',

`allowcomments` tinyint(2) unsigned NOT NULL DEFAULT '0',


`allowprintview` tinyint(2) unsigned NOT NULL DEFAULT '1',
`usedynalink` tinyint(2) unsigned NOT NULL DEFAULT '1',
`defaultapproval` tinyint(2) unsigned NOT NULL DEFAULT '1',
`globalglossary` tinyint(2) unsigned NOT NULL DEFAULT '0',
`entbypage` smallint(3) unsigned NOT NULL DEFAULT '10',
`editalways` tinyint(2) unsigned NOT NULL DEFAULT '0',
`rsstype` tinyint(2) unsigned NOT NULL DEFAULT '0',
`rssarticles` tinyint(2) unsigned NOT NULL DEFAULT '0',
`assessed` bigint(10) unsigned NOT NULL DEFAULT '0',
`assesstimestart` bigint(10) unsigned NOT NULL DEFAULT '0',
`assesstimefinish` bigint(10) unsigned NOT NULL DEFAULT '0',
`scale` bigint(10) NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`completionentries` int(9) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_glos_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='all glossa
ries' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_glossary_alias`
-CREATE TABLE IF NOT EXISTS `mdl_glossary_alias` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`entryid` bigint(10) unsigned NOT NULL DEFAULT '0',
`alias` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_glosalia_ent_ix` (`entryid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='entries al
ias' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_glossary_categories`
-CREATE TABLE IF NOT EXISTS `mdl_glossary_categories` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`glossaryid` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`usedynalink` tinyint(2) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `mdl_gloscate_glo_ix` (`glossaryid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='all catego
ries for glossary entries' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_glossary_entries`
-CREATE TABLE IF NOT EXISTS `mdl_glossary_entries` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,

`glossaryid` bigint(10) unsigned NOT NULL DEFAULT '0',


`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`concept` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`definition` text COLLATE utf8_unicode_ci NOT NULL,
`definitionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`definitiontrust` tinyint(2) unsigned NOT NULL DEFAULT '0',
`attachment` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`teacherentry` tinyint(2) unsigned NOT NULL DEFAULT '0',
`sourceglossaryid` bigint(10) unsigned NOT NULL DEFAULT '0',
`usedynalink` tinyint(2) unsigned NOT NULL DEFAULT '1',
`casesensitive` tinyint(2) unsigned NOT NULL DEFAULT '0',
`fullmatch` tinyint(2) unsigned NOT NULL DEFAULT '1',
`approved` tinyint(2) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `mdl_glosentr_use_ix` (`userid`),
KEY `mdl_glosentr_con_ix` (`concept`),
KEY `mdl_glosentr_glo_ix` (`glossaryid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='all glossa
ry entries' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_glossary_entries_categories`
-CREATE TABLE IF NOT EXISTS `mdl_glossary_entries_categories` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`categoryid` bigint(10) unsigned NOT NULL DEFAULT '0',
`entryid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_glosentrcate_cat_ix` (`categoryid`),
KEY `mdl_glosentrcate_ent_ix` (`entryid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='categories
of each glossary entry' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_glossary_formats`
-CREATE TABLE IF NOT EXISTS `mdl_glossary_formats` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`popupformatname` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`visible` tinyint(2) unsigned NOT NULL DEFAULT '1',
`showgroup` tinyint(2) unsigned NOT NULL DEFAULT '1',
`defaultmode` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`defaulthook` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`sortkey` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`sortorder` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Setting o
f the display formats' AUTO_INCREMENT=8 ;
--- Dumping data for table `mdl_glossary_formats`

-INSERT INTO `mdl_glossary_formats` (`id`, `name`, `popupformatname`, `visible`,


`showgroup`, `defaultmode`, `defaulthook`, `sortkey`, `sortorder`) VALUES
(1, 'continuous', 'continuous', 1, 1, '', '', '', ''),
(2, 'dictionary', 'dictionary', 1, 1, '', '', '', ''),
(3, 'encyclopedia', 'encyclopedia', 1, 1, '', '', '', ''),
(4, 'entrylist', 'entrylist', 1, 1, '', '', '', ''),
(5, 'faq', 'faq', 1, 1, '', '', '', ''),
(6, 'fullwithauthor', 'fullwithauthor', 1, 1, '', '', '', ''),
(7, 'fullwithoutauthor', 'fullwithoutauthor', 1, 1, '', '', '', '');
-- ---------------------------------------------------------- Table structure for table `mdl_grade_categories`
-CREATE TABLE IF NOT EXISTS `mdl_grade_categories` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL,
`parent` bigint(10) unsigned DEFAULT NULL,
`depth` bigint(10) unsigned NOT NULL DEFAULT '0',
`path` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`fullname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`aggregation` bigint(10) NOT NULL DEFAULT '0',
`keephigh` bigint(10) NOT NULL DEFAULT '0',
`droplow` bigint(10) NOT NULL DEFAULT '0',
`aggregateonlygraded` tinyint(1) unsigned NOT NULL DEFAULT '0',
`aggregateoutcomes` tinyint(1) unsigned NOT NULL DEFAULT '0',
`aggregatesubcats` tinyint(1) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
`hidden` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_gradcate_cou_ix` (`courseid`),
KEY `mdl_gradcate_par_ix` (`parent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This table
keeps information about categories, used for grou' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_categories_history`
-CREATE TABLE IF NOT EXISTS `mdl_grade_categories_history` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`action` bigint(10) unsigned NOT NULL DEFAULT '0',
`oldid` bigint(10) unsigned NOT NULL,
`source` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
`loggeduser` bigint(10) unsigned DEFAULT NULL,
`courseid` bigint(10) unsigned NOT NULL,
`parent` bigint(10) unsigned DEFAULT NULL,
`depth` bigint(10) unsigned NOT NULL DEFAULT '0',
`path` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`fullname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`aggregation` bigint(10) NOT NULL DEFAULT '0',
`keephigh` bigint(10) NOT NULL DEFAULT '0',

`droplow` bigint(10) NOT NULL DEFAULT '0',


`aggregateonlygraded` tinyint(1) unsigned NOT NULL DEFAULT '0',
`aggregateoutcomes` tinyint(1) unsigned NOT NULL DEFAULT '0',
`aggregatesubcats` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_gradcatehist_act_ix` (`action`),
KEY `mdl_gradcatehist_old_ix` (`oldid`),
KEY `mdl_gradcatehist_cou_ix` (`courseid`),
KEY `mdl_gradcatehist_par_ix` (`parent`),
KEY `mdl_gradcatehist_log_ix` (`loggeduser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='History of
grade_categories' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_grades`
-CREATE TABLE IF NOT EXISTS `mdl_grade_grades` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`itemid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`rawgrade` decimal(10,5) DEFAULT NULL,
`rawgrademax` decimal(10,5) NOT NULL DEFAULT '100.00000',
`rawgrademin` decimal(10,5) NOT NULL DEFAULT '0.00000',
`rawscaleid` bigint(10) unsigned DEFAULT NULL,
`usermodified` bigint(10) unsigned DEFAULT NULL,
`finalgrade` decimal(10,5) DEFAULT NULL,
`hidden` bigint(10) unsigned NOT NULL DEFAULT '0',
`locked` bigint(10) unsigned NOT NULL DEFAULT '0',
`locktime` bigint(10) unsigned NOT NULL DEFAULT '0',
`exported` bigint(10) unsigned NOT NULL DEFAULT '0',
`overridden` bigint(10) unsigned NOT NULL DEFAULT '0',
`excluded` bigint(10) unsigned NOT NULL DEFAULT '0',
`feedback` mediumtext COLLATE utf8_unicode_ci,
`feedbackformat` bigint(10) unsigned NOT NULL DEFAULT '0',
`information` mediumtext COLLATE utf8_unicode_ci,
`informationformat` bigint(10) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_gradgrad_useite_uix` (`userid`,`itemid`),
KEY `mdl_gradgrad_locloc_ix` (`locked`,`locktime`),
KEY `mdl_gradgrad_ite_ix` (`itemid`),
KEY `mdl_gradgrad_use_ix` (`userid`),
KEY `mdl_gradgrad_raw_ix` (`rawscaleid`),
KEY `mdl_gradgrad_use2_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='grade_grad
es This table keeps individual grades for each us' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_grades_history`
-CREATE TABLE IF NOT EXISTS `mdl_grade_grades_history` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`action` bigint(10) unsigned NOT NULL DEFAULT '0',

`oldid` bigint(10) unsigned NOT NULL,


`source` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
`loggeduser` bigint(10) unsigned DEFAULT NULL,
`itemid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`rawgrade` decimal(10,5) DEFAULT NULL,
`rawgrademax` decimal(10,5) NOT NULL DEFAULT '100.00000',
`rawgrademin` decimal(10,5) NOT NULL DEFAULT '0.00000',
`rawscaleid` bigint(10) unsigned DEFAULT NULL,
`usermodified` bigint(10) unsigned DEFAULT NULL,
`finalgrade` decimal(10,5) DEFAULT NULL,
`hidden` bigint(10) unsigned NOT NULL DEFAULT '0',
`locked` bigint(10) unsigned NOT NULL DEFAULT '0',
`locktime` bigint(10) unsigned NOT NULL DEFAULT '0',
`exported` bigint(10) unsigned NOT NULL DEFAULT '0',
`overridden` bigint(10) unsigned NOT NULL DEFAULT '0',
`excluded` bigint(10) unsigned NOT NULL DEFAULT '0',
`feedback` mediumtext COLLATE utf8_unicode_ci,
`feedbackformat` bigint(10) unsigned NOT NULL DEFAULT '0',
`information` mediumtext COLLATE utf8_unicode_ci,
`informationformat` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_gradgradhist_act_ix` (`action`),
KEY `mdl_gradgradhist_old_ix` (`oldid`),
KEY `mdl_gradgradhist_ite_ix` (`itemid`),
KEY `mdl_gradgradhist_use_ix` (`userid`),
KEY `mdl_gradgradhist_raw_ix` (`rawscaleid`),
KEY `mdl_gradgradhist_use2_ix` (`usermodified`),
KEY `mdl_gradgradhist_log_ix` (`loggeduser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='History ta
ble' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_import_newitem`
-CREATE TABLE IF NOT EXISTS `mdl_grade_import_newitem` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`itemname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`importcode` bigint(10) unsigned NOT NULL,
`importer` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_gradimponewi_imp_ix` (`importer`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='temporary
table for storing new grade_item names from grade ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_import_values`
-CREATE TABLE IF NOT EXISTS `mdl_grade_import_values` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`itemid` bigint(10) unsigned DEFAULT NULL,
`newgradeitem` bigint(10) unsigned DEFAULT NULL,
`userid` bigint(10) unsigned NOT NULL,

`finalgrade` decimal(10,5) DEFAULT NULL,


`feedback` mediumtext COLLATE utf8_unicode_ci,
`importcode` bigint(10) unsigned NOT NULL,
`importer` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_gradimpovalu_ite_ix` (`itemid`),
KEY `mdl_gradimpovalu_new_ix` (`newgradeitem`),
KEY `mdl_gradimpovalu_imp_ix` (`importer`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Temporary
table for importing grades' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_items`
-CREATE TABLE IF NOT EXISTS `mdl_grade_items` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned DEFAULT NULL,
`categoryid` bigint(10) unsigned DEFAULT NULL,
`itemname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`itemtype` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemmodule` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`iteminstance` bigint(10) unsigned DEFAULT NULL,
`itemnumber` bigint(10) unsigned DEFAULT NULL,
`iteminfo` mediumtext COLLATE utf8_unicode_ci,
`idnumber` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`calculation` mediumtext COLLATE utf8_unicode_ci,
`gradetype` smallint(4) NOT NULL DEFAULT '1',
`grademax` decimal(10,5) NOT NULL DEFAULT '100.00000',
`grademin` decimal(10,5) NOT NULL DEFAULT '0.00000',
`scaleid` bigint(10) unsigned DEFAULT NULL,
`outcomeid` bigint(10) unsigned DEFAULT NULL,
`gradepass` decimal(10,5) NOT NULL DEFAULT '0.00000',
`multfactor` decimal(10,5) NOT NULL DEFAULT '1.00000',
`plusfactor` decimal(10,5) NOT NULL DEFAULT '0.00000',
`aggregationcoef` decimal(10,5) NOT NULL DEFAULT '0.00000',
`sortorder` bigint(10) NOT NULL DEFAULT '0',
`display` bigint(10) NOT NULL DEFAULT '0',
`decimals` tinyint(1) unsigned DEFAULT NULL,
`hidden` bigint(10) NOT NULL DEFAULT '0',
`locked` bigint(10) NOT NULL DEFAULT '0',
`locktime` bigint(10) unsigned NOT NULL DEFAULT '0',
`needsupdate` bigint(10) NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_graditem_locloc_ix` (`locked`,`locktime`),
KEY `mdl_graditem_itenee_ix` (`itemtype`,`needsupdate`),
KEY `mdl_graditem_gra_ix` (`gradetype`),
KEY `mdl_graditem_idncou_ix` (`idnumber`,`courseid`),
KEY `mdl_graditem_cou_ix` (`courseid`),
KEY `mdl_graditem_cat_ix` (`categoryid`),
KEY `mdl_graditem_sca_ix` (`scaleid`),
KEY `mdl_graditem_out_ix` (`outcomeid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This table
keeps information about gradeable items (ie colum' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_grade_items_history`


-CREATE TABLE IF NOT EXISTS `mdl_grade_items_history` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`action` bigint(10) unsigned NOT NULL DEFAULT '0',
`oldid` bigint(10) unsigned NOT NULL,
`source` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
`loggeduser` bigint(10) unsigned DEFAULT NULL,
`courseid` bigint(10) unsigned DEFAULT NULL,
`categoryid` bigint(10) unsigned DEFAULT NULL,
`itemname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`itemtype` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemmodule` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`iteminstance` bigint(10) unsigned DEFAULT NULL,
`itemnumber` bigint(10) unsigned DEFAULT NULL,
`iteminfo` mediumtext COLLATE utf8_unicode_ci,
`idnumber` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`calculation` mediumtext COLLATE utf8_unicode_ci,
`gradetype` smallint(4) NOT NULL DEFAULT '1',
`grademax` decimal(10,5) NOT NULL DEFAULT '100.00000',
`grademin` decimal(10,5) NOT NULL DEFAULT '0.00000',
`scaleid` bigint(10) unsigned DEFAULT NULL,
`outcomeid` bigint(10) unsigned DEFAULT NULL,
`gradepass` decimal(10,5) NOT NULL DEFAULT '0.00000',
`multfactor` decimal(10,5) NOT NULL DEFAULT '1.00000',
`plusfactor` decimal(10,5) NOT NULL DEFAULT '0.00000',
`aggregationcoef` decimal(10,5) NOT NULL DEFAULT '0.00000',
`sortorder` bigint(10) NOT NULL DEFAULT '0',
`hidden` bigint(10) NOT NULL DEFAULT '0',
`locked` bigint(10) NOT NULL DEFAULT '0',
`locktime` bigint(10) unsigned NOT NULL DEFAULT '0',
`needsupdate` bigint(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_graditemhist_act_ix` (`action`),
KEY `mdl_graditemhist_old_ix` (`oldid`),
KEY `mdl_graditemhist_cou_ix` (`courseid`),
KEY `mdl_graditemhist_cat_ix` (`categoryid`),
KEY `mdl_graditemhist_sca_ix` (`scaleid`),
KEY `mdl_graditemhist_out_ix` (`outcomeid`),
KEY `mdl_graditemhist_log_ix` (`loggeduser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='History of
grade_items' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_letters`
-CREATE TABLE IF NOT EXISTS `mdl_grade_letters` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`contextid` bigint(10) unsigned NOT NULL,
`lowerboundary` decimal(10,5) NOT NULL,
`letter` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_gradlett_conlowlet_uix` (`contextid`,`lowerboundary`,`letter`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Repository


for grade letters, for courses and other moodle e' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_outcomes`
-CREATE TABLE IF NOT EXISTS `mdl_grade_outcomes` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned DEFAULT NULL,
`shortname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`fullname` text COLLATE utf8_unicode_ci NOT NULL,
`scaleid` bigint(10) unsigned DEFAULT NULL,
`description` text COLLATE utf8_unicode_ci,
`descriptionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
`usermodified` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_gradoutc_cousho_uix` (`courseid`,`shortname`),
KEY `mdl_gradoutc_cou_ix` (`courseid`),
KEY `mdl_gradoutc_sca_ix` (`scaleid`),
KEY `mdl_gradoutc_use_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This table
describes the outcomes used in the system. An out' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_outcomes_courses`
-CREATE TABLE IF NOT EXISTS `mdl_grade_outcomes_courses` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL,
`outcomeid` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_gradoutccour_couout_uix` (`courseid`,`outcomeid`),
KEY `mdl_gradoutccour_cou_ix` (`courseid`),
KEY `mdl_gradoutccour_out_ix` (`outcomeid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='stores wha
t outcomes are used in what courses.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_outcomes_history`
-CREATE TABLE IF NOT EXISTS `mdl_grade_outcomes_history` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`action` bigint(10) unsigned NOT NULL DEFAULT '0',
`oldid` bigint(10) unsigned NOT NULL,
`source` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
`loggeduser` bigint(10) unsigned DEFAULT NULL,
`courseid` bigint(10) unsigned DEFAULT NULL,
`shortname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',

`fullname` text COLLATE utf8_unicode_ci NOT NULL,


`scaleid` bigint(10) unsigned DEFAULT NULL,
`description` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `mdl_gradoutchist_act_ix` (`action`),
KEY `mdl_gradoutchist_old_ix` (`oldid`),
KEY `mdl_gradoutchist_cou_ix` (`courseid`),
KEY `mdl_gradoutchist_sca_ix` (`scaleid`),
KEY `mdl_gradoutchist_log_ix` (`loggeduser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='History ta
ble' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_grade_settings`
-CREATE TABLE IF NOT EXISTS `mdl_grade_settings` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_gradsett_counam_uix` (`courseid`,`name`),
KEY `mdl_gradsett_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='gradebook
settings' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_groupings`
-CREATE TABLE IF NOT EXISTS `mdl_groupings` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci,
`descriptionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`configdata` text COLLATE utf8_unicode_ci,
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_grou_cou2_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='A grouping
is a collection of groups. WAS: groups_groupings' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_groupings_groups`
-CREATE TABLE IF NOT EXISTS `mdl_groupings_groups` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`groupingid` bigint(10) unsigned NOT NULL DEFAULT '0',
`groupid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeadded` bigint(10) unsigned NOT NULL DEFAULT '0',

PRIMARY KEY (`id`),


KEY `mdl_grougrou_gro_ix` (`groupingid`),
KEY `mdl_grougrou_gro2_ix` (`groupid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Link a gro
uping to a group (note, groups can be in multiple ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_groups`
-CREATE TABLE IF NOT EXISTS `mdl_groups` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL,
`name` varchar(254) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci,
`descriptionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`enrolmentkey` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`picture` bigint(10) unsigned NOT NULL DEFAULT '0',
`hidepicture` tinyint(1) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_grou_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Each recor
d represents a group.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_groups_members`
-CREATE TABLE IF NOT EXISTS `mdl_groups_members` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`groupid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeadded` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_groumemb_gro_ix` (`groupid`),
KEY `mdl_groumemb_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Link a use
r to a group.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_imscp`
-CREATE TABLE IF NOT EXISTS `mdl_imscp` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`revision` bigint(10) unsigned NOT NULL DEFAULT '0',
`keepold` bigint(10) NOT NULL DEFAULT '-1',
`structure` mediumtext COLLATE utf8_unicode_ci,

`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',


PRIMARY KEY (`id`),
KEY `mdl_imsc_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='each recor
d is one imscp resource' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_label`
-CREATE TABLE IF NOT EXISTS `mdl_label` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_labe_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines la
bels' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_lesson`
-CREATE TABLE IF NOT EXISTS `mdl_lesson` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`practice` smallint(3) unsigned NOT NULL DEFAULT '0',
`modattempts` smallint(3) unsigned NOT NULL DEFAULT '0',
`usepassword` smallint(3) unsigned NOT NULL DEFAULT '0',
`password` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`dependency` bigint(10) unsigned NOT NULL DEFAULT '0',
`conditions` text COLLATE utf8_unicode_ci NOT NULL,
`grade` smallint(3) NOT NULL DEFAULT '0',
`custom` smallint(3) unsigned NOT NULL DEFAULT '0',
`ongoing` smallint(3) unsigned NOT NULL DEFAULT '0',
`usemaxgrade` smallint(3) NOT NULL DEFAULT '0',
`maxanswers` smallint(3) unsigned NOT NULL DEFAULT '4',
`maxattempts` smallint(3) unsigned NOT NULL DEFAULT '5',
`review` smallint(3) unsigned NOT NULL DEFAULT '0',
`nextpagedefault` smallint(3) unsigned NOT NULL DEFAULT '0',
`feedback` smallint(3) unsigned NOT NULL DEFAULT '1',
`minquestions` smallint(3) unsigned NOT NULL DEFAULT '0',
`maxpages` smallint(3) unsigned NOT NULL DEFAULT '0',
`timed` smallint(3) unsigned NOT NULL DEFAULT '0',
`maxtime` bigint(10) unsigned NOT NULL DEFAULT '0',
`retake` smallint(3) unsigned NOT NULL DEFAULT '1',
`activitylink` bigint(10) unsigned NOT NULL DEFAULT '0',
`mediafile` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`mediaheight` bigint(10) unsigned NOT NULL DEFAULT '100',
`mediawidth` bigint(10) unsigned NOT NULL DEFAULT '650',
`mediaclose` smallint(3) unsigned NOT NULL DEFAULT '0',
`slideshow` smallint(3) unsigned NOT NULL DEFAULT '0',

`width` bigint(10) unsigned NOT NULL DEFAULT '640',


`height` bigint(10) unsigned NOT NULL DEFAULT '480',
`bgcolor` varchar(7) COLLATE utf8_unicode_ci NOT NULL DEFAULT '#FFFFFF',
`displayleft` smallint(3) unsigned NOT NULL DEFAULT '0',
`displayleftif` smallint(3) unsigned NOT NULL DEFAULT '0',
`progressbar` smallint(3) unsigned NOT NULL DEFAULT '0',
`highscores` smallint(3) unsigned NOT NULL DEFAULT '0',
`maxhighscores` bigint(10) unsigned NOT NULL DEFAULT '0',
`available` bigint(10) unsigned NOT NULL DEFAULT '0',
`deadline` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_less_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines le
sson' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_lesson_answers`
-CREATE TABLE IF NOT EXISTS `mdl_lesson_answers` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`lessonid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`jumpto` bigint(11) NOT NULL DEFAULT '0',
`grade` smallint(4) NOT NULL DEFAULT '0',
`score` bigint(10) NOT NULL DEFAULT '0',
`flags` smallint(3) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`answer` text COLLATE utf8_unicode_ci,
`answerformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`response` text COLLATE utf8_unicode_ci,
`responseformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_lessansw_les_ix` (`lessonid`),
KEY `mdl_lessansw_pag_ix` (`pageid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines le
sson_answers' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_lesson_attempts`
-CREATE TABLE IF NOT EXISTS `mdl_lesson_attempts` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`lessonid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`answerid` bigint(10) unsigned NOT NULL DEFAULT '0',
`retry` smallint(3) unsigned NOT NULL DEFAULT '0',
`correct` bigint(10) unsigned NOT NULL DEFAULT '0',
`useranswer` text COLLATE utf8_unicode_ci,
`timeseen` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_lessatte_use_ix` (`userid`),

KEY `mdl_lessatte_les_ix` (`lessonid`),


KEY `mdl_lessatte_pag_ix` (`pageid`),
KEY `mdl_lessatte_ans_ix` (`answerid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines le
sson_attempts' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_lesson_branch`
-CREATE TABLE IF NOT EXISTS `mdl_lesson_branch` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`lessonid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`retry` bigint(10) unsigned NOT NULL DEFAULT '0',
`flag` smallint(3) unsigned NOT NULL DEFAULT '0',
`timeseen` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_lessbran_use_ix` (`userid`),
KEY `mdl_lessbran_les_ix` (`lessonid`),
KEY `mdl_lessbran_pag_ix` (`pageid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='branches f
or each lesson/user' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_lesson_grades`
-CREATE TABLE IF NOT EXISTS `mdl_lesson_grades` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`lessonid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`grade` double unsigned NOT NULL DEFAULT '0',
`late` smallint(3) unsigned NOT NULL DEFAULT '0',
`completed` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_lessgrad_use_ix` (`userid`),
KEY `mdl_lessgrad_les_ix` (`lessonid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines le
sson_grades' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_lesson_high_scores`
-CREATE TABLE IF NOT EXISTS `mdl_lesson_high_scores` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`lessonid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`gradeid` bigint(10) unsigned NOT NULL DEFAULT '0',
`nickname` varchar(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_lesshighscor_use_ix` (`userid`),

KEY `mdl_lesshighscor_les_ix` (`lessonid`)


) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='high score
s for each lesson' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_lesson_pages`
-CREATE TABLE IF NOT EXISTS `mdl_lesson_pages` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`lessonid` bigint(10) unsigned NOT NULL DEFAULT '0',
`prevpageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`nextpageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`qtype` smallint(3) unsigned NOT NULL DEFAULT '0',
`qoption` smallint(3) unsigned NOT NULL DEFAULT '0',
`layout` smallint(3) unsigned NOT NULL DEFAULT '1',
`display` smallint(3) unsigned NOT NULL DEFAULT '1',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`contents` text COLLATE utf8_unicode_ci NOT NULL,
`contentsformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_lesspage_les_ix` (`lessonid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines le
sson_pages' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_lesson_timer`
-CREATE TABLE IF NOT EXISTS `mdl_lesson_timer` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`lessonid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`starttime` bigint(10) unsigned NOT NULL DEFAULT '0',
`lessontime` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_lesstime_use_ix` (`userid`),
KEY `mdl_lesstime_les_ix` (`lessonid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='lesson tim
er for each lesson' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_license`
-CREATE TABLE IF NOT EXISTS `mdl_license` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`shortname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`fullname` text COLLATE utf8_unicode_ci,
`source` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`enabled` tinyint(1) unsigned NOT NULL DEFAULT '1',
`version` bigint(10) NOT NULL DEFAULT '0',

PRIMARY KEY (`id`)


) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='store lic
enses used by moodle' AUTO_INCREMENT=10 ;
--- Dumping data for table `mdl_license`
-INSERT INTO `mdl_license` (`id`, `shortname`, `fullname`, `source`, `enabled`, `
version`) VALUES
(1, 'unknown', 'Unknown license', '', 1, 2010033100),
(2, 'allrightsreserved', 'All rights reserved', 'http://en.wikipedia.org/wiki/Al
l_rights_reserved', 1, 2010033100),
(3, 'public', 'Public Domain', 'http://creativecommons.org/licenses/publicdomain
/', 1, 2010033100),
(4, 'cc', 'Creative Commons', 'http://creativecommons.org/licenses/by/3.0/', 1,
2010033100),
(5, 'cc-nd', 'Creative Commons - NoDerivs', 'http://creativecommons.org/licenses
/by-nd/3.0/', 1, 2010033100),
(6, 'cc-nc-nd', 'Creative Commons - No Commercial NoDerivs', 'http://creativecom
mons.org/licenses/by-nc-nd/3.0/', 1, 2010033100),
(7, 'cc-nc', 'Creative Commons - No Commercial', 'http://creativecommons.org/lic
enses/by-nd/3.0/', 1, 2010033100),
(8, 'cc-nc-sa', 'Creative Commons - No Commercial ShareAlike', 'http://creativec
ommons.org/licenses/by-nc-sa/3.0/', 1, 2010033100),
(9, 'cc-sa', 'Creative Commons - ShareAlike', 'http://creativecommons.org/licens
es/by-sa/3.0/', 1, 2010033100);
-- ---------------------------------------------------------- Table structure for table `mdl_log`
-CREATE TABLE IF NOT EXISTS `mdl_log` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`time` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`ip` varchar(45) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`module` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`cmid` bigint(10) unsigned NOT NULL DEFAULT '0',
`action` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`url` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`info` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_log_coumodact_ix` (`course`,`module`,`action`),
KEY `mdl_log_tim_ix` (`time`),
KEY `mdl_log_act_ix` (`action`),
KEY `mdl_log_usecou_ix` (`userid`,`course`),
KEY `mdl_log_cmi_ix` (`cmid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Every act
ion is logged as far as possible' AUTO_INCREMENT=8 ;
--- Dumping data for table `mdl_log`
-INSERT INTO `mdl_log` (`id`, `time`, `userid`, `ip`, `course`, `module`, `cmid`,
`action`, `url`, `info`) VALUES

(1, 1441541432,
, ''),
(2, 1441541574,
(3, 1441542068,
'2'),
(4, 1441542100,
, '2'),
(5, 1441542232,
(6, 1441542239,
(7, 1441542415,

2, '127.0.0.1', 1, 'user', 0, 'update', 'view.php?id=2&course=1'


2, '127.0.0.1', 1, 'course', 0, 'view', 'view.php?id=1', '1'),
2, '127.0.0.1', 1, 'user', 0, 'login', 'view.php?id=0&course=1',
2, '127.0.0.1', 1, 'user', 0, 'logout', 'view.php?id=2&course=1'
2, '127.0.0.1', 1, 'course', 0, 'view', 'view.php?id=1', '1'),
2, '127.0.0.1', 1, 'course', 0, 'view', 'view.php?id=1', '1'),
2, '127.0.0.1', 1, 'course', 0, 'view', 'view.php?id=1', '1');

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


-CREATE TABLE IF NOT EXISTS `mdl_log_display` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`module` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`action` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`mtable` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`field` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`component` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_logdisp_modact_uix` (`module`,`action`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='For a par
ticular module/action, specifies a moodle table/fie' AUTO_INCREMENT=141 ;
--- Dumping data for table `mdl_log_display`
-INSERT INTO `mdl_log_display` (`id`, `module`, `action`, `mtable`, `field`, `com
ponent`) VALUES
(1, 'user', 'view', 'user', 'CONCAT(firstname, '' '', lastname)', 'moodle'),
(2, 'course', 'user report', 'user', 'CONCAT(firstname, '' '', lastname)', 'mood
le'),
(3, 'course', 'view', 'course', 'fullname', 'moodle'),
(4, 'course', 'update', 'course', 'fullname', 'moodle'),
(5, 'course', 'enrol', 'course', 'fullname', 'moodle'),
(6, 'course', 'unenrol', 'course', 'fullname', 'moodle'),
(7, 'course', 'report log', 'course', 'fullname', 'moodle'),
(8, 'course', 'report live', 'course', 'fullname', 'moodle'),
(9, 'course', 'report outline', 'course', 'fullname', 'moodle'),
(10, 'course', 'report participation', 'course', 'fullname', 'moodle'),
(11, 'course', 'report stats', 'course', 'fullname', 'moodle'),
(12, 'message', 'write', 'user', 'CONCAT(firstname, '' '', lastname)', 'moodle')
,
(13, 'message', 'read', 'user', 'CONCAT(firstname, '' '', lastname)', 'moodle'),
(14, 'message', 'add contact', 'user', 'CONCAT(firstname, '' '', lastname)', 'mo
odle'),
(15, 'message', 'remove contact', 'user', 'CONCAT(firstname, '' '', lastname)',
'moodle'),
(16, 'message', 'block contact', 'user', 'CONCAT(firstname, '' '', lastname)', '
moodle'),
(17, 'message', 'unblock contact', 'user', 'CONCAT(firstname, '' '', lastname)',
'moodle'),
(18, 'group', 'view', 'groups', 'name', 'moodle'),
(19, 'tag', 'update', 'tag', 'name', 'moodle'),

(20, 'assignment', 'view', 'assignment', 'name', 'mod_assignment'),


(21, 'assignment', 'add', 'assignment', 'name', 'mod_assignment'),
(22, 'assignment', 'update', 'assignment', 'name', 'mod_assignment'),
(23, 'assignment', 'view submission', 'assignment', 'name', 'mod_assignment'),
(24, 'assignment', 'upload', 'assignment', 'name', 'mod_assignment'),
(25, 'chat', 'view', 'chat', 'name', 'mod_chat'),
(26, 'chat', 'add', 'chat', 'name', 'mod_chat'),
(27, 'chat', 'update', 'chat', 'name', 'mod_chat'),
(28, 'chat', 'report', 'chat', 'name', 'mod_chat'),
(29, 'chat', 'talk', 'chat', 'name', 'mod_chat'),
(30, 'choice', 'view', 'choice', 'name', 'mod_choice'),
(31, 'choice', 'update', 'choice', 'name', 'mod_choice'),
(32, 'choice', 'add', 'choice', 'name', 'mod_choice'),
(33, 'choice', 'report', 'choice', 'name', 'mod_choice'),
(34, 'choice', 'choose', 'choice', 'name', 'mod_choice'),
(35, 'choice', 'choose again', 'choice', 'name', 'mod_choice'),
(36, 'data', 'view', 'data', 'name', 'mod_data'),
(37, 'data', 'add', 'data', 'name', 'mod_data'),
(38, 'data', 'update', 'data', 'name', 'mod_data'),
(39, 'data', 'record delete', 'data', 'name', 'mod_data'),
(40, 'data', 'fields add', 'data_fields', 'name', 'mod_data'),
(41, 'data', 'fields update', 'data_fields', 'name', 'mod_data'),
(42, 'data', 'templates saved', 'data', 'name', 'mod_data'),
(43, 'data', 'templates def', 'data', 'name', 'mod_data'),
(44, 'feedback', 'startcomplete', 'feedback', 'name', 'mod_feedback'),
(45, 'feedback', 'submit', 'feedback', 'name', 'mod_feedback'),
(46, 'feedback', 'delete', 'feedback', 'name', 'mod_feedback'),
(47, 'feedback', 'view', 'feedback', 'name', 'mod_feedback'),
(48, 'feedback', 'view all', 'course', 'shortname', 'mod_feedback'),
(49, 'folder', 'view', 'folder', 'name', 'mod_folder'),
(50, 'folder', 'view all', 'folder', 'name', 'mod_folder'),
(51, 'folder', 'update', 'folder', 'name', 'mod_folder'),
(52, 'folder', 'add', 'folder', 'name', 'mod_folder'),
(53, 'forum', 'add', 'forum', 'name', 'mod_forum'),
(54, 'forum', 'update', 'forum', 'name', 'mod_forum'),
(55, 'forum', 'add discussion', 'forum_discussions', 'name', 'mod_forum'),
(56, 'forum', 'add post', 'forum_posts', 'subject', 'mod_forum'),
(57, 'forum', 'update post', 'forum_posts', 'subject', 'mod_forum'),
(58, 'forum', 'user report', 'user', 'CONCAT(firstname, '' '', lastname)', 'mod_
forum'),
(59, 'forum', 'move discussion', 'forum_discussions', 'name', 'mod_forum'),
(60, 'forum', 'view subscribers', 'forum', 'name', 'mod_forum'),
(61, 'forum', 'view discussion', 'forum_discussions', 'name', 'mod_forum'),
(62, 'forum', 'view forum', 'forum', 'name', 'mod_forum'),
(63, 'forum', 'subscribe', 'forum', 'name', 'mod_forum'),
(64, 'forum', 'unsubscribe', 'forum', 'name', 'mod_forum'),
(65, 'glossary', 'add', 'glossary', 'name', 'mod_glossary'),
(66, 'glossary', 'update', 'glossary', 'name', 'mod_glossary'),
(67, 'glossary', 'view', 'glossary', 'name', 'mod_glossary'),
(68, 'glossary', 'view all', 'glossary', 'name', 'mod_glossary'),
(69, 'glossary', 'add entry', 'glossary', 'name', 'mod_glossary'),
(70, 'glossary', 'update entry', 'glossary', 'name', 'mod_glossary'),
(71, 'glossary', 'add category', 'glossary', 'name', 'mod_glossary'),
(72, 'glossary', 'update category', 'glossary', 'name', 'mod_glossary'),
(73, 'glossary', 'delete category', 'glossary', 'name', 'mod_glossary'),
(74, 'glossary', 'approve entry', 'glossary', 'name', 'mod_glossary'),
(75, 'glossary', 'view entry', 'glossary_entries', 'concept', 'mod_glossary'),
(76, 'imscp', 'view', 'imscp', 'name', 'mod_imscp'),
(77, 'imscp', 'view all', 'imscp', 'name', 'mod_imscp'),
(78, 'imscp', 'update', 'imscp', 'name', 'mod_imscp'),

(79, 'imscp', 'add', 'imscp', 'name', 'mod_imscp'),


(80, 'label', 'add', 'label', 'name', 'mod_label'),
(81, 'label', 'update', 'label', 'name', 'mod_label'),
(82, 'lesson', 'start', 'lesson', 'name', 'mod_lesson'),
(83, 'lesson', 'end', 'lesson', 'name', 'mod_lesson'),
(84, 'lesson', 'view', 'lesson_pages', 'title', 'mod_lesson'),
(85, 'page', 'view', 'page', 'name', 'mod_page'),
(86, 'page', 'view all', 'page', 'name', 'mod_page'),
(87, 'page', 'update', 'page', 'name', 'mod_page'),
(88, 'page', 'add', 'page', 'name', 'mod_page'),
(89, 'quiz', 'add', 'quiz', 'name', 'mod_quiz'),
(90, 'quiz', 'update', 'quiz', 'name', 'mod_quiz'),
(91, 'quiz', 'view', 'quiz', 'name', 'mod_quiz'),
(92, 'quiz', 'report', 'quiz', 'name', 'mod_quiz'),
(93, 'quiz', 'attempt', 'quiz', 'name', 'mod_quiz'),
(94, 'quiz', 'submit', 'quiz', 'name', 'mod_quiz'),
(95, 'quiz', 'review', 'quiz', 'name', 'mod_quiz'),
(96, 'quiz', 'editquestions', 'quiz', 'name', 'mod_quiz'),
(97, 'quiz', 'preview', 'quiz', 'name', 'mod_quiz'),
(98, 'quiz', 'start attempt', 'quiz', 'name', 'mod_quiz'),
(99, 'quiz', 'close attempt', 'quiz', 'name', 'mod_quiz'),
(100, 'quiz', 'continue attempt', 'quiz', 'name', 'mod_quiz'),
(101, 'quiz', 'edit override', 'quiz', 'name', 'mod_quiz'),
(102, 'quiz', 'delete override', 'quiz', 'name', 'mod_quiz'),
(103, 'resource', 'view', 'resource', 'name', 'mod_resource'),
(104, 'resource', 'view all', 'resource', 'name', 'mod_resource'),
(105, 'resource', 'update', 'resource', 'name', 'mod_resource'),
(106, 'resource', 'add', 'resource', 'name', 'mod_resource'),
(107, 'scorm', 'view', 'scorm', 'name', 'mod_scorm'),
(108, 'scorm', 'review', 'scorm', 'name', 'mod_scorm'),
(109, 'scorm', 'update', 'scorm', 'name', 'mod_scorm'),
(110, 'scorm', 'add', 'scorm', 'name', 'mod_scorm'),
(111, 'survey', 'add', 'survey', 'name', 'mod_survey'),
(112, 'survey', 'update', 'survey', 'name', 'mod_survey'),
(113, 'survey', 'download', 'survey', 'name', 'mod_survey'),
(114, 'survey', 'view form', 'survey', 'name', 'mod_survey'),
(115, 'survey', 'view graph', 'survey', 'name', 'mod_survey'),
(116, 'survey', 'view report', 'survey', 'name', 'mod_survey'),
(117, 'survey', 'submit', 'survey', 'name', 'mod_survey'),
(118, 'url', 'view', 'url', 'name', 'mod_url'),
(119, 'url', 'view all', 'url', 'name', 'mod_url'),
(120, 'url', 'update', 'url', 'name', 'mod_url'),
(121, 'url', 'add', 'url', 'name', 'mod_url'),
(122, 'workshop', 'add', 'workshop', 'name', 'mod_workshop'),
(123, 'workshop', 'update', 'workshop', 'name', 'mod_workshop'),
(124, 'workshop', 'view', 'workshop', 'name', 'mod_workshop'),
(125, 'workshop', 'view all', 'workshop', 'name', 'mod_workshop'),
(126, 'workshop', 'add submission', 'workshop_submissions', 'title', 'mod_worksh
op'),
(127, 'workshop', 'update submission', 'workshop_submissions', 'title', 'mod_wor
kshop'),
(128, 'workshop', 'view submission', 'workshop_submissions', 'title', 'mod_works
hop'),
(129, 'workshop', 'add assessment', 'workshop_submissions', 'title', 'mod_worksh
op'),
(130, 'workshop', 'update assessment', 'workshop_submissions', 'title', 'mod_wor
kshop'),
(131, 'workshop', 'add example', 'workshop_submissions', 'title', 'mod_workshop'
),
(132, 'workshop', 'update example', 'workshop_submissions', 'title', 'mod_worksh

op'),
(133, 'workshop', 'view example', 'workshop_submissions', 'title', 'mod_workshop
'),
(134, 'workshop', 'add reference assessment', 'workshop_submissions', 'title', '
mod_workshop'),
(135, 'workshop', 'update reference assessment', 'workshop_submissions', 'title'
, 'mod_workshop'),
(136, 'workshop', 'add example assessment', 'workshop_submissions', 'title', 'mo
d_workshop'),
(137, 'workshop', 'update example assessment', 'workshop_submissions', 'title',
'mod_workshop'),
(138, 'workshop', 'update aggregate grades', 'workshop', 'name', 'mod_workshop')
,
(139, 'workshop', 'update clear aggregated grades', 'workshop', 'name', 'mod_wor
kshop'),
(140, 'workshop', 'update clear assessments', 'workshop', 'name', 'mod_workshop'
);
-- ---------------------------------------------------------- Table structure for table `mdl_log_queries`
-CREATE TABLE IF NOT EXISTS `mdl_log_queries` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`qtype` mediumint(5) unsigned NOT NULL,
`sqltext` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`sqlparams` longtext COLLATE utf8_unicode_ci,
`error` mediumint(5) unsigned NOT NULL DEFAULT '0',
`info` text COLLATE utf8_unicode_ci,
`backtrace` text COLLATE utf8_unicode_ci,
`exectime` decimal(10,5) NOT NULL,
`timelogged` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Logged dat
abase queries.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_message`
-CREATE TABLE IF NOT EXISTS `mdl_message` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`useridfrom` bigint(10) unsigned NOT NULL DEFAULT '0',
`useridto` bigint(10) unsigned NOT NULL DEFAULT '0',
`subject` text COLLATE utf8_unicode_ci,
`fullmessage` text COLLATE utf8_unicode_ci,
`fullmessageformat` smallint(4) unsigned DEFAULT '0',
`fullmessagehtml` mediumtext COLLATE utf8_unicode_ci,
`smallmessage` text COLLATE utf8_unicode_ci,
`notification` tinyint(1) unsigned DEFAULT '0',
`contexturl` text COLLATE utf8_unicode_ci,
`contexturlname` text COLLATE utf8_unicode_ci,
`timecreated` bigint(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_mess_use_ix` (`useridfrom`),
KEY `mdl_mess_use2_ix` (`useridto`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores all


unread messages' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_message_contacts`
-CREATE TABLE IF NOT EXISTS `mdl_message_contacts` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`contactid` bigint(10) unsigned NOT NULL DEFAULT '0',
`blocked` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_messcont_usecon_uix` (`userid`,`contactid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Maintains
lists of relationships between users' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_message_processors`
-CREATE TABLE IF NOT EXISTS `mdl_message_processors` (
`id` bigint(10) NOT NULL AUTO_INCREMENT,
`name` varchar(166) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='List of m
essage output plugins' AUTO_INCREMENT=4 ;
--- Dumping data for table `mdl_message_processors`
-INSERT INTO `mdl_message_processors` (`id`, `name`) VALUES
(1, 'email'),
(2, 'jabber'),
(3, 'popup');
-- ---------------------------------------------------------- Table structure for table `mdl_message_providers`
-CREATE TABLE IF NOT EXISTS `mdl_message_providers` (
`id` bigint(10) NOT NULL AUTO_INCREMENT,
`name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`component` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`capability` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_messprov_comnam_uix` (`component`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This tabl
e stores the message providers (modules and core sy' AUTO_INCREMENT=15 ;
--- Dumping data for table `mdl_message_providers`
--

INSERT INTO `mdl_message_providers` (`id`, `name`, `component`, `capability`) VA


LUES
(1, 'notices', 'moodle', 'moodle/site:config'),
(2, 'errors', 'moodle', 'moodle/site:config'),
(3, 'instantmessage', 'moodle', NULL),
(4, 'backup', 'moodle', 'moodle/site:config'),
(5, 'courserequested', 'moodle', 'moodle/site:approvecourse'),
(6, 'courserequestapproved', 'moodle', 'moodle/course:request'),
(7, 'courserequestrejected', 'moodle', 'moodle/course:request'),
(8, 'assignment_updates', 'mod_assignment', NULL),
(9, 'submission', 'mod_feedback', NULL),
(10, 'message', 'mod_feedback', NULL),
(11, 'posts', 'mod_forum', NULL),
(12, 'graded_essay', 'mod_lesson', NULL),
(13, 'submission', 'mod_quiz', 'mod/quiz:emailnotifysubmission'),
(14, 'confirmation', 'mod_quiz', 'mod/quiz:emailconfirmsubmission');
-- ---------------------------------------------------------- Table structure for table `mdl_message_read`
-CREATE TABLE IF NOT EXISTS `mdl_message_read` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`useridfrom` bigint(10) unsigned NOT NULL DEFAULT '0',
`useridto` bigint(10) unsigned NOT NULL DEFAULT '0',
`subject` text COLLATE utf8_unicode_ci,
`fullmessage` text COLLATE utf8_unicode_ci,
`fullmessageformat` smallint(4) unsigned DEFAULT '0',
`fullmessagehtml` mediumtext COLLATE utf8_unicode_ci,
`smallmessage` text COLLATE utf8_unicode_ci,
`notification` tinyint(1) unsigned DEFAULT '0',
`contexturl` text COLLATE utf8_unicode_ci,
`contexturlname` text COLLATE utf8_unicode_ci,
`timecreated` bigint(10) NOT NULL DEFAULT '0',
`timeread` bigint(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_messread_use_ix` (`useridfrom`),
KEY `mdl_messread_use2_ix` (`useridto`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores all
messages that have been read' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_message_working`
-CREATE TABLE IF NOT EXISTS `mdl_message_working` (
`id` bigint(10) NOT NULL AUTO_INCREMENT,
`unreadmessageid` bigint(10) unsigned NOT NULL,
`processorid` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Lists all
the messages and processors that need to be proces' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_mnetservice_enrol_courses`


-CREATE TABLE IF NOT EXISTS `mdl_mnetservice_enrol_courses` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`hostid` bigint(10) unsigned NOT NULL,
`remoteid` bigint(10) unsigned NOT NULL,
`categoryid` bigint(10) unsigned NOT NULL,
`categoryname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
`fullname` varchar(254) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`shortname` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`idnumber` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`summary` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`summaryformat` smallint(3) unsigned DEFAULT '0',
`startdate` bigint(10) unsigned NOT NULL,
`roleid` bigint(10) unsigned NOT NULL,
`rolename` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_mnetenrocour_hosrem_uix` (`hostid`,`remoteid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Caches the
information fetched via XML-RPC about courses on ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_mnetservice_enrol_enrolments`
-CREATE TABLE IF NOT EXISTS `mdl_mnetservice_enrol_enrolments` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`hostid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`remotecourseid` bigint(10) unsigned NOT NULL,
`rolename` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`enroltime` bigint(10) unsigned NOT NULL DEFAULT '0',
`enroltype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_mnetenroenro_use_ix` (`userid`),
KEY `mdl_mnetenroenro_hos_ix` (`hostid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Caches the
information about enrolments of our local users i' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_application`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_application` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`display_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`xmlrpc_server_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`sso_land_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`sso_jump_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Informati
on about applications on remote hosts' AUTO_INCREMENT=3 ;

--- Dumping data for table `mdl_mnet_application`


-INSERT INTO `mdl_mnet_application` (`id`, `name`, `display_name`, `xmlrpc_server
_url`, `sso_land_url`, `sso_jump_url`) VALUES
(1, 'moodle', 'Moodle', '/mnet/xmlrpc/server.php', '/auth/mnet/land.php', '/auth
/mnet/jump.php'),
(2, 'mahara', 'Mahara', '/api/xmlrpc/server.php', '/auth/xmlrpc/land.php', '/aut
h/xmlrpc/jump.php');
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_host`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_host` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`deleted` tinyint(1) unsigned NOT NULL DEFAULT '0',
`wwwroot` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`ip_address` varchar(45) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`name` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`public_key` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`public_key_expires` bigint(10) unsigned NOT NULL DEFAULT '0',
`transport` tinyint(2) unsigned NOT NULL DEFAULT '0',
`portno` mediumint(5) unsigned NOT NULL DEFAULT '0',
`last_connect_time` bigint(10) unsigned NOT NULL DEFAULT '0',
`last_log_id` bigint(10) unsigned NOT NULL DEFAULT '0',
`force_theme` tinyint(1) unsigned NOT NULL DEFAULT '0',
`theme` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`applicationid` bigint(10) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `mdl_mnethost_app_ix` (`applicationid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Informati
on about the local and remote hosts for RPC' AUTO_INCREMENT=3 ;
--- Dumping data for table `mdl_mnet_host`
-INSERT INTO `mdl_mnet_host` (`id`, `deleted`, `wwwroot`, `ip_address`, `name`, `
public_key`, `public_key_expires`, `transport`, `portno`, `last_connect_time`, `
last_log_id`, `force_theme`, `theme`, `applicationid`) VALUES
(1, 0, 'http://localhost/web62_cms/moodle2.0', '127.0.0.1', '', '', 0, 0, 0, 0,
0, 0, NULL, 1),
(2, 0, '', '', 'All Hosts', '', 0, 0, 0, 0, 0, 0, NULL, 1);
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_host2service`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_host2service` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`hostid` bigint(10) unsigned NOT NULL DEFAULT '0',
`serviceid` bigint(10) unsigned NOT NULL DEFAULT '0',
`publish` tinyint(1) unsigned NOT NULL DEFAULT '0',

`subscribe` tinyint(1) unsigned NOT NULL DEFAULT '0',


PRIMARY KEY (`id`),
UNIQUE KEY `mdl_mnethost_hosser_uix` (`hostid`,`serviceid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Informatio
n about the services for a given host' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_log`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_log` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`hostid` bigint(10) unsigned NOT NULL DEFAULT '0',
`remoteid` bigint(10) unsigned NOT NULL DEFAULT '0',
`time` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`ip` varchar(45) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`coursename` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`module` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`cmid` bigint(10) unsigned NOT NULL DEFAULT '0',
`action` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`url` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`info` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_mnetlog_hosusecou_ix` (`hostid`,`userid`,`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Store sess
ion data from users migrating to other sites' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_remote_rpc`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_remote_rpc` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`functionname` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`xmlrpcpath` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`plugintype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`pluginname` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`enabled` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This tabl
e describes functions that might be called remotely' AUTO_INCREMENT=17 ;
--- Dumping data for table `mdl_mnet_remote_rpc`
-INSERT INTO `mdl_mnet_remote_rpc` (`id`, `functionname`, `xmlrpcpath`, `pluginty
pe`, `pluginname`, `enabled`) VALUES
(1, 'user_authorise', 'auth/mnet/auth.php/user_authorise', 'auth', 'mnet', 1),
(2, 'keepalive_server', 'auth/mnet/auth.php/keepalive_server', 'auth', 'mnet', 1
),
(3, 'kill_children', 'auth/mnet/auth.php/kill_children', 'auth', 'mnet', 1),
(4, 'refresh_log', 'auth/mnet/auth.php/refresh_log', 'auth', 'mnet', 1),
(5, 'fetch_user_image', 'auth/mnet/auth.php/fetch_user_image', 'auth', 'mnet', 1

),
(6, 'fetch_theme_info', 'auth/mnet/auth.php/fetch_theme_info', 'auth', 'mnet', 1
),
(7, 'update_enrolments', 'auth/mnet/auth.php/update_enrolments', 'auth', 'mnet',
1),
(8, 'keepalive_client', 'auth/mnet/auth.php/keepalive_client', 'auth', 'mnet', 1
),
(9, 'kill_child', 'auth/mnet/auth.php/kill_child', 'auth', 'mnet', 1),
(10, 'available_courses', 'enrol/mnet/enrol.php/available_courses', 'enrol', 'mn
et', 1),
(11, 'user_enrolments', 'enrol/mnet/enrol.php/user_enrolments', 'enrol', 'mnet',
1),
(12, 'enrol_user', 'enrol/mnet/enrol.php/enrol_user', 'enrol', 'mnet', 1),
(13, 'unenrol_user', 'enrol/mnet/enrol.php/unenrol_user', 'enrol', 'mnet', 1),
(14, 'course_enrolments', 'enrol/mnet/enrol.php/course_enrolments', 'enrol', 'mn
et', 1),
(15, 'send_content_intent', 'portfolio/mahara/lib.php/send_content_intent', 'por
tfolio', 'mahara', 1),
(16, 'send_content_ready', 'portfolio/mahara/lib.php/send_content_ready', 'portf
olio', 'mahara', 1);
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_remote_service2rpc`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_remote_service2rpc` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`serviceid` bigint(10) unsigned NOT NULL DEFAULT '0',
`rpcid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_mnetremoserv_rpcser_uix` (`rpcid`,`serviceid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Group fun
ctions or methods under a service' AUTO_INCREMENT=17 ;
--- Dumping data for table `mdl_mnet_remote_service2rpc`
-INSERT INTO `mdl_mnet_remote_service2rpc` (`id`, `serviceid`, `rpcid`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 2, 8),
(9, 2, 9),
(10, 3, 10),
(11, 3, 11),
(12, 3, 12),
(13, 3, 13),
(14, 3, 14),
(15, 4, 15),
(16, 4, 16);
-- --------------------------------------------------------

--- Table structure for table `mdl_mnet_rpc`


-CREATE TABLE IF NOT EXISTS `mdl_mnet_rpc` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`functionname` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`xmlrpcpath` varchar(80) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`plugintype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`pluginname` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`enabled` tinyint(1) unsigned NOT NULL DEFAULT '0',
`help` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`profile` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`filename` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`classname` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
`static` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_mnetrpc_enaxml_ix` (`enabled`,`xmlrpcpath`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Functions
or methods that we may publish or subscribe to' AUTO_INCREMENT=16 ;
--- Dumping data for table `mdl_mnet_rpc`
-INSERT INTO `mdl_mnet_rpc` (`id`, `functionname`, `xmlrpcpath`, `plugintype`, `p
luginname`, `enabled`, `help`, `profile`, `filename`, `classname`, `static`) VAL
UES
(1, 'user_authorise', 'auth/mnet/auth.php/user_authorise', 'auth', 'mnet', 1, 'R
eturn user data for the provided token, compare with user_agent string.', 'a:2:{
s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:5:"token";s:4:"type";s:6:"string";s
:11:"description";s:37:"The unique ID provided by remotehost.";}i:1;a:3:{s:4:"na
me";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:0:"";}}s:6:"ret
urn";a:2:{s:4:"type";s:5:"array";s:11:"description";s:44:"$userdata Array of use
r info for remote host";}}', 'auth.php', 'auth_plugin_mnet', 0),
(2, 'keepalive_server', 'auth/mnet/auth.php/keepalive_server', 'auth', 'mnet', 1
, 'Receives an array of usernames from a remote machine and prods their\nsession
s to keep them alive', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"arr
ay";s:4:"type";s:5:"array";s:11:"description";s:21:"An array of usernames";}}s:6
:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:28:""All ok" or an e
rror message";}}', 'auth.php', 'auth_plugin_mnet', 0),
(3, 'kill_children', 'auth/mnet/auth.php/kill_children', 'auth', 'mnet', 1, 'The
IdP uses this function to kill child sessions on other hosts', 'a:2:{s:10:"para
meters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"de
scription";s:28:"Username for session to kill";}i:1;a:3:{s:4:"name";s:9:"userage
nt";s:4:"type";s:6:"string";s:11:"description";s:0:"";}}s:6:"return";a:2:{s:4:"t
ype";s:6:"string";s:11:"description";s:39:"A plaintext report of what has happen
ed";}}', 'auth.php', 'auth_plugin_mnet', 0),
(4, 'refresh_log', 'auth/mnet/auth.php/refresh_log', 'auth', 'mnet', 1, 'Receive
s an array of log entries from an SP and adds them to the mnet_log\ntable', 'a:2
:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"array";s:4:"type";s:5:"array";
s:11:"description";s:21:"An array of usernames";}}s:6:"return";a:2:{s:4:"type";s
:6:"string";s:11:"description";s:28:""All ok" or an error message";}}', 'auth.ph
p', 'auth_plugin_mnet', 0),
(5, 'fetch_user_image', 'auth/mnet/auth.php/fetch_user_image', 'auth', 'mnet', 1
, 'Returns the user''s profile image info\nIf the user exists and has a profile
picture, the returned array will contain keys:\n f1
- the content of th
e default 100x100px image\n f1_mimetype - the mimetype of the f1 file\n f2
- the content of the 35x35px variant of the image\n f2_mimetype - the mimety
pe of the f2 file\nThe mimetype information was added in Moodle 2.0. In Moodle 1

.x, images are always jpegs.', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";


s:8:"username";s:4:"type";s:3:"int";s:11:"description";s:18:"The id of the user"
;}}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:84:"false if us
er not found, empty array if no picture exists, array with data otherwise";}}',
'auth.php', 'auth_plugin_mnet', 0),
(6, 'fetch_theme_info', 'auth/mnet/auth.php/fetch_theme_info', 'auth', 'mnet', 1
, 'Returns the theme information and logo url as strings.', 'a:2:{s:10:"paramete
rs";a:0:{}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:14:"The
theme info";}}', 'auth.php', 'auth_plugin_mnet', 0),
(7, 'update_enrolments', 'auth/mnet/auth.php/update_enrolments', 'auth', 'mnet',
1, 'Invoke this function _on_ the IDP to update it with enrolment info local to
\nthe SP right after calling user_authorise()\nNormally called by the SP after c
alling user_authorise()', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"
username";s:4:"type";s:6:"string";s:11:"description";s:12:"The username";}i:1;a:
3:{s:4:"name";s:7:"courses";s:4:"type";s:5:"array";s:11:"description";s:0:"";}}s
:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:0:"";}}', 'auth.php'
, 'auth_plugin_mnet', 0),
(8, 'keepalive_client', 'auth/mnet/auth.php/keepalive_client', 'auth', 'mnet', 1
, 'Poll the IdP server to let it know that a user it has authenticated is still\
nonline', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:4:"void";
s:11:"description";s:0:"";}}', 'auth.php', 'auth_plugin_mnet', 0),
(9, 'kill_child', 'auth/mnet/auth.php/kill_child', 'auth', 'mnet', 1, 'When the
IdP requests that child sessions are terminated,\nthis function will be called o
n each of the child hosts. The machine that\ncalls the function (over xmlrpc) pr
ovides us with the mnethostid we need.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s
:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:28:"Userna
me for session to kill";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"str
ing";s:11:"description";s:0:"";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"d
escription";s:15:"True on success";}}', 'auth.php', 'auth_plugin_mnet', 0),
(10, 'available_courses', 'enrol/mnet/enrol.php/available_courses', 'enrol', 'mn
et', 1, 'Returns list of courses that we offer to the caller for remote enrolmen
t of their users\nSince Moodle 2.0, courses are made available for MNet peers by
creating an instance\nof enrol_mnet plugin for the course. Hidden courses are n
ot returned. If there are two\ninstances - one specific for the host and one for
''All hosts'', the setting of the specific\none is used. The id of the peer is
kept in customint1, no other custom fields are used.', 'a:2:{s:10:"parameters";a
:0:{}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:0:"";}}', 'en
rol.php', 'enrol_mnet_mnetservice_enrol', 0),
(11, 'user_enrolments', 'enrol/mnet/enrol.php/user_enrolments', 'enrol', 'mnet',
1, 'This method has never been implemented in Moodle MNet API', 'a:2:{s:10:"par
ameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:11:
"empty array";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(12, 'enrol_user', 'enrol/mnet/enrol.php/enrol_user', 'enrol', 'mnet', 1, 'Enrol
remote user to our course\nIf we do not have local record for the remote user i
n our database,\nit gets created here.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s
:4:"name";s:8:"userdata";s:4:"type";s:5:"array";s:11:"description";s:14:"user de
tails {";}i:1;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"descript
ion";s:19:"our local course id";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"
description";s:69:"true if the enrolment has been successful, throws exception o
therwise";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(13, 'unenrol_user', 'enrol/mnet/enrol.php/unenrol_user', 'enrol', 'mnet', 1, 'U
nenrol remote user from our course\nOnly users enrolled via enrol_mnet plugin ca
n be unenrolled remotely. If the\nremote user is enrolled into the local course
via some other enrol plugin\n(enrol_manual for example), the remote host can''t
touch such enrolment. Please\ndo not report this behaviour as bug, it is a featu
re ;-)', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"ty
pe";s:6:"string";s:11:"description";s:18:"of the remote user";}i:1;a:3:{s:4:"nam
e";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:0:"";}}s:6:"return";
a:2:{s:4:"type";s:4:"bool";s:11:"description";s:71:"true if the unenrolment has
been successful, throws exception otherwise";}}', 'enrol.php', 'enrol_mnet_mnets

ervice_enrol', 0),
(14, 'course_enrolments', 'enrol/mnet/enrol.php/course_enrolments', 'enrol', 'mn
et', 1, 'Returns a list of users from the client server who are enrolled in our
course\nSuitable instance of enrol_mnet must be created in the course. This meth
od will not\nreturn any information about the enrolments in courses that are not
available for\nremote enrolment, even if their users are enrolled into them via
other plugin\n(note the difference from {@link self::user_enrolments()}).\nThis
method will return enrolment information for users from hosts regardless\nthe e
nrolment plugin. It does not matter if the user was enrolled remotely by\ntheir
admin or locally. Once the course is available for remote enrolments, we\nwill t
ell them everything about their users.\nIn Moodle 1.x the returned array used to
be indexed by username. The side effect\nof MDL-19219 fix is that we do not nee
d to use such index and therefore we can\nreturn all enrolment records. MNet cli
ents 1.x will only use the last record for\nthe student, if she is enrolled via
multiple plugins.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"course
id";s:4:"type";s:3:"int";s:11:"description";s:16:"ID of our course";}i:1;a:3:{s:
4:"name";s:5:"roles";s:4:"type";s:5:"array";s:11:"description";s:0:"";}}s:6:"ret
urn";a:2:{s:4:"type";s:5:"array";s:11:"description";s:0:"";}}', 'enrol.php', 'en
rol_mnet_mnetservice_enrol', 0),
(15, 'fetch_file', 'portfolio/mahara/lib.php/fetch_file', 'portfolio', 'mahara',
1, 'xmlrpc (mnet) function to get the file.\nreads in the file and returns it b
ase_64 encoded\nso that it can be enrypted by mnet.', 'a:2:{s:10:"parameters";a:
1:{i:0;a:3:{s:4:"name";s:5:"token";s:4:"type";s:6:"string";s:11:"description";s:
56:"the token recieved previously during send_content_intent";}}s:6:"return";a:2
:{s:4:"type";s:4:"void";s:11:"description";s:0:"";}}', 'lib.php', 'portfolio_plu
gin_mahara', 1);
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_service`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_service` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`apiversion` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`offer` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='A service
is a group of functions' AUTO_INCREMENT=5 ;
--- Dumping data for table `mdl_mnet_service`
-INSERT INTO `mdl_mnet_service` (`id`, `name`, `description`, `apiversion`, `offe
r`) VALUES
(1, 'sso_idp', '', '1', 1),
(2, 'sso_sp', '', '1', 1),
(3, 'mnet_enrol', '', '1', 1),
(4, 'pf', '', '1', 1);
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_service2rpc`
--

CREATE TABLE IF NOT EXISTS `mdl_mnet_service2rpc` (


`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`serviceid` bigint(10) unsigned NOT NULL DEFAULT '0',
`rpcid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_mnetserv_rpcser_uix` (`rpcid`,`serviceid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Group fun
ctions or methods under a service' AUTO_INCREMENT=16 ;
--- Dumping data for table `mdl_mnet_service2rpc`
-INSERT INTO `mdl_mnet_service2rpc` (`id`, `serviceid`, `rpcid`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 2, 8),
(9, 2, 9),
(10, 3, 10),
(11, 3, 11),
(12, 3, 12),
(13, 3, 13),
(14, 3, 14),
(15, 4, 15);
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_session`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_session` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`username` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`token` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`mnethostid` bigint(10) unsigned NOT NULL DEFAULT '0',
`useragent` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`confirm_timeout` bigint(10) unsigned NOT NULL DEFAULT '0',
`session_id` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`expires` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_mnetsess_tok_uix` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Store sess
ion data from users migrating to other sites' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_mnet_sso_access_control`
-CREATE TABLE IF NOT EXISTS `mdl_mnet_sso_access_control` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',

`mnet_host_id` bigint(10) unsigned NOT NULL DEFAULT '0',


`accessctrl` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'allow',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_mnetssoaccecont_mneuse_uix` (`mnet_host_id`,`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Users by h
ost permitted (or not) to login from a remote prov' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_modules`
-CREATE TABLE IF NOT EXISTS `mdl_modules` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`version` bigint(10) NOT NULL DEFAULT '0',
`cron` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastcron` bigint(10) unsigned NOT NULL DEFAULT '0',
`search` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`visible` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `mdl_modu_nam_ix` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='modules a
vailable in the site' AUTO_INCREMENT=20 ;
--- Dumping data for table `mdl_modules`
-INSERT INTO `mdl_modules` (`id`, `name`, `version`, `cron`, `lastcron`, `search`
, `visible`) VALUES
(1, 'assignment', 2010102600, 60, 0, '', 1),
(2, 'chat', 2010080302, 300, 0, '', 1),
(3, 'choice', 2010101301, 0, 0, '', 1),
(4, 'data', 2010100101, 60, 0, '', 1),
(5, 'feedback', 2011051600, 0, 0, '', 0),
(6, 'folder', 2010101400, 0, 0, '', 1),
(7, 'forum', 2010111500, 60, 0, '', 1),
(8, 'glossary', 2010111501, 0, 0, '', 1),
(9, 'imscp', 2010101400, 0, 0, '', 1),
(10, 'label', 2010080300, 0, 0, '', 1),
(11, 'lesson', 2010122200, 0, 0, '', 1),
(12, 'page', 2010101400, 0, 0, '', 1),
(13, 'quiz', 2010122304, 0, 0, '', 1),
(14, 'resource', 2011022700, 0, 0, '', 1),
(15, 'scorm', 2011021403, 300, 0, '', 1),
(16, 'survey', 2010080300, 0, 0, '', 1),
(17, 'url', 2010101401, 0, 0, '', 1),
(18, 'wiki', 2011011001, 0, 0, '', 1),
(19, 'workshop', 2011030401, 0, 0, '', 1);
-- ---------------------------------------------------------- Table structure for table `mdl_my_pages`
-CREATE TABLE IF NOT EXISTS `mdl_my_pages` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,

`userid` bigint(10) unsigned DEFAULT '0',


`name` varchar(200) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`private` tinyint(1) unsigned NOT NULL DEFAULT '1',
`sortorder` mediumint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_mypage_usepri_ix` (`userid`,`private`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Extra use
r pages for the My Moodle system' AUTO_INCREMENT=3 ;
--- Dumping data for table `mdl_my_pages`
-INSERT INTO `mdl_my_pages` (`id`, `userid`, `name`, `private`, `sortorder`) VALU
ES
(1, NULL, '__default', 0, 0),
(2, NULL, '__default', 1, 0);
-- ---------------------------------------------------------- Table structure for table `mdl_page`
-CREATE TABLE IF NOT EXISTS `mdl_page` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`content` mediumtext COLLATE utf8_unicode_ci,
`contentformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`legacyfiles` smallint(4) unsigned NOT NULL DEFAULT '0',
`legacyfileslast` bigint(10) unsigned DEFAULT NULL,
`display` smallint(4) unsigned NOT NULL DEFAULT '0',
`displayoptions` text COLLATE utf8_unicode_ci,
`revision` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_page_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Each recor
d is one page and its config data' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_portfolio_instance`
-CREATE TABLE IF NOT EXISTS `mdl_portfolio_instance` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`plugin` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`visible` tinyint(1) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='base table
(not including config data) for instances of port' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_portfolio_instance_config`


-CREATE TABLE IF NOT EXISTS `mdl_portfolio_instance_config` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`instance` bigint(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` longtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `mdl_portinstconf_nam_ix` (`name`),
KEY `mdl_portinstconf_ins_ix` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='config for
portfolio plugin instances' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_portfolio_instance_user`
-CREATE TABLE IF NOT EXISTS `mdl_portfolio_instance_user` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`instance` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` longtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`),
KEY `mdl_portinstuser_ins_ix` (`instance`),
KEY `mdl_portinstuser_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='user data
for portfolio instances.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_portfolio_log`
-CREATE TABLE IF NOT EXISTS `mdl_portfolio_log` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL,
`time` bigint(10) unsigned NOT NULL,
`portfolio` bigint(10) unsigned NOT NULL,
`caller_class` varchar(150) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`caller_file` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`caller_sha1` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`tempdataid` bigint(10) NOT NULL DEFAULT '0',
`returnurl` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`continueurl` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_portlog_use_ix` (`userid`),
KEY `mdl_portlog_por_ix` (`portfolio`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='log of por
tfolio transfers (used to later check for duplicat' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_portfolio_mahara_queue`

-CREATE TABLE IF NOT EXISTS `mdl_portfolio_mahara_queue` (


`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`transferid` bigint(10) unsigned NOT NULL,
`token` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_portmahaqueu_tok_ix` (`token`),
KEY `mdl_portmahaqueu_tra_ix` (`transferid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='maps mahar
a tokens to transfer ids' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_portfolio_tempdata`
-CREATE TABLE IF NOT EXISTS `mdl_portfolio_tempdata` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`data` longtext COLLATE utf8_unicode_ci,
`expirytime` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`instance` bigint(10) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_porttemp_use_ix` (`userid`),
KEY `mdl_porttemp_ins_ix` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='stores tem
porary data for portfolio exports. the id of this ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_post`
-CREATE TABLE IF NOT EXISTS `mdl_post` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`module` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`groupid` bigint(10) unsigned NOT NULL DEFAULT '0',
`moduleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`coursemoduleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`subject` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`summary` longtext COLLATE utf8_unicode_ci,
`content` longtext COLLATE utf8_unicode_ci,
`uniquehash` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`rating` bigint(10) unsigned NOT NULL DEFAULT '0',
`format` bigint(10) unsigned NOT NULL DEFAULT '0',
`summaryformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`attachment` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`publishstate` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
`lastmodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`created` bigint(10) unsigned NOT NULL DEFAULT '0',
`usermodified` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_post_iduse_uix` (`id`,`userid`),
KEY `mdl_post_las_ix` (`lastmodified`),
KEY `mdl_post_mod_ix` (`module`),

KEY `mdl_post_sub_ix` (`subject`),


KEY `mdl_post_use_ix` (`usermodified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Generic po
st table to hold data blog entries etc in differen' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_profiling`
-CREATE TABLE IF NOT EXISTS `mdl_profiling` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`runid` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`url` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`data` longtext COLLATE utf8_unicode_ci NOT NULL,
`totalexecutiontime` bigint(10) unsigned NOT NULL,
`totalcputime` bigint(10) unsigned NOT NULL,
`totalcalls` bigint(10) unsigned NOT NULL,
`totalmemory` bigint(10) unsigned NOT NULL,
`runreference` tinyint(2) unsigned NOT NULL DEFAULT '0',
`runcomment` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timecreated` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_prof_run_uix` (`runid`),
KEY `mdl_prof_urlrun_ix` (`url`,`runreference`),
KEY `mdl_prof_timrun_ix` (`timecreated`,`runreference`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores the
results of all the profiling runs' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question`
-CREATE TABLE IF NOT EXISTS `mdl_question` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`category` bigint(10) NOT NULL DEFAULT '0',
`parent` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`questiontext` text COLLATE utf8_unicode_ci NOT NULL,
`questiontextformat` tinyint(2) NOT NULL DEFAULT '0',
`generalfeedback` text COLLATE utf8_unicode_ci NOT NULL,
`generalfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
`defaultgrade` decimal(12,7) unsigned NOT NULL DEFAULT '1.0000000',
`penalty` decimal(12,7) NOT NULL DEFAULT '0.1000000',
`qtype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`length` bigint(10) unsigned NOT NULL DEFAULT '1',
`stamp` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`version` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`hidden` tinyint(1) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`createdby` bigint(10) unsigned DEFAULT NULL,
`modifiedby` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_ques_cat_ix` (`category`),
KEY `mdl_ques_par_ix` (`parent`),
KEY `mdl_ques_cre_ix` (`createdby`),

KEY `mdl_ques_mod_ix` (`modifiedby`)


) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The questi
ons themselves' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_answers`
-CREATE TABLE IF NOT EXISTS `mdl_question_answers` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`answer` text COLLATE utf8_unicode_ci NOT NULL,
`answerformat` tinyint(2) NOT NULL DEFAULT '0',
`fraction` decimal(12,7) NOT NULL DEFAULT '0.0000000',
`feedback` text COLLATE utf8_unicode_ci NOT NULL,
`feedbackformat` tinyint(2) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_quesansw_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Answers, w
ith a fractional grade (0-1) and feedback' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_attempts`
-CREATE TABLE IF NOT EXISTS `mdl_question_attempts` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`modulename` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'quiz',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Student at
tempts. This table gets extended by the modules' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_calculated`
-CREATE TABLE IF NOT EXISTS `mdl_question_calculated` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`answer` bigint(10) unsigned NOT NULL DEFAULT '0',
`tolerance` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0.0',
`tolerancetype` bigint(10) NOT NULL DEFAULT '1',
`correctanswerlength` bigint(10) NOT NULL DEFAULT '2',
`correctanswerformat` bigint(10) NOT NULL DEFAULT '2',
PRIMARY KEY (`id`),
KEY `mdl_quescalc_ans_ix` (`answer`),
KEY `mdl_quescalc_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Options fo
r questions of type calculated' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_calculated_options`

-CREATE TABLE IF NOT EXISTS `mdl_question_calculated_options` (


`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`synchronize` tinyint(2) unsigned NOT NULL DEFAULT '0',
`single` smallint(4) NOT NULL DEFAULT '0',
`shuffleanswers` smallint(4) NOT NULL DEFAULT '0',
`correctfeedback` text COLLATE utf8_unicode_ci,
`correctfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
`partiallycorrectfeedback` text COLLATE utf8_unicode_ci,
`partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
`incorrectfeedback` text COLLATE utf8_unicode_ci,
`incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
`answernumbering` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'abc',
PRIMARY KEY (`id`),
KEY `mdl_quescalcopti_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Options fo
r questions of type calculated' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_categories`
-CREATE TABLE IF NOT EXISTS `mdl_question_categories` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`contextid` bigint(10) unsigned NOT NULL DEFAULT '0',
`info` text COLLATE utf8_unicode_ci NOT NULL,
`infoformat` tinyint(2) NOT NULL DEFAULT '0',
`stamp` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`parent` bigint(10) unsigned NOT NULL DEFAULT '0',
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '999',
PRIMARY KEY (`id`),
KEY `mdl_quescate_con_ix` (`contextid`),
KEY `mdl_quescate_par_ix` (`parent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Categories
are for grouping questions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_datasets`
-CREATE TABLE IF NOT EXISTS `mdl_question_datasets` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`datasetdefinition` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_quesdata_quedat_ix` (`question`,`datasetdefinition`),
KEY `mdl_quesdata_que_ix` (`question`),
KEY `mdl_quesdata_dat_ix` (`datasetdefinition`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Many-many
relation between questions and dataset definitions' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_question_dataset_definitions`


-CREATE TABLE IF NOT EXISTS `mdl_question_dataset_definitions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`category` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`type` bigint(10) NOT NULL DEFAULT '0',
`options` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemcount` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_quesdatadefi_cat_ix` (`category`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Organises
and stores properties for dataset items' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_dataset_items`
-CREATE TABLE IF NOT EXISTS `mdl_question_dataset_items` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`definition` bigint(10) unsigned NOT NULL DEFAULT '0',
`itemnumber` bigint(10) unsigned NOT NULL DEFAULT '0',
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_quesdataitem_def_ix` (`definition`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Individual
dataset items' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_match`
-CREATE TABLE IF NOT EXISTS `mdl_question_match` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`subquestions` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`shuffleanswers` smallint(4) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `mdl_quesmatc_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines fi
xed matching questions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_match_sub`
-CREATE TABLE IF NOT EXISTS `mdl_question_match_sub` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`code` bigint(10) unsigned NOT NULL DEFAULT '0',
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`questiontext` text COLLATE utf8_unicode_ci NOT NULL,
`questiontextformat` tinyint(2) NOT NULL DEFAULT '0',

`answertext` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',


PRIMARY KEY (`id`),
KEY `mdl_quesmatcsub_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines th
e subquestions that make up a matching question' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_multianswer`
-CREATE TABLE IF NOT EXISTS `mdl_question_multianswer` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`sequence` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_quesmult_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Options fo
r multianswer questions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_multichoice`
-CREATE TABLE IF NOT EXISTS `mdl_question_multichoice` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`layout` smallint(4) NOT NULL DEFAULT '0',
`answers` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`single` smallint(4) NOT NULL DEFAULT '0',
`shuffleanswers` smallint(4) NOT NULL DEFAULT '1',
`correctfeedback` text COLLATE utf8_unicode_ci NOT NULL,
`correctfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
`partiallycorrectfeedback` text COLLATE utf8_unicode_ci NOT NULL,
`partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
`incorrectfeedback` text COLLATE utf8_unicode_ci NOT NULL,
`incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT '0',
`answernumbering` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'abc',
PRIMARY KEY (`id`),
KEY `mdl_quesmult_que2_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Options fo
r multiple choice questions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_numerical`
-CREATE TABLE IF NOT EXISTS `mdl_question_numerical` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`answer` bigint(10) unsigned NOT NULL DEFAULT '0',
`tolerance` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0.0',
PRIMARY KEY (`id`),
KEY `mdl_quesnume_ans_ix` (`answer`),
KEY `mdl_quesnume_que_ix` (`question`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Options fo


r numerical questions.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_numerical_options`
-CREATE TABLE IF NOT EXISTS `mdl_question_numerical_options` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`instructions` text COLLATE utf8_unicode_ci,
`instructionsformat` tinyint(2) NOT NULL DEFAULT '0',
`showunits` smallint(4) unsigned NOT NULL DEFAULT '0',
`unitsleft` smallint(4) NOT NULL DEFAULT '0',
`unitgradingtype` smallint(4) unsigned NOT NULL DEFAULT '0',
`unitpenalty` decimal(12,7) unsigned NOT NULL DEFAULT '0.1000000',
PRIMARY KEY (`id`),
KEY `mdl_quesnumeopti_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Options fo
r questions of type numerical This table is also u' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_numerical_units`
-CREATE TABLE IF NOT EXISTS `mdl_question_numerical_units` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`multiplier` decimal(40,20) NOT NULL DEFAULT '1.00000000000000000000',
`unit` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_quesnumeunit_queuni_uix` (`question`,`unit`),
KEY `mdl_quesnumeunit_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Optional u
nit options for numerical questions. This table is' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_randomsamatch`
-CREATE TABLE IF NOT EXISTS `mdl_question_randomsamatch` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`choose` bigint(10) unsigned NOT NULL DEFAULT '4',
PRIMARY KEY (`id`),
KEY `mdl_quesrand_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Info about
a random short-answer matching question' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_sessions`
--

CREATE TABLE IF NOT EXISTS `mdl_question_sessions` (


`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`attemptid` bigint(10) unsigned NOT NULL DEFAULT '0',
`questionid` bigint(10) unsigned NOT NULL DEFAULT '0',
`newest` bigint(10) unsigned NOT NULL DEFAULT '0',
`newgraded` bigint(10) unsigned NOT NULL DEFAULT '0',
`sumpenalty` decimal(12,7) NOT NULL DEFAULT '0.0000000',
`manualcomment` text COLLATE utf8_unicode_ci NOT NULL,
`manualcommentformat` tinyint(2) NOT NULL DEFAULT '0',
`flagged` tinyint(2) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_quessess_attque_uix` (`attemptid`,`questionid`),
KEY `mdl_quessess_att_ix` (`attemptid`),
KEY `mdl_quessess_que_ix` (`questionid`),
KEY `mdl_quessess_new_ix` (`newest`),
KEY `mdl_quessess_new2_ix` (`newgraded`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Gives ids
of the newest open and newest graded states' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_shortanswer`
-CREATE TABLE IF NOT EXISTS `mdl_question_shortanswer` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`answers` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`usecase` tinyint(2) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_quesshor_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Options fo
r short answer questions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_question_states`
-CREATE TABLE IF NOT EXISTS `mdl_question_states` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`attempt` bigint(10) unsigned NOT NULL DEFAULT '0',
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`seq_number` mediumint(6) unsigned NOT NULL DEFAULT '0',
`answer` text COLLATE utf8_unicode_ci NOT NULL,
`timestamp` bigint(10) unsigned NOT NULL DEFAULT '0',
`event` smallint(4) unsigned NOT NULL DEFAULT '0',
`grade` decimal(12,7) NOT NULL DEFAULT '0.0000000',
`raw_grade` decimal(12,7) NOT NULL DEFAULT '0.0000000',
`penalty` decimal(12,7) NOT NULL DEFAULT '0.0000000',
PRIMARY KEY (`id`),
KEY `mdl_quesstat_att_ix` (`attempt`),
KEY `mdl_quesstat_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores use
r responses to an attempt, and percentage grades' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_question_truefalse`


-CREATE TABLE IF NOT EXISTS `mdl_question_truefalse` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`trueanswer` bigint(10) unsigned NOT NULL DEFAULT '0',
`falseanswer` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_questrue_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Options fo
r True-False questions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_quiz`
-CREATE TABLE IF NOT EXISTS `mdl_quiz` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`timeopen` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeclose` bigint(10) unsigned NOT NULL DEFAULT '0',
`optionflags` bigint(10) unsigned NOT NULL DEFAULT '0',
`penaltyscheme` smallint(4) unsigned NOT NULL DEFAULT '0',
`attempts` mediumint(6) NOT NULL DEFAULT '0',
`attemptonlast` smallint(4) NOT NULL DEFAULT '0',
`grademethod` smallint(4) NOT NULL DEFAULT '1',
`decimalpoints` smallint(4) NOT NULL DEFAULT '2',
`questiondecimalpoints` smallint(4) NOT NULL DEFAULT '-2',
`review` bigint(10) unsigned NOT NULL DEFAULT '0',
`questionsperpage` bigint(10) NOT NULL DEFAULT '0',
`shufflequestions` smallint(4) NOT NULL DEFAULT '0',
`shuffleanswers` smallint(4) NOT NULL DEFAULT '0',
`questions` text COLLATE utf8_unicode_ci NOT NULL,
`sumgrades` decimal(10,5) NOT NULL DEFAULT '0.00000',
`grade` decimal(10,5) NOT NULL DEFAULT '0.00000',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`timelimit` bigint(10) unsigned NOT NULL DEFAULT '0',
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`subnet` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`popup` smallint(4) NOT NULL DEFAULT '0',
`delay1` bigint(10) NOT NULL DEFAULT '0',
`delay2` bigint(10) NOT NULL DEFAULT '0',
`showuserpicture` smallint(4) NOT NULL DEFAULT '0',
`showblocks` smallint(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_quiz_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Main infor
mation about each quiz' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_quiz_attempts`


-CREATE TABLE IF NOT EXISTS `mdl_quiz_attempts` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`uniqueid` bigint(10) unsigned NOT NULL DEFAULT '0',
`quiz` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`attempt` mediumint(6) NOT NULL DEFAULT '0',
`sumgrades` decimal(10,5) NOT NULL DEFAULT '0.00000',
`timestart` bigint(10) unsigned NOT NULL DEFAULT '0',
`timefinish` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`layout` text COLLATE utf8_unicode_ci NOT NULL,
`preview` smallint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_quizatte_uni_uix` (`uniqueid`),
KEY `mdl_quizatte_use_ix` (`userid`),
KEY `mdl_quizatte_qui_ix` (`quiz`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores var
ious attempts on a quiz' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_quiz_feedback`
-CREATE TABLE IF NOT EXISTS `mdl_quiz_feedback` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`quizid` bigint(10) unsigned NOT NULL DEFAULT '0',
`feedbacktext` text COLLATE utf8_unicode_ci NOT NULL,
`feedbacktextformat` tinyint(2) NOT NULL DEFAULT '0',
`mingrade` decimal(10,5) NOT NULL DEFAULT '0.00000',
`maxgrade` decimal(10,5) NOT NULL DEFAULT '0.00000',
PRIMARY KEY (`id`),
KEY `mdl_quizfeed_qui_ix` (`quizid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Feedback g
iven to students based on which grade band their o' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_quiz_grades`
-CREATE TABLE IF NOT EXISTS `mdl_quiz_grades` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`quiz` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`grade` decimal(10,5) NOT NULL DEFAULT '0.00000',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_quizgrad_use_ix` (`userid`),
KEY `mdl_quizgrad_qui_ix` (`quiz`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The overal
l grade for each user on the quiz, based on their ' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_quiz_overrides`


-CREATE TABLE IF NOT EXISTS `mdl_quiz_overrides` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`quiz` bigint(10) unsigned NOT NULL DEFAULT '0',
`groupid` bigint(10) unsigned DEFAULT NULL,
`userid` bigint(10) unsigned DEFAULT NULL,
`timeopen` bigint(10) unsigned DEFAULT NULL,
`timeclose` bigint(10) unsigned DEFAULT NULL,
`timelimit` bigint(10) unsigned DEFAULT NULL,
`attempts` mediumint(6) unsigned DEFAULT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_quizover_qui_ix` (`quiz`),
KEY `mdl_quizover_gro_ix` (`groupid`),
KEY `mdl_quizover_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The overri
des to quiz settings on a per-user and per-group b' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_quiz_question_instances`
-CREATE TABLE IF NOT EXISTS `mdl_quiz_question_instances` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`quiz` bigint(10) unsigned NOT NULL DEFAULT '0',
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`grade` decimal(12,7) NOT NULL DEFAULT '0.0000000',
PRIMARY KEY (`id`),
KEY `mdl_quizquesinst_qui_ix` (`quiz`),
KEY `mdl_quizquesinst_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores the
maximum possible grade (weight) for each question' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_quiz_question_regrade`
-CREATE TABLE IF NOT EXISTS `mdl_quiz_question_regrade` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`questionid` bigint(10) unsigned NOT NULL,
`attemptid` bigint(10) unsigned NOT NULL,
`newgrade` decimal(12,7) NOT NULL,
`oldgrade` decimal(12,7) NOT NULL,
`regraded` smallint(4) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This table
records which question attempts need regrading an' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------

-- Table structure for table `mdl_quiz_question_response_stats`


-CREATE TABLE IF NOT EXISTS `mdl_quiz_question_response_stats` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`quizstatisticsid` bigint(10) unsigned NOT NULL,
`questionid` bigint(10) unsigned NOT NULL,
`subqid` bigint(10) unsigned NOT NULL,
`aid` bigint(10) unsigned NOT NULL,
`response` longtext COLLATE utf8_unicode_ci,
`rcount` bigint(10) unsigned DEFAULT NULL,
`credit` decimal(15,5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Quiz quest
ion responses.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_quiz_question_statistics`
-CREATE TABLE IF NOT EXISTS `mdl_quiz_question_statistics` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`quizstatisticsid` bigint(10) unsigned NOT NULL,
`questionid` bigint(10) unsigned NOT NULL,
`subquestion` smallint(4) unsigned NOT NULL,
`s` bigint(10) unsigned NOT NULL DEFAULT '0',
`effectiveweight` decimal(15,5) DEFAULT NULL,
`negcovar` tinyint(2) unsigned NOT NULL DEFAULT '0',
`discriminationindex` decimal(15,5) DEFAULT NULL,
`discriminativeefficiency` decimal(15,5) DEFAULT NULL,
`sd` decimal(15,10) DEFAULT NULL,
`facility` decimal(15,10) DEFAULT NULL,
`subquestions` mediumtext COLLATE utf8_unicode_ci,
`maxgrade` decimal(12,7) DEFAULT NULL,
`positions` mediumtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Default co
mment for the table, please edit me' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_quiz_report`
-CREATE TABLE IF NOT EXISTS `mdl_quiz_report` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`displayorder` bigint(10) unsigned NOT NULL,
`lastcron` bigint(10) unsigned NOT NULL DEFAULT '0',
`cron` bigint(10) unsigned NOT NULL DEFAULT '0',
`capability` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Lists all
the installed quiz reports and their display order' AUTO_INCREMENT=5 ;
--- Dumping data for table `mdl_quiz_report`

-INSERT INTO `mdl_quiz_report` (`id`, `name`, `displayorder`, `lastcron`, `cron`,


`capability`) VALUES
(1, 'overview', 10000, 0, 0, NULL),
(2, 'responses', 9000, 0, 0, NULL),
(3, 'grading', 6000, 0, 0, NULL),
(4, 'statistics', 8000, 0, 18000, 'quizreport/statistics:view');
-- ---------------------------------------------------------- Table structure for table `mdl_quiz_statistics`
-CREATE TABLE IF NOT EXISTS `mdl_quiz_statistics` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`quizid` bigint(10) unsigned NOT NULL,
`groupid` bigint(10) unsigned NOT NULL,
`allattempts` smallint(4) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
`firstattemptscount` bigint(10) unsigned NOT NULL,
`allattemptscount` bigint(10) unsigned NOT NULL,
`firstattemptsavg` decimal(15,5) DEFAULT NULL,
`allattemptsavg` decimal(15,5) DEFAULT NULL,
`median` decimal(15,5) DEFAULT NULL,
`standarddeviation` decimal(15,5) DEFAULT NULL,
`skewness` decimal(15,10) DEFAULT NULL,
`kurtosis` decimal(15,5) DEFAULT NULL,
`cic` decimal(15,10) DEFAULT NULL,
`errorratio` decimal(15,10) DEFAULT NULL,
`standarderror` decimal(15,10) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='table to c
ache results from analysis done in statistics repo' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_rating`
-CREATE TABLE IF NOT EXISTS `mdl_rating` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`contextid` bigint(10) unsigned NOT NULL,
`itemid` bigint(10) unsigned NOT NULL,
`scaleid` bigint(10) NOT NULL,
`rating` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`timecreated` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_rati_ite_ix` (`itemid`),
KEY `mdl_rati_con_ix` (`contextid`),
KEY `mdl_rati_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='moodle rat
ings' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_registration_hubs`


-CREATE TABLE IF NOT EXISTS `mdl_registration_hubs` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`hubname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`huburl` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`confirmed` tinyint(1) unsigned NOT NULL DEFAULT '0',
`secret` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='hub where
the site is registered on with their associated to' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_report_customlang`
-CREATE TABLE IF NOT EXISTS `mdl_report_customlang` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`lang` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`componentid` bigint(10) unsigned NOT NULL,
`stringid` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`original` longtext COLLATE utf8_unicode_ci NOT NULL,
`master` longtext COLLATE utf8_unicode_ci,
`local` longtext COLLATE utf8_unicode_ci,
`timemodified` bigint(10) unsigned NOT NULL,
`timecustomized` bigint(10) unsigned DEFAULT NULL,
`outdated` smallint(3) unsigned DEFAULT '0',
`modified` smallint(3) unsigned DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_repocust_lancomstr_uix` (`lang`,`componentid`,`stringid`),
KEY `mdl_repocust_com_ix` (`componentid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Contains t
he working checkout of all strings and their custo' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_report_customlang_components`
-CREATE TABLE IF NOT EXISTS `mdl_report_customlang_components` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`version` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Contains t
he list of all installed plugins that provide thei' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_repository`
-CREATE TABLE IF NOT EXISTS `mdl_repository` (

`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,


`type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`visible` tinyint(1) unsigned DEFAULT '1',
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This tabl
e contains one entry for every configured external ' AUTO_INCREMENT=5 ;
--- Dumping data for table `mdl_repository`
-INSERT INTO `mdl_repository` (`id`, `type`, `visible`, `sortorder`) VALUES
(1, 'local', 1, 1),
(2, 'recent', 1, 2),
(3, 'upload', 1, 3),
(4, 'user', 1, 4);
-- ---------------------------------------------------------- Table structure for table `mdl_repository_instances`
-CREATE TABLE IF NOT EXISTS `mdl_repository_instances` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`typeid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`contextid` bigint(10) unsigned NOT NULL,
`username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`timecreated` bigint(10) unsigned DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
`readonly` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This tabl
e contains one entry for every configured external ' AUTO_INCREMENT=5 ;
--- Dumping data for table `mdl_repository_instances`
-INSERT INTO `mdl_repository_instances` (`id`, `name`, `typeid`, `userid`, `conte
xtid`, `username`, `password`, `timecreated`, `timemodified`, `readonly`) VALUES
(1, '', 1, 0, 1, NULL, NULL, 1441541130, 1441541130, 0),
(2, '', 2, 0, 1, NULL, NULL, 1441541132, 1441541132, 0),
(3, '', 3, 0, 1, NULL, NULL, 1441541133, 1441541133, 0),
(4, '', 4, 0, 1, NULL, NULL, 1441541134, 1441541134, 0);
-- ---------------------------------------------------------- Table structure for table `mdl_repository_instance_config`
-CREATE TABLE IF NOT EXISTS `mdl_repository_instance_config` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`instanceid` bigint(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',

`value` longtext COLLATE utf8_unicode_ci,


PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The config
for intances' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_resource`
-CREATE TABLE IF NOT EXISTS `mdl_resource` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`tobemigrated` smallint(4) unsigned NOT NULL DEFAULT '0',
`legacyfiles` smallint(4) unsigned NOT NULL DEFAULT '0',
`legacyfileslast` bigint(10) unsigned DEFAULT NULL,
`display` smallint(4) unsigned NOT NULL DEFAULT '0',
`displayoptions` text COLLATE utf8_unicode_ci,
`filterfiles` smallint(4) unsigned NOT NULL DEFAULT '0',
`revision` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_reso_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Each recor
d is one resource and its config data' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_resource_old`
-CREATE TABLE IF NOT EXISTS `mdl_resource_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`type` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`reference` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`alltext` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`popup` text COLLATE utf8_unicode_ci NOT NULL,
`options` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`oldid` bigint(10) unsigned NOT NULL,
`cmid` bigint(10) unsigned DEFAULT NULL,
`newmodule` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
`migrated` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_resoold_old_uix` (`oldid`),
KEY `mdl_resoold_cmi_ix` (`cmid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='backup of
all old resource instances from 1.9' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_role`


-CREATE TABLE IF NOT EXISTS `mdl_role` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`shortname` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci NOT NULL,
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
`archetype` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_role_sor_uix` (`sortorder`),
UNIQUE KEY `mdl_role_nam_uix` (`name`),
UNIQUE KEY `mdl_role_sho_uix` (`shortname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='moodle ro
les' AUTO_INCREMENT=9 ;
--- Dumping data for table `mdl_role`
-INSERT INTO `mdl_role` (`id`, `name`, `shortname`, `description`, `sortorder`, `
archetype`) VALUES
(1, 'Manager', 'manager', 'Managers can access course and modify them, they usua
lly do not participate in courses.', 1, 'manager'),
(2, 'Pembuat kursus', 'coursecreator', 'Pembuat kursus dapat membuat kursus baru
dan mengajar di sana.', 2, 'coursecreator'),
(3, 'Pengajar', 'editingteacher', 'Pengajar dapat melakukan apa saja di dalam ku
rsus, termasuk mengubah aktivitas dan menilai siswa.', 3, 'editingteacher'),
(4, 'Pengajar yang tidak mengedit', 'teacher', 'Guru yang tidak dapat mengedit (
non-editing teachers) dapat mengajar di sebuah kursus dan menilai siswa, namun t
idak dapat mengubah aktifitas.', 4, 'teacher'),
(5, 'Siswa', 'student', 'Siswa biasa memiliki hak yang sedikit di dalam kursus.'
, 5, 'student'),
(6, 'Tamu', 'guest', 'Tamu memiliki hak yang minimal dan biasanya tidak dapat me
ngetik teks di mana saja.', 6, 'guest'),
(7, 'Pengguna terotentikasi', 'user', 'Semua pengguna yang login.', 7, 'user'),
(8, 'Authenticated user on frontpage', 'frontpage', 'All logged in users in the
frontpage course.', 8, 'frontpage');
-- ---------------------------------------------------------- Table structure for table `mdl_role_allow_assign`
-CREATE TABLE IF NOT EXISTS `mdl_role_allow_assign` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`allowassign` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_rolealloassi_rolall_uix` (`roleid`,`allowassign`),
KEY `mdl_rolealloassi_rol_ix` (`roleid`),
KEY `mdl_rolealloassi_all_ix` (`allowassign`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='this defi
nes what role can assign what role' AUTO_INCREMENT=8 ;
--

-- Dumping data for table `mdl_role_allow_assign`


-INSERT
(1, 1,
(2, 1,
(3, 1,
(4, 1,
(5, 1,
(6, 3,
(7, 3,

INTO `mdl_role_allow_assign` (`id`, `roleid`, `allowassign`) VALUES


1),
2),
3),
4),
5),
4),
5);

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


-CREATE TABLE IF NOT EXISTS `mdl_role_allow_override` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`allowoverride` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_rolealloover_rolall_uix` (`roleid`,`allowoverride`),
KEY `mdl_rolealloover_rol_ix` (`roleid`),
KEY `mdl_rolealloover_all_ix` (`allowoverride`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='this defi
nes what role can override what role' AUTO_INCREMENT=12 ;
--- Dumping data for table `mdl_role_allow_override`
-INSERT INTO `mdl_role_allow_override` (`id`, `roleid`, `allowoverride`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 1, 8),
(9, 3, 4),
(10, 3, 5),
(11, 3, 6);
-- ---------------------------------------------------------- Table structure for table `mdl_role_allow_switch`
-CREATE TABLE IF NOT EXISTS `mdl_role_allow_switch` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`roleid` bigint(10) unsigned NOT NULL,
`allowswitch` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_rolealloswit_rolall_uix` (`roleid`,`allowswitch`),
KEY `mdl_rolealloswit_rol_ix` (`roleid`),
KEY `mdl_rolealloswit_all_ix` (`allowswitch`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This tabl


e stores which which other roles a user is allowed ' AUTO_INCREMENT=10 ;
--- Dumping data for table `mdl_role_allow_switch`
-INSERT
(1, 1,
(2, 1,
(3, 1,
(4, 1,
(5, 3,
(6, 3,
(7, 3,
(8, 4,
(9, 4,

INTO `mdl_role_allow_switch` (`id`, `roleid`, `allowswitch`) VALUES


3),
4),
5),
6),
4),
5),
6),
5),
6);

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


-CREATE TABLE IF NOT EXISTS `mdl_role_assignments` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`contextid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`modifierid` bigint(10) unsigned NOT NULL DEFAULT '0',
`component` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemid` bigint(10) unsigned NOT NULL DEFAULT '0',
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_roleassi_sor_ix` (`sortorder`),
KEY `mdl_roleassi_rol_ix` (`roleid`),
KEY `mdl_roleassi_con_ix` (`contextid`),
KEY `mdl_roleassi_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='assigning
roles in different context' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_role_capabilities`
-CREATE TABLE IF NOT EXISTS `mdl_role_capabilities` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`contextid` bigint(10) unsigned NOT NULL DEFAULT '0',
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`capability` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`permission` bigint(10) NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`modifierid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_rolecapa_rolconcap_uix` (`roleid`,`contextid`,`capability`),
KEY `mdl_rolecapa_rol_ix` (`roleid`),
KEY `mdl_rolecapa_con_ix` (`contextid`),

KEY `mdl_rolecapa_mod_ix` (`modifierid`),


KEY `mdl_rolecapa_cap_ix` (`capability`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='permissio
n has to be signed, overriding a capability for a p' AUTO_INCREMENT=869 ;
--- Dumping data for table `mdl_role_capabilities`
-INSERT INTO `mdl_role_capabilities` (`id`, `contextid`, `roleid`, `capability`,
`permission`, `timemodified`, `modifierid`) VALUES
(1, 1, 1, 'moodle/site:readallmessages', 1, 1441540949, 0),
(2, 1, 3, 'moodle/site:readallmessages', 1, 1441540949, 0),
(3, 1, 1, 'moodle/site:sendmessage', 1, 1441540949, 0),
(4, 1, 7, 'moodle/site:sendmessage', 1, 1441540949, 0),
(5, 1, 1, 'moodle/site:approvecourse', 1, 1441540949, 0),
(6, 1, 3, 'moodle/backup:backupcourse', 1, 1441540949, 0),
(7, 1, 1, 'moodle/backup:backupcourse', 1, 1441540949, 0),
(8, 1, 3, 'moodle/backup:backupsection', 1, 1441540949, 0),
(9, 1, 1, 'moodle/backup:backupsection', 1, 1441540949, 0),
(10, 1, 3, 'moodle/backup:backupactivity', 1, 1441540949, 0),
(11, 1, 1, 'moodle/backup:backupactivity', 1, 1441540949, 0),
(12, 1, 3, 'moodle/backup:backuptargethub', 1, 1441540949, 0),
(13, 1, 1, 'moodle/backup:backuptargethub', 1, 1441540950, 0),
(14, 1, 3, 'moodle/backup:backuptargetimport', 1, 1441540950, 0),
(15, 1, 1, 'moodle/backup:backuptargetimport', 1, 1441540950, 0),
(16, 1, 3, 'moodle/backup:downloadfile', 1, 1441540950, 0),
(17, 1, 1, 'moodle/backup:downloadfile', 1, 1441540950, 0),
(18, 1, 3, 'moodle/backup:configure', 1, 1441540950, 0),
(19, 1, 1, 'moodle/backup:configure', 1, 1441540950, 0),
(20, 1, 1, 'moodle/backup:userinfo', 1, 1441540950, 0),
(21, 1, 1, 'moodle/backup:anonymise', 1, 1441540950, 0),
(22, 1, 3, 'moodle/restore:restorecourse', 1, 1441540950, 0),
(23, 1, 1, 'moodle/restore:restorecourse', 1, 1441540950, 0),
(24, 1, 3, 'moodle/restore:restoresection', 1, 1441540950, 0),
(25, 1, 1, 'moodle/restore:restoresection', 1, 1441540950, 0),
(26, 1, 3, 'moodle/restore:restoreactivity', 1, 1441540950, 0),
(27, 1, 1, 'moodle/restore:restoreactivity', 1, 1441540950, 0),
(28, 1, 3, 'moodle/restore:restoretargethub', 1, 1441540950, 0),
(29, 1, 1, 'moodle/restore:restoretargethub', 1, 1441540950, 0),
(30, 1, 3, 'moodle/restore:restoretargetimport', 1, 1441540950, 0),
(31, 1, 1, 'moodle/restore:restoretargetimport', 1, 1441540950, 0),
(32, 1, 3, 'moodle/restore:uploadfile', 1, 1441540950, 0),
(33, 1, 1, 'moodle/restore:uploadfile', 1, 1441540950, 0),
(34, 1, 3, 'moodle/restore:configure', 1, 1441540950, 0),
(35, 1, 1, 'moodle/restore:configure', 1, 1441540950, 0),
(36, 1, 2, 'moodle/restore:rolldates', 1, 1441540950, 0),
(37, 1, 1, 'moodle/restore:rolldates', 1, 1441540951, 0),
(38, 1, 1, 'moodle/restore:userinfo', 1, 1441540951, 0),
(39, 1, 1, 'moodle/restore:createuser', 1, 1441540951, 0),
(40, 1, 3, 'moodle/site:manageblocks', 1, 1441540951, 0),
(41, 1, 1, 'moodle/site:manageblocks', 1, 1441540951, 0),
(42, 1, 4, 'moodle/site:accessallgroups', 1, 1441540951, 0),
(43, 1, 3, 'moodle/site:accessallgroups', 1, 1441540951, 0),
(44, 1, 1, 'moodle/site:accessallgroups', 1, 1441540951, 0),
(45, 1, 4, 'moodle/site:viewfullnames', 1, 1441540951, 0),
(46, 1, 3, 'moodle/site:viewfullnames', 1, 1441540951, 0),
(47, 1, 1, 'moodle/site:viewfullnames', 1, 1441540951, 0),
(48, 1, 4, 'moodle/site:viewreports', 1, 1441540951, 0),
(49, 1, 3, 'moodle/site:viewreports', 1, 1441540951, 0),

(50, 1, 1, 'moodle/site:viewreports', 1, 1441540951, 0),


(51, 1, 3, 'moodle/site:trustcontent', 1, 1441540951, 0),
(52, 1, 1, 'moodle/site:trustcontent', 1, 1441540951, 0),
(53, 1, 1, 'moodle/site:uploadusers', 1, 1441540951, 0),
(54, 1, 3, 'moodle/filter:manage', 1, 1441540951, 0),
(55, 1, 1, 'moodle/filter:manage', 1, 1441540951, 0),
(56, 1, 1, 'moodle/user:create', 1, 1441540951, 0),
(57, 1, 1, 'moodle/user:delete', 1, 1441540951, 0),
(58, 1, 1, 'moodle/user:update', 1, 1441540951, 0),
(59, 1, 6, 'moodle/user:viewdetails', 1, 1441540951, 0),
(60, 1, 5, 'moodle/user:viewdetails', 1, 1441540951, 0),
(61, 1, 4, 'moodle/user:viewdetails', 1, 1441540951, 0),
(62, 1, 3, 'moodle/user:viewdetails', 1, 1441540952, 0),
(63, 1, 1, 'moodle/user:viewdetails', 1, 1441540952, 0),
(64, 1, 1, 'moodle/user:viewalldetails', 1, 1441540952, 0),
(65, 1, 4, 'moodle/user:viewhiddendetails', 1, 1441540952, 0),
(66, 1, 3, 'moodle/user:viewhiddendetails', 1, 1441540952, 0),
(67, 1, 1, 'moodle/user:viewhiddendetails', 1, 1441540952, 0),
(68, 1, 1, 'moodle/user:loginas', 1, 1441540952, 0),
(69, 1, 1, 'moodle/user:managesyspages', 1, 1441540952, 0),
(70, 1, 7, 'moodle/user:manageownblocks', 1, 1441540952, 0),
(71, 1, 7, 'moodle/user:manageownfiles', 1, 1441540952, 0),
(72, 1, 1, 'moodle/my:configsyspages', 1, 1441540952, 0),
(73, 1, 3, 'moodle/role:assign', 1, 1441540952, 0),
(74, 1, 1, 'moodle/role:assign', 1, 1441540952, 0),
(75, 1, 4, 'moodle/role:review', 1, 1441540952, 0),
(76, 1, 3, 'moodle/role:review', 1, 1441540952, 0),
(77, 1, 1, 'moodle/role:review', 1, 1441540952, 0),
(78, 1, 1, 'moodle/role:override', 1, 1441540952, 0),
(79, 1, 3, 'moodle/role:safeoverride', 1, 1441540952, 0),
(80, 1, 1, 'moodle/role:manage', 1, 1441540952, 0),
(81, 1, 3, 'moodle/role:switchroles', 1, 1441540952, 0),
(82, 1, 1, 'moodle/role:switchroles', 1, 1441540952, 0),
(83, 1, 1, 'moodle/category:manage', 1, 1441540952, 0),
(84, 1, 2, 'moodle/category:viewhiddencategories', 1, 1441540952, 0),
(85, 1, 1, 'moodle/category:viewhiddencategories', 1, 1441540952, 0),
(86, 1, 1, 'moodle/cohort:manage', 1, 1441540953, 0),
(87, 1, 1, 'moodle/cohort:assign', 1, 1441540953, 0),
(88, 1, 3, 'moodle/cohort:view', 1, 1441540953, 0),
(89, 1, 1, 'moodle/cohort:view', 1, 1441540953, 0),
(90, 1, 2, 'moodle/course:create', 1, 1441540953, 0),
(91, 1, 1, 'moodle/course:create', 1, 1441540953, 0),
(92, 1, 7, 'moodle/course:request', 1, 1441540953, 0),
(93, 1, 1, 'moodle/course:delete', 1, 1441540954, 0),
(94, 1, 3, 'moodle/course:update', 1, 1441540954, 0),
(95, 1, 1, 'moodle/course:update', 1, 1441540954, 0),
(96, 1, 1, 'moodle/course:view', 1, 1441540954, 0),
(97, 1, 3, 'moodle/course:enrolreview', 1, 1441540954, 0),
(98, 1, 1, 'moodle/course:enrolreview', 1, 1441540954, 0),
(99, 1, 3, 'moodle/course:enrolconfig', 1, 1441540954, 0),
(100, 1, 1, 'moodle/course:enrolconfig', 1, 1441540954, 0),
(101, 1, 4, 'moodle/course:bulkmessaging', 1, 1441540954, 0),
(102, 1, 3, 'moodle/course:bulkmessaging', 1, 1441540954, 0),
(103, 1, 1, 'moodle/course:bulkmessaging', 1, 1441540954, 0),
(104, 1, 4, 'moodle/course:viewhiddenuserfields', 1, 1441540954, 0),
(105, 1, 3, 'moodle/course:viewhiddenuserfields', 1, 1441540954, 0),
(106, 1, 1, 'moodle/course:viewhiddenuserfields', 1, 1441540954, 0),
(107, 1, 2, 'moodle/course:viewhiddencourses', 1, 1441540955, 0),
(108, 1, 4, 'moodle/course:viewhiddencourses', 1, 1441540955, 0),
(109, 1, 3, 'moodle/course:viewhiddencourses', 1, 1441540955, 0),

(110,
(111,
(112,
(113,
(114,
(115,
(116,
(117,
(118,
(119,
(120,
(121,
(122,
(123,
(124,
(125,
(126,
(127,
(128,
(129,
(130,
(131,
(132,
(133,
(134,
(135,
(136,
(137,
(138,
(139,
(140,
(141,
(142,
(143,
(144,
(145,
(146,
(147,
(148,
(149,
(150,
(151,
(152,
(153,
(154,
(155,
(156,
(157,
(158,
(159,
(160,
(161,
(162,
(163,
(164,
(165,
(166,
(167,
(168,
(169,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

1,
3,
1,
3,
1,
3,
1,
3,
1,
4,
3,
1,
5,
4,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
1,
5,
4,
3,
1,
3,
1,
3,
1,
3,
1,
6,
7,
5,
4,
3,
1,
6,
7,
5,
4,
3,
1,
1,
7,
1,
4,
3,
1,
5,
7,
4,
3,
1,

'moodle/course:viewhiddencourses', 1, 1441540955, 0),


'moodle/course:visibility', 1, 1441540955, 0),
'moodle/course:visibility', 1, 1441540955, 0),
'moodle/course:managefiles', 1, 1441540955, 0),
'moodle/course:managefiles', 1, 1441540955, 0),
'moodle/course:manageactivities', 1, 1441540955, 0),
'moodle/course:manageactivities', 1, 1441540955, 0),
'moodle/course:activityvisibility', 1, 1441540955, 0),
'moodle/course:activityvisibility', 1, 1441540955, 0),
'moodle/course:viewhiddenactivities', 1, 1441540955, 0),
'moodle/course:viewhiddenactivities', 1, 1441540955, 0),
'moodle/course:viewhiddenactivities', 1, 1441540955, 0),
'moodle/course:viewparticipants', 1, 1441540955, 0),
'moodle/course:viewparticipants', 1, 1441540955, 0),
'moodle/course:viewparticipants', 1, 1441540955, 0),
'moodle/course:viewparticipants', 1, 1441540955, 0),
'moodle/course:changefullname', 1, 1441540956, 0),
'moodle/course:changefullname', 1, 1441540956, 0),
'moodle/course:changeshortname', 1, 1441540956, 0),
'moodle/course:changeshortname', 1, 1441540956, 0),
'moodle/course:changeidnumber', 1, 1441540956, 0),
'moodle/course:changeidnumber', 1, 1441540956, 0),
'moodle/course:changecategory', 1, 1441540956, 0),
'moodle/course:changecategory', 1, 1441540956, 0),
'moodle/course:changesummary', 1, 1441540956, 0),
'moodle/course:changesummary', 1, 1441540956, 0),
'moodle/site:viewparticipants', 1, 1441540956, 0),
'moodle/course:viewscales', 1, 1441540956, 0),
'moodle/course:viewscales', 1, 1441540956, 0),
'moodle/course:viewscales', 1, 1441540956, 0),
'moodle/course:viewscales', 1, 1441540956, 0),
'moodle/course:managescales', 1, 1441540956, 0),
'moodle/course:managescales', 1, 1441540956, 0),
'moodle/course:managegroups', 1, 1441540956, 0),
'moodle/course:managegroups', 1, 1441540956, 0),
'moodle/course:reset', 1, 1441540956, 0),
'moodle/course:reset', 1, 1441540957, 0),
'moodle/blog:view', 1, 1441540957, 0),
'moodle/blog:view', 1, 1441540957, 0),
'moodle/blog:view', 1, 1441540957, 0),
'moodle/blog:view', 1, 1441540957, 0),
'moodle/blog:view', 1, 1441540957, 0),
'moodle/blog:view', 1, 1441540957, 0),
'moodle/blog:search', 1, 1441540957, 0),
'moodle/blog:search', 1, 1441540957, 0),
'moodle/blog:search', 1, 1441540957, 0),
'moodle/blog:search', 1, 1441540957, 0),
'moodle/blog:search', 1, 1441540957, 0),
'moodle/blog:search', 1, 1441540957, 0),
'moodle/blog:viewdrafts', 1, 1441540957, 0),
'moodle/blog:create', 1, 1441540957, 0),
'moodle/blog:create', 1, 1441540957, 0),
'moodle/blog:manageentries', 1, 1441540957, 0),
'moodle/blog:manageentries', 1, 1441540957, 0),
'moodle/blog:manageentries', 1, 1441540957, 0),
'moodle/blog:manageexternal', 1, 1441540957, 0),
'moodle/blog:manageexternal', 1, 1441540958, 0),
'moodle/blog:manageexternal', 1, 1441540958, 0),
'moodle/blog:manageexternal', 1, 1441540958, 0),
'moodle/blog:manageexternal', 1, 1441540958, 0),

(170,
(171,
(172,
(173,
(174,
(175,
(176,
(177,
(178,
(179,
(180,
(181,
(182,
(183,
(184,
(185,
(186,
(187,
(188,
(189,
(190,
(191,
(192,
(193,
(194,
(195,
(196,
(197,
(198,
(199,
(200,
(201,
(202,
(203,
(204,
(205,
(206,
(207,
(208,
(209,
(210,
(211,
(212,
(213,
(214,
(215,
(216,
(217,
(218,
(219,
(220,
(221,
(222,
(223,
(224,
(225,
(226,
(227,
(228,
(229,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

5,
7,
4,
3,
1,
5,
7,
4,
3,
1,
7,
1,
4,
3,
1,
4,
3,
1,
1,
6,
7,
1,
6,
7,
1,
5,
4,
3,
1,
5,
4,
3,
1,
1,
6,
7,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
1,
5,
4,

'moodle/blog:associatecourse', 1, 1441540958, 0),


'moodle/blog:associatecourse', 1, 1441540958, 0),
'moodle/blog:associatecourse', 1, 1441540958, 0),
'moodle/blog:associatecourse', 1, 1441540958, 0),
'moodle/blog:associatecourse', 1, 1441540958, 0),
'moodle/blog:associatemodule', 1, 1441540958, 0),
'moodle/blog:associatemodule', 1, 1441540958, 0),
'moodle/blog:associatemodule', 1, 1441540958, 0),
'moodle/blog:associatemodule', 1, 1441540958, 0),
'moodle/blog:associatemodule', 1, 1441540958, 0),
'moodle/calendar:manageownentries', 1, 1441540958, 0),
'moodle/calendar:manageownentries', 1, 1441540958, 0),
'moodle/calendar:managegroupentries', 1, 1441540958, 0),
'moodle/calendar:managegroupentries', 1, 1441540958, 0),
'moodle/calendar:managegroupentries', 1, 1441540958, 0),
'moodle/calendar:manageentries', 1, 1441540958, 0),
'moodle/calendar:manageentries', 1, 1441540958, 0),
'moodle/calendar:manageentries', 1, 1441540958, 0),
'moodle/user:editprofile', 1, 1441540958, 0),
'moodle/user:editownprofile', -1000, 1441540959, 0),
'moodle/user:editownprofile', 1, 1441540959, 0),
'moodle/user:editownprofile', 1, 1441540959, 0),
'moodle/user:changeownpassword', -1000, 1441540959, 0),
'moodle/user:changeownpassword', 1, 1441540959, 0),
'moodle/user:changeownpassword', 1, 1441540959, 0),
'moodle/user:readuserposts', 1, 1441540959, 0),
'moodle/user:readuserposts', 1, 1441540959, 0),
'moodle/user:readuserposts', 1, 1441540959, 0),
'moodle/user:readuserposts', 1, 1441540959, 0),
'moodle/user:readuserblogs', 1, 1441540959, 0),
'moodle/user:readuserblogs', 1, 1441540959, 0),
'moodle/user:readuserblogs', 1, 1441540959, 0),
'moodle/user:readuserblogs', 1, 1441540959, 0),
'moodle/user:editmessageprofile', 1, 1441540959, 0),
'moodle/user:editownmessageprofile', -1000, 1441540959, 0),
'moodle/user:editownmessageprofile', 1, 1441540959, 0),
'moodle/user:editownmessageprofile', 1, 1441540959, 0),
'moodle/question:managecategory', 1, 1441540959, 0),
'moodle/question:managecategory', 1, 1441540959, 0),
'moodle/question:add', 1, 1441540959, 0),
'moodle/question:add', 1, 1441540959, 0),
'moodle/question:editmine', 1, 1441540959, 0),
'moodle/question:editmine', 1, 1441540959, 0),
'moodle/question:editall', 1, 1441540959, 0),
'moodle/question:editall', 1, 1441540959, 0),
'moodle/question:viewmine', 1, 1441540960, 0),
'moodle/question:viewmine', 1, 1441540960, 0),
'moodle/question:viewall', 1, 1441540960, 0),
'moodle/question:viewall', 1, 1441540960, 0),
'moodle/question:usemine', 1, 1441540960, 0),
'moodle/question:usemine', 1, 1441540960, 0),
'moodle/question:useall', 1, 1441540960, 0),
'moodle/question:useall', 1, 1441540960, 0),
'moodle/question:movemine', 1, 1441540960, 0),
'moodle/question:movemine', 1, 1441540960, 0),
'moodle/question:moveall', 1, 1441540960, 0),
'moodle/question:moveall', 1, 1441540960, 0),
'moodle/question:config', 1, 1441540960, 0),
'moodle/question:flag', 1, 1441540960, 0),
'moodle/question:flag', 1, 1441540960, 0),

(230,
(231,
(232,
(233,
(234,
(235,
(236,
(237,
(238,
(239,
(240,
(241,
(242,
(243,
(244,
(245,
(246,
(247,
(248,
(249,
(250,
(251,
(252,
(253,
(254,
(255,
(256,
(257,
(258,
(259,
(260,
(261,
(262,
(263,
(264,
(265,
(266,
(267,
(268,
(269,
(270,
(271,
(272,
(273,
(274,
(275,
(276,
(277,
(278,
(279,
(280,
(281,
(282,
(283,
(284,
(285,
(286,
(287,
(288,
(289,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

3,
1,
4,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
4,
3,
1,
5,
4,
3,
1,
3,
1,
4,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
3,
1,
7,
4,
3,
1,
4,
3,
1,
4,
3,
1,
1,
7,
1,
7,
4,
3,
1,
6,
7,
5,
4,

'moodle/question:flag', 1, 1441540960, 0),


'moodle/question:flag', 1, 1441540960, 0),
'moodle/site:doclinks', 1, 1441540960, 0),
'moodle/site:doclinks', 1, 1441540960, 0),
'moodle/site:doclinks', 1, 1441540960, 0),
'moodle/course:sectionvisibility', 1, 1441540960, 0),
'moodle/course:sectionvisibility', 1, 1441540960, 0),
'moodle/course:useremail', 1, 1441540960, 0),
'moodle/course:useremail', 1, 1441540960, 0),
'moodle/course:viewhiddensections', 1, 1441540960, 0),
'moodle/course:viewhiddensections', 1, 1441540961, 0),
'moodle/course:setcurrentsection', 1, 1441540961, 0),
'moodle/course:setcurrentsection', 1, 1441540961, 0),
'moodle/grade:viewall', 1, 1441540961, 0),
'moodle/grade:viewall', 1, 1441540961, 0),
'moodle/grade:viewall', 1, 1441540961, 0),
'moodle/grade:view', 1, 1441540961, 0),
'moodle/grade:viewhidden', 1, 1441540961, 0),
'moodle/grade:viewhidden', 1, 1441540961, 0),
'moodle/grade:viewhidden', 1, 1441540961, 0),
'moodle/grade:import', 1, 1441540961, 0),
'moodle/grade:import', 1, 1441540961, 0),
'moodle/grade:export', 1, 1441540961, 0),
'moodle/grade:export', 1, 1441540961, 0),
'moodle/grade:export', 1, 1441540961, 0),
'moodle/grade:manage', 1, 1441540961, 0),
'moodle/grade:manage', 1, 1441540961, 0),
'moodle/grade:edit', 1, 1441540961, 0),
'moodle/grade:edit', 1, 1441540961, 0),
'moodle/grade:manageoutcomes', 1, 1441540961, 0),
'moodle/grade:manageoutcomes', 1, 1441540961, 0),
'moodle/grade:manageletters', 1, 1441540961, 0),
'moodle/grade:manageletters', 1, 1441540961, 0),
'moodle/grade:hide', 1, 1441540961, 0),
'moodle/grade:hide', 1, 1441540962, 0),
'moodle/grade:lock', 1, 1441540962, 0),
'moodle/grade:lock', 1, 1441540962, 0),
'moodle/grade:unlock', 1, 1441540962, 0),
'moodle/grade:unlock', 1, 1441540962, 0),
'moodle/my:manageblocks', 1, 1441540962, 0),
'moodle/notes:view', 1, 1441540962, 0),
'moodle/notes:view', 1, 1441540962, 0),
'moodle/notes:view', 1, 1441540962, 0),
'moodle/notes:manage', 1, 1441540962, 0),
'moodle/notes:manage', 1, 1441540962, 0),
'moodle/notes:manage', 1, 1441540962, 0),
'moodle/tag:manage', 1, 1441540962, 0),
'moodle/tag:manage', 1, 1441540962, 0),
'moodle/tag:manage', 1, 1441540963, 0),
'moodle/tag:create', 1, 1441540963, 0),
'moodle/tag:create', 1, 1441540963, 0),
'moodle/tag:edit', 1, 1441540963, 0),
'moodle/tag:edit', 1, 1441540963, 0),
'moodle/tag:editblocks', 1, 1441540963, 0),
'moodle/tag:editblocks', 1, 1441540963, 0),
'moodle/tag:editblocks', 1, 1441540963, 0),
'moodle/block:view', 1, 1441540963, 0),
'moodle/block:view', 1, 1441540963, 0),
'moodle/block:view', 1, 1441540963, 0),
'moodle/block:view', 1, 1441540963, 0),

(290,
(291,
(292,
(293,
(294,
(295,
(296,
(297,
(298,
(299,
(300,
(301,
(302,
(303,
(304,
(305,
(306,
(307,
(308,
(309,
(310,
(311,
(312,
(313,
(314,
(315,
(316,
(317,
(318,
(319,
(320,
(321,
(322,
(323,
(324,
(325,
(326,
(327,
(328,
(329,
(330,
(331,
(332,
(333,
(334,
(335,
(336,
(337,
(338,
(339,
(340,
(341,
(342,
(343,
(344,
(345,
(346,
(347,
(348,
(349,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

3,
3,
7,
5,
4,
3,
8,
6,
7,
5,
4,
3,
1,
7,
5,
4,
3,
1,
3,
1,
1,
7,
5,
4,
3,
1,
7,
5,
4,
3,
1,
7,
5,
4,
3,
1,
7,
5,
4,
3,
1,
1,
4,
3,
1,
1,
4,
3,
1,
3,
6,
5,
4,
3,
1,
5,
4,
3,
1,
4,

'moodle/block:view', 1, 1441540963, 0),


'moodle/block:edit', 1, 1441540963, 0),
'moodle/portfolio:export', 1, 1441540964, 0),
'moodle/portfolio:export', 1, 1441540964, 0),
'moodle/portfolio:export', 1, 1441540964, 0),
'moodle/portfolio:export', 1, 1441540964, 0),
'moodle/comment:view', 1, 1441540964, 0),
'moodle/comment:view', 1, 1441540964, 0),
'moodle/comment:view', 1, 1441540964, 0),
'moodle/comment:view', 1, 1441540964, 0),
'moodle/comment:view', 1, 1441540964, 0),
'moodle/comment:view', 1, 1441540964, 0),
'moodle/comment:view', 1, 1441540964, 0),
'moodle/comment:post', 1, 1441540964, 0),
'moodle/comment:post', 1, 1441540965, 0),
'moodle/comment:post', 1, 1441540965, 0),
'moodle/comment:post', 1, 1441540965, 0),
'moodle/comment:post', 1, 1441540965, 0),
'moodle/comment:delete', 1, 1441540965, 0),
'moodle/comment:delete', 1, 1441540965, 0),
'moodle/webservice:createtoken', 1, 1441540965, 0),
'moodle/rating:view', 1, 1441540965, 0),
'moodle/rating:view', 1, 1441540965, 0),
'moodle/rating:view', 1, 1441540965, 0),
'moodle/rating:view', 1, 1441540965, 0),
'moodle/rating:view', 1, 1441540965, 0),
'moodle/rating:viewany', 1, 1441540965, 0),
'moodle/rating:viewany', 1, 1441540965, 0),
'moodle/rating:viewany', 1, 1441540965, 0),
'moodle/rating:viewany', 1, 1441540965, 0),
'moodle/rating:viewany', 1, 1441540965, 0),
'moodle/rating:viewall', 1, 1441540965, 0),
'moodle/rating:viewall', 1, 1441540965, 0),
'moodle/rating:viewall', 1, 1441540965, 0),
'moodle/rating:viewall', 1, 1441540966, 0),
'moodle/rating:viewall', 1, 1441540966, 0),
'moodle/rating:rate', 1, 1441540966, 0),
'moodle/rating:rate', 1, 1441540966, 0),
'moodle/rating:rate', 1, 1441540966, 0),
'moodle/rating:rate', 1, 1441540966, 0),
'moodle/rating:rate', 1, 1441540966, 0),
'moodle/course:publish', 1, 1441540966, 0),
'moodle/course:markcomplete', 1, 1441540966, 0),
'moodle/course:markcomplete', 1, 1441540966, 0),
'moodle/course:markcomplete', 1, 1441540966, 0),
'moodle/community:add', 1, 1441540966, 0),
'moodle/community:add', 1, 1441540966, 0),
'moodle/community:add', 1, 1441540966, 0),
'moodle/community:download', 1, 1441540966, 0),
'moodle/community:download', 1, 1441540966, 0),
'mod/assignment:view', 1, 1441541000, 0),
'mod/assignment:view', 1, 1441541000, 0),
'mod/assignment:view', 1, 1441541000, 0),
'mod/assignment:view', 1, 1441541000, 0),
'mod/assignment:view', 1, 1441541000, 0),
'mod/assignment:submit', 1, 1441541000, 0),
'mod/assignment:grade', 1, 1441541000, 0),
'mod/assignment:grade', 1, 1441541000, 0),
'mod/assignment:grade', 1, 1441541000, 0),
'mod/assignment:exportownsubmission', 1, 1441541000, 0),

(350,
(351,
(352,
(353,
(354,
(355,
(356,
(357,
(358,
(359,
(360,
(361,
(362,
(363,
(364,
(365,
(366,
(367,
(368,
(369,
(370,
(371,
(372,
(373,
(374,
(375,
(376,
(377,
(378,
(379,
(380,
(381,
(382,
(383,
(384,
(385,
(386,
(387,
(388,
(389,
(390,
(391,
(392,
(393,
(394,
(395,
(396,
(397,
(398,
(399,
(400,
(401,
(402,
(403,
(404,
(405,
(406,
(407,
(408,
(409,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

3,
1,
5,
5,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
5,
4,
3,
4,
3,
1,
4,
3,
1,
4,
3,
1,
8,
6,
5,
4,
3,
1,
5,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,

'mod/assignment:exportownsubmission', 1, 1441541000,
'mod/assignment:exportownsubmission', 1, 1441541000,
'mod/assignment:exportownsubmission', 1, 1441541000,
'mod/chat:chat', 1, 1441541004, 0),
'mod/chat:chat', 1, 1441541004, 0),
'mod/chat:chat', 1, 1441541004, 0),
'mod/chat:chat', 1, 1441541004, 0),
'mod/chat:readlog', 1, 1441541004, 0),
'mod/chat:readlog', 1, 1441541004, 0),
'mod/chat:readlog', 1, 1441541004, 0),
'mod/chat:readlog', 1, 1441541004, 0),
'mod/chat:deletelog', 1, 1441541004, 0),
'mod/chat:deletelog', 1, 1441541004, 0),
'mod/chat:deletelog', 1, 1441541004, 0),
'mod/chat:exportparticipatedsession', 1, 1441541004,
'mod/chat:exportparticipatedsession', 1, 1441541004,
'mod/chat:exportparticipatedsession', 1, 1441541004,
'mod/chat:exportsession', 1, 1441541004, 0),
'mod/chat:exportsession', 1, 1441541004, 0),
'mod/chat:exportsession', 1, 1441541005, 0),
'mod/choice:choose', 1, 1441541006, 0),
'mod/choice:choose', 1, 1441541006, 0),
'mod/choice:choose', 1, 1441541006, 0),
'mod/choice:readresponses', 1, 1441541006, 0),
'mod/choice:readresponses', 1, 1441541006, 0),
'mod/choice:readresponses', 1, 1441541006, 0),
'mod/choice:deleteresponses', 1, 1441541007, 0),
'mod/choice:deleteresponses', 1, 1441541007, 0),
'mod/choice:deleteresponses', 1, 1441541007, 0),
'mod/choice:downloadresponses', 1, 1441541007, 0),
'mod/choice:downloadresponses', 1, 1441541007, 0),
'mod/choice:downloadresponses', 1, 1441541007, 0),
'mod/data:viewentry', 1, 1441541010, 0),
'mod/data:viewentry', 1, 1441541010, 0),
'mod/data:viewentry', 1, 1441541010, 0),
'mod/data:viewentry', 1, 1441541010, 0),
'mod/data:viewentry', 1, 1441541010, 0),
'mod/data:viewentry', 1, 1441541010, 0),
'mod/data:writeentry', 1, 1441541010, 0),
'mod/data:writeentry', 1, 1441541010, 0),
'mod/data:writeentry', 1, 1441541010, 0),
'mod/data:writeentry', 1, 1441541010, 0),
'mod/data:comment', 1, 1441541010, 0),
'mod/data:comment', 1, 1441541010, 0),
'mod/data:comment', 1, 1441541010, 0),
'mod/data:comment', 1, 1441541010, 0),
'mod/data:rate', 1, 1441541010, 0),
'mod/data:rate', 1, 1441541010, 0),
'mod/data:rate', 1, 1441541010, 0),
'mod/data:viewrating', 1, 1441541011, 0),
'mod/data:viewrating', 1, 1441541011, 0),
'mod/data:viewrating', 1, 1441541011, 0),
'mod/data:viewanyrating', 1, 1441541011, 0),
'mod/data:viewanyrating', 1, 1441541011, 0),
'mod/data:viewanyrating', 1, 1441541011, 0),
'mod/data:viewallratings', 1, 1441541011, 0),
'mod/data:viewallratings', 1, 1441541011, 0),
'mod/data:viewallratings', 1, 1441541011, 0),
'mod/data:approve', 1, 1441541011, 0),
'mod/data:approve', 1, 1441541011, 0),

0),
0),
0),

0),
0),
0),

(410,
(411,
(412,
(413,
(414,
(415,
(416,
(417,
(418,
(419,
(420,
(421,
(422,
(423,
(424,
(425,
(426,
(427,
(428,
(429,
(430,
(431,
(432,
(433,
(434,
(435,
(436,
(437,
(438,
(439,
(440,
(441,
(442,
(443,
(444,
(445,
(446,
(447,
(448,
(449,
(450,
(451,
(452,
(453,
(454,
(455,
(456,
(457,
(458,
(459,
(460,
(461,
(462,
(463,
(464,
(465,
(466,
(467,
(468,
(469,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

1,
4,
3,
1,
4,
3,
1,
3,
1,
4,
3,
1,
1,
1,
4,
3,
1,
4,
3,
5,
1,
4,
3,
6,
5,
4,
3,
1,
5,
5,
3,
1,
3,
1,
1,
3,
1,
3,
1,
3,
1,
3,
1,
4,
3,
1,
4,
3,
6,
7,
3,
8,
6,
5,
4,
3,
1,
4,
3,
1,

'mod/data:approve', 1, 1441541011, 0),


'mod/data:manageentries', 1, 1441541011, 0),
'mod/data:manageentries', 1, 1441541011, 0),
'mod/data:manageentries', 1, 1441541011, 0),
'mod/data:managecomments', 1, 1441541011, 0),
'mod/data:managecomments', 1, 1441541011, 0),
'mod/data:managecomments', 1, 1441541011, 0),
'mod/data:managetemplates', 1, 1441541012, 0),
'mod/data:managetemplates', 1, 1441541012, 0),
'mod/data:viewalluserpresets', 1, 1441541012, 0),
'mod/data:viewalluserpresets', 1, 1441541012, 0),
'mod/data:viewalluserpresets', 1, 1441541012, 0),
'mod/data:manageuserpresets', 1, 1441541012, 0),
'mod/data:exportentry', 1, 1441541012, 0),
'mod/data:exportentry', 1, 1441541012, 0),
'mod/data:exportentry', 1, 1441541012, 0),
'mod/data:exportownentry', 1, 1441541012, 0),
'mod/data:exportownentry', 1, 1441541012, 0),
'mod/data:exportownentry', 1, 1441541012, 0),
'mod/data:exportownentry', 1, 1441541012, 0),
'mod/data:exportallentries', 1, 1441541012, 0),
'mod/data:exportallentries', 1, 1441541012, 0),
'mod/data:exportallentries', 1, 1441541012, 0),
'mod/feedback:view', 1, 1441541017, 0),
'mod/feedback:view', 1, 1441541017, 0),
'mod/feedback:view', 1, 1441541017, 0),
'mod/feedback:view', 1, 1441541017, 0),
'mod/feedback:view', 1, 1441541017, 0),
'mod/feedback:complete', 1, 1441541017, 0),
'mod/feedback:viewanalysepage', 1, 1441541017, 0),
'mod/feedback:viewanalysepage', 1, 1441541017, 0),
'mod/feedback:viewanalysepage', 1, 1441541017, 0),
'mod/feedback:deletesubmissions', 1, 1441541017, 0),
'mod/feedback:deletesubmissions', 1, 1441541017, 0),
'mod/feedback:mapcourse', 1, 1441541018, 0),
'mod/feedback:edititems', 1, 1441541018, 0),
'mod/feedback:edititems', 1, 1441541018, 0),
'mod/feedback:createprivatetemplate', 1, 1441541018, 0),
'mod/feedback:createprivatetemplate', 1, 1441541018, 0),
'mod/feedback:createpublictemplate', 1, 1441541018, 0),
'mod/feedback:createpublictemplate', 1, 1441541018, 0),
'mod/feedback:deletetemplate', 1, 1441541018, 0),
'mod/feedback:deletetemplate', 1, 1441541018, 0),
'mod/feedback:viewreports', 1, 1441541018, 0),
'mod/feedback:viewreports', 1, 1441541018, 0),
'mod/feedback:viewreports', 1, 1441541018, 0),
'mod/feedback:receivemail', 1, 1441541019, 0),
'mod/feedback:receivemail', 1, 1441541019, 0),
'mod/folder:view', 1, 1441541020, 0),
'mod/folder:view', 1, 1441541020, 0),
'mod/folder:managefiles', 1, 1441541020, 0),
'mod/forum:viewdiscussion', 1, 1441541024, 0),
'mod/forum:viewdiscussion', 1, 1441541024, 0),
'mod/forum:viewdiscussion', 1, 1441541024, 0),
'mod/forum:viewdiscussion', 1, 1441541024, 0),
'mod/forum:viewdiscussion', 1, 1441541024, 0),
'mod/forum:viewdiscussion', 1, 1441541024, 0),
'mod/forum:viewhiddentimedposts', 1, 1441541024, 0),
'mod/forum:viewhiddentimedposts', 1, 1441541024, 0),
'mod/forum:viewhiddentimedposts', 1, 1441541024, 0),

(470,
(471,
(472,
(473,
(474,
(475,
(476,
(477,
(478,
(479,
(480,
(481,
(482,
(483,
(484,
(485,
(486,
(487,
(488,
(489,
(490,
(491,
(492,
(493,
(494,
(495,
(496,
(497,
(498,
(499,
(500,
(501,
(502,
(503,
(504,
(505,
(506,
(507,
(508,
(509,
(510,
(511,
(512,
(513,
(514,
(515,
(516,
(517,
(518,
(519,
(520,
(521,
(522,
(523,
(524,
(525,
(526,
(527,
(528,
(529,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

5,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
5,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
5,
4,

'mod/forum:startdiscussion', 1, 1441541025, 0),


'mod/forum:startdiscussion', 1, 1441541025, 0),
'mod/forum:startdiscussion', 1, 1441541025, 0),
'mod/forum:startdiscussion', 1, 1441541025, 0),
'mod/forum:replypost', 1, 1441541025, 0),
'mod/forum:replypost', 1, 1441541025, 0),
'mod/forum:replypost', 1, 1441541025, 0),
'mod/forum:replypost', 1, 1441541025, 0),
'mod/forum:addnews', 1, 1441541025, 0),
'mod/forum:addnews', 1, 1441541025, 0),
'mod/forum:addnews', 1, 1441541025, 0),
'mod/forum:replynews', 1, 1441541025, 0),
'mod/forum:replynews', 1, 1441541025, 0),
'mod/forum:replynews', 1, 1441541025, 0),
'mod/forum:viewrating', 1, 1441541025, 0),
'mod/forum:viewrating', 1, 1441541025, 0),
'mod/forum:viewrating', 1, 1441541025, 0),
'mod/forum:viewrating', 1, 1441541025, 0),
'mod/forum:viewanyrating', 1, 1441541025, 0),
'mod/forum:viewanyrating', 1, 1441541025, 0),
'mod/forum:viewanyrating', 1, 1441541025, 0),
'mod/forum:viewallratings', 1, 1441541026, 0),
'mod/forum:viewallratings', 1, 1441541026, 0),
'mod/forum:viewallratings', 1, 1441541026, 0),
'mod/forum:rate', 1, 1441541026, 0),
'mod/forum:rate', 1, 1441541026, 0),
'mod/forum:rate', 1, 1441541026, 0),
'mod/forum:createattachment', 1, 1441541026, 0),
'mod/forum:createattachment', 1, 1441541026, 0),
'mod/forum:createattachment', 1, 1441541026, 0),
'mod/forum:createattachment', 1, 1441541026, 0),
'mod/forum:deleteownpost', 1, 1441541026, 0),
'mod/forum:deleteownpost', 1, 1441541026, 0),
'mod/forum:deleteownpost', 1, 1441541026, 0),
'mod/forum:deleteownpost', 1, 1441541026, 0),
'mod/forum:deleteanypost', 1, 1441541026, 0),
'mod/forum:deleteanypost', 1, 1441541026, 0),
'mod/forum:deleteanypost', 1, 1441541026, 0),
'mod/forum:splitdiscussions', 1, 1441541026, 0),
'mod/forum:splitdiscussions', 1, 1441541026, 0),
'mod/forum:splitdiscussions', 1, 1441541026, 0),
'mod/forum:movediscussions', 1, 1441541026, 0),
'mod/forum:movediscussions', 1, 1441541026, 0),
'mod/forum:movediscussions', 1, 1441541027, 0),
'mod/forum:editanypost', 1, 1441541027, 0),
'mod/forum:editanypost', 1, 1441541027, 0),
'mod/forum:editanypost', 1, 1441541027, 0),
'mod/forum:viewqandawithoutposting', 1, 1441541027, 0),
'mod/forum:viewqandawithoutposting', 1, 1441541027, 0),
'mod/forum:viewqandawithoutposting', 1, 1441541027, 0),
'mod/forum:viewsubscribers', 1, 1441541027, 0),
'mod/forum:viewsubscribers', 1, 1441541027, 0),
'mod/forum:viewsubscribers', 1, 1441541027, 0),
'mod/forum:managesubscriptions', 1, 1441541027, 0),
'mod/forum:managesubscriptions', 1, 1441541027, 0),
'mod/forum:managesubscriptions', 1, 1441541027, 0),
'mod/forum:initialsubscriptions', 1, 1441541027, 0),
'mod/forum:initialsubscriptions', 1, 1441541027, 0),
'mod/forum:initialsubscriptions', 1, 1441541027, 0),
'mod/forum:postwithoutthrottling', 1, 1441541027, 0),

(530,
(531,
(532,
(533,
(534,
(535,
(536,
(537,
(538,
(539,
(540,
(541,
(542,
(543,
(544,
(545,
(546,
(547,
(548,
(549,
(550,
(551,
(552,
(553,
(554,
(555,
(556,
(557,
(558,
(559,
(560,
(561,
(562,
(563,
(564,
(565,
(566,
(567,
(568,
(569,
(570,
(571,
(572,
(573,
(574,
(575,
(576,
(577,
(578,
(579,
(580,
(581,
(582,
(583,
(584,
(585,
(586,
(587,
(588,
(589,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
5,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
5,
6,
7,
3,

'mod/forum:postwithoutthrottling', 1, 1441541027, 0),


'mod/forum:postwithoutthrottling', 1, 1441541027, 0),
'mod/forum:exportdiscussion', 1, 1441541027, 0),
'mod/forum:exportdiscussion', 1, 1441541027, 0),
'mod/forum:exportdiscussion', 1, 1441541028, 0),
'mod/forum:exportpost', 1, 1441541028, 0),
'mod/forum:exportpost', 1, 1441541028, 0),
'mod/forum:exportpost', 1, 1441541028, 0),
'mod/forum:exportownpost', 1, 1441541028, 0),
'mod/forum:exportownpost', 1, 1441541028, 0),
'mod/forum:exportownpost', 1, 1441541028, 0),
'mod/forum:exportownpost', 1, 1441541028, 0),
'mod/glossary:write', 1, 1441541031, 0),
'mod/glossary:write', 1, 1441541031, 0),
'mod/glossary:write', 1, 1441541031, 0),
'mod/glossary:write', 1, 1441541031, 0),
'mod/glossary:manageentries', 1, 1441541031, 0),
'mod/glossary:manageentries', 1, 1441541032, 0),
'mod/glossary:manageentries', 1, 1441541032, 0),
'mod/glossary:managecategories', 1, 1441541032, 0),
'mod/glossary:managecategories', 1, 1441541032, 0),
'mod/glossary:managecategories', 1, 1441541032, 0),
'mod/glossary:comment', 1, 1441541032, 0),
'mod/glossary:comment', 1, 1441541032, 0),
'mod/glossary:comment', 1, 1441541032, 0),
'mod/glossary:comment', 1, 1441541032, 0),
'mod/glossary:managecomments', 1, 1441541032, 0),
'mod/glossary:managecomments', 1, 1441541032, 0),
'mod/glossary:managecomments', 1, 1441541032, 0),
'mod/glossary:import', 1, 1441541032, 0),
'mod/glossary:import', 1, 1441541032, 0),
'mod/glossary:import', 1, 1441541032, 0),
'mod/glossary:export', 1, 1441541032, 0),
'mod/glossary:export', 1, 1441541032, 0),
'mod/glossary:export', 1, 1441541032, 0),
'mod/glossary:approve', 1, 1441541032, 0),
'mod/glossary:approve', 1, 1441541032, 0),
'mod/glossary:approve', 1, 1441541033, 0),
'mod/glossary:rate', 1, 1441541033, 0),
'mod/glossary:rate', 1, 1441541033, 0),
'mod/glossary:rate', 1, 1441541033, 0),
'mod/glossary:viewrating', 1, 1441541033, 0),
'mod/glossary:viewrating', 1, 1441541033, 0),
'mod/glossary:viewrating', 1, 1441541033, 0),
'mod/glossary:viewanyrating', 1, 1441541033, 0),
'mod/glossary:viewanyrating', 1, 1441541033, 0),
'mod/glossary:viewanyrating', 1, 1441541033, 0),
'mod/glossary:viewallratings', 1, 1441541033, 0),
'mod/glossary:viewallratings', 1, 1441541033, 0),
'mod/glossary:viewallratings', 1, 1441541033, 0),
'mod/glossary:exportentry', 1, 1441541033, 0),
'mod/glossary:exportentry', 1, 1441541033, 0),
'mod/glossary:exportentry', 1, 1441541033, 0),
'mod/glossary:exportownentry', 1, 1441541033, 0),
'mod/glossary:exportownentry', 1, 1441541033, 0),
'mod/glossary:exportownentry', 1, 1441541033, 0),
'mod/glossary:exportownentry', 1, 1441541034, 0),
'mod/imscp:view', 1, 1441541035, 0),
'mod/imscp:view', 1, 1441541035, 0),
'mod/lesson:edit', 1, 1441541040, 0),

(590,
(591,
(592,
(593,
(594,
(595,
(596,
(597,
(598,
(599,
(600,
(601,
(602,
(603,
(604,
(605,
(606,
(607,
(608,
(609,
(610,
(611,
(612,
(613,
(614,
(615,
(616,
(617,
(618,
(619,
(620,
(621,
(622,
(623,
(624,
(625,
(626,
(627,
(628,
(629,
(630,
(631,
(632,
(633,
(634,
(635,
(636,
(637,
(638,
(639,
(640,
(641,
(642,
(643,
(644,
(645,
(646,
(647,
(648,
(649,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

1,
4,
3,
1,
6,
7,
6,
5,
4,
3,
1,
5,
5,
3,
1,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
3,
1,
6,
7,
4,
3,
1,
5,
5,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
6,
7,

'mod/lesson:edit', 1, 1441541040, 0),


'mod/lesson:manage', 1, 1441541040, 0),
'mod/lesson:manage', 1, 1441541040, 0),
'mod/lesson:manage', 1, 1441541040, 0),
'mod/page:view', 1, 1441541041, 0),
'mod/page:view', 1, 1441541041, 0),
'mod/quiz:view', 1, 1441541046, 0),
'mod/quiz:view', 1, 1441541046, 0),
'mod/quiz:view', 1, 1441541046, 0),
'mod/quiz:view', 1, 1441541046, 0),
'mod/quiz:view', 1, 1441541046, 0),
'mod/quiz:attempt', 1, 1441541046, 0),
'mod/quiz:reviewmyattempts', 1, 1441541046, 0),
'mod/quiz:manage', 1, 1441541046, 0),
'mod/quiz:manage', 1, 1441541046, 0),
'mod/quiz:manageoverrides', 1, 1441541046, 0),
'mod/quiz:manageoverrides', 1, 1441541046, 0),
'mod/quiz:preview', 1, 1441541046, 0),
'mod/quiz:preview', 1, 1441541046, 0),
'mod/quiz:preview', 1, 1441541046, 0),
'mod/quiz:grade', 1, 1441541046, 0),
'mod/quiz:grade', 1, 1441541046, 0),
'mod/quiz:grade', 1, 1441541046, 0),
'mod/quiz:regrade', 1, 1441541047, 0),
'mod/quiz:regrade', 1, 1441541047, 0),
'mod/quiz:regrade', 1, 1441541047, 0),
'mod/quiz:viewreports', 1, 1441541047, 0),
'mod/quiz:viewreports', 1, 1441541047, 0),
'mod/quiz:viewreports', 1, 1441541047, 0),
'mod/quiz:deleteattempts', 1, 1441541047, 0),
'mod/quiz:deleteattempts', 1, 1441541047, 0),
'mod/resource:view', 1, 1441541049, 0),
'mod/resource:view', 1, 1441541049, 0),
'mod/scorm:viewreport', 1, 1441541055, 0),
'mod/scorm:viewreport', 1, 1441541055, 0),
'mod/scorm:viewreport', 1, 1441541055, 0),
'mod/scorm:skipview', 1, 1441541055, 0),
'mod/scorm:savetrack', 1, 1441541055, 0),
'mod/scorm:savetrack', 1, 1441541055, 0),
'mod/scorm:savetrack', 1, 1441541056, 0),
'mod/scorm:savetrack', 1, 1441541056, 0),
'mod/scorm:viewscores', 1, 1441541056, 0),
'mod/scorm:viewscores', 1, 1441541056, 0),
'mod/scorm:viewscores', 1, 1441541056, 0),
'mod/scorm:viewscores', 1, 1441541056, 0),
'mod/scorm:deleteresponses', 1, 1441541056, 0),
'mod/scorm:deleteresponses', 1, 1441541056, 0),
'mod/scorm:deleteresponses', 1, 1441541056, 0),
'mod/survey:participate', 1, 1441541061, 0),
'mod/survey:participate', 1, 1441541061, 0),
'mod/survey:participate', 1, 1441541061, 0),
'mod/survey:participate', 1, 1441541061, 0),
'mod/survey:readresponses', 1, 1441541061, 0),
'mod/survey:readresponses', 1, 1441541061, 0),
'mod/survey:readresponses', 1, 1441541061, 0),
'mod/survey:download', 1, 1441541061, 0),
'mod/survey:download', 1, 1441541061, 0),
'mod/survey:download', 1, 1441541061, 0),
'mod/url:view', 1, 1441541062, 0),
'mod/url:view', 1, 1441541062, 0),

(650,
(651,
(652,
(653,
(654,
(655,
(656,
(657,
(658,
(659,
(660,
(661,
(662,
(663,
(664,
(665,
(666,
(667,
(668,
(669,
(670,
(671,
(672,
(673,
(674,
(675,
(676,
(677,
(678,
(679,
(680,
(681,
(682,
(683,
(684,
(685,
(686,
(687,
(688,
(689,
(690,
(691,
(692,
(693,
(694,
(695,
(696,
(697,
(698,
(699,
(700,
(701,
(702,
(703,
(704,
(705,
(706,
(707,
(708,
(709,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

6,
5,
4,
3,
1,
5,
4,
3,
1,
5,
4,
3,
1,
5,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
6,
5,
4,
3,
1,
4,
3,
1,
3,
1,
5,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
5,
4,
3,
1,
4,
3,

'mod/wiki:viewpage', 1, 1441541065, 0),


'mod/wiki:viewpage', 1, 1441541065, 0),
'mod/wiki:viewpage', 1, 1441541065, 0),
'mod/wiki:viewpage', 1, 1441541065, 0),
'mod/wiki:viewpage', 1, 1441541065, 0),
'mod/wiki:editpage', 1, 1441541065, 0),
'mod/wiki:editpage', 1, 1441541066, 0),
'mod/wiki:editpage', 1, 1441541066, 0),
'mod/wiki:editpage', 1, 1441541066, 0),
'mod/wiki:createpage', 1, 1441541066, 0),
'mod/wiki:createpage', 1, 1441541066, 0),
'mod/wiki:createpage', 1, 1441541066, 0),
'mod/wiki:createpage', 1, 1441541066, 0),
'mod/wiki:viewcomment', 1, 1441541066, 0),
'mod/wiki:viewcomment', 1, 1441541066, 0),
'mod/wiki:viewcomment', 1, 1441541066, 0),
'mod/wiki:viewcomment', 1, 1441541066, 0),
'mod/wiki:editcomment', 1, 1441541066, 0),
'mod/wiki:editcomment', 1, 1441541066, 0),
'mod/wiki:editcomment', 1, 1441541066, 0),
'mod/wiki:editcomment', 1, 1441541066, 0),
'mod/wiki:managecomment', 1, 1441541066, 0),
'mod/wiki:managecomment', 1, 1441541066, 0),
'mod/wiki:managecomment', 1, 1441541066, 0),
'mod/wiki:managefiles', 1, 1441541067, 0),
'mod/wiki:managefiles', 1, 1441541067, 0),
'mod/wiki:managefiles', 1, 1441541067, 0),
'mod/wiki:overridelock', 1, 1441541067, 0),
'mod/wiki:overridelock', 1, 1441541067, 0),
'mod/wiki:overridelock', 1, 1441541067, 0),
'mod/wiki:managewiki', 1, 1441541067, 0),
'mod/wiki:managewiki', 1, 1441541067, 0),
'mod/wiki:managewiki', 1, 1441541067, 0),
'mod/workshop:view', 1, 1441541075, 0),
'mod/workshop:view', 1, 1441541075, 0),
'mod/workshop:view', 1, 1441541075, 0),
'mod/workshop:view', 1, 1441541075, 0),
'mod/workshop:view', 1, 1441541075, 0),
'mod/workshop:switchphase', 1, 1441541075, 0),
'mod/workshop:switchphase', 1, 1441541075, 0),
'mod/workshop:switchphase', 1, 1441541075, 0),
'mod/workshop:editdimensions', 1, 1441541075, 0),
'mod/workshop:editdimensions', 1, 1441541075, 0),
'mod/workshop:submit', 1, 1441541075, 0),
'mod/workshop:peerassess', 1, 1441541075, 0),
'mod/workshop:manageexamples', 1, 1441541076, 0),
'mod/workshop:manageexamples', 1, 1441541076, 0),
'mod/workshop:manageexamples', 1, 1441541076, 0),
'mod/workshop:allocate', 1, 1441541076, 0),
'mod/workshop:allocate', 1, 1441541076, 0),
'mod/workshop:allocate', 1, 1441541076, 0),
'mod/workshop:publishsubmissions', 1, 1441541076, 0),
'mod/workshop:publishsubmissions', 1, 1441541076, 0),
'mod/workshop:publishsubmissions', 1, 1441541076, 0),
'mod/workshop:viewauthornames', 1, 1441541076, 0),
'mod/workshop:viewauthornames', 1, 1441541076, 0),
'mod/workshop:viewauthornames', 1, 1441541076, 0),
'mod/workshop:viewauthornames', 1, 1441541076, 0),
'mod/workshop:viewreviewernames', 1, 1441541076, 0),
'mod/workshop:viewreviewernames', 1, 1441541076, 0),

(710,
(711,
(712,
(713,
(714,
(715,
(716,
(717,
(718,
(719,
(720,
(721,
(722,
(723,
(724,
(725,
(726,
(727,
(728,
(729,
(730,
(731,
(732,
(733,
(734,
(735,
(736,
(737,
(738,
(739,
(740,
(741,
(742,
(743,
(744,
(745,
(746,
(747,
(748,
(749,
(750,
(751,
(752,
(753,
(754,
(755,
(756,
(757,
(758,
(759,
(760,
(761,
(762,
(763,
(764,
(765,
(766,
(767,
(768,
(769,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

1,
4,
3,
1,
5,
4,
3,
1,
5,
4,
3,
1,
4,
3,
1,
4,
3,
1,
1,
1,
3,
1,
1,
1,
3,
1,
1,
3,
1,
1,
1,
3,
1,
3,
1,
3,
1,
3,
1,
1,
1,
3,
1,
3,
1,
3,
1,
5,
3,
1,
7,
6,
5,
4,
3,
1,
4,
3,
1,
1,

'mod/workshop:viewreviewernames', 1, 1441541076, 0),


'mod/workshop:viewallsubmissions', 1, 1441541076, 0),
'mod/workshop:viewallsubmissions', 1, 1441541076, 0),
'mod/workshop:viewallsubmissions', 1, 1441541076, 0),
'mod/workshop:viewpublishedsubmissions', 1, 1441541076,
'mod/workshop:viewpublishedsubmissions', 1, 1441541076,
'mod/workshop:viewpublishedsubmissions', 1, 1441541076,
'mod/workshop:viewpublishedsubmissions', 1, 1441541077,
'mod/workshop:viewauthorpublished', 1, 1441541077, 0),
'mod/workshop:viewauthorpublished', 1, 1441541077, 0),
'mod/workshop:viewauthorpublished', 1, 1441541077, 0),
'mod/workshop:viewauthorpublished', 1, 1441541077, 0),
'mod/workshop:viewallassessments', 1, 1441541077, 0),
'mod/workshop:viewallassessments', 1, 1441541077, 0),
'mod/workshop:viewallassessments', 1, 1441541077, 0),
'mod/workshop:overridegrades', 1, 1441541077, 0),
'mod/workshop:overridegrades', 1, 1441541077, 0),
'mod/workshop:overridegrades', 1, 1441541077, 0),
'enrol/authorize:config', 1, 1441541086, 0),
'enrol/authorize:manage', 1, 1441541086, 0),
'enrol/authorize:manage', 1, 1441541086, 0),
'enrol/authorize:unenrol', 1, 1441541086, 0),
'enrol/authorize:managepayments', 1, 1441541086, 0),
'enrol/authorize:uploadcsv', 1, 1441541086, 0),
'enrol/cohort:config', 1, 1441541087, 0),
'enrol/cohort:config', 1, 1441541087, 0),
'enrol/guest:config', 1, 1441541090, 0),
'enrol/guest:config', 1, 1441541090, 0),
'enrol/ldap:manage', 1, 1441541090, 0),
'enrol/manual:config', 1, 1441541091, 0),
'enrol/manual:enrol', 1, 1441541091, 0),
'enrol/manual:enrol', 1, 1441541091, 0),
'enrol/manual:manage', 1, 1441541091, 0),
'enrol/manual:manage', 1, 1441541091, 0),
'enrol/manual:unenrol', 1, 1441541091, 0),
'enrol/manual:unenrol', 1, 1441541091, 0),
'enrol/meta:config', 1, 1441541092, 0),
'enrol/meta:config', 1, 1441541092, 0),
'enrol/meta:selectaslinked', 1, 1441541092, 0),
'enrol/paypal:config', 1, 1441541094, 0),
'enrol/paypal:manage', 1, 1441541094, 0),
'enrol/paypal:manage', 1, 1441541094, 0),
'enrol/paypal:unenrol', 1, 1441541094, 0),
'enrol/self:config', 1, 1441541095, 0),
'enrol/self:config', 1, 1441541095, 0),
'enrol/self:manage', 1, 1441541095, 0),
'enrol/self:manage', 1, 1441541095, 0),
'enrol/self:unenrolself', 1, 1441541095, 0),
'enrol/self:unenrol', 1, 1441541095, 0),
'enrol/self:unenrol', 1, 1441541095, 0),
'block/online_users:viewlist', 1, 1441541102, 0),
'block/online_users:viewlist', 1, 1441541102, 0),
'block/online_users:viewlist', 1, 1441541102, 0),
'block/online_users:viewlist', 1, 1441541102, 0),
'block/online_users:viewlist', 1, 1441541102, 0),
'block/online_users:viewlist', 1, 1441541102, 0),
'block/rss_client:manageownfeeds', 1, 1441541103, 0),
'block/rss_client:manageownfeeds', 1, 1441541103, 0),
'block/rss_client:manageownfeeds', 1, 1441541104, 0),
'block/rss_client:manageanyfeeds', 1, 1441541104, 0),

0),
0),
0),
0),

(770,
(771,
(772,
(773,
(774,
(775,
(776,
(777,
(778,
(779,
(780,
(781,
(782,
(783,
(784,
(785,
(786,
(787,
(788,
(789,
(790,
(791,
(792,
(793,
(794,
(795,
(796,
(797,
(798,
(799,
(800,
(801,
(802,
(803,
(804,
(805,
(806,
(807,
(808,
(809,
(810,
(811,
(812,
(813,
(814,
(815,
(816,
(817,
(818,
(819,
(820,
(821,
(822,
(823,
(824,
(825,
(826,
(827,
(828,
(829,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

4,
3,
1,
1,
1,
1,
1,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
4,
3,
1,
1,
4,
3,
1,
1,
4,
3,
1,
1,
4,
3,
1,
1,
3,
1,
3,
1,
1,
4,
3,
1,
4,
3,
1,
5,

'report/courseoverview:view', 1, 1441541111, 0),


'report/courseoverview:view', 1, 1441541111, 0),
'report/courseoverview:view', 1, 1441541111, 0),
'report/customlang:view', 1, 1441541112, 0),
'report/customlang:edit', 1, 1441541112, 0),
'report/questioninstances:view', 1, 1441541113, 0),
'report/security:view', 1, 1441541113, 0),
'report/unittest:view', 1, 1441541114, 0),
'coursereport/completion:view', 1, 1441541114, 0),
'coursereport/completion:view', 1, 1441541115, 0),
'coursereport/completion:view', 1, 1441541115, 0),
'coursereport/log:view', 1, 1441541115, 0),
'coursereport/log:view', 1, 1441541115, 0),
'coursereport/log:view', 1, 1441541115, 0),
'coursereport/log:viewlive', 1, 1441541115, 0),
'coursereport/log:viewlive', 1, 1441541116, 0),
'coursereport/log:viewlive', 1, 1441541116, 0),
'coursereport/log:viewtoday', 1, 1441541116, 0),
'coursereport/log:viewtoday', 1, 1441541116, 0),
'coursereport/log:viewtoday', 1, 1441541116, 0),
'coursereport/outline:view', 1, 1441541116, 0),
'coursereport/outline:view', 1, 1441541116, 0),
'coursereport/outline:view', 1, 1441541116, 0),
'coursereport/participation:view', 1, 1441541117, 0),
'coursereport/participation:view', 1, 1441541117, 0),
'coursereport/participation:view', 1, 1441541117, 0),
'coursereport/progress:view', 1, 1441541117, 0),
'coursereport/progress:view', 1, 1441541117, 0),
'coursereport/progress:view', 1, 1441541117, 0),
'coursereport/stats:view', 1, 1441541118, 0),
'coursereport/stats:view', 1, 1441541118, 0),
'coursereport/stats:view', 1, 1441541118, 0),
'gradeexport/ods:view', 1, 1441541118, 0),
'gradeexport/ods:view', 1, 1441541118, 0),
'gradeexport/ods:view', 1, 1441541118, 0),
'gradeexport/ods:publish', 1, 1441541118, 0),
'gradeexport/txt:view', 1, 1441541119, 0),
'gradeexport/txt:view', 1, 1441541119, 0),
'gradeexport/txt:view', 1, 1441541119, 0),
'gradeexport/txt:publish', 1, 1441541119, 0),
'gradeexport/xls:view', 1, 1441541119, 0),
'gradeexport/xls:view', 1, 1441541119, 0),
'gradeexport/xls:view', 1, 1441541119, 0),
'gradeexport/xls:publish', 1, 1441541120, 0),
'gradeexport/xml:view', 1, 1441541120, 0),
'gradeexport/xml:view', 1, 1441541120, 0),
'gradeexport/xml:view', 1, 1441541120, 0),
'gradeexport/xml:publish', 1, 1441541120, 0),
'gradeimport/csv:view', 1, 1441541121, 0),
'gradeimport/csv:view', 1, 1441541121, 0),
'gradeimport/xml:view', 1, 1441541121, 0),
'gradeimport/xml:view', 1, 1441541121, 0),
'gradeimport/xml:publish', 1, 1441541121, 0),
'gradereport/grader:view', 1, 1441541122, 0),
'gradereport/grader:view', 1, 1441541122, 0),
'gradereport/grader:view', 1, 1441541122, 0),
'gradereport/outcomes:view', 1, 1441541122, 0),
'gradereport/outcomes:view', 1, 1441541122, 0),
'gradereport/outcomes:view', 1, 1441541122, 0),
'gradereport/overview:view', 1, 1441541122, 0),

(830,
(831,
(832,
(833,
(834,
(835,
(836,
(837,
(838,
(839,
(840,
(841,
(842,
(843,
(844,
(845,
(846,
(847,
(848,
(849,
(850,
(851,
(852,
(853,
(854,
(855,
(856,
(857,
(858,
(859,
(860,
(861,
(862,
(863,
(864,
(865,
(866,
(867,
(868,

1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,

1,
5,
4,
3,
1,
7,
7,
2,
4,
3,
1,
7,
2,
4,
3,
1,
7,
7,
7,
2,
4,
3,
1,
7,
7,
7,
7,
7,
7,
7,
2,
4,
3,
1,
7,
7,
4,
3,
1,

'gradereport/overview:view', 1, 1441541122, 0),


'gradereport/user:view', 1, 1441541123, 0),
'gradereport/user:view', 1, 1441541123, 0),
'gradereport/user:view', 1, 1441541123, 0),
'gradereport/user:view', 1, 1441541123, 0),
'repository/alfresco:view', 1, 1441541126, 0),
'repository/boxnet:view', 1, 1441541127, 0),
'repository/coursefiles:view', 1, 1441541127, 0),
'repository/coursefiles:view', 1, 1441541127, 0),
'repository/coursefiles:view', 1, 1441541127, 0),
'repository/coursefiles:view', 1, 1441541128, 0),
'repository/dropbox:view', 1, 1441541128, 0),
'repository/filesystem:view', 1, 1441541128, 0),
'repository/filesystem:view', 1, 1441541128, 0),
'repository/filesystem:view', 1, 1441541128, 0),
'repository/filesystem:view', 1, 1441541128, 0),
'repository/flickr:view', 1, 1441541129, 0),
'repository/flickr_public:view', 1, 1441541129, 0),
'repository/googledocs:view', 1, 1441541130, 0),
'repository/local:view', 1, 1441541130, 0),
'repository/local:view', 1, 1441541130, 0),
'repository/local:view', 1, 1441541130, 0),
'repository/local:view', 1, 1441541130, 0),
'repository/merlot:view', 1, 1441541131, 0),
'repository/picasa:view', 1, 1441541131, 0),
'repository/recent:view', 1, 1441541132, 0),
'repository/s3:view', 1, 1441541132, 0),
'repository/upload:view', 1, 1441541133, 0),
'repository/url:view', 1, 1441541133, 0),
'repository/user:view', 1, 1441541134, 0),
'repository/webdav:view', 1, 1441541134, 0),
'repository/webdav:view', 1, 1441541134, 0),
'repository/webdav:view', 1, 1441541134, 0),
'repository/webdav:view', 1, 1441541134, 0),
'repository/wikimedia:view', 1, 1441541134, 0),
'repository/youtube:view', 1, 1441541135, 0),
'quizreport/statistics:view', 1, 1441541149, 0),
'quizreport/statistics:view', 1, 1441541149, 0),
'quizreport/statistics:view', 1, 1441541149, 0);

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


-CREATE TABLE IF NOT EXISTS `mdl_role_context_levels` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`roleid` bigint(10) unsigned NOT NULL,
`contextlevel` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_rolecontleve_conrol_uix` (`contextlevel`,`roleid`),
KEY `mdl_rolecontleve_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Lists whi
ch roles can be assigned at which context levels. T' AUTO_INCREMENT=12 ;
--- Dumping data for table `mdl_role_context_levels`
--

INSERT INTO `mdl_role_context_levels` (`id`, `roleid`, `contextlevel`) VALUES


(1, 1, 10),
(4, 2, 10),
(2, 1, 40),
(5, 2, 40),
(3, 1, 50),
(6, 3, 50),
(8, 4, 50),
(10, 5, 50),
(7, 3, 70),
(9, 4, 70),
(11, 5, 70);
-- ---------------------------------------------------------- Table structure for table `mdl_role_names`
-CREATE TABLE IF NOT EXISTS `mdl_role_names` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`contextid` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_rolename_rolcon_uix` (`roleid`,`contextid`),
KEY `mdl_rolename_rol_ix` (`roleid`),
KEY `mdl_rolename_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='role names
in native strings' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_role_sortorder`
-CREATE TABLE IF NOT EXISTS `mdl_role_sortorder` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL,
`roleid` bigint(10) unsigned NOT NULL,
`contextid` bigint(10) unsigned NOT NULL,
`sortoder` bigint(10) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_rolesort_userolcon_uix` (`userid`,`roleid`,`contextid`),
KEY `mdl_rolesort_use_ix` (`userid`),
KEY `mdl_rolesort_rol_ix` (`roleid`),
KEY `mdl_rolesort_con_ix` (`contextid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='sort order
of course managers in a course' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scale`
-CREATE TABLE IF NOT EXISTS `mdl_scale` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',

`userid` bigint(10) unsigned NOT NULL DEFAULT '0',


`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`scale` text COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`descriptionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_scal_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Defines gr
ading scales' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scale_history`
-CREATE TABLE IF NOT EXISTS `mdl_scale_history` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`action` bigint(10) unsigned NOT NULL DEFAULT '0',
`oldid` bigint(10) unsigned NOT NULL,
`source` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`timemodified` bigint(10) unsigned DEFAULT NULL,
`loggeduser` bigint(10) unsigned DEFAULT NULL,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`scale` text COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_scalhist_act_ix` (`action`),
KEY `mdl_scalhist_old_ix` (`oldid`),
KEY `mdl_scalhist_cou_ix` (`courseid`),
KEY `mdl_scalhist_log_ix` (`loggeduser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='History ta
ble' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm`
-CREATE TABLE IF NOT EXISTS `mdl_scorm` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`scormtype` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'local',
`reference` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`version` varchar(9) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`maxgrade` double NOT NULL DEFAULT '0',
`grademethod` tinyint(2) NOT NULL DEFAULT '0',
`whatgrade` bigint(10) NOT NULL DEFAULT '0',
`maxattempt` bigint(10) NOT NULL DEFAULT '1',
`forcecompleted` tinyint(1) NOT NULL DEFAULT '1',
`forcenewattempt` tinyint(1) NOT NULL DEFAULT '0',
`lastattemptlock` tinyint(1) NOT NULL DEFAULT '0',
`displayattemptstatus` tinyint(1) NOT NULL DEFAULT '1',

`displaycoursestructure` tinyint(1) NOT NULL DEFAULT '1',


`updatefreq` tinyint(1) unsigned NOT NULL DEFAULT '0',
`sha1hash` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
`md5hash` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`revision` bigint(10) unsigned NOT NULL DEFAULT '0',
`launch` bigint(10) unsigned NOT NULL DEFAULT '0',
`skipview` tinyint(1) unsigned NOT NULL DEFAULT '1',
`hidebrowse` tinyint(1) NOT NULL DEFAULT '0',
`hidetoc` tinyint(1) NOT NULL DEFAULT '0',
`hidenav` tinyint(1) NOT NULL DEFAULT '0',
`auto` tinyint(1) unsigned NOT NULL DEFAULT '0',
`popup` tinyint(1) unsigned NOT NULL DEFAULT '0',
`options` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`width` bigint(10) unsigned NOT NULL DEFAULT '100',
`height` bigint(10) unsigned NOT NULL DEFAULT '600',
`timeopen` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeclose` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_scor_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='each table
is one SCORM module and its configuration' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm_scoes`
-CREATE TABLE IF NOT EXISTS `mdl_scorm_scoes` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`scorm` bigint(10) unsigned NOT NULL DEFAULT '0',
`manifest` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`organization` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`parent` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`identifier` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`launch` text COLLATE utf8_unicode_ci NOT NULL,
`scormtype` varchar(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_scorscoe_sco_ix` (`scorm`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='each SCO p
art of the SCORM module' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm_scoes_data`
-CREATE TABLE IF NOT EXISTS `mdl_scorm_scoes_data` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`scoid` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_scorscoedata_sco_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Contains v
ariable data get from packages' AUTO_INCREMENT=1 ;

-- ---------------------------------------------------------- Table structure for table `mdl_scorm_scoes_track`


-CREATE TABLE IF NOT EXISTS `mdl_scorm_scoes_track` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`scormid` bigint(10) NOT NULL DEFAULT '0',
`scoid` bigint(10) unsigned NOT NULL DEFAULT '0',
`attempt` bigint(10) unsigned NOT NULL DEFAULT '1',
`element` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` longtext COLLATE utf8_unicode_ci NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_scorscoetrac_usescosco_uix` (`userid`,`scormid`,`scoid`,`attem
pt`,`element`),
KEY `mdl_scorscoetrac_use_ix` (`userid`),
KEY `mdl_scorscoetrac_ele_ix` (`element`),
KEY `mdl_scorscoetrac_sco_ix` (`scormid`),
KEY `mdl_scorscoetrac_sco2_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='to track S
COes' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm_seq_mapinfo`
-CREATE TABLE IF NOT EXISTS `mdl_scorm_seq_mapinfo` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`scoid` bigint(10) unsigned NOT NULL DEFAULT '0',
`objectiveid` bigint(10) unsigned NOT NULL DEFAULT '0',
`targetobjectiveid` bigint(10) unsigned NOT NULL DEFAULT '0',
`readsatisfiedstatus` tinyint(1) NOT NULL DEFAULT '1',
`readnormalizedmeasure` tinyint(1) NOT NULL DEFAULT '1',
`writesatisfiedstatus` tinyint(1) NOT NULL DEFAULT '0',
`writenormalizedmeasure` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_scorseqmapi_scoidobj_uix` (`scoid`,`id`,`objectiveid`),
KEY `mdl_scorseqmapi_sco_ix` (`scoid`),
KEY `mdl_scorseqmapi_obj_ix` (`objectiveid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='SCORM2004
objective mapinfo description' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm_seq_objective`
-CREATE TABLE IF NOT EXISTS `mdl_scorm_seq_objective` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`scoid` bigint(10) unsigned NOT NULL DEFAULT '0',
`primaryobj` tinyint(1) NOT NULL DEFAULT '0',
`objectiveid` bigint(10) unsigned NOT NULL DEFAULT '0',
`satisfiedbymeasure` tinyint(1) NOT NULL DEFAULT '1',
`minnormalizedmeasure` float(11,4) unsigned NOT NULL DEFAULT '0.0000',

PRIMARY KEY (`id`),


UNIQUE KEY `mdl_scorseqobje_scoid_uix` (`scoid`,`id`),
KEY `mdl_scorseqobje_sco_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='SCORM2004
objective description' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm_seq_rolluprule`
-CREATE TABLE IF NOT EXISTS `mdl_scorm_seq_rolluprule` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`scoid` bigint(10) unsigned NOT NULL DEFAULT '0',
`childactivityset` varchar(15) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`minimumcount` bigint(10) unsigned NOT NULL DEFAULT '0',
`minimumpercent` float(11,4) unsigned NOT NULL DEFAULT '0.0000',
`conditioncombination` varchar(3) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'al
l',
`action` varchar(15) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_scorseqroll_scoid_uix` (`scoid`,`id`),
KEY `mdl_scorseqroll_sco_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='SCORM2004
sequencing rule' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm_seq_rolluprulecond`
-CREATE TABLE IF NOT EXISTS `mdl_scorm_seq_rolluprulecond` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`scoid` bigint(10) unsigned NOT NULL DEFAULT '0',
`rollupruleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`operator` varchar(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'noOp',
`cond` varchar(25) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_scorseqroll_scorolid_uix` (`scoid`,`rollupruleid`,`id`),
KEY `mdl_scorseqroll_sco2_ix` (`scoid`),
KEY `mdl_scorseqroll_rol_ix` (`rollupruleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='SCORM2004
sequencing rule' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm_seq_rulecond`
-CREATE TABLE IF NOT EXISTS `mdl_scorm_seq_rulecond` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`scoid` bigint(10) unsigned NOT NULL DEFAULT '0',
`ruleconditionsid` bigint(10) unsigned NOT NULL DEFAULT '0',
`refrencedobjective` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`measurethreshold` float(11,4) NOT NULL DEFAULT '0.0000',
`operator` varchar(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'noOp',
`cond` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'always',

PRIMARY KEY (`id`),


UNIQUE KEY `mdl_scorseqrule_idscorul_uix` (`id`,`scoid`,`ruleconditionsid`),
KEY `mdl_scorseqrule_sco2_ix` (`scoid`),
KEY `mdl_scorseqrule_rul_ix` (`ruleconditionsid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='SCORM2004
rule condition' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_scorm_seq_ruleconds`
-CREATE TABLE IF NOT EXISTS `mdl_scorm_seq_ruleconds` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`scoid` bigint(10) unsigned NOT NULL DEFAULT '0',
`conditioncombination` varchar(3) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'al
l',
`ruletype` tinyint(2) unsigned NOT NULL DEFAULT '0',
`action` varchar(25) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_scorseqrule_scoid_uix` (`scoid`,`id`),
KEY `mdl_scorseqrule_sco_ix` (`scoid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='SCORM2004
rule conditions' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_sessions`
-CREATE TABLE IF NOT EXISTS `mdl_sessions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`state` bigint(10) unsigned NOT NULL DEFAULT '0',
`sid` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`userid` bigint(10) unsigned NOT NULL,
`sessdata` longtext COLLATE utf8_unicode_ci,
`timecreated` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
`firstip` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
`lastip` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_sess_sid_uix` (`sid`),
KEY `mdl_sess_sta_ix` (`state`),
KEY `mdl_sess_tim_ix` (`timecreated`),
KEY `mdl_sess_tim2_ix` (`timemodified`),
KEY `mdl_sess_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Database
based session storage - now recommended' AUTO_INCREMENT=6 ;
--- Dumping data for table `mdl_sessions`
-INSERT INTO `mdl_sessions` (`id`, `state`, `sid`, `userid`, `sessdata`, `timecre
ated`, `timemodified`, `firstip`, `lastip`) VALUES
(2, 0, 'j52svkajaflmf937mivjcqf4t1', 2, 'U0VTU0lPTnxPOjg6InN0ZENsYXNzIjoxMjp7czo
xMjoiZmxhc2h2ZXJzaW9uIjtzOjY6IjE4LjAuMCI7czo0OiJsYW5nIjtzOjI6ImlkIjtzOjg6Im5hdmN
hY2hlIjtPOjg6InN0ZENsYXNzIjoxOntzOjEwOiJuYXZpZ2F0aW9uIjthOjQ6e3M6MTc6ImNvdXJzZV9

zZWN0aW9uc18xIjthOjM6e2k6MDtpOjE0NDE1NDE1NzQ7aToxO3M6MToiMiI7aToyO3M6NjoiYTowOnt
9Ijt9czoxODoiY291cnNlX2FjdGl2aXRlc18xIjthOjM6e2k6MDtpOjE0NDE1NDE1NzQ7aToxO3M6MTo
iMiI7aToyO3M6NjoiYTowOnt9Ijt9czoxNjoidXNlcmJsb2dvcHRpb25zMiI7YTozOntpOjA7aToxNDQ
xNTQxNTc0O2k6MTtzOjE6IjIiO2k6MjtzOjcyMzoiYToyOntzOjQ6InZpZXciO2E6Mjp7czo2OiJzdHJ
pbmciO3M6MjI6IlZpZXcgYWxsIG9mIG15IGVudHJpZXMiO3M6NDoibGluayI7TzoxMDoibW9vZGxlX3V
ybCI6OTp7czo5OiIAKgBzY2hlbWUiO3M6NDoiaHR0cCI7czo3OiIAKgBob3N0IjtzOjk6ImxvY2FsaG9
zdCI7czo3OiIAKgBwb3J0IjtzOjA6IiI7czo3OiIAKgB1c2VyIjtzOjA6IiI7czo3OiIAKgBwYXNzIjt
zOjA6IiI7czo3OiIAKgBwYXRoIjtzOjM1OiIvd2ViNjJfY21zL21vb2RsZTIuMC9ibG9nL2luZGV4LnB
ocCI7czoxNjoiACoAc2xhc2hhcmd1bWVudCI7czowOiIiO3M6OToiACoAYW5jaG9yIjtOO3M6OToiACo
AcGFyYW1zIjthOjE6e3M6NjoidXNlcmlkIjtzOjE6IjIiO319fXM6MzoiYWRkIjthOjI6e3M6Njoic3R
yaW5nIjtzOjE1OiJBZGQgYSBuZXcgZW50cnkiO3M6NDoibGluayI7TzoxMDoibW9vZGxlX3VybCI6OTp
7czo5OiIAKgBzY2hlbWUiO3M6NDoiaHR0cCI7czo3OiIAKgBob3N0IjtzOjk6ImxvY2FsaG9zdCI7czo
3OiIAKgBwb3J0IjtzOjA6IiI7czo3OiIAKgB1c2VyIjtzOjA6IiI7czo3OiIAKgBwYXNzIjtzOjA6IiI
7czo3OiIAKgBwYXRoIjtzOjM0OiIvd2ViNjJfY21zL21vb2RsZTIuMC9ibG9nL2VkaXQucGhwIjtzOjE
2OiIAKgBzbGFzaGFyZ3VtZW50IjtzOjA6IiI7czo5OiIAKgBhbmNob3IiO047czo5OiIAKgBwYXJhbXM
iO2E6MTp7czo2OiJhY3Rpb24iO3M6MzoiYWRkIjt9fX19Ijt9czoxNzoiY29udGV4dGhhc3JlcG9zMTM
iO2E6Mzp7aTowO2k6MTQ0MTU0MTU3NDtpOjE7czoxOiIyIjtpOjI7czo0OiJiOjA7Ijt9fX1zOjIyOiJ
hZG1pbl9jcml0aWNhbF93YXJuaW5nIjtpOjA7czoyMToibG9hZF9uYXZpZ2F0aW9uX2FkbWluIjtiOjE
7czoxODoiY2FsX2NvdXJzZV9yZWZlcmVyIjtpOjE7czoxNToiY2FsX3Nob3dfZ2xvYmFsIjtiOjE7czo
xNToiY2FsX3Nob3dfZ3JvdXBzIjtiOjE7czoxNToiY2FsX3Nob3dfY291cnNlIjtiOjE7czoxMzoiY2F
sX3Nob3dfdXNlciI7YjoxO3M6MTc6ImNhbF9jb3Vyc2VzX3Nob3duIjthOjA6e31zOjE1OiJjYWxfdXN
lcnNfc2hvd24iO3M6MToiMiI7fVVTRVJ8Tzo4OiJzdGRDbGFzcyI6NjI6e3M6MjoiaWQiO3M6MToiMiI
7czo0OiJhdXRoIjtzOjY6Im1hbnVhbCI7czo5OiJjb25maXJtZWQiO3M6MToiMSI7czoxMjoicG9saWN
5YWdyZWVkIjtzOjE6IjAiO3M6NzoiZGVsZXRlZCI7czoxOiIwIjtzOjk6InN1c3BlbmRlZCI7czoxOiI
wIjtzOjEwOiJtbmV0aG9zdGlkIjtzOjE6IjEiO3M6ODoidXNlcm5hbWUiO3M6NToiYWRtaW4iO3M6ODo
icGFzc3dvcmQiO3M6MzI6ImRjMjI3MDQxY2NjNDNmYWM5NWNmMjk0Y2E1MzdlZDk5IjtzOjg6ImlkbnV
tYmVyIjtzOjA6IiI7czo5OiJmaXJzdG5hbWUiO3M6NzoiQWRtaW42MiI7czo4OiJsYXN0bmFtZSI7czo
2OiJzbXBuNjIiO3M6NToiZW1haWwiO3M6MjM6InNtcG42Mmpha2FydGFAZ21haWwuY29tIjtzOjk6ImV
tYWlsc3RvcCI7czoxOiIwIjtzOjM6ImljcSI7czowOiIiO3M6NToic2t5cGUiO3M6MDoiIjtzOjU6Inl
haG9vIjtzOjA6IiI7czozOiJhaW0iO3M6MDoiIjtzOjM6Im1zbiI7czowOiIiO3M6NjoicGhvbmUxIjt
zOjA6IiI7czo2OiJwaG9uZTIiO3M6MDoiIjtzOjExOiJpbnN0aXR1dGlvbiI7czowOiIiO3M6MTA6ImR
lcGFydG1lbnQiO3M6MDoiIjtzOjc6ImFkZHJlc3MiO3M6MDoiIjtzOjQ6ImNpdHkiO3M6MTE6IkRLSSB
KYWthcnRhIjtzOjc6ImNvdW50cnkiO3M6MjoiSUQiO3M6NDoibGFuZyI7czoyOiJpZCI7czo1OiJ0aGV
tZSI7czowOiIiO3M6ODoidGltZXpvbmUiO3M6MzoiNy4wIjtzOjExOiJmaXJzdGFjY2VzcyI7czoxOiI
wIjtzOjEwOiJsYXN0YWNjZXNzIjtpOjE0NDE1NDI0MTQ7czo5OiJsYXN0bG9naW4iO3M6MToiMCI7czo
xMjoiY3VycmVudGxvZ2luIjtzOjEwOiIxNDQxNTQxMTYwIjtzOjY6Imxhc3RpcCI7czo5OiIxMjcuMC4
wLjEiO3M6Njoic2VjcmV0IjtzOjA6IiI7czo3OiJwaWN0dXJlIjtzOjE6IjAiO3M6MzoidXJsIjtzOjA
6IiI7czoxNzoiZGVzY3JpcHRpb25mb3JtYXQiO3M6MToiMCI7czoxMDoibWFpbGZvcm1hdCI7czoxOiI
xIjtzOjEwOiJtYWlsZGlnZXN0IjtzOjE6IjAiO3M6MTE6Im1haWxkaXNwbGF5IjtzOjE6IjAiO3M6MTA
6Imh0bWxlZGl0b3IiO3M6MToiMSI7czo0OiJhamF4IjtzOjE6IjEiO3M6MTM6ImF1dG9zdWJzY3JpYmU
iO3M6MToiMSI7czoxMToidHJhY2tmb3J1bXMiO3M6MToiMCI7czoxMToidGltZWNyZWF0ZWQiO3M6MTo
iMCI7czoxMjoidGltZW1vZGlmaWVkIjtzOjEwOiIxNDQxNTQxNDMzIjtzOjEyOiJ0cnVzdGJpdG1hc2s
iO3M6MToiMCI7czo4OiJpbWFnZWFsdCI7TjtzOjEyOiJzY3JlZW5yZWFkZXIiO3M6MToiMCI7czoxNjo
ibGFzdGNvdXJzZWFjY2VzcyI7YTowOnt9czoxOToiY3VycmVudGNvdXJzZWFjY2VzcyI7YTowOnt9czo
xMToiZ3JvdXBtZW1iZXIiO2E6MDp7fXM6NzoicHJvZmlsZSI7YTowOnt9czo2OiJhY2Nlc3MiO2E6NDp
7czoyOiJyYSI7YTowOnt9czo0OiJyZGVmIjthOjA6e31zOjY6ImxvYWRlZCI7YTowOnt9czo0OiJ0aW1
lIjtpOjE0NDE1NDExNjA7fXM6Nzoic2Vzc2tleSI7czoxMDoiSWFaWm5YNVVuNyI7czoxNzoibWVzc2F
nZV9sYXN0cG9wdXAiO2k6MDtzOjExOiJkZXNjcmlwdGlvbiI7czowOiIiO3M6MTA6InByZWZlcmVuY2U
iO2E6MzI6e3M6NDA6Im1lc3NhZ2VfcHJvdmlkZXJfbW9vZGxlX25vdGljZXNfbG9nZ2VkaW4iO3M6NTo
iZW1haWwiO3M6NDE6Im1lc3NhZ2VfcHJvdmlkZXJfbW9vZGxlX25vdGljZXNfbG9nZ2Vkb2ZmIjtzOjU
6ImVtYWlsIjtzOjM5OiJtZXNzYWdlX3Byb3ZpZGVyX21vb2RsZV9lcnJvcnNfbG9nZ2VkaW4iO3M6NTo
iZW1haWwiO3M6NDA6Im1lc3NhZ2VfcHJvdmlkZXJfbW9vZGxlX2Vycm9yc19sb2dnZWRvZmYiO3M6NTo
iZW1haWwiO3M6NDc6Im1lc3NhZ2VfcHJvdmlkZXJfbW9vZGxlX2luc3RhbnRtZXNzYWdlX2xvZ2dlZGl
uIjtzOjU6InBvcHVwIjtzOjQ4OiJtZXNzYWdlX3Byb3ZpZGVyX21vb2RsZV9pbnN0YW50bWVzc2FnZV9
sb2dnZWRvZmYiO3M6MTE6ImVtYWlsLHBvcHVwIjtzOjM5OiJtZXNzYWdlX3Byb3ZpZGVyX21vb2RsZV9
iYWNrdXBfbG9nZ2VkaW4iO3M6NToiZW1haWwiO3M6NDA6Im1lc3NhZ2VfcHJvdmlkZXJfbW9vZGxlX2J
hY2t1cF9sb2dnZWRvZmYiO3M6NToiZW1haWwiO3M6NDg6Im1lc3NhZ2VfcHJvdmlkZXJfbW9vZGxlX2N
vdXJzZXJlcXVlc3RlZF9sb2dnZWRpbiI7czo1OiJlbWFpbCI7czo0OToibWVzc2FnZV9wcm92aWRlcl9
tb29kbGVfY291cnNlcmVxdWVzdGVkX2xvZ2dlZG9mZiI7czo1OiJlbWFpbCI7czo1NDoibWVzc2FnZV9
wcm92aWRlcl9tb29kbGVfY291cnNlcmVxdWVzdGFwcHJvdmVkX2xvZ2dlZGluIjtzOjU6ImVtYWlsIjt

zOjU1OiJtZXNzYWdlX3Byb3ZpZGVyX21vb2RsZV9jb3Vyc2VyZXF1ZXN0YXBwcm92ZWRfbG9nZ2Vkb2Z
mIjtzOjU6ImVtYWlsIjtzOjU0OiJtZXNzYWdlX3Byb3ZpZGVyX21vb2RsZV9jb3Vyc2VyZXF1ZXN0cmV
qZWN0ZWRfbG9nZ2VkaW4iO3M6NToiZW1haWwiO3M6NTU6Im1lc3NhZ2VfcHJvdmlkZXJfbW9vZGxlX2N
vdXJzZXJlcXVlc3RyZWplY3RlZF9sb2dnZWRvZmYiO3M6NToiZW1haWwiO3M6NTk6Im1lc3NhZ2VfcHJ
vdmlkZXJfbW9kX2Fzc2lnbm1lbnRfYXNzaWdubWVudF91cGRhdGVzX2xvZ2dlZGluIjtzOjU6ImVtYWl
sIjtzOjYwOiJtZXNzYWdlX3Byb3ZpZGVyX21vZF9hc3NpZ25tZW50X2Fzc2lnbm1lbnRfdXBkYXRlc19
sb2dnZWRvZmYiO3M6NToiZW1haWwiO3M6NDk6Im1lc3NhZ2VfcHJvdmlkZXJfbW9kX2ZlZWRiYWNrX3N
1Ym1pc3Npb25fbG9nZ2VkaW4iO3M6NToiZW1haWwiO3M6NTA6Im1lc3NhZ2VfcHJvdmlkZXJfbW9kX2Z
lZWRiYWNrX3N1Ym1pc3Npb25fbG9nZ2Vkb2ZmIjtzOjU6ImVtYWlsIjtzOjQ2OiJtZXNzYWdlX3Byb3Z
pZGVyX21vZF9mZWVkYmFja19tZXNzYWdlX2xvZ2dlZGluIjtzOjU6ImVtYWlsIjtzOjQ3OiJtZXNzYWd
lX3Byb3ZpZGVyX21vZF9mZWVkYmFja19tZXNzYWdlX2xvZ2dlZG9mZiI7czo1OiJlbWFpbCI7czo0MTo
ibWVzc2FnZV9wcm92aWRlcl9tb2RfZm9ydW1fcG9zdHNfbG9nZ2VkaW4iO3M6NToiZW1haWwiO3M6NDI
6Im1lc3NhZ2VfcHJvdmlkZXJfbW9kX2ZvcnVtX3Bvc3RzX2xvZ2dlZG9mZiI7czo1OiJlbWFpbCI7czo
0OToibWVzc2FnZV9wcm92aWRlcl9tb2RfbGVzc29uX2dyYWRlZF9lc3NheV9sb2dnZWRpbiI7czo1OiJ
lbWFpbCI7czo1MDoibWVzc2FnZV9wcm92aWRlcl9tb2RfbGVzc29uX2dyYWRlZF9lc3NheV9sb2dnZWR
vZmYiO3M6NToiZW1haWwiO3M6NDU6Im1lc3NhZ2VfcHJvdmlkZXJfbW9kX3F1aXpfc3VibWlzc2lvbl9
sb2dnZWRpbiI7czo1OiJlbWFpbCI7czo0NjoibWVzc2FnZV9wcm92aWRlcl9tb2RfcXVpel9zdWJtaXN
zaW9uX2xvZ2dlZG9mZiI7czo1OiJlbWFpbCI7czo0NzoibWVzc2FnZV9wcm92aWRlcl9tb2RfcXVpel9
jb25maXJtYXRpb25fbG9nZ2VkaW4iO3M6NToiZW1haWwiO3M6NDg6Im1lc3NhZ2VfcHJvdmlkZXJfbW9
kX3F1aXpfY29uZmlybWF0aW9uX2xvZ2dlZG9mZiI7czo1OiJlbWFpbCI7czoyNDoiYXV0aF9mb3JjZXB
hc3N3b3JkY2hhbmdlIjtzOjE6IjAiO3M6MTg6ImVtYWlsX2JvdW5jZV9jb3VudCI7czoxOiIxIjtzOjE
2OiJlbWFpbF9zZW5kX2NvdW50IjtzOjE6IjEiO3M6MTE6Il9sYXN0bG9hZGVkIjtpOjE0NDE1NDI0MTU
7fXM6MjU6ImFqYXhfdXBkYXRhYmxlX3VzZXJfcHJlZnMiO2E6MTM6e3M6MjM6ImRvY2tlZF9ibG9ja19
pbnN0YW5jZV8xIjtzOjM6ImludCI7czoyMzoiZG9ja2VkX2Jsb2NrX2luc3RhbmNlXzQiO3M6MzoiaW5
0IjtzOjIzOiJkb2NrZWRfYmxvY2tfaW5zdGFuY2VfNSI7czozOiJpbnQiO3M6MjM6ImRvY2tlZF9ibG9
ja19pbnN0YW5jZV8zIjtzOjM6ImludCI7czoxMjoiYmxvY2s0aGlkZGVuIjtzOjQ6ImJvb2wiO3M6MTI
6ImJsb2NrNWhpZGRlbiI7czo0OiJib29sIjtzOjEyOiJibG9jazNoaWRkZW4iO3M6NDoiYm9vbCI7czo
yMzoiZG9ja2VkX2Jsb2NrX2luc3RhbmNlXzciO3M6MzoiaW50IjtzOjIzOiJkb2NrZWRfYmxvY2tfaW5
zdGFuY2VfOCI7czozOiJpbnQiO3M6MTI6ImJsb2NrN2hpZGRlbiI7czo0OiJib29sIjtzOjEyOiJibG9
jazhoaWRkZW4iO3M6NDoiYm9vbCI7czoyMzoiZG9ja2VkX2Jsb2NrX2luc3RhbmNlXzkiO3M6MzoiaW5
0IjtzOjEyOiJibG9jazloaWRkZW4iO3M6NDoiYm9vbCI7fXM6NzoiZGlzcGxheSI7YToxOntpOjE7aTo
wO31zOjc6ImVkaXRpbmciO2k6MDt9', 1441541161, 1441542416, '127.0.0.1', '127.0.0.1'
),
(5, 0, 's8em700evnk32icrlhknlnra90', 0, 'U0VTU0lPTnxPOjg6InN0ZENsYXNzIjo4OntzOjg
6Im5hdmNhY2hlIjtPOjg6InN0ZENsYXNzIjoxOntzOjEwOiJuYXZpZ2F0aW9uIjthOjI6e3M6MTc6ImN
vdXJzZV9zZWN0aW9uc18xIjthOjM6e2k6MDtpOjE0NDE1NDIxMDE7aToxO2k6MDtpOjI7czo2OiJhOjA
6e30iO31zOjE4OiJjb3Vyc2VfYWN0aXZpdGVzXzEiO2E6Mzp7aTowO2k6MTQ0MTU0MjEwMTtpOjE7aTo
wO2k6MjtzOjY6ImE6MDp7fSI7fX19czoxODoiY2FsX2NvdXJzZV9yZWZlcmVyIjtpOjE7czoxNToiY2F
sX3Nob3dfZ2xvYmFsIjtiOjE7czoxNToiY2FsX3Nob3dfZ3JvdXBzIjtiOjE7czoxNToiY2FsX3Nob3d
fY291cnNlIjtiOjE7czoxMzoiY2FsX3Nob3dfdXNlciI7YjoxO3M6MTc6ImNhbF9jb3Vyc2VzX3Nob3d
uIjthOjA6e31zOjE1OiJjYWxfdXNlcnNfc2hvd24iO2I6MDt9VVNFUnxPOjg6InN0ZENsYXNzIjo2Ont
zOjI6ImlkIjtpOjA7czoxMDoibW5ldGhvc3RpZCI7czoxOiIxIjtzOjEwOiJwcmVmZXJlbmNlIjthOjA
6e31zOjI1OiJhamF4X3VwZGF0YWJsZV91c2VyX3ByZWZzIjthOjY6e3M6MjM6ImRvY2tlZF9ibG9ja19
pbnN0YW5jZV8xIjtzOjM6ImludCI7czoyMzoiZG9ja2VkX2Jsb2NrX2luc3RhbmNlXzQiO3M6MzoiaW5
0IjtzOjIzOiJkb2NrZWRfYmxvY2tfaW5zdGFuY2VfNSI7czozOiJpbnQiO3M6MjM6ImRvY2tlZF9ibG9
ja19pbnN0YW5jZV8zIjtzOjM6ImludCI7czoxMjoiYmxvY2s0aGlkZGVuIjtzOjQ6ImJvb2wiO3M6MTI
6ImJsb2NrM2hpZGRlbiI7czo0OiJib29sIjt9czo2OiJhY2Nlc3MiO2E6NDp7czoyOiJyYSI7YToxOnt
zOjI6Ii8xIjthOjE6e2k6NjtzOjE6IjYiO319czo0OiJyZGVmIjthOjE6e3M6NDoiLzE6NiI7YToyMTp
7czoyNzoiYmxvY2svb25saW5lX3VzZXJzOnZpZXdsaXN0IjtzOjE6IjEiO3M6MTk6Im1vZC9hc3NpZ25
tZW50OnZpZXciO3M6MToiMSI7czoxODoibW9kL2RhdGE6dmlld2VudHJ5IjtzOjE6IjEiO3M6MTc6Im1
vZC9mZWVkYmFjazp2aWV3IjtzOjE6IjEiO3M6MTU6Im1vZC9mb2xkZXI6dmlldyI7czoxOiIxIjtzOjI
0OiJtb2QvZm9ydW06dmlld2Rpc2N1c3Npb24iO3M6MToiMSI7czoxNDoibW9kL2ltc2NwOnZpZXciO3M
6MToiMSI7czoxMzoibW9kL3BhZ2U6dmlldyI7czoxOiIxIjtzOjEzOiJtb2QvcXVpejp2aWV3IjtzOjE
6IjEiO3M6MTc6Im1vZC9yZXNvdXJjZTp2aWV3IjtzOjE6IjEiO3M6MTI6Im1vZC91cmw6dmlldyI7czo
xOiIxIjtzOjE3OiJtb2Qvd2lraTp2aWV3cGFnZSI7czoxOiIxIjtzOjE3OiJtb2Qvd29ya3Nob3A6dml
ldyI7czoxOiIxIjtzOjE3OiJtb29kbGUvYmxvY2s6dmlldyI7czoxOiIxIjtzOjE4OiJtb29kbGUvYmx
vZzpzZWFyY2giO3M6MToiMSI7czoxNjoibW9vZGxlL2Jsb2c6dmlldyI7czoxOiIxIjtzOjE5OiJtb29
kbGUvY29tbWVudDp2aWV3IjtzOjE6IjEiO3M6Mjk6Im1vb2RsZS91c2VyOmNoYW5nZW93bnBhc3N3b3J
kIjtzOjU6Ii0xMDAwIjtzOjMzOiJtb29kbGUvdXNlcjplZGl0b3dubWVzc2FnZXByb2ZpbGUiO3M6NTo
iLTEwMDAiO3M6MjY6Im1vb2RsZS91c2VyOmVkaXRvd25wcm9maWxlIjtzOjU6Ii0xMDAwIjtzOjIzOiJ

tb29kbGUvdXNlcjp2aWV3ZGV0YWlscyI7czoxOiIxIjt9fXM6NjoibG9hZGVkIjthOjM6e2k6MDtzOjQ
6Ii8xLzIiO2k6MTtzOjQ6Ii8xLzciO2k6MjtzOjQ6Ii8xLzgiO31zOjQ6InRpbWUiO2k6MTQ0MTU0MjE
wMTt9czo3OiJzZXNza2V5IjtzOjEwOiJQamh3M2pBd2NYIjt9', 1441542101, 1441542212, '127
.0.0.1', '127.0.0.1');
-- ---------------------------------------------------------- Table structure for table `mdl_stats_daily`
-CREATE TABLE IF NOT EXISTS `mdl_stats_daily` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '0',
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`stattype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'activity',
`stat1` bigint(10) unsigned NOT NULL DEFAULT '0',
`stat2` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_statdail_cou_ix` (`courseid`),
KEY `mdl_statdail_tim_ix` (`timeend`),
KEY `mdl_statdail_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='to accumul
ate daily stats' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_stats_monthly`
-CREATE TABLE IF NOT EXISTS `mdl_stats_monthly` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '0',
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`stattype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'activity',
`stat1` bigint(10) unsigned NOT NULL DEFAULT '0',
`stat2` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_statmont_cou_ix` (`courseid`),
KEY `mdl_statmont_tim_ix` (`timeend`),
KEY `mdl_statmont_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To accumul
ate monthly stats' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_stats_user_daily`
-CREATE TABLE IF NOT EXISTS `mdl_stats_user_daily` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '0',
`statsreads` bigint(10) unsigned NOT NULL DEFAULT '0',

`statswrites` bigint(10) unsigned NOT NULL DEFAULT '0',


`stattype` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_statuserdail_cou_ix` (`courseid`),
KEY `mdl_statuserdail_use_ix` (`userid`),
KEY `mdl_statuserdail_rol_ix` (`roleid`),
KEY `mdl_statuserdail_tim_ix` (`timeend`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To accumul
ate daily stats per course/user' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_stats_user_monthly`
-CREATE TABLE IF NOT EXISTS `mdl_stats_user_monthly` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '0',
`statsreads` bigint(10) unsigned NOT NULL DEFAULT '0',
`statswrites` bigint(10) unsigned NOT NULL DEFAULT '0',
`stattype` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_statusermont_cou_ix` (`courseid`),
KEY `mdl_statusermont_use_ix` (`userid`),
KEY `mdl_statusermont_rol_ix` (`roleid`),
KEY `mdl_statusermont_tim_ix` (`timeend`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To accumul
ate monthly stats per course/user' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_stats_user_weekly`
-CREATE TABLE IF NOT EXISTS `mdl_stats_user_weekly` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '0',
`statsreads` bigint(10) unsigned NOT NULL DEFAULT '0',
`statswrites` bigint(10) unsigned NOT NULL DEFAULT '0',
`stattype` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_statuserweek_cou_ix` (`courseid`),
KEY `mdl_statuserweek_use_ix` (`userid`),
KEY `mdl_statuserweek_rol_ix` (`roleid`),
KEY `mdl_statuserweek_tim_ix` (`timeend`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To accumul
ate weekly stats per course/user' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_stats_weekly`

-CREATE TABLE IF NOT EXISTS `mdl_stats_weekly` (


`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '0',
`roleid` bigint(10) unsigned NOT NULL DEFAULT '0',
`stattype` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'activity',
`stat1` bigint(10) unsigned NOT NULL DEFAULT '0',
`stat2` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_statweek_cou_ix` (`courseid`),
KEY `mdl_statweek_tim_ix` (`timeend`),
KEY `mdl_statweek_rol_ix` (`roleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To accumul
ate weekly stats' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_survey`
-CREATE TABLE IF NOT EXISTS `mdl_survey` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`template` bigint(10) unsigned NOT NULL DEFAULT '0',
`days` mediumint(6) NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci NOT NULL,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`questions` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `mdl_surv_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Each reco
rd is one SURVEY module with its configuration' AUTO_INCREMENT=6 ;
--- Dumping data for table `mdl_survey`
-INSERT INTO `mdl_survey` (`id`, `course`, `template`, `days`, `timecreated`, `ti
memodified`, `name`, `intro`, `introformat`, `questions`) VALUES
(1, 0, 0, 0, 985017600, 985017600, 'collesaname', 'collesaintro', 0, '25,26,27,2
8,29,30,43,44'),
(2, 0, 0, 0, 985017600, 985017600, 'collespname', 'collespintro', 0, '31,32,33,3
4,35,36,43,44'),
(3, 0, 0, 0, 985017600, 985017600, 'collesapname', 'collesapintro', 0, '37,38,39
,40,41,42,43,44'),
(4, 0, 0, 0, 985017600, 985017600, 'attlsname', 'attlsintro', 0, '65,67,68'),
(5, 0, 0, 0, 985017600, 985017600, 'ciqname', 'ciqintro', 0, '69,70,71,72,73');
-- ---------------------------------------------------------- Table structure for table `mdl_survey_analysis`
--

CREATE TABLE IF NOT EXISTS `mdl_survey_analysis` (


`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`survey` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`notes` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_survanal_use_ix` (`userid`),
KEY `mdl_survanal_sur_ix` (`survey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='text about
each survey submission' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_survey_answers`
-CREATE TABLE IF NOT EXISTS `mdl_survey_answers` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`survey` bigint(10) unsigned NOT NULL DEFAULT '0',
`question` bigint(10) unsigned NOT NULL DEFAULT '0',
`time` bigint(10) unsigned NOT NULL DEFAULT '0',
`answer1` text COLLATE utf8_unicode_ci NOT NULL,
`answer2` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_survansw_use_ix` (`userid`),
KEY `mdl_survansw_sur_ix` (`survey`),
KEY `mdl_survansw_que_ix` (`question`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='the answer
s to each questions filled by the users' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_survey_questions`
-CREATE TABLE IF NOT EXISTS `mdl_survey_questions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`text` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`shorttext` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`multi` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`type` smallint(3) NOT NULL DEFAULT '0',
`options` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='the quest
ions conforming one survey' AUTO_INCREMENT=74 ;
--- Dumping data for table `mdl_survey_questions`
-INSERT INTO `mdl_survey_questions`
`type`, `options`) VALUES
(1, 'colles1', 'colles1short', '',
(2, 'colles2', 'colles2short', '',
(3, 'colles3', 'colles3short', '',
(4, 'colles4', 'colles4short', '',

(`id`, `text`, `shorttext`, `multi`, `intro`,


'',
'',
'',
'',

1,
1,
1,
1,

'scaletimes5'),
'scaletimes5'),
'scaletimes5'),
'scaletimes5'),

(5, 'colles5', 'colles5short', '', '', 1, 'scaletimes5'),


(6, 'colles6', 'colles6short', '', '', 1, 'scaletimes5'),
(7, 'colles7', 'colles7short', '', '', 1, 'scaletimes5'),
(8, 'colles8', 'colles8short', '', '', 1, 'scaletimes5'),
(9, 'colles9', 'colles9short', '', '', 1, 'scaletimes5'),
(10, 'colles10', 'colles10short', '', '', 1, 'scaletimes5'),
(11, 'colles11', 'colles11short', '', '', 1, 'scaletimes5'),
(12, 'colles12', 'colles12short', '', '', 1, 'scaletimes5'),
(13, 'colles13', 'colles13short', '', '', 1, 'scaletimes5'),
(14, 'colles14', 'colles14short', '', '', 1, 'scaletimes5'),
(15, 'colles15', 'colles15short', '', '', 1, 'scaletimes5'),
(16, 'colles16', 'colles16short', '', '', 1, 'scaletimes5'),
(17, 'colles17', 'colles17short', '', '', 1, 'scaletimes5'),
(18, 'colles18', 'colles18short', '', '', 1, 'scaletimes5'),
(19, 'colles19', 'colles19short', '', '', 1, 'scaletimes5'),
(20, 'colles20', 'colles20short', '', '', 1, 'scaletimes5'),
(21, 'colles21', 'colles21short', '', '', 1, 'scaletimes5'),
(22, 'colles22', 'colles22short', '', '', 1, 'scaletimes5'),
(23, 'colles23', 'colles23short', '', '', 1, 'scaletimes5'),
(24, 'colles24', 'colles24short', '', '', 1, 'scaletimes5'),
(25, 'collesm1', 'collesm1short', '1,2,3,4', 'collesmintro', 1, 'scaletimes5'),
(26, 'collesm2', 'collesm2short', '5,6,7,8', 'collesmintro', 1, 'scaletimes5'),
(27, 'collesm3', 'collesm3short', '9,10,11,12', 'collesmintro', 1, 'scaletimes5'
),
(28, 'collesm4', 'collesm4short', '13,14,15,16', 'collesmintro', 1, 'scaletimes5
'),
(29, 'collesm5', 'collesm5short', '17,18,19,20', 'collesmintro', 1, 'scaletimes5
'),
(30, 'collesm6', 'collesm6short', '21,22,23,24', 'collesmintro', 1, 'scaletimes5
'),
(31, 'collesm1', 'collesm1short', '1,2,3,4', 'collesmintro', 2, 'scaletimes5'),
(32, 'collesm2', 'collesm2short', '5,6,7,8', 'collesmintro', 2, 'scaletimes5'),
(33, 'collesm3', 'collesm3short', '9,10,11,12', 'collesmintro', 2, 'scaletimes5'
),
(34, 'collesm4', 'collesm4short', '13,14,15,16', 'collesmintro', 2, 'scaletimes5
'),
(35, 'collesm5', 'collesm5short', '17,18,19,20', 'collesmintro', 2, 'scaletimes5
'),
(36, 'collesm6', 'collesm6short', '21,22,23,24', 'collesmintro', 2, 'scaletimes5
'),
(37, 'collesm1', 'collesm1short', '1,2,3,4', 'collesmintro', 3, 'scaletimes5'),
(38, 'collesm2', 'collesm2short', '5,6,7,8', 'collesmintro', 3, 'scaletimes5'),
(39, 'collesm3', 'collesm3short', '9,10,11,12', 'collesmintro', 3, 'scaletimes5'
),
(40, 'collesm4', 'collesm4short', '13,14,15,16', 'collesmintro', 3, 'scaletimes5
'),
(41, 'collesm5', 'collesm5short', '17,18,19,20', 'collesmintro', 3, 'scaletimes5
'),
(42, 'collesm6', 'collesm6short', '21,22,23,24', 'collesmintro', 3, 'scaletimes5
'),
(43, 'howlong', '', '', '', 1, 'howlongoptions'),
(44, 'othercomments', '', '', '', 0, NULL),
(45, 'attls1', 'attls1short', '', '', 1, 'scaleagree5'),
(46, 'attls2', 'attls2short', '', '', 1, 'scaleagree5'),
(47, 'attls3', 'attls3short', '', '', 1, 'scaleagree5'),
(48, 'attls4', 'attls4short', '', '', 1, 'scaleagree5'),
(49, 'attls5', 'attls5short', '', '', 1, 'scaleagree5'),
(50, 'attls6', 'attls6short', '', '', 1, 'scaleagree5'),
(51, 'attls7', 'attls7short', '', '', 1, 'scaleagree5'),
(52, 'attls8', 'attls8short', '', '', 1, 'scaleagree5'),

(53, 'attls9', 'attls9short', '', '', 1, 'scaleagree5'),


(54, 'attls10', 'attls10short', '', '', 1, 'scaleagree5'),
(55, 'attls11', 'attls11short', '', '', 1, 'scaleagree5'),
(56, 'attls12', 'attls12short', '', '', 1, 'scaleagree5'),
(57, 'attls13', 'attls13short', '', '', 1, 'scaleagree5'),
(58, 'attls14', 'attls14short', '', '', 1, 'scaleagree5'),
(59, 'attls15', 'attls15short', '', '', 1, 'scaleagree5'),
(60, 'attls16', 'attls16short', '', '', 1, 'scaleagree5'),
(61, 'attls17', 'attls17short', '', '', 1, 'scaleagree5'),
(62, 'attls18', 'attls18short', '', '', 1, 'scaleagree5'),
(63, 'attls19', 'attls19short', '', '', 1, 'scaleagree5'),
(64, 'attls20', 'attls20short', '', '', 1, 'scaleagree5'),
(65, 'attlsm1', 'attlsm1', '45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,6
2,63,64', 'attlsmintro', 1, 'scaleagree5'),
(66, '-', '-', '-', '-', 0, '-'),
(67, 'attlsm2', 'attlsm2', '63,62,59,57,55,49,52,50,48,47', 'attlsmintro', -1, '
scaleagree5'),
(68, 'attlsm3', 'attlsm3', '46,54,45,51,60,53,56,58,61,64', 'attlsmintro', -1, '
scaleagree5'),
(69, 'ciq1', 'ciq1short', '', '', 0, NULL),
(70, 'ciq2', 'ciq2short', '', '', 0, NULL),
(71, 'ciq3', 'ciq3short', '', '', 0, NULL),
(72, 'ciq4', 'ciq4short', '', '', 0, NULL),
(73, 'ciq5', 'ciq5short', '', '', 0, NULL);
-- ---------------------------------------------------------- Table structure for table `mdl_tag`
-CREATE TABLE IF NOT EXISTS `mdl_tag` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`rawname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`tagtype` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8_unicode_ci,
`descriptionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`flag` smallint(4) unsigned DEFAULT '0',
`timemodified` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_tag_nam_uix` (`name`),
KEY `mdl_tag_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Tag table
- this generic table will replace the old "tags" t' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_tag_correlation`
-CREATE TABLE IF NOT EXISTS `mdl_tag_correlation` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`tagid` bigint(10) unsigned NOT NULL,
`correlatedtags` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_tagcorr_tag_ix` (`tagid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The ration

ale for the ''tag_correlation'' table is performance' AUTO_INCREMENT=1 ;


-- ---------------------------------------------------------- Table structure for table `mdl_tag_instance`
-CREATE TABLE IF NOT EXISTS `mdl_tag_instance` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`tagid` bigint(10) unsigned NOT NULL,
`itemtype` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`itemid` bigint(10) unsigned NOT NULL,
`tiuserid` bigint(10) unsigned NOT NULL DEFAULT '0',
`ordering` bigint(10) unsigned DEFAULT NULL,
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_taginst_iteitetagtiu_uix` (`itemtype`,`itemid`,`tagid`,`tiuser
id`),
KEY `mdl_taginst_tag_ix` (`tagid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='tag_instan
ce table holds the information of associations bet' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_timezone`
-CREATE TABLE IF NOT EXISTS `mdl_timezone` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`year` bigint(11) NOT NULL DEFAULT '0',
`tzrule` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`gmtoff` bigint(11) NOT NULL DEFAULT '0',
`dstoff` bigint(11) NOT NULL DEFAULT '0',
`dst_month` tinyint(2) NOT NULL DEFAULT '0',
`dst_startday` smallint(3) NOT NULL DEFAULT '0',
`dst_weekday` smallint(3) NOT NULL DEFAULT '0',
`dst_skipweeks` smallint(3) NOT NULL DEFAULT '0',
`dst_time` varchar(6) COLLATE utf8_unicode_ci NOT NULL DEFAULT '00:00',
`std_month` tinyint(2) NOT NULL DEFAULT '0',
`std_startday` smallint(3) NOT NULL DEFAULT '0',
`std_weekday` smallint(3) NOT NULL DEFAULT '0',
`std_skipweeks` smallint(3) NOT NULL DEFAULT '0',
`std_time` varchar(6) COLLATE utf8_unicode_ci NOT NULL DEFAULT '00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Rules for
calculating local wall clock time for users' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_upgrade_log`
-CREATE TABLE IF NOT EXISTS `mdl_upgrade_log` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`type` bigint(10) NOT NULL,
`plugin` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,

`version` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,


`targetversion` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`info` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`details` text COLLATE utf8_unicode_ci,
`backtrace` text COLLATE utf8_unicode_ci,
`userid` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `mdl_upgrlog_tim_ix` (`timemodified`),
KEY `mdl_upgrlog_typtim_ix` (`type`,`timemodified`),
KEY `mdl_upgrlog_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Upgrade l
ogging' AUTO_INCREMENT=431 ;
--- Dumping data for table `mdl_upgrade_log`
-INSERT INTO `mdl_upgrade_log` (`id`, `type`, `plugin`, `version`, `targetversion
`, `info`, `details`, `backtrace`, `userid`, `timemodified`) VALUES
(1, 0, 'core', '2011033010', '2011033010', 'Upgrade savepoint reached', NULL, ''
, 0, 1441540968),
(2, 0, 'core', '2011033010', '2011033010', 'Core installed', NULL, '', 0, 144154
0998),
(3, 0, 'mod_assignment', NULL, '2010102600', 'Starting plugin installation', NUL
L, '', 0, 1441540998),
(4, 0, 'mod_assignment', '2010102600', '2010102600', 'Plugin installed', NULL, '
', 0, 1441541001),
(5, 0, 'mod_chat', NULL, '2010080302', 'Starting plugin installation', NULL, '',
0, 1441541001),
(6, 0, 'mod_chat', '2010080302', '2010080302', 'Plugin installed', NULL, '', 0,
1441541005),
(7, 0, 'mod_choice', NULL, '2010101301', 'Starting plugin installation', NULL, '
', 0, 1441541005),
(8, 0, 'mod_choice', '2010101301', '2010101301', 'Plugin installed', NULL, '', 0
, 1441541008),
(9, 0, 'mod_data', NULL, '2010100101', 'Starting plugin installation', NULL, '',
0, 1441541008),
(10, 0, 'mod_data', '2010100101', '2010100101', 'Plugin installed', NULL, '', 0,
1441541013),
(11, 0, 'mod_feedback', NULL, '2011051600', 'Starting plugin installation', NULL
, '', 0, 1441541013),
(12, 0, 'mod_feedback', '2011051600', '2011051600', 'Plugin installed', NULL, ''
, 0, 1441541019),
(13, 0, 'mod_folder', NULL, '2010101400', 'Starting plugin installation', NULL,
'', 0, 1441541019),
(14, 0, 'mod_folder', '2010101400', '2010101400', 'Plugin installed', NULL, '',
0, 1441541020),
(15, 0, 'mod_forum', NULL, '2010111500', 'Starting plugin installation', NULL, '
', 0, 1441541020),
(16, 0, 'mod_forum', '2010111500', '2010111500', 'Plugin installed', NULL, '', 0
, 1441541029),
(17, 0, 'mod_glossary', NULL, '2010111501', 'Starting plugin installation', NULL
, '', 0, 1441541029),
(18, 0, 'mod_glossary', '2010111501', '2010111501', 'Plugin installed', NULL, ''
, 0, 1441541034),
(19, 0, 'mod_imscp', NULL, '2010101400', 'Starting plugin installation', NULL, '
', 0, 1441541034),
(20, 0, 'mod_imscp', '2010101400', '2010101400', 'Plugin installed', NULL, '', 0
, 1441541035),

(21, 0, 'mod_label', NULL, '2010080300', 'Starting plugin installation', NULL, '


', 0, 1441541035),
(22, 0, 'mod_label', '2010080300', '2010080300', 'Plugin installed', NULL, '', 0
, 1441541036),
(23, 0, 'mod_lesson', NULL, '2010122200', 'Starting plugin installation', NULL,
'', 0, 1441541036),
(24, 0, 'mod_lesson', '2010122200', '2010122200', 'Plugin installed', NULL, '',
0, 1441541041),
(25, 0, 'mod_page', NULL, '2010101400', 'Starting plugin installation', NULL, ''
, 0, 1441541041),
(26, 0, 'mod_page', '2010101400', '2010101400', 'Plugin installed', NULL, '', 0,
1441541042),
(27, 0, 'mod_quiz', NULL, '2010122304', 'Starting plugin installation', NULL, ''
, 0, 1441541042),
(28, 0, 'mod_quiz', '2010122304', '2010122304', 'Plugin installed', NULL, '', 0,
1441541048),
(29, 0, 'mod_resource', NULL, '2011022700', 'Starting plugin installation', NULL
, '', 0, 1441541048),
(30, 0, 'mod_resource', '2011022700', '2011022700', 'Plugin installed', NULL, ''
, 0, 1441541049),
(31, 0, 'mod_scorm', NULL, '2011021403', 'Starting plugin installation', NULL, '
', 0, 1441541049),
(32, 0, 'mod_scorm', '2011021403', '2011021403', 'Plugin installed', NULL, '', 0
, 1441541056),
(33, 0, 'mod_survey', NULL, '2010080300', 'Starting plugin installation', NULL,
'', 0, 1441541056),
(34, 0, 'mod_survey', '2010080300', '2010080300', 'Plugin installed', NULL, '',
0, 1441541062),
(35, 0, 'mod_url', NULL, '2010101401', 'Starting plugin installation', NULL, '',
0, 1441541062),
(36, 0, 'mod_url', '2010101401', '2010101401', 'Plugin installed', NULL, '', 0,
1441541063),
(37, 0, 'mod_wiki', NULL, '2011011001', 'Starting plugin installation', NULL, ''
, 0, 1441541063),
(38, 0, 'mod_wiki', '2011011001', '2011011001', 'Plugin installed', NULL, '', 0,
1441541067),
(39, 0, 'mod_workshop', NULL, '2011030401', 'Starting plugin installation', NULL
, '', 0, 1441541067),
(40, 0, 'mod_workshop', '2011030401', '2011030401', 'Plugin installed', NULL, ''
, 0, 1441541078),
(41, 0, 'auth_cas', NULL, '2010072600', 'Starting plugin installation', NULL, ''
, 0, 1441541078),
(42, 0, 'auth_cas', '2010072600', '2010072600', 'Upgrade savepoint reached', NUL
L, '', 0, 1441541078),
(43, 0, 'auth_cas', '2010072600', '2010072600', 'Plugin installed', NULL, '', 0,
1441541078),
(44, 0, 'auth_db', NULL, '2009112400', 'Starting plugin installation', NULL, '',
0, 1441541078),
(45, 0, 'auth_db', '2009112400', '2009112400', 'Upgrade savepoint reached', NULL
, '', 0, 1441541079),
(46, 0, 'auth_db', '2009112400', '2009112400', 'Plugin installed', NULL, '', 0,
1441541079),
(47, 0, 'auth_fc', NULL, '2009112400', 'Starting plugin installation', NULL, '',
0, 1441541079),
(48, 0, 'auth_fc', '2009112400', '2009112400', 'Upgrade savepoint reached', NULL
, '', 0, 1441541079),
(49, 0, 'auth_fc', '2009112400', '2009112400', 'Plugin installed', NULL, '', 0,
1441541079),
(50, 0, 'auth_imap', NULL, '2009112400', 'Starting plugin installation', NULL, '
', 0, 1441541079),

(51, 0, 'auth_imap', '2009112400', '2009112400', 'Upgrade savepoint reached', NU


LL, '', 0, 1441541079),
(52, 0, 'auth_imap', '2009112400', '2009112400', 'Plugin installed', NULL, '', 0
, 1441541080),
(53, 0, 'auth_ldap', NULL, '2010072600', 'Starting plugin installation', NULL, '
', 0, 1441541080),
(54, 0, 'auth_ldap', '2010072600', '2010072600', 'Upgrade savepoint reached', NU
LL, '', 0, 1441541080),
(55, 0, 'auth_ldap', '2010072600', '2010072600', 'Plugin installed', NULL, '', 0
, 1441541080),
(56, 0, 'auth_manual', NULL, '2011022700', 'Starting plugin installation', NULL,
'', 0, 1441541080),
(57, 0, 'auth_manual', '2011022700', '2011022700', 'Upgrade savepoint reached',
NULL, '', 0, 1441541080),
(58, 0, 'auth_manual', '2011022700', '2011022700', 'Plugin installed', NULL, '',
0, 1441541081),
(59, 0, 'auth_mnet', NULL, '2010071300', 'Starting plugin installation', NULL, '
', 0, 1441541081),
(60, 0, 'auth_mnet', '2010071300', '2010071300', 'Upgrade savepoint reached', NU
LL, '', 0, 1441541081),
(61, 0, 'auth_mnet', '2010071300', '2010071300', 'Plugin installed', NULL, '', 0
, 1441541083),
(62, 0, 'auth_nntp', NULL, '2009112400', 'Starting plugin installation', NULL, '
', 0, 1441541083),
(63, 0, 'auth_nntp', '2009112400', '2009112400', 'Upgrade savepoint reached', NU
LL, '', 0, 1441541083),
(64, 0, 'auth_nntp', '2009112400', '2009112400', 'Plugin installed', NULL, '', 0
, 1441541083),
(65, 0, 'auth_pam', NULL, '2009112400', 'Starting plugin installation', NULL, ''
, 0, 1441541083),
(66, 0, 'auth_pam', '2009112400', '2009112400', 'Upgrade savepoint reached', NUL
L, '', 0, 1441541083),
(67, 0, 'auth_pam', '2009112400', '2009112400', 'Plugin installed', NULL, '', 0,
1441541084),
(68, 0, 'auth_pop3', NULL, '2009112400', 'Starting plugin installation', NULL, '
', 0, 1441541084),
(69, 0, 'auth_pop3', '2009112400', '2009112400', 'Upgrade savepoint reached', NU
LL, '', 0, 1441541084),
(70, 0, 'auth_pop3', '2009112400', '2009112400', 'Plugin installed', NULL, '', 0
, 1441541084),
(71, 0, 'auth_radius', NULL, '2009112400', 'Starting plugin installation', NULL,
'', 0, 1441541084),
(72, 0, 'auth_radius', '2009112400', '2009112400', 'Upgrade savepoint reached',
NULL, '', 0, 1441541084),
(73, 0, 'auth_radius', '2009112400', '2009112400', 'Plugin installed', NULL, '',
0, 1441541084),
(74, 0, 'auth_shibboleth', NULL, '2009112400', 'Starting plugin installation', N
ULL, '', 0, 1441541084),
(75, 0, 'auth_shibboleth', '2009112400', '2009112400', 'Upgrade savepoint reache
d', NULL, '', 0, 1441541084),
(76, 0, 'auth_shibboleth', '2009112400', '2009112400', 'Plugin installed', NULL,
'', 0, 1441541085),
(77, 0, 'enrol_authorize', NULL, '2010081203', 'Starting plugin installation', N
ULL, '', 0, 1441541085),
(78, 0, 'enrol_authorize', '2010081203', '2010081203', 'Upgrade savepoint reache
d', NULL, '', 0, 1441541086),
(79, 0, 'enrol_authorize', '2010081203', '2010081203', 'Plugin installed', NULL,
'', 0, 1441541087),
(80, 0, 'enrol_category', NULL, '2010061500', 'Starting plugin installation', NU
LL, '', 0, 1441541087),

(81, 0, 'enrol_category', '2010061500', '2010061500', 'Upgrade savepoint reached


', NULL, '', 0, 1441541087),
(82, 0, 'enrol_category', '2010061500', '2010061500', 'Plugin installed', NULL,
'', 0, 1441541087),
(83, 0, 'enrol_cohort', NULL, '2010073100', 'Starting plugin installation', NULL
, '', 0, 1441541087),
(84, 0, 'enrol_cohort', '2010073100', '2010073100', 'Upgrade savepoint reached',
NULL, '', 0, 1441541087),
(85, 0, 'enrol_cohort', '2010073100', '2010073100', 'Plugin installed', NULL, ''
, 0, 1441541088),
(86, 0, 'enrol_database', NULL, '2010073101', 'Starting plugin installation', NU
LL, '', 0, 1441541088),
(87, 0, 'enrol_database', '2010073101', '2010073101', 'Upgrade savepoint reached
', NULL, '', 0, 1441541088),
(88, 0, 'enrol_database', '2010073101', '2010073101', 'Plugin installed', NULL,
'', 0, 1441541088),
(89, 0, 'enrol_flatfile', NULL, '2010091400', 'Starting plugin installation', NU
LL, '', 0, 1441541088),
(90, 0, 'enrol_flatfile', '2010091400', '2010091400', 'Upgrade savepoint reached
', NULL, '', 0, 1441541089),
(91, 0, 'enrol_flatfile', '2010091400', '2010091400', 'Plugin installed', NULL,
'', 0, 1441541089),
(92, 0, 'enrol_guest', NULL, '2010081800', 'Starting plugin installation', NULL,
'', 0, 1441541089),
(93, 0, 'enrol_guest', '2010081800', '2010081800', 'Upgrade savepoint reached',
NULL, '', 0, 1441541089),
(94, 0, 'enrol_guest', '2010081800', '2010081800', 'Plugin installed', NULL, '',
0, 1441541090),
(95, 0, 'enrol_imsenterprise', NULL, '2011013000', 'Starting plugin installation
', NULL, '', 0, 1441541090),
(96, 0, 'enrol_imsenterprise', '2011013000', '2011013000', 'Upgrade savepoint re
ached', NULL, '', 0, 1441541090),
(97, 0, 'enrol_imsenterprise', '2011013000', '2011013000', 'Plugin installed', N
ULL, '', 0, 1441541090),
(98, 0, 'enrol_ldap', NULL, '2010071100', 'Starting plugin installation', NULL,
'', 0, 1441541090),
(99, 0, 'enrol_ldap', '2010071100', '2010071100', 'Upgrade savepoint reached', N
ULL, '', 0, 1441541090),
(100, 0, 'enrol_ldap', '2010071100', '2010071100', 'Plugin installed', NULL, '',
0, 1441541091),
(101, 0, 'enrol_manual', NULL, '2010071201', 'Starting plugin installation', NUL
L, '', 0, 1441541091),
(102, 0, 'enrol_manual', '2010071201', '2010071201', 'Upgrade savepoint reached'
, NULL, '', 0, 1441541091),
(103, 0, 'enrol_manual', '2010071201', '2010071201', 'Plugin installed', NULL, '
', 0, 1441541092),
(104, 0, 'enrol_meta', NULL, '2010073100', 'Starting plugin installation', NULL,
'', 0, 1441541092),
(105, 0, 'enrol_meta', '2010073100', '2010073100', 'Upgrade savepoint reached',
NULL, '', 0, 1441541092),
(106, 0, 'enrol_meta', '2010073100', '2010073100', 'Plugin installed', NULL, '',
0, 1441541092),
(107, 0, 'enrol_mnet', NULL, '2010071701', 'Starting plugin installation', NULL,
'', 0, 1441541092),
(108, 0, 'enrol_mnet', '2010071701', '2010071701', 'Upgrade savepoint reached',
NULL, '', 0, 1441541092),
(109, 0, 'enrol_mnet', '2010071701', '2010071701', 'Plugin installed', NULL, '',
0, 1441541094),
(110, 0, 'enrol_paypal', NULL, '2010073100', 'Starting plugin installation', NUL
L, '', 0, 1441541094),

(111, 0, 'enrol_paypal', '2010073100', '2010073100', 'Upgrade savepoint reached'


, NULL, '', 0, 1441541094),
(112, 0, 'enrol_paypal', '2010073100', '2010073100', 'Plugin installed', NULL, '
', 0, 1441541095),
(113, 0, 'enrol_self', NULL, '2010090501', 'Starting plugin installation', NULL,
'', 0, 1441541095),
(114, 0, 'enrol_self', '2010090501', '2010090501', 'Upgrade savepoint reached',
NULL, '', 0, 1441541095),
(115, 0, 'enrol_self', '2010090501', '2010090501', 'Plugin installed', NULL, '',
0, 1441541095),
(116, 0, 'message_email', NULL, '2010090501', 'Starting plugin installation', NU
LL, '', 0, 1441541095),
(117, 0, 'message_email', '2010090501', '2010090501', 'Upgrade savepoint reached
', NULL, '', 0, 1441541095),
(118, 0, 'message_email', '2010090501', '2010090501', 'Plugin installed', NULL,
'', 0, 1441541096),
(119, 0, 'message_jabber', NULL, '2010090501', 'Starting plugin installation', N
ULL, '', 0, 1441541096),
(120, 0, 'message_jabber', '2010090501', '2010090501', 'Upgrade savepoint reache
d', NULL, '', 0, 1441541096),
(121, 0, 'message_jabber', '2010090501', '2010090501', 'Plugin installed', NULL,
'', 0, 1441541096),
(122, 0, 'message_popup', NULL, '2010090501', 'Starting plugin installation', NU
LL, '', 0, 1441541096),
(123, 0, 'message_popup', '2010090501', '2010090501', 'Upgrade savepoint reached
', NULL, '', 0, 1441541096),
(124, 0, 'message_popup', '2010090501', '2010090501', 'Plugin installed', NULL,
'', 0, 1441541096),
(125, 0, 'block_activity_modules', NULL, '2007101509', 'Starting plugin installa
tion', NULL, '', 0, 1441541096),
(126, 0, 'block_activity_modules', '2007101509', '2007101509', 'Plugin installed
', NULL, '', 0, 1441541097),
(127, 0, 'block_admin_bookmarks', NULL, '2007101509', 'Starting plugin installat
ion', NULL, '', 0, 1441541097),
(128, 0, 'block_admin_bookmarks', '2007101509', '2007101509', 'Plugin installed'
, NULL, '', 0, 1441541097),
(129, 0, 'block_blog_menu', NULL, '2009071700', 'Starting plugin installation',
NULL, '', 0, 1441541097),
(130, 0, 'block_blog_menu', '2009071700', '2009071700', 'Plugin installed', NULL
, '', 0, 1441541097),
(131, 0, 'block_blog_recent', NULL, '2009070900', 'Starting plugin installation'
, NULL, '', 0, 1441541097),
(132, 0, 'block_blog_recent', '2009070900', '2009070900', 'Plugin installed', NU
LL, '', 0, 1441541097),
(133, 0, 'block_blog_tags', NULL, '2007101509', 'Starting plugin installation',
NULL, '', 0, 1441541097),
(134, 0, 'block_blog_tags', '2007101509', '2007101509', 'Plugin installed', NULL
, '', 0, 1441541097),
(135, 0, 'block_calendar_month', NULL, '2007101509', 'Starting plugin installati
on', NULL, '', 0, 1441541097),
(136, 0, 'block_calendar_month', '2007101509', '2007101509', 'Plugin installed',
NULL, '', 0, 1441541098),
(137, 0, 'block_calendar_upcoming', NULL, '2007101509', 'Starting plugin install
ation', NULL, '', 0, 1441541098),
(138, 0, 'block_calendar_upcoming', '2007101509', '2007101509', 'Plugin installe
d', NULL, '', 0, 1441541098),
(139, 0, 'block_comments', NULL, '2009072000', 'Starting plugin installation', N
ULL, '', 0, 1441541098),
(140, 0, 'block_comments', '2009072000', '2009072000', 'Plugin installed', NULL,
'', 0, 1441541098),

(141, 0, 'block_community', NULL, '2010042701', 'Starting plugin installation',


NULL, '', 0, 1441541098),
(142, 0, 'block_community', '2010042701', '2010042701', 'Plugin installed', NULL
, '', 0, 1441541098),
(143, 0, 'block_completionstatus', NULL, '2009072800', 'Starting plugin installa
tion', NULL, '', 0, 1441541098),
(144, 0, 'block_completionstatus', '2009072800', '2009072800', 'Plugin installed
', NULL, '', 0, 1441541099),
(145, 0, 'block_course_list', NULL, '2007101509', 'Starting plugin installation'
, NULL, '', 0, 1441541099),
(146, 0, 'block_course_list', '2007101509', '2007101509', 'Plugin installed', NU
LL, '', 0, 1441541099),
(147, 0, 'block_course_overview', NULL, '2010021100', 'Starting plugin installat
ion', NULL, '', 0, 1441541099),
(148, 0, 'block_course_overview', '2010021100', '2010021100', 'Plugin installed'
, NULL, '', 0, 1441541099),
(149, 0, 'block_course_summary', NULL, '2007101509', 'Starting plugin installati
on', NULL, '', 0, 1441541099),
(150, 0, 'block_course_summary', '2007101509', '2007101509', 'Plugin installed',
NULL, '', 0, 1441541099),
(151, 0, 'block_feedback', NULL, '2010050200', 'Starting plugin installation', N
ULL, '', 0, 1441541099),
(152, 0, 'block_feedback', '2010050200', '2010050200', 'Plugin installed', NULL,
'', 0, 1441541100),
(153, 0, 'block_glossary_random', NULL, '2007101509', 'Starting plugin installat
ion', NULL, '', 0, 1441541100),
(154, 0, 'block_glossary_random', '2007101509', '2007101509', 'Plugin installed'
, NULL, '', 0, 1441541100),
(155, 0, 'block_html', NULL, '2010071900', 'Starting plugin installation', NULL,
'', 0, 1441541100),
(156, 0, 'block_html', '2010071900', '2010071900', 'Plugin installed', NULL, '',
0, 1441541100),
(157, 0, 'block_login', NULL, '2007101509', 'Starting plugin installation', NULL
, '', 0, 1441541100),
(158, 0, 'block_login', '2007101509', '2007101509', 'Plugin installed', NULL, ''
, 0, 1441541100),
(159, 0, 'block_mentees', NULL, '2007101509', 'Starting plugin installation', NU
LL, '', 0, 1441541100),
(160, 0, 'block_mentees', '2007101509', '2007101509', 'Plugin installed', NULL,
'', 0, 1441541101),
(161, 0, 'block_messages', NULL, '2007101509', 'Starting plugin installation', N
ULL, '', 0, 1441541101),
(162, 0, 'block_messages', '2007101509', '2007101509', 'Plugin installed', NULL,
'', 0, 1441541101),
(163, 0, 'block_mnet_hosts', NULL, '2010112900', 'Starting plugin installation',
NULL, '', 0, 1441541101),
(164, 0, 'block_mnet_hosts', '2010112900', '2010112900', 'Plugin installed', NUL
L, '', 0, 1441541101),
(165, 0, 'block_myprofile', NULL, '2009123100', 'Starting plugin installation',
NULL, '', 0, 1441541101),
(166, 0, 'block_myprofile', '2009123100', '2009123100', 'Plugin installed', NULL
, '', 0, 1441541101),
(167, 0, 'block_navigation', NULL, '2010091400', 'Starting plugin installation',
NULL, '', 0, 1441541101),
(168, 0, 'block_navigation', '2010091400', '2010091400', 'Plugin installed', NUL
L, '', 0, 1441541101),
(169, 0, 'block_news_items', NULL, '2007101509', 'Starting plugin installation',
NULL, '', 0, 1441541102),
(170, 0, 'block_news_items', '2007101509', '2007101509', 'Plugin installed', NUL
L, '', 0, 1441541102),

(171, 0, 'block_online_users', NULL, '2007101510', 'Starting plugin installation


', NULL, '', 0, 1441541102),
(172, 0, 'block_online_users', '2007101510', '2007101510', 'Plugin installed', N
ULL, '', 0, 1441541102),
(173, 0, 'block_participants', NULL, '2007101509', 'Starting plugin installation
', NULL, '', 0, 1441541102),
(174, 0, 'block_participants', '2007101509', '2007101509', 'Plugin installed', N
ULL, '', 0, 1441541102),
(175, 0, 'block_private_files', NULL, '2010030100', 'Starting plugin installatio
n', NULL, '', 0, 1441541102),
(176, 0, 'block_private_files', '2010030100', '2010030100', 'Plugin installed',
NULL, '', 0, 1441541103),
(177, 0, 'block_quiz_results', NULL, '2007101509', 'Starting plugin installation
', NULL, '', 0, 1441541103),
(178, 0, 'block_quiz_results', '2007101509', '2007101509', 'Plugin installed', N
ULL, '', 0, 1441541103),
(179, 0, 'block_recent_activity', NULL, '2007101509', 'Starting plugin installat
ion', NULL, '', 0, 1441541103),
(180, 0, 'block_recent_activity', '2007101509', '2007101509', 'Plugin installed'
, NULL, '', 0, 1441541103),
(181, 0, 'block_rss_client', NULL, '2009072901', 'Starting plugin installation',
NULL, '', 0, 1441541103),
(182, 0, 'block_rss_client', '2009072901', '2009072901', 'Plugin installed', NUL
L, '', 0, 1441541104),
(183, 0, 'block_search', NULL, '2010111100', 'Starting plugin installation', NUL
L, '', 0, 1441541104),
(184, 0, 'block_search', '2010111100', '2010111100', 'Plugin installed', NULL, '
', 0, 1441541105),
(185, 0, 'block_search_forums', NULL, '2007101509', 'Starting plugin installatio
n', NULL, '', 0, 1441541105),
(186, 0, 'block_search_forums', '2007101509', '2007101509', 'Plugin installed',
NULL, '', 0, 1441541105),
(187, 0, 'block_section_links', NULL, '2007101511', 'Starting plugin installatio
n', NULL, '', 0, 1441541106),
(188, 0, 'block_section_links', '2007101511', '2007101511', 'Plugin installed',
NULL, '', 0, 1441541106),
(189, 0, 'block_selfcompletion', NULL, '2009072800', 'Starting plugin installati
on', NULL, '', 0, 1441541106),
(190, 0, 'block_selfcompletion', '2009072800', '2009072800', 'Plugin installed',
NULL, '', 0, 1441541106),
(191, 0, 'block_settings', NULL, '2010091400', 'Starting plugin installation', N
ULL, '', 0, 1441541106),
(192, 0, 'block_settings', '2010091400', '2010091400', 'Plugin installed', NULL,
'', 0, 1441541106),
(193, 0, 'block_site_main_menu', NULL, '2007101509', 'Starting plugin installati
on', NULL, '', 0, 1441541106),
(194, 0, 'block_site_main_menu', '2007101509', '2007101509', 'Plugin installed',
NULL, '', 0, 1441541107),
(195, 0, 'block_social_activities', NULL, '2007101509', 'Starting plugin install
ation', NULL, '', 0, 1441541107),
(196, 0, 'block_social_activities', '2007101509', '2007101509', 'Plugin installe
d', NULL, '', 0, 1441541107),
(197, 0, 'block_tag_flickr', NULL, '2007101509', 'Starting plugin installation',
NULL, '', 0, 1441541107),
(198, 0, 'block_tag_flickr', '2007101509', '2007101509', 'Plugin installed', NUL
L, '', 0, 1441541107),
(199, 0, 'block_tag_youtube', NULL, '2007101509', 'Starting plugin installation'
, NULL, '', 0, 1441541107),
(200, 0, 'block_tag_youtube', '2007101509', '2007101509', 'Plugin installed', NU
LL, '', 0, 1441541107),

(201, 0, 'block_tags', NULL, '2010090502', 'Starting plugin installation', NULL,


'', 0, 1441541107),
(202, 0, 'block_tags', '2010090502', '2010090502', 'Plugin installed', NULL, '',
0, 1441541108),
(203, 0, 'filter_emoticon', NULL, '2010102300', 'Starting plugin installation',
NULL, '', 0, 1441541109),
(204, 0, 'filter_emoticon', '2010102300', '2010102300', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541109),
(205, 0, 'filter_emoticon', '2010102300', '2010102300', 'Plugin installed', NULL
, '', 0, 1441541109),
(206, 0, 'filter_mediaplugin', NULL, '2011030900', 'Starting plugin installation
', NULL, '', 0, 1441541109),
(207, 0, 'filter_mediaplugin', '2011030900', '2011030900', 'Upgrade savepoint re
ached', NULL, '', 0, 1441541109),
(208, 0, 'filter_mediaplugin', '2011030900', '2011030900', 'Plugin installed', N
ULL, '', 0, 1441541110),
(209, 0, 'filter_tex', NULL, '2011031301', 'Starting plugin installation', NULL,
'', 0, 1441541110),
(210, 0, 'filter_tex', '2011031301', '2011031301', 'Upgrade savepoint reached',
NULL, '', 0, 1441541110),
(211, 0, 'filter_tex', '2011031301', '2011031301', 'Plugin installed', NULL, '',
0, 1441541110),
(212, 0, 'filter_urltolink', NULL, '2010100500', 'Starting plugin installation',
NULL, '', 0, 1441541110),
(213, 0, 'filter_urltolink', '2010100500', '2010100500', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541110),
(214, 0, 'filter_urltolink', '2010100500', '2010100500', 'Plugin installed', NUL
L, '', 0, 1441541110),
(215, 0, 'editor_textarea', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541110),
(216, 0, 'editor_textarea', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541110),
(217, 0, 'editor_textarea', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541111),
(218, 0, 'editor_tinymce', NULL, '2010093000', 'Starting plugin installation', N
ULL, '', 0, 1441541111),
(219, 0, 'editor_tinymce', '2010093000', '2010093000', 'Upgrade savepoint reache
d', NULL, '', 0, 1441541111),
(220, 0, 'editor_tinymce', '2010093000', '2010093000', 'Plugin installed', NULL,
'', 0, 1441541111),
(221, 0, 'report_courseoverview', NULL, '2010090501', 'Starting plugin installat
ion', NULL, '', 0, 1441541111),
(222, 0, 'report_courseoverview', '2010090501', '2010090501', 'Upgrade savepoint
reached', NULL, '', 0, 1441541111),
(223, 0, 'report_courseoverview', '2010090501', '2010090501', 'Plugin installed'
, NULL, '', 0, 1441541111),
(224, 0, 'report_customlang', NULL, '2011041900', 'Starting plugin installation'
, NULL, '', 0, 1441541112),
(225, 0, 'report_customlang', '2011041900', '2011041900', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541112),
(226, 0, 'report_customlang', '2011041900', '2011041900', 'Plugin installed', NU
LL, '', 0, 1441541113),
(227, 0, 'report_questioninstances', NULL, '2010090501', 'Starting plugin instal
lation', NULL, '', 0, 1441541113),
(228, 0, 'report_questioninstances', '2010090501', '2010090501', 'Upgrade savepo
int reached', NULL, '', 0, 1441541113),
(229, 0, 'report_questioninstances', '2010090501', '2010090501', 'Plugin install
ed', NULL, '', 0, 1441541113),
(230, 0, 'report_security', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541113),

(231, 0, 'report_security', '2010090501', '2010090501', 'Upgrade savepoint reach


ed', NULL, '', 0, 1441541113),
(232, 0, 'report_security', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541113),
(233, 0, 'report_unittest', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541113),
(234, 0, 'report_unittest', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541114),
(235, 0, 'report_unittest', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541114),
(236, 0, 'report_unsuproles', NULL, '2010071800', 'Starting plugin installation'
, NULL, '', 0, 1441541114),
(237, 0, 'report_unsuproles', '2010071800', '2010071800', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541114),
(238, 0, 'report_unsuproles', '2010071800', '2010071800', 'Plugin installed', NU
LL, '', 0, 1441541114),
(239, 0, 'coursereport_completion', NULL, '2010090501', 'Starting plugin install
ation', NULL, '', 0, 1441541114),
(240, 0, 'coursereport_completion', '2010090501', '2010090501', 'Upgrade savepoi
nt reached', NULL, '', 0, 1441541114),
(241, 0, 'coursereport_completion', '2010090501', '2010090501', 'Plugin installe
d', NULL, '', 0, 1441541115),
(242, 0, 'coursereport_log', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541115),
(243, 0, 'coursereport_log', '2010090501', '2010090501', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541115),
(244, 0, 'coursereport_log', '2010090501', '2010090501', 'Plugin installed', NUL
L, '', 0, 1441541116),
(245, 0, 'coursereport_outline', NULL, '2010090501', 'Starting plugin installati
on', NULL, '', 0, 1441541116),
(246, 0, 'coursereport_outline', '2010090501', '2010090501', 'Upgrade savepoint
reached', NULL, '', 0, 1441541116),
(247, 0, 'coursereport_outline', '2010090501', '2010090501', 'Plugin installed',
NULL, '', 0, 1441541117),
(248, 0, 'coursereport_participation', NULL, '2010090501', 'Starting plugin inst
allation', NULL, '', 0, 1441541117),
(249, 0, 'coursereport_participation', '2010090501', '2010090501', 'Upgrade save
point reached', NULL, '', 0, 1441541117),
(250, 0, 'coursereport_participation', '2010090501', '2010090501', 'Plugin insta
lled', NULL, '', 0, 1441541117),
(251, 0, 'coursereport_progress', NULL, '2010090501', 'Starting plugin installat
ion', NULL, '', 0, 1441541117),
(252, 0, 'coursereport_progress', '2010090501', '2010090501', 'Upgrade savepoint
reached', NULL, '', 0, 1441541117),
(253, 0, 'coursereport_progress', '2010090501', '2010090501', 'Plugin installed'
, NULL, '', 0, 1441541117),
(254, 0, 'coursereport_stats', NULL, '2010090501', 'Starting plugin installation
', NULL, '', 0, 1441541117),
(255, 0, 'coursereport_stats', '2010090501', '2010090501', 'Upgrade savepoint re
ached', NULL, '', 0, 1441541118),
(256, 0, 'coursereport_stats', '2010090501', '2010090501', 'Plugin installed', N
ULL, '', 0, 1441541118),
(257, 0, 'gradeexport_ods', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541118),
(258, 0, 'gradeexport_ods', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541118),
(259, 0, 'gradeexport_ods', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541119),
(260, 0, 'gradeexport_txt', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541119),

(261, 0, 'gradeexport_txt', '2010090501', '2010090501', 'Upgrade savepoint reach


ed', NULL, '', 0, 1441541119),
(262, 0, 'gradeexport_txt', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541119),
(263, 0, 'gradeexport_xls', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541119),
(264, 0, 'gradeexport_xls', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541119),
(265, 0, 'gradeexport_xls', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541120),
(266, 0, 'gradeexport_xml', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541120),
(267, 0, 'gradeexport_xml', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541120),
(268, 0, 'gradeexport_xml', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541120),
(269, 0, 'gradeimport_csv', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541120),
(270, 0, 'gradeimport_csv', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541120),
(271, 0, 'gradeimport_csv', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541121),
(272, 0, 'gradeimport_xml', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541121),
(273, 0, 'gradeimport_xml', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541121),
(274, 0, 'gradeimport_xml', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541121),
(275, 0, 'gradereport_grader', NULL, '2010090501', 'Starting plugin installation
', NULL, '', 0, 1441541121),
(276, 0, 'gradereport_grader', '2010090501', '2010090501', 'Upgrade savepoint re
ached', NULL, '', 0, 1441541121),
(277, 0, 'gradereport_grader', '2010090501', '2010090501', 'Plugin installed', N
ULL, '', 0, 1441541122),
(278, 0, 'gradereport_outcomes', NULL, '2010090501', 'Starting plugin installati
on', NULL, '', 0, 1441541122),
(279, 0, 'gradereport_outcomes', '2010090501', '2010090501', 'Upgrade savepoint
reached', NULL, '', 0, 1441541122),
(280, 0, 'gradereport_outcomes', '2010090501', '2010090501', 'Plugin installed',
NULL, '', 0, 1441541122),
(281, 0, 'gradereport_overview', NULL, '2010090501', 'Starting plugin installati
on', NULL, '', 0, 1441541122),
(282, 0, 'gradereport_overview', '2010090501', '2010090501', 'Upgrade savepoint
reached', NULL, '', 0, 1441541122),
(283, 0, 'gradereport_overview', '2010090501', '2010090501', 'Plugin installed',
NULL, '', 0, 1441541123),
(284, 0, 'gradereport_user', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541123),
(285, 0, 'gradereport_user', '2010090501', '2010090501', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541123),
(286, 0, 'gradereport_user', '2010090501', '2010090501', 'Plugin installed', NUL
L, '', 0, 1441541123),
(287, 0, 'mnetservice_enrol', NULL, '2010071700', 'Starting plugin installation'
, NULL, '', 0, 1441541123),
(288, 0, 'mnetservice_enrol', '2010071700', '2010071700', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541124),
(289, 0, 'mnetservice_enrol', '2010071700', '2010071700', 'Plugin installed', NU
LL, '', 0, 1441541124),
(290, 0, 'webservice_amf', NULL, '2009101900', 'Starting plugin installation', N
ULL, '', 0, 1441541124),

(291, 0, 'webservice_amf', '2009101900', '2009101900', 'Upgrade savepoint reache


d', NULL, '', 0, 1441541124),
(292, 0, 'webservice_amf', '2009101900', '2009101900', 'Plugin installed', NULL,
'', 0, 1441541125),
(293, 0, 'webservice_rest', NULL, '2009100800', 'Starting plugin installation',
NULL, '', 0, 1441541125),
(294, 0, 'webservice_rest', '2009100800', '2009100800', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541125),
(295, 0, 'webservice_rest', '2009100800', '2009100800', 'Plugin installed', NULL
, '', 0, 1441541125),
(296, 0, 'webservice_soap', NULL, '2009101900', 'Starting plugin installation',
NULL, '', 0, 1441541125),
(297, 0, 'webservice_soap', '2009101900', '2009101900', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541125),
(298, 0, 'webservice_soap', '2009101900', '2009101900', 'Plugin installed', NULL
, '', 0, 1441541126),
(299, 0, 'webservice_xmlrpc', NULL, '2009101900', 'Starting plugin installation'
, NULL, '', 0, 1441541126),
(300, 0, 'webservice_xmlrpc', '2009101900', '2009101900', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541126),
(301, 0, 'webservice_xmlrpc', '2009101900', '2009101900', 'Plugin installed', NU
LL, '', 0, 1441541126),
(302, 0, 'repository_alfresco', NULL, '2010050700', 'Starting plugin installatio
n', NULL, '', 0, 1441541126),
(303, 0, 'repository_alfresco', '2010050700', '2010050700', 'Upgrade savepoint r
eached', NULL, '', 0, 1441541126),
(304, 0, 'repository_alfresco', '2010050700', '2010050700', 'Plugin installed',
NULL, '', 0, 1441541127),
(305, 0, 'repository_boxnet', NULL, '2009080105', 'Starting plugin installation'
, NULL, '', 0, 1441541127),
(306, 0, 'repository_boxnet', '2009080105', '2009080105', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541127),
(307, 0, 'repository_boxnet', '2009080105', '2009080105', 'Plugin installed', NU
LL, '', 0, 1441541127),
(308, 0, 'repository_coursefiles', NULL, '2012010100', 'Starting plugin installa
tion', NULL, '', 0, 1441541127),
(309, 0, 'repository_coursefiles', '2012010100', '2012010100', 'Upgrade savepoin
t reached', NULL, '', 0, 1441541127),
(310, 0, 'repository_coursefiles', '2012010100', '2012010100', 'Plugin installed
', NULL, '', 0, 1441541128),
(311, 0, 'repository_dropbox', NULL, '2010051400', 'Starting plugin installation
', NULL, '', 0, 1441541128),
(312, 0, 'repository_dropbox', '2010051400', '2010051400', 'Upgrade savepoint re
ached', NULL, '', 0, 1441541128),
(313, 0, 'repository_dropbox', '2010051400', '2010051400', 'Plugin installed', N
ULL, '', 0, 1441541128),
(314, 0, 'repository_filesystem', NULL, '2012010100', 'Starting plugin installat
ion', NULL, '', 0, 1441541128),
(315, 0, 'repository_filesystem', '2012010100', '2012010100', 'Upgrade savepoint
reached', NULL, '', 0, 1441541128),
(316, 0, 'repository_filesystem', '2012010100', '2012010100', 'Plugin installed'
, NULL, '', 0, 1441541129),
(317, 0, 'repository_flickr', NULL, '2009080102', 'Starting plugin installation'
, NULL, '', 0, 1441541129),
(318, 0, 'repository_flickr', '2009080102', '2009080102', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541129),
(319, 0, 'repository_flickr', '2009080102', '2009080102', 'Plugin installed', NU
LL, '', 0, 1441541129),
(320, 0, 'repository_flickr_public', NULL, '2009080102', 'Starting plugin instal
lation', NULL, '', 0, 1441541129),

(321, 0, 'repository_flickr_public', '2009080102', '2009080102', 'Upgrade savepo


int reached', NULL, '', 0, 1441541129),
(322, 0, 'repository_flickr_public', '2009080102', '2009080102', 'Plugin install
ed', NULL, '', 0, 1441541129),
(323, 0, 'repository_googledocs', NULL, '2009080102', 'Starting plugin installat
ion', NULL, '', 0, 1441541129),
(324, 0, 'repository_googledocs', '2009080102', '2009080102', 'Upgrade savepoint
reached', NULL, '', 0, 1441541130),
(325, 0, 'repository_googledocs', '2009080102', '2009080102', 'Plugin installed'
, NULL, '', 0, 1441541130),
(326, 0, 'repository_local', NULL, '2012010100', 'Starting plugin installation',
NULL, '', 0, 1441541130),
(327, 0, 'repository_local', '2012010100', '2012010100', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541130),
(328, 0, 'repository_local', '2012010100', '2012010100', 'Plugin installed', NUL
L, '', 0, 1441541131),
(329, 0, 'repository_merlot', NULL, '2009111301', 'Starting plugin installation'
, NULL, '', 0, 1441541131),
(330, 0, 'repository_merlot', '2009111301', '2009111301', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541131),
(331, 0, 'repository_merlot', '2009111301', '2009111301', 'Plugin installed', NU
LL, '', 0, 1441541131),
(332, 0, 'repository_picasa', NULL, '2009080102', 'Starting plugin installation'
, NULL, '', 0, 1441541131),
(333, 0, 'repository_picasa', '2009080102', '2009080102', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541131),
(334, 0, 'repository_picasa', '2009080102', '2009080102', 'Plugin installed', NU
LL, '', 0, 1441541131),
(335, 0, 'repository_recent', NULL, '2010042202', 'Starting plugin installation'
, NULL, '', 0, 1441541131),
(336, 0, 'repository_recent', '2010042202', '2010042202', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541132),
(337, 0, 'repository_recent', '2010042202', '2010042202', 'Plugin installed', NU
LL, '', 0, 1441541132),
(338, 0, 'repository_s3', NULL, '2009080102', 'Starting plugin installation', NU
LL, '', 0, 1441541132),
(339, 0, 'repository_s3', '2009080102', '2009080102', 'Upgrade savepoint reached
', NULL, '', 0, 1441541132),
(340, 0, 'repository_s3', '2009080102', '2009080102', 'Plugin installed', NULL,
'', 0, 1441541132),
(341, 0, 'repository_upload', NULL, '2009080102', 'Starting plugin installation'
, NULL, '', 0, 1441541132),
(342, 0, 'repository_upload', '2009080102', '2009080102', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541132),
(343, 0, 'repository_upload', '2009080102', '2009080102', 'Plugin installed', NU
LL, '', 0, 1441541133),
(344, 0, 'repository_url', NULL, '2009080102', 'Starting plugin installation', N
ULL, '', 0, 1441541133),
(345, 0, 'repository_url', '2009080102', '2009080102', 'Upgrade savepoint reache
d', NULL, '', 0, 1441541133),
(346, 0, 'repository_url', '2009080102', '2009080102', 'Plugin installed', NULL,
'', 0, 1441541133),
(347, 0, 'repository_user', NULL, '2010052700', 'Starting plugin installation',
NULL, '', 0, 1441541133),
(348, 0, 'repository_user', '2010052700', '2010052700', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541133),
(349, 0, 'repository_user', '2010052700', '2010052700', 'Plugin installed', NULL
, '', 0, 1441541134),
(350, 0, 'repository_webdav', NULL, '2012010100', 'Starting plugin installation'
, NULL, '', 0, 1441541134),

(351, 0, 'repository_webdav', '2012010100', '2012010100', 'Upgrade savepoint rea


ched', NULL, '', 0, 1441541134),
(352, 0, 'repository_webdav', '2012010100', '2012010100', 'Plugin installed', NU
LL, '', 0, 1441541134),
(353, 0, 'repository_wikimedia', NULL, '2009080102', 'Starting plugin installati
on', NULL, '', 0, 1441541134),
(354, 0, 'repository_wikimedia', '2009080102', '2009080102', 'Upgrade savepoint
reached', NULL, '', 0, 1441541134),
(355, 0, 'repository_wikimedia', '2009080102', '2009080102', 'Plugin installed',
NULL, '', 0, 1441541135),
(356, 0, 'repository_youtube', NULL, '2009080102', 'Starting plugin installation
', NULL, '', 0, 1441541135),
(357, 0, 'repository_youtube', '2009080102', '2009080102', 'Upgrade savepoint re
ached', NULL, '', 0, 1441541135),
(358, 0, 'repository_youtube', '2009080102', '2009080102', 'Plugin installed', N
ULL, '', 0, 1441541135),
(359, 0, 'portfolio_boxnet', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541135),
(360, 0, 'portfolio_boxnet', '2010090501', '2010090501', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541135),
(361, 0, 'portfolio_boxnet', '2010090501', '2010090501', 'Plugin installed', NUL
L, '', 0, 1441541135),
(362, 0, 'portfolio_download', NULL, '2010090501', 'Starting plugin installation
', NULL, '', 0, 1441541135),
(363, 0, 'portfolio_download', '2010090501', '2010090501', 'Upgrade savepoint re
ached', NULL, '', 0, 1441541135),
(364, 0, 'portfolio_download', '2010090501', '2010090501', 'Plugin installed', N
ULL, '', 0, 1441541135),
(365, 0, 'portfolio_flickr', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541136),
(366, 0, 'portfolio_flickr', '2010090501', '2010090501', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541136),
(367, 0, 'portfolio_flickr', '2010090501', '2010090501', 'Plugin installed', NUL
L, '', 0, 1441541136),
(368, 0, 'portfolio_googledocs', NULL, '2010090501', 'Starting plugin installati
on', NULL, '', 0, 1441541136),
(369, 0, 'portfolio_googledocs', '2010090501', '2010090501', 'Upgrade savepoint
reached', NULL, '', 0, 1441541136),
(370, 0, 'portfolio_googledocs', '2010090501', '2010090501', 'Plugin installed',
NULL, '', 0, 1441541136),
(371, 0, 'portfolio_mahara', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541136),
(372, 0, 'portfolio_mahara', '2010090501', '2010090501', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541137),
(373, 0, 'portfolio_mahara', '2010090501', '2010090501', 'Plugin installed', NUL
L, '', 0, 1441541137),
(374, 0, 'portfolio_picasa', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541137),
(375, 0, 'portfolio_picasa', '2010090501', '2010090501', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541137),
(376, 0, 'portfolio_picasa', '2010090501', '2010090501', 'Plugin installed', NUL
L, '', 0, 1441541138),
(377, 0, 'qtype_calculated', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541138),
(378, 0, 'qtype_calculated', '2010090501', '2010090501', 'Upgrade savepoint reac
hed', NULL, '', 0, 1441541140),
(379, 0, 'qtype_calculated', '2010090501', '2010090501', 'Plugin installed', NUL
L, '', 0, 1441541140),
(380, 0, 'qtype_essay', NULL, '2010090501', 'Starting plugin installation', NULL
, '', 0, 1441541140),

(381, 0, 'qtype_essay', '2010090501', '2010090501', 'Upgrade savepoint reached',


NULL, '', 0, 1441541140),
(382, 0, 'qtype_essay', '2010090501', '2010090501', 'Plugin installed', NULL, ''
, 0, 1441541140),
(383, 0, 'qtype_match', NULL, '2010090501', 'Starting plugin installation', NULL
, '', 0, 1441541140),
(384, 0, 'qtype_match', '2010090501', '2010090501', 'Upgrade savepoint reached',
NULL, '', 0, 1441541141),
(385, 0, 'qtype_match', '2010090501', '2010090501', 'Plugin installed', NULL, ''
, 0, 1441541141),
(386, 0, 'qtype_multianswer', NULL, '2010090501', 'Starting plugin installation'
, NULL, '', 0, 1441541141),
(387, 0, 'qtype_multianswer', '2010090501', '2010090501', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541142),
(388, 0, 'qtype_multianswer', '2010090501', '2010090501', 'Plugin installed', NU
LL, '', 0, 1441541142),
(389, 0, 'qtype_multichoice', NULL, '2010090501', 'Starting plugin installation'
, NULL, '', 0, 1441541142),
(390, 0, 'qtype_multichoice', '2010090501', '2010090501', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541142),
(391, 0, 'qtype_multichoice', '2010090501', '2010090501', 'Plugin installed', NU
LL, '', 0, 1441541143),
(392, 0, 'qtype_numerical', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541143),
(393, 0, 'qtype_numerical', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541144),
(394, 0, 'qtype_numerical', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541144),
(395, 0, 'qtype_randomsamatch', NULL, '2010090501', 'Starting plugin installatio
n', NULL, '', 0, 1441541144),
(396, 0, 'qtype_randomsamatch', '2010090501', '2010090501', 'Upgrade savepoint r
eached', NULL, '', 0, 1441541145),
(397, 0, 'qtype_randomsamatch', '2010090501', '2010090501', 'Plugin installed',
NULL, '', 0, 1441541145),
(398, 0, 'qtype_shortanswer', NULL, '2010090501', 'Starting plugin installation'
, NULL, '', 0, 1441541145),
(399, 0, 'qtype_shortanswer', '2010090501', '2010090501', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541145),
(400, 0, 'qtype_shortanswer', '2010090501', '2010090501', 'Plugin installed', NU
LL, '', 0, 1441541146),
(401, 0, 'qtype_truefalse', NULL, '2010090501', 'Starting plugin installation',
NULL, '', 0, 1441541146),
(402, 0, 'qtype_truefalse', '2010090501', '2010090501', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541146),
(403, 0, 'qtype_truefalse', '2010090501', '2010090501', 'Plugin installed', NULL
, '', 0, 1441541147),
(404, 0, 'theme_formal_white', NULL, '2011061301', 'Starting plugin installation
', NULL, '', 0, 1441541147),
(405, 0, 'theme_formal_white', '2011061301', '2011061301', 'Upgrade savepoint re
ached', NULL, '', 0, 1441541147),
(406, 0, 'theme_formal_white', '2011061301', '2011061301', 'Plugin installed', N
ULL, '', 0, 1441541147),
(407, 0, 'assignment_online', NULL, '2010090501', 'Starting plugin installation'
, NULL, '', 0, 1441541147),
(408, 0, 'assignment_online', '2010090501', '2010090501', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541147),
(409, 0, 'assignment_online', '2010090501', '2010090501', 'Plugin installed', NU
LL, '', 0, 1441541147),
(410, 0, 'quiz_overview', NULL, '2009091400', 'Starting plugin installation', NU
LL, '', 0, 1441541148),

(411, 0, 'quiz_overview', '2009091400', '2009091400', 'Upgrade savepoint reached


', NULL, '', 0, 1441541148),
(412, 0, 'quiz_overview', '2009091400', '2009091400', 'Plugin installed', NULL,
'', 0, 1441541148),
(413, 0, 'quiz_statistics', NULL, '2008112103', 'Starting plugin installation',
NULL, '', 0, 1441541148),
(414, 0, 'quiz_statistics', '2008112103', '2008112103', 'Upgrade savepoint reach
ed', NULL, '', 0, 1441541149),
(415, 0, 'quiz_statistics', '2008112103', '2008112103', 'Plugin installed', NULL
, '', 0, 1441541149),
(416, 0, 'workshopform_accumulative', NULL, '2010091700', 'Starting plugin insta
llation', NULL, '', 0, 1441541149),
(417, 0, 'workshopform_accumulative', '2010091700', '2010091700', 'Upgrade savep
oint reached', NULL, '', 0, 1441541150),
(418, 0, 'workshopform_accumulative', '2010091700', '2010091700', 'Plugin instal
led', NULL, '', 0, 1441541150),
(419, 0, 'workshopform_comments', NULL, '2010091700', 'Starting plugin installat
ion', NULL, '', 0, 1441541150),
(420, 0, 'workshopform_comments', '2010091700', '2010091700', 'Upgrade savepoint
reached', NULL, '', 0, 1441541150),
(421, 0, 'workshopform_comments', '2010091700', '2010091700', 'Plugin installed'
, NULL, '', 0, 1441541151),
(422, 0, 'workshopform_numerrors', NULL, '2010091700', 'Starting plugin installa
tion', NULL, '', 0, 1441541151),
(423, 0, 'workshopform_numerrors', '2010091700', '2010091700', 'Upgrade savepoin
t reached', NULL, '', 0, 1441541152),
(424, 0, 'workshopform_numerrors', '2010091700', '2010091700', 'Plugin installed
', NULL, '', 0, 1441541152),
(425, 0, 'workshopform_rubric', NULL, '2010091700', 'Starting plugin installatio
n', NULL, '', 0, 1441541152),
(426, 0, 'workshopform_rubric', '2010091700', '2010091700', 'Upgrade savepoint r
eached', NULL, '', 0, 1441541153),
(427, 0, 'workshopform_rubric', '2010091700', '2010091700', 'Plugin installed',
NULL, '', 0, 1441541153),
(428, 0, 'workshopeval_best', NULL, '2010090501', 'Starting plugin installation'
, NULL, '', 0, 1441541153),
(429, 0, 'workshopeval_best', '2010090501', '2010090501', 'Upgrade savepoint rea
ched', NULL, '', 0, 1441541154),
(430, 0, 'workshopeval_best', '2010090501', '2010090501', 'Plugin installed', NU
LL, '', 0, 1441541154);
-- ---------------------------------------------------------- Table structure for table `mdl_url`
-CREATE TABLE IF NOT EXISTS `mdl_url` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` text COLLATE utf8_unicode_ci,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`externalurl` text COLLATE utf8_unicode_ci,
`display` smallint(4) unsigned NOT NULL DEFAULT '0',
`displayoptions` text COLLATE utf8_unicode_ci,
`parameters` text COLLATE utf8_unicode_ci,
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_url_cou_ix` (`course`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='each recor


d is one url resource' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_user`
-CREATE TABLE IF NOT EXISTS `mdl_user` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`auth` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'manual',
`confirmed` tinyint(1) NOT NULL DEFAULT '0',
`policyagreed` tinyint(1) NOT NULL DEFAULT '0',
`deleted` tinyint(1) NOT NULL DEFAULT '0',
`suspended` tinyint(1) NOT NULL DEFAULT '0',
`mnethostid` bigint(10) unsigned NOT NULL DEFAULT '0',
`username` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`password` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`idnumber` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`firstname` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`lastname` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`email` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`emailstop` tinyint(1) unsigned NOT NULL DEFAULT '0',
`icq` varchar(15) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`skype` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`yahoo` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`aim` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`msn` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`phone1` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`phone2` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`institution` varchar(40) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`department` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`address` varchar(70) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`city` varchar(120) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`country` varchar(2) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`lang` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'en',
`theme` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timezone` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '99',
`firstaccess` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastaccess` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastlogin` bigint(10) unsigned NOT NULL DEFAULT '0',
`currentlogin` bigint(10) unsigned NOT NULL DEFAULT '0',
`lastip` varchar(45) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`secret` varchar(15) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`picture` tinyint(1) NOT NULL DEFAULT '0',
`url` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` longtext COLLATE utf8_unicode_ci,
`descriptionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`mailformat` tinyint(1) unsigned NOT NULL DEFAULT '1',
`maildigest` tinyint(1) unsigned NOT NULL DEFAULT '0',
`maildisplay` tinyint(2) unsigned NOT NULL DEFAULT '2',
`htmleditor` tinyint(1) unsigned NOT NULL DEFAULT '1',
`ajax` tinyint(1) unsigned NOT NULL DEFAULT '1',
`autosubscribe` tinyint(1) unsigned NOT NULL DEFAULT '1',
`trackforums` tinyint(1) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`trustbitmask` bigint(10) unsigned NOT NULL DEFAULT '0',
`imagealt` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,

`screenreader` tinyint(1) NOT NULL DEFAULT '0',


PRIMARY KEY (`id`),
UNIQUE KEY `mdl_user_mneuse_uix` (`mnethostid`,`username`),
KEY `mdl_user_del_ix` (`deleted`),
KEY `mdl_user_con_ix` (`confirmed`),
KEY `mdl_user_fir_ix` (`firstname`),
KEY `mdl_user_las_ix` (`lastname`),
KEY `mdl_user_cit_ix` (`city`),
KEY `mdl_user_cou_ix` (`country`),
KEY `mdl_user_las2_ix` (`lastaccess`),
KEY `mdl_user_ema_ix` (`email`),
KEY `mdl_user_aut_ix` (`auth`),
KEY `mdl_user_idn_ix` (`idnumber`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='One recor
d for each person' AUTO_INCREMENT=3 ;
--- Dumping data for table `mdl_user`
-INSERT INTO `mdl_user` (`id`, `auth`, `confirmed`, `policyagreed`, `deleted`, `s
uspended`, `mnethostid`, `username`, `password`, `idnumber`, `firstname`, `lastn
ame`, `email`, `emailstop`, `icq`, `skype`, `yahoo`, `aim`, `msn`, `phone1`, `ph
one2`, `institution`, `department`, `address`, `city`, `country`, `lang`, `theme
`, `timezone`, `firstaccess`, `lastaccess`, `lastlogin`, `currentlogin`, `lastip
`, `secret`, `picture`, `url`, `description`, `descriptionformat`, `mailformat`,
`maildigest`, `maildisplay`, `htmleditor`, `ajax`, `autosubscribe`, `trackforum
s`, `timecreated`, `timemodified`, `trustbitmask`, `imagealt`, `screenreader`) V
ALUES
(1, 'manual', 1, 0, 0, 0, 1, 'guest', 'df9702460dd5aadaf95d5f7a8629d200', '', 'P
engguna tamu', ' ', 'root@localhost', 0, '', '', '', '', '', '', '', '', '', '',
'', '', 'id', '', '99', 0, 0, 0, 0, '', '', 0, '', 'Pengguna ini adalah penggun
a spesial yang diperbolehkan masuk dengan mode hanya-baca pada beberapa kursus.'
, 0, 1, 0, 2, 1, 1, 1, 0, 0, 1441540948, 0, NULL, 0),
(2, 'manual', 1, 0, 0, 0, 1, 'admin', 'dc227041ccc43fac95cf294ca537ed99', '', 'A
dmin62', 'smpn62', 'smpn62jakarta@gmail.com', 0, '', '', '', '', '', '', '', '',
'', '', 'DKI Jakarta', 'ID', 'id', '', '7.0', 1441541433, 1441542414, 144154116
0, 1441542068, '127.0.0.1', '', 0, '', '', 0, 1, 0, 0, 1, 1, 1, 0, 0, 1441541433
, 0, NULL, 0);
-- ---------------------------------------------------------- Table structure for table `mdl_user_enrolments`
-CREATE TABLE IF NOT EXISTS `mdl_user_enrolments` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`status` bigint(10) unsigned NOT NULL DEFAULT '0',
`enrolid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`timestart` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeend` bigint(10) unsigned NOT NULL DEFAULT '2147483647',
`modifierid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_userenro_enruse_uix` (`enrolid`,`userid`),
KEY `mdl_userenro_enr_ix` (`enrolid`),
KEY `mdl_userenro_use_ix` (`userid`),

KEY `mdl_userenro_mod_ix` (`modifierid`)


) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Users part
icipating in courses (aka enrolled users) - everyb' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_user_info_category`
-CREATE TABLE IF NOT EXISTS `mdl_user_info_category` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Customisab
le fields categories' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_user_info_data`
-CREATE TABLE IF NOT EXISTS `mdl_user_info_data` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`fieldid` bigint(10) unsigned NOT NULL DEFAULT '0',
`data` longtext COLLATE utf8_unicode_ci NOT NULL,
`dataformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_userinfodata_usefie_ix` (`userid`,`fieldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Data for t
he customisable user fields' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_user_info_field`
-CREATE TABLE IF NOT EXISTS `mdl_user_info_field` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`shortname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'shortname',
`name` longtext COLLATE utf8_unicode_ci NOT NULL,
`datatype` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` longtext COLLATE utf8_unicode_ci,
`descriptionformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`categoryid` bigint(10) unsigned NOT NULL DEFAULT '0',
`sortorder` bigint(10) unsigned NOT NULL DEFAULT '0',
`required` tinyint(2) unsigned NOT NULL DEFAULT '0',
`locked` tinyint(2) unsigned NOT NULL DEFAULT '0',
`visible` smallint(4) unsigned NOT NULL DEFAULT '0',
`forceunique` tinyint(2) unsigned NOT NULL DEFAULT '0',
`signup` tinyint(2) unsigned NOT NULL DEFAULT '0',
`defaultdata` longtext COLLATE utf8_unicode_ci,
`defaultdataformat` tinyint(2) unsigned NOT NULL DEFAULT '0',
`param1` longtext COLLATE utf8_unicode_ci,
`param2` longtext COLLATE utf8_unicode_ci,
`param3` longtext COLLATE utf8_unicode_ci,

`param4` longtext COLLATE utf8_unicode_ci,


`param5` longtext COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Customisab
le user profile fields' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_user_lastaccess`
-CREATE TABLE IF NOT EXISTS `mdl_user_lastaccess` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`courseid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeaccess` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_userlast_usecou_uix` (`userid`,`courseid`),
KEY `mdl_userlast_use_ix` (`userid`),
KEY `mdl_userlast_cou_ix` (`courseid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='To keep tr
ack of course page access times, used in online pa' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_user_preferences`
-CREATE TABLE IF NOT EXISTS `mdl_user_preferences` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_userpref_usenam_uix` (`userid`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Allows mo
dules to store arbitrary user preferences' AUTO_INCREMENT=32 ;
--- Dumping data for table `mdl_user_preferences`
-INSERT INTO `mdl_user_preferences` (`id`, `userid`, `name`, `value`) VALUES
(1, 2, 'message_provider_moodle_notices_loggedin', 'email'),
(2, 2, 'message_provider_moodle_notices_loggedoff', 'email'),
(3, 2, 'message_provider_moodle_errors_loggedin', 'email'),
(4, 2, 'message_provider_moodle_errors_loggedoff', 'email'),
(5, 2, 'message_provider_moodle_instantmessage_loggedin', 'popup'),
(6, 2, 'message_provider_moodle_instantmessage_loggedoff', 'email,popup'),
(7, 2, 'message_provider_moodle_backup_loggedin', 'email'),
(8, 2, 'message_provider_moodle_backup_loggedoff', 'email'),
(9, 2, 'message_provider_moodle_courserequested_loggedin', 'email'),
(10, 2, 'message_provider_moodle_courserequested_loggedoff', 'email'),
(11, 2, 'message_provider_moodle_courserequestapproved_loggedin', 'email'),
(12, 2, 'message_provider_moodle_courserequestapproved_loggedoff', 'email'),
(13, 2, 'message_provider_moodle_courserequestrejected_loggedin', 'email'),
(14, 2, 'message_provider_moodle_courserequestrejected_loggedoff', 'email'),
(15, 2, 'message_provider_mod_assignment_assignment_updates_loggedin', 'email'),

(16,
,
(17,
(18,
(19,
(20,
(21,
(22,
(23,
(24,
(25,
(26,
(27,
(28,
(29,
(30,
(31,

2, 'message_provider_mod_assignment_assignment_updates_loggedoff', 'email')
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,

'message_provider_mod_feedback_submission_loggedin', 'email'),
'message_provider_mod_feedback_submission_loggedoff', 'email'),
'message_provider_mod_feedback_message_loggedin', 'email'),
'message_provider_mod_feedback_message_loggedoff', 'email'),
'message_provider_mod_forum_posts_loggedin', 'email'),
'message_provider_mod_forum_posts_loggedoff', 'email'),
'message_provider_mod_lesson_graded_essay_loggedin', 'email'),
'message_provider_mod_lesson_graded_essay_loggedoff', 'email'),
'message_provider_mod_quiz_submission_loggedin', 'email'),
'message_provider_mod_quiz_submission_loggedoff', 'email'),
'message_provider_mod_quiz_confirmation_loggedin', 'email'),
'message_provider_mod_quiz_confirmation_loggedoff', 'email'),
'auth_forcepasswordchange', '0'),
'email_bounce_count', '1'),
'email_send_count', '1');

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


-CREATE TABLE IF NOT EXISTS `mdl_user_private_key` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`script` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`value` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`userid` bigint(10) unsigned NOT NULL,
`instance` bigint(10) unsigned DEFAULT NULL,
`iprestriction` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`validuntil` bigint(10) unsigned DEFAULT NULL,
`timecreated` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_userprivkey_scrval_ix` (`script`,`value`),
KEY `mdl_userprivkey_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='access key
s used in cookieless scripts - rss, etc.' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_webdav_locks`
-CREATE TABLE IF NOT EXISTS `mdl_webdav_locks` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`expiry` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`recursive` tinyint(1) unsigned NOT NULL DEFAULT '0',
`exclusivelock` tinyint(1) unsigned NOT NULL DEFAULT '0',
`created` bigint(10) unsigned NOT NULL DEFAULT '0',
`modified` bigint(10) unsigned NOT NULL DEFAULT '0',
`owner` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_webdlock_tok_uix` (`token`),
KEY `mdl_webdlock_pat_ix` (`path`),
KEY `mdl_webdlock_exp_ix` (`expiry`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Resource l


ocks for WebDAV users' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_wiki`
-CREATE TABLE IF NOT EXISTS `mdl_wiki` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Wiki',
`intro` mediumtext COLLATE utf8_unicode_ci,
`introformat` smallint(4) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`firstpagetitle` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'First
Page',
`wikimode` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'collaborative
',
`defaultformat` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'creole',
`forceformat` tinyint(1) unsigned NOT NULL DEFAULT '1',
`editbegin` bigint(10) unsigned NOT NULL DEFAULT '0',
`editend` bigint(10) unsigned DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_wiki_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores Wik
i activity configuration' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_wiki_links`
-CREATE TABLE IF NOT EXISTS `mdl_wiki_links` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`subwikiid` bigint(10) unsigned NOT NULL DEFAULT '0',
`frompageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`topageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`tomissingpage` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_wikilink_fro_ix` (`frompageid`),
KEY `mdl_wikilink_sub_ix` (`subwikiid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Page wiki
links' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_wiki_locks`
-CREATE TABLE IF NOT EXISTS `mdl_wiki_locks` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`pageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`sectionname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`lockedat` bigint(10) unsigned NOT NULL DEFAULT '0',

PRIMARY KEY (`id`)


) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Manages pa
ge locks' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_wiki_pages`
-CREATE TABLE IF NOT EXISTS `mdl_wiki_pages` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`subwikiid` bigint(10) unsigned NOT NULL DEFAULT '0',
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'title',
`cachedcontent` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`timerendered` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pageviews` bigint(10) unsigned NOT NULL DEFAULT '0',
`readonly` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_wikipage_subtituse_uix` (`subwikiid`,`title`,`userid`),
KEY `mdl_wikipage_sub_ix` (`subwikiid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores wik
i pages' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_wiki_subwikis`
-CREATE TABLE IF NOT EXISTS `mdl_wiki_subwikis` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`wikiid` bigint(10) unsigned NOT NULL DEFAULT '0',
`groupid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_wikisubw_wikgrouse_uix` (`wikiid`,`groupid`,`userid`),
KEY `mdl_wikisubw_wik_ix` (`wikiid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores sub
wiki instances' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_wiki_synonyms`
-CREATE TABLE IF NOT EXISTS `mdl_wiki_synonyms` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`subwikiid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`pagesynonym` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Pagesynon
ym',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_wikisyno_pagpag_uix` (`pageid`,`pagesynonym`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores wik
i pages synonyms' AUTO_INCREMENT=1 ;

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


-CREATE TABLE IF NOT EXISTS `mdl_wiki_versions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`pageid` bigint(10) unsigned NOT NULL DEFAULT '0',
`content` mediumtext COLLATE utf8_unicode_ci NOT NULL,
`contentformat` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'creole',
`version` mediumint(5) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_wikivers_pag_ix` (`pageid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Stores wik
i page history' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop`
-CREATE TABLE IF NOT EXISTS `mdl_workshop` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`intro` longtext COLLATE utf8_unicode_ci,
`introformat` smallint(3) unsigned NOT NULL DEFAULT '0',
`instructauthors` longtext COLLATE utf8_unicode_ci,
`instructauthorsformat` smallint(3) unsigned NOT NULL DEFAULT '0',
`instructreviewers` longtext COLLATE utf8_unicode_ci,
`instructreviewersformat` smallint(3) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL,
`phase` smallint(3) unsigned DEFAULT '0',
`useexamples` tinyint(2) unsigned DEFAULT '0',
`usepeerassessment` tinyint(2) unsigned DEFAULT '0',
`useselfassessment` tinyint(2) unsigned DEFAULT '0',
`grade` decimal(10,5) unsigned DEFAULT '80.00000',
`gradinggrade` decimal(10,5) unsigned DEFAULT '20.00000',
`strategy` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`evaluation` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`gradedecimals` smallint(3) unsigned DEFAULT '0',
`nattachments` smallint(3) unsigned DEFAULT '0',
`latesubmissions` tinyint(2) unsigned DEFAULT '0',
`maxbytes` bigint(10) unsigned DEFAULT '100000',
`examplesmode` smallint(3) unsigned DEFAULT '0',
`submissionstart` bigint(10) unsigned DEFAULT '0',
`submissionend` bigint(10) unsigned DEFAULT '0',
`assessmentstart` bigint(10) unsigned DEFAULT '0',
`assessmentend` bigint(10) unsigned DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_work_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This table
keeps information about the module instances and ' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------

--- Table structure for table `mdl_workshopeval_best_settings`


-CREATE TABLE IF NOT EXISTS `mdl_workshopeval_best_settings` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`comparison` smallint(3) unsigned DEFAULT '5',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_workbestsett_wor_uix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Settings f
or the grading evaluation subplugin Comparison wit' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshopform_accumulative`
-CREATE TABLE IF NOT EXISTS `mdl_workshopform_accumulative` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`sort` bigint(10) unsigned DEFAULT '0',
`description` longtext COLLATE utf8_unicode_ci,
`descriptionformat` smallint(3) unsigned DEFAULT '0',
`grade` bigint(10) NOT NULL,
`weight` mediumint(5) DEFAULT '1',
PRIMARY KEY (`id`),
KEY `mdl_workaccu_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The assess
ment dimensions definitions of Accumulative gradin' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshopform_comments`
-CREATE TABLE IF NOT EXISTS `mdl_workshopform_comments` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`sort` bigint(10) unsigned DEFAULT '0',
`description` longtext COLLATE utf8_unicode_ci,
`descriptionformat` smallint(3) unsigned DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_workcomm_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The assess
ment dimensions definitions of Comments strategy f' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshopform_numerrors`
-CREATE TABLE IF NOT EXISTS `mdl_workshopform_numerrors` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`sort` bigint(10) unsigned DEFAULT '0',

`description` longtext COLLATE utf8_unicode_ci,


`descriptionformat` smallint(3) unsigned DEFAULT '0',
`descriptiontrust` bigint(10) unsigned DEFAULT NULL,
`grade0` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`grade1` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
`weight` mediumint(5) DEFAULT '1',
PRIMARY KEY (`id`),
KEY `mdl_worknume_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The assess
ment dimensions definitions of Number of errors gr' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshopform_numerrors_map`
-CREATE TABLE IF NOT EXISTS `mdl_workshopform_numerrors_map` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`nonegative` bigint(10) unsigned NOT NULL,
`grade` decimal(10,5) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_worknumemap_wornon_uix` (`workshopid`,`nonegative`),
KEY `mdl_worknumemap_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='This maps
the number of errors to a percentual grade for sub' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshopform_rubric`
-CREATE TABLE IF NOT EXISTS `mdl_workshopform_rubric` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`sort` bigint(10) unsigned DEFAULT '0',
`description` longtext COLLATE utf8_unicode_ci,
`descriptionformat` smallint(3) unsigned DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_workrubr_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The assess
ment dimensions definitions of Rubric grading stra' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshopform_rubric_config`
-CREATE TABLE IF NOT EXISTS `mdl_workshopform_rubric_config` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`layout` varchar(30) COLLATE utf8_unicode_ci DEFAULT 'list',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_workrubrconf_wor_uix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Configurat
ion table for the Rubric grading strategy' AUTO_INCREMENT=1 ;

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


-CREATE TABLE IF NOT EXISTS `mdl_workshopform_rubric_levels` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`dimensionid` bigint(10) unsigned NOT NULL,
`grade` decimal(10,5) unsigned NOT NULL,
`definition` longtext COLLATE utf8_unicode_ci,
`definitionformat` smallint(3) unsigned DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_workrubrleve_dim_ix` (`dimensionid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='The defini
tion of rubric rating scales' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_aggregations`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_aggregations` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`userid` bigint(10) unsigned NOT NULL,
`gradinggrade` decimal(10,5) unsigned DEFAULT NULL,
`timegraded` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_workaggr_woruse_uix` (`workshopid`,`userid`),
KEY `mdl_workaggr_wor_ix` (`workshopid`),
KEY `mdl_workaggr_use_ix` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Aggregated
grades for assessment are stored here. The aggreg' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_assessments`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_assessments` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`submissionid` bigint(10) unsigned NOT NULL,
`reviewerid` bigint(10) unsigned NOT NULL,
`weight` bigint(10) unsigned NOT NULL DEFAULT '1',
`timecreated` bigint(10) unsigned DEFAULT '0',
`timemodified` bigint(10) unsigned DEFAULT '0',
`grade` decimal(10,5) unsigned DEFAULT NULL,
`gradinggrade` decimal(10,5) unsigned DEFAULT NULL,
`gradinggradeover` decimal(10,5) unsigned DEFAULT NULL,
`gradinggradeoverby` bigint(10) unsigned DEFAULT NULL,
`feedbackauthor` longtext COLLATE utf8_unicode_ci,
`feedbackauthorformat` smallint(3) unsigned DEFAULT '0',
`feedbackreviewer` longtext COLLATE utf8_unicode_ci,
`feedbackreviewerformat` smallint(3) unsigned DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_workasse_sub_ix` (`submissionid`),
KEY `mdl_workasse_gra_ix` (`gradinggradeoverby`),

KEY `mdl_workasse_rev_ix` (`reviewerid`)


) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Info about
the made assessment and automatically calculated ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_assessments_old`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_assessments_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL DEFAULT '0',
`submissionid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`timegraded` bigint(10) unsigned NOT NULL DEFAULT '0',
`timeagreed` bigint(10) unsigned NOT NULL DEFAULT '0',
`grade` double NOT NULL DEFAULT '0',
`gradinggrade` smallint(3) NOT NULL DEFAULT '0',
`teachergraded` smallint(3) unsigned NOT NULL DEFAULT '0',
`mailed` smallint(3) unsigned NOT NULL DEFAULT '0',
`resubmission` smallint(3) unsigned NOT NULL DEFAULT '0',
`donotuse` smallint(3) unsigned NOT NULL DEFAULT '0',
`generalcomment` text COLLATE utf8_unicode_ci,
`teachercomment` text COLLATE utf8_unicode_ci,
`newplugin` varchar(28) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_workasseold_use_ix` (`userid`),
KEY `mdl_workasseold_mai_ix` (`mailed`),
KEY `mdl_workasseold_wor_ix` (`workshopid`),
KEY `mdl_workasseold_sub_ix` (`submissionid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Legacy wor
kshop_assessments table to be dropped later in Moo' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_comments_old`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_comments_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL DEFAULT '0',
`assessmentid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`mailed` tinyint(2) unsigned NOT NULL DEFAULT '0',
`comments` text COLLATE utf8_unicode_ci NOT NULL,
`newplugin` varchar(28) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_workcommold_use_ix` (`userid`),
KEY `mdl_workcommold_mai_ix` (`mailed`),
KEY `mdl_workcommold_wor_ix` (`workshopid`),
KEY `mdl_workcommold_ass_ix` (`assessmentid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Legacy wor
kshop_comments table to be dropped later in Moodle' AUTO_INCREMENT=1 ;

-- ---------------------------------------------------------- Table structure for table `mdl_workshop_elements_old`


-CREATE TABLE IF NOT EXISTS `mdl_workshop_elements_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL DEFAULT '0',
`elementno` smallint(3) unsigned NOT NULL DEFAULT '0',
`description` text COLLATE utf8_unicode_ci NOT NULL,
`scale` smallint(3) unsigned NOT NULL DEFAULT '0',
`maxscore` smallint(3) unsigned NOT NULL DEFAULT '1',
`weight` smallint(3) unsigned NOT NULL DEFAULT '11',
`stddev` double NOT NULL DEFAULT '0',
`totalassessments` bigint(10) NOT NULL DEFAULT '0',
`newplugin` varchar(28) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_workelemold_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Legacy wor
kshop_elements table to be dropped later in Moodle' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_grades`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_grades` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`assessmentid` bigint(10) unsigned NOT NULL,
`strategy` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`dimensionid` bigint(10) unsigned NOT NULL,
`grade` decimal(10,5) unsigned NOT NULL,
`peercomment` longtext COLLATE utf8_unicode_ci,
`peercommentformat` smallint(3) DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `mdl_workgrad_assstrdim_uix` (`assessmentid`,`strategy`,`dimensioni
d`),
KEY `mdl_workgrad_ass_ix` (`assessmentid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='How the re
viewers filled-up the grading forms, given grades ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_grades_old`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_grades_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL DEFAULT '0',
`assessmentid` bigint(10) unsigned NOT NULL DEFAULT '0',
`elementno` bigint(10) unsigned NOT NULL DEFAULT '0',
`feedback` text COLLATE utf8_unicode_ci NOT NULL,
`grade` smallint(3) NOT NULL DEFAULT '0',
`newplugin` varchar(28) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),

KEY `mdl_workgradold_wor_ix` (`workshopid`),


KEY `mdl_workgradold_ass_ix` (`assessmentid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Legacy wor
kshop_grades table to be dropped later in Moodle 2' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_old`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`course` bigint(10) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`description` text COLLATE utf8_unicode_ci NOT NULL,
`wtype` smallint(3) unsigned NOT NULL DEFAULT '0',
`nelements` smallint(3) unsigned NOT NULL DEFAULT '1',
`nattachments` smallint(3) unsigned NOT NULL DEFAULT '0',
`phase` tinyint(2) unsigned NOT NULL DEFAULT '0',
`format` tinyint(2) unsigned NOT NULL DEFAULT '0',
`gradingstrategy` tinyint(2) unsigned NOT NULL DEFAULT '1',
`resubmit` tinyint(2) unsigned NOT NULL DEFAULT '0',
`agreeassessments` tinyint(2) unsigned NOT NULL DEFAULT '0',
`hidegrades` tinyint(2) unsigned NOT NULL DEFAULT '0',
`anonymous` tinyint(2) unsigned NOT NULL DEFAULT '0',
`includeself` tinyint(2) unsigned NOT NULL DEFAULT '0',
`maxbytes` bigint(10) unsigned NOT NULL DEFAULT '100000',
`submissionstart` bigint(10) unsigned NOT NULL DEFAULT '0',
`assessmentstart` bigint(10) unsigned NOT NULL DEFAULT '0',
`submissionend` bigint(10) unsigned NOT NULL DEFAULT '0',
`assessmentend` bigint(10) unsigned NOT NULL DEFAULT '0',
`releasegrades` bigint(10) unsigned NOT NULL DEFAULT '0',
`grade` smallint(3) NOT NULL DEFAULT '0',
`gradinggrade` smallint(3) NOT NULL DEFAULT '0',
`ntassessments` smallint(3) unsigned NOT NULL DEFAULT '0',
`assessmentcomps` smallint(3) unsigned NOT NULL DEFAULT '2',
`nsassessments` smallint(3) unsigned NOT NULL DEFAULT '0',
`overallocation` smallint(3) unsigned NOT NULL DEFAULT '0',
`timemodified` bigint(10) unsigned NOT NULL DEFAULT '0',
`teacherweight` smallint(3) unsigned NOT NULL DEFAULT '1',
`showleaguetable` smallint(3) unsigned NOT NULL DEFAULT '0',
`usepassword` smallint(3) unsigned NOT NULL DEFAULT '0',
`password` varchar(32) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`newplugin` varchar(28) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_workold_cou_ix` (`course`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Legacy wor
kshop table to be dropped later in Moodle 2.x' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_rubrics_old`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_rubrics_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL DEFAULT '0',

`elementno` bigint(10) unsigned NOT NULL DEFAULT '0',


`rubricno` smallint(3) unsigned NOT NULL DEFAULT '0',
`description` text COLLATE utf8_unicode_ci NOT NULL,
`newplugin` varchar(28) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_workrubrold_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Legacy wor
kshop_rubrics table to be dropped later in Moodle ' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_stockcomments_old`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_stockcomments_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL DEFAULT '0',
`elementno` bigint(10) unsigned NOT NULL DEFAULT '0',
`comments` text COLLATE utf8_unicode_ci NOT NULL,
`newplugin` varchar(28) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_workstocold_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Legacy wor
kshop_stockcomments table to be dropped later in M' AUTO_INCREMENT=1 ;
-- ---------------------------------------------------------- Table structure for table `mdl_workshop_submissions`
-CREATE TABLE IF NOT EXISTS `mdl_workshop_submissions` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL,
`example` tinyint(2) unsigned DEFAULT '0',
`authorid` bigint(10) unsigned NOT NULL,
`timecreated` bigint(10) unsigned NOT NULL,
`timemodified` bigint(10) unsigned NOT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`content` longtext COLLATE utf8_unicode_ci,
`contentformat` smallint(3) unsigned NOT NULL DEFAULT '0',
`contenttrust` smallint(3) unsigned NOT NULL DEFAULT '0',
`attachment` tinyint(2) unsigned DEFAULT '0',
`grade` decimal(10,5) unsigned DEFAULT NULL,
`gradeover` decimal(10,5) unsigned DEFAULT NULL,
`gradeoverby` bigint(10) unsigned DEFAULT NULL,
`feedbackauthor` longtext COLLATE utf8_unicode_ci,
`feedbackauthorformat` smallint(3) unsigned DEFAULT '0',
`timegraded` bigint(10) unsigned DEFAULT NULL,
`published` tinyint(2) unsigned DEFAULT '0',
`late` tinyint(2) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `mdl_worksubm_wor_ix` (`workshopid`),
KEY `mdl_worksubm_gra_ix` (`gradeoverby`),
KEY `mdl_worksubm_aut_ix` (`authorid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Info about
the submission and the aggregation of the grade f' AUTO_INCREMENT=1 ;

-- ---------------------------------------------------------- Table structure for table `mdl_workshop_submissions_old`


-CREATE TABLE IF NOT EXISTS `mdl_workshop_submissions_old` (
`id` bigint(10) unsigned NOT NULL AUTO_INCREMENT,
`workshopid` bigint(10) unsigned NOT NULL DEFAULT '0',
`userid` bigint(10) unsigned NOT NULL DEFAULT '0',
`title` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`timecreated` bigint(10) unsigned NOT NULL DEFAULT '0',
`mailed` tinyint(2) unsigned NOT NULL DEFAULT '0',
`description` text COLLATE utf8_unicode_ci NOT NULL,
`gradinggrade` smallint(3) unsigned NOT NULL DEFAULT '0',
`finalgrade` smallint(3) unsigned NOT NULL DEFAULT '0',
`late` smallint(3) unsigned NOT NULL DEFAULT '0',
`nassessments` bigint(10) unsigned NOT NULL DEFAULT '0',
`newplugin` varchar(28) COLLATE utf8_unicode_ci DEFAULT NULL,
`newid` bigint(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `mdl_worksubmold_use_ix` (`userid`),
KEY `mdl_worksubmold_mai_ix` (`mailed`),
KEY `mdl_worksubmold_wor_ix` (`workshopid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Legacy wor
kshop_submissions table to be dropped later in Moo' AUTO_INCREMENT=1 ;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

Das könnte Ihnen auch gefallen