(mysql): SHOW TABLES  

(mysql): SHOW LOCAL VARIABLES LIKE 'character_set_database'  

(mysql): SET NAMES 'utf8'  

(mysql): SHOW LOCAL VARIABLES LIKE 'character_set_database'  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): SHOW TABLES  

(mysql): CREATE TABLE mdl_config ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(255) NOT NULL DEFAULT '', value TEXT NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_config COMMENT='Moodle configuration variables'  
Success

(mysql): CREATE UNIQUE INDEX mdl_conf_nam_uix ON mdl_config (name)  
Success

(mysql): CREATE TABLE mdl_config_plugins ( id BIGINT(10) unsigned NOT NULL auto_increment, plugin VARCHAR(100) NOT NULL DEFAULT 'core', name VARCHAR(100) NOT NULL DEFAULT '', value TEXT NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_config_plugins COMMENT='Moodle modules and plugins configuration variables'  
Success

(mysql): CREATE UNIQUE INDEX mdl_confplug_plunam_uix ON mdl_config_plugins (plugin, name)  
Success

(mysql): CREATE TABLE 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, password VARCHAR(50) NOT NULL DEFAULT '', fullname VARCHAR(254) NOT NULL DEFAULT '', shortname VARCHAR(100) NOT NULL DEFAULT '', idnumber VARCHAR(100) NOT NULL DEFAULT '', summary TEXT, format VARCHAR(10) NOT NULL DEFAULT 'topics', showgrades TINYINT(2) unsigned NOT NULL DEFAULT 1, modinfo LONGTEXT, newsitems MEDIUMINT(5) unsigned NOT NULL DEFAULT 1, teacher VARCHAR(100) NOT NULL DEFAULT 'Teacher', teachers VARCHAR(100) NOT NULL DEFAULT 'Teachers', student VARCHAR(100) NOT NULL DEFAULT 'Student', students VARCHAR(100) NOT NULL DEFAULT 'Students', guest TINYINT(2) unsigned NOT NULL DEFAULT 0, startdate BIGINT(10) unsigned NOT NULL DEFAULT 0, enrolperiod 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, showreports SMALLINT(4) unsigned NOT NULL DEFAULT 0, visible 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) NOT NULL DEFAULT '', theme VARCHAR(50) NOT NULL DEFAULT '', cost VARCHAR(10) NOT NULL DEFAULT '', currency VARCHAR(3) NOT NULL DEFAULT 'USD', timecreated BIGINT(10) unsigned NOT NULL DEFAULT 0, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, metacourse TINYINT(1) unsigned NOT NULL DEFAULT 0, requested TINYINT(1) unsigned NOT NULL DEFAULT 0, restrictmodules TINYINT(1) unsigned NOT NULL DEFAULT 0, expirynotify TINYINT(1) unsigned NOT NULL DEFAULT 0, expirythreshold BIGINT(10) unsigned NOT NULL DEFAULT 0, notifystudents TINYINT(1) unsigned NOT NULL DEFAULT 0, enrollable TINYINT(1) unsigned NOT NULL DEFAULT 1, enrolstartdate BIGINT(10) unsigned NOT NULL DEFAULT 0, enrolenddate BIGINT(10) unsigned NOT NULL DEFAULT 0, enrol VARCHAR(20) NOT NULL DEFAULT '', defaultrole BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_course COMMENT='Central course table'  
Success

(mysql): CREATE INDEX mdl_cour_cat_ix ON mdl_course (category)  
Success

(mysql): CREATE INDEX mdl_cour_idn_ix ON mdl_course (idnumber)  
Success

(mysql): CREATE INDEX mdl_cour_sho_ix ON mdl_course (shortname)  
Success

(mysql): CREATE TABLE mdl_course_categories ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(255) NOT NULL DEFAULT '', description TEXT, 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, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, depth BIGINT(10) unsigned NOT NULL DEFAULT 0, path VARCHAR(255) NOT NULL DEFAULT '', theme VARCHAR(50) DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_course_categories COMMENT='Course categories'  
Success

(mysql): CREATE INDEX mdl_courcate_par_ix ON mdl_course_categories (parent)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_course_display COMMENT='Stores info about how to display the course'  
Success

(mysql): CREATE INDEX mdl_courdisp_couuse_ix ON mdl_course_display (course, userid)  
Success

(mysql): CREATE TABLE mdl_course_meta ( id BIGINT(10) unsigned NOT NULL auto_increment, parent_course BIGINT(10) unsigned NOT NULL DEFAULT 0, child_course BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_course_meta COMMENT='to store meta-courses relations'  
Success

(mysql): CREATE INDEX mdl_courmeta_par_ix ON mdl_course_meta (parent_course)  
Success

(mysql): CREATE INDEX mdl_courmeta_chi_ix ON mdl_course_meta (child_course)  
Success

(mysql): CREATE TABLE 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) 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_course_modules COMMENT='course_modules table retrofitted from MySQL'  
Success

(mysql): CREATE INDEX mdl_courmodu_vis_ix ON mdl_course_modules (visible)  
Success

(mysql): CREATE INDEX mdl_courmodu_cou_ix ON mdl_course_modules (course)  
Success

(mysql): CREATE INDEX mdl_courmodu_mod_ix ON mdl_course_modules (module)  
Success

(mysql): CREATE INDEX mdl_courmodu_ins_ix ON mdl_course_modules (instance)  
Success

(mysql): CREATE INDEX mdl_courmodu_idncou_ix ON mdl_course_modules (idnumber, course)  
Success

(mysql): CREATE INDEX mdl_courmodu_gro_ix ON mdl_course_modules (groupingid)  
Success

(mysql): CREATE TABLE 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, summary TEXT, sequence TEXT, visible TINYINT(1) NOT NULL DEFAULT 1, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_course_sections COMMENT='to define the sections for each course'  
Success

(mysql): CREATE INDEX mdl_coursect_cousec_ix ON mdl_course_sections (course, section)  
Success

(mysql): CREATE TABLE mdl_course_request ( id BIGINT(10) unsigned NOT NULL auto_increment, fullname VARCHAR(254) NOT NULL DEFAULT '', shortname VARCHAR(15) NOT NULL DEFAULT '', summary TEXT NOT NULL, reason TEXT NOT NULL, requester BIGINT(10) unsigned NOT NULL DEFAULT 0, password VARCHAR(50) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_course_request COMMENT='course requests'  
Success

(mysql): CREATE INDEX mdl_courrequ_sho_ix ON mdl_course_request (shortname)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_course_allowed_modules COMMENT='allowed modules foreach course'  
Success

(mysql): CREATE INDEX mdl_courallomodu_cou_ix ON mdl_course_allowed_modules (course)  
Success

(mysql): CREATE INDEX mdl_courallomodu_mod_ix ON mdl_course_allowed_modules (module)  
Success

(mysql): CREATE TABLE mdl_event ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(255) NOT NULL DEFAULT '', description TEXT 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) NOT NULL DEFAULT '', instance BIGINT(10) unsigned NOT NULL DEFAULT 0, eventtype VARCHAR(20) 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) NOT NULL DEFAULT '', sequence BIGINT(10) unsigned NOT NULL DEFAULT 1, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_event COMMENT='For everything with a time associated to it'  
Success

(mysql): CREATE INDEX mdl_even_cou_ix ON mdl_event (courseid)  
Success

(mysql): CREATE INDEX mdl_even_use_ix ON mdl_event (userid)  
Success

(mysql): CREATE INDEX mdl_even_tim_ix ON mdl_event (timestart)  
Success

(mysql): CREATE INDEX mdl_even_tim2_ix ON mdl_event (timeduration)  
Success

(mysql): CREATE INDEX mdl_even_grocouvisuse_ix ON mdl_event (groupid, courseid, visible, userid)  
Success

(mysql): CREATE TABLE mdl_cache_filters ( id BIGINT(10) unsigned NOT NULL auto_increment, filter VARCHAR(32) NOT NULL DEFAULT '', version BIGINT(10) unsigned NOT NULL DEFAULT 0, md5key VARCHAR(32) NOT NULL DEFAULT '', rawtext TEXT NOT NULL, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_cache_filters COMMENT='For keeping information about cached data'  
Success

(mysql): CREATE INDEX mdl_cachfilt_filmd5_ix ON mdl_cache_filters (filter, md5key)  
Success

(mysql): CREATE TABLE mdl_cache_text ( id BIGINT(10) unsigned NOT NULL auto_increment, md5key VARCHAR(32) NOT NULL DEFAULT '', formattedtext LONGTEXT NOT NULL, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_cache_text COMMENT='For storing temporary copies of processed texts'  
Success

(mysql): CREATE INDEX mdl_cachtext_md5_ix ON mdl_cache_text (md5key)  
Success

(mysql): CREATE INDEX mdl_cachtext_tim_ix ON mdl_cache_text (timemodified)  
Success

(mysql): CREATE TABLE 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(15) NOT NULL DEFAULT '', course BIGINT(10) unsigned NOT NULL DEFAULT 0, module VARCHAR(20) NOT NULL DEFAULT '', cmid BIGINT(10) unsigned NOT NULL DEFAULT 0, action VARCHAR(40) NOT NULL DEFAULT '', url VARCHAR(100) NOT NULL DEFAULT '', info VARCHAR(255) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_log COMMENT='Every action is logged as far as possible'  
Success

(mysql): CREATE INDEX mdl_log_coumodact_ix ON mdl_log (course, module, action)  
Success

(mysql): CREATE INDEX mdl_log_tim_ix ON mdl_log (time)  
Success

(mysql): CREATE INDEX mdl_log_act_ix ON mdl_log (action)  
Success

(mysql): CREATE INDEX mdl_log_usecou_ix ON mdl_log (userid, course)  
Success

(mysql): CREATE INDEX mdl_log_cmi_ix ON mdl_log (cmid)  
Success

(mysql): CREATE TABLE mdl_log_display ( id BIGINT(10) unsigned NOT NULL auto_increment, module VARCHAR(20) NOT NULL DEFAULT '', action VARCHAR(40) NOT NULL DEFAULT '', mtable VARCHAR(30) NOT NULL DEFAULT '', field VARCHAR(200) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_log_display COMMENT='For a particular module/action, specifies a moodle table/fie'  
Success

(mysql): CREATE UNIQUE INDEX mdl_logdisp_modact_uix ON mdl_log_display (module, action)  
Success

(mysql): CREATE TABLE 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, message TEXT NOT NULL, format SMALLINT(4) unsigned NOT NULL DEFAULT 0, timecreated BIGINT(10) NOT NULL DEFAULT 0, messagetype VARCHAR(50) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_message COMMENT='Stores all unread messages'  
Success

(mysql): CREATE INDEX mdl_mess_use_ix ON mdl_message (useridfrom)  
Success

(mysql): CREATE INDEX mdl_mess_use2_ix ON mdl_message (useridto)  
Success

(mysql): CREATE TABLE 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, message TEXT NOT NULL, format SMALLINT(4) unsigned NOT NULL DEFAULT 0, timecreated BIGINT(10) NOT NULL DEFAULT 0, timeread BIGINT(10) NOT NULL DEFAULT 0, messagetype VARCHAR(50) NOT NULL DEFAULT '', mailed TINYINT(1) NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_message_read COMMENT='Stores all messages that have been read'  
Success

(mysql): CREATE INDEX mdl_messread_use_ix ON mdl_message_read (useridfrom)  
Success

(mysql): CREATE INDEX mdl_messread_use2_ix ON mdl_message_read (useridto)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_message_contacts COMMENT='Maintains lists of relationships between users'  
Success

(mysql): CREATE UNIQUE INDEX mdl_messcont_usecon_uix ON mdl_message_contacts (userid, contactid)  
Success

(mysql): CREATE TABLE mdl_modules ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(20) 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) NOT NULL DEFAULT '', visible TINYINT(1) NOT NULL DEFAULT 1, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_modules COMMENT='modules available in the site'  
Success

(mysql): CREATE INDEX mdl_modu_nam_ix ON mdl_modules (name)  
Success

(mysql): CREATE TABLE mdl_sessions2 ( sesskey VARCHAR(64) NOT NULL DEFAULT '', expiry DATETIME NOT NULL, expireref VARCHAR(250) DEFAULT '', created DATETIME NOT NULL, modified DATETIME NOT NULL, sessdata LONGTEXT, CONSTRAINT PRIMARY KEY (sesskey) )  
Success

(mysql): ALTER TABLE mdl_sessions2 COMMENT='Optional database session storage in new format, not used by'  
Success

(mysql): CREATE INDEX mdl_sess_exp_ix ON mdl_sessions2 (expiry)  
Success

(mysql): CREATE INDEX mdl_sess_exp2_ix ON mdl_sessions2 (expireref)  
Success

(mysql): CREATE TABLE adodb_logsql ( id BIGINT(10) unsigned NOT NULL auto_increment, created DATETIME NOT NULL, sql0 VARCHAR(250) NOT NULL DEFAULT '', sql1 TEXT, params TEXT, tracer TEXT, timer NUMERIC(16,6) NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE adodb_logsql COMMENT='to save some logs from ADOdb'  
Success

(mysql): CREATE TABLE mdl_timezone ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(100) NOT NULL DEFAULT '', year BIGINT(11) NOT NULL DEFAULT 0, tzrule VARCHAR(20) 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) 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) NOT NULL DEFAULT '00:00', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_timezone COMMENT='Rules for calculating local wall clock time for users'  
Success

(mysql): CREATE TABLE mdl_user ( id BIGINT(10) unsigned NOT NULL auto_increment, auth VARCHAR(20) NOT NULL DEFAULT 'manual', confirmed TINYINT(1) NOT NULL DEFAULT 0, policyagreed TINYINT(1) NOT NULL DEFAULT 0, deleted TINYINT(1) NOT NULL DEFAULT 0, mnethostid BIGINT(10) unsigned NOT NULL DEFAULT 0, username VARCHAR(100) NOT NULL DEFAULT '', password VARCHAR(32) NOT NULL DEFAULT '', idnumber VARCHAR(255) NOT NULL DEFAULT '', firstname VARCHAR(100) NOT NULL DEFAULT '', lastname VARCHAR(100) NOT NULL DEFAULT '', email VARCHAR(100) NOT NULL DEFAULT '', emailstop TINYINT(1) unsigned NOT NULL DEFAULT 0, icq VARCHAR(15) NOT NULL DEFAULT '', skype VARCHAR(50) NOT NULL DEFAULT '', yahoo VARCHAR(50) NOT NULL DEFAULT '', aim VARCHAR(50) NOT NULL DEFAULT '', msn VARCHAR(50) NOT NULL DEFAULT '', phone1 VARCHAR(20) NOT NULL DEFAULT '', phone2 VARCHAR(20) NOT NULL DEFAULT '', institution VARCHAR(40) NOT NULL DEFAULT '', department VARCHAR(30) NOT NULL DEFAULT '', address VARCHAR(70) NOT NULL DEFAULT '', city VARCHAR(20) NOT NULL DEFAULT '', country VARCHAR(2) NOT NULL DEFAULT '', lang VARCHAR(30) NOT NULL DEFAULT 'en_utf8', theme VARCHAR(50) NOT NULL DEFAULT '', timezone VARCHAR(100) 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(15) NOT NULL DEFAULT '', secret VARCHAR(15) NOT NULL DEFAULT '', picture TINYINT(1) NOT NULL DEFAULT 0, url VARCHAR(255) NOT NULL DEFAULT '', description TEXT, 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, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, trustbitmask BIGINT(10) unsigned NOT NULL DEFAULT 0, imagealt VARCHAR(255) DEFAULT NULL, screenreader TINYINT(1) NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_user COMMENT='One record for each person'  
Success

(mysql): CREATE UNIQUE INDEX mdl_user_mneuse_uix ON mdl_user (mnethostid, username)  
Success

(mysql): CREATE INDEX mdl_user_del_ix ON mdl_user (deleted)  
Success

(mysql): CREATE INDEX mdl_user_con_ix ON mdl_user (confirmed)  
Success

(mysql): CREATE INDEX mdl_user_fir_ix ON mdl_user (firstname)  
Success

(mysql): CREATE INDEX mdl_user_las_ix ON mdl_user (lastname)  
Success

(mysql): CREATE INDEX mdl_user_cit_ix ON mdl_user (city)  
Success

(mysql): CREATE INDEX mdl_user_cou_ix ON mdl_user (country)  
Success

(mysql): CREATE INDEX mdl_user_las2_ix ON mdl_user (lastaccess)  
Success

(mysql): CREATE INDEX mdl_user_ema_ix ON mdl_user (email)  
Success

(mysql): CREATE INDEX mdl_user_aut_ix ON mdl_user (auth)  
Success

(mysql): CREATE INDEX mdl_user_idn_ix ON mdl_user (idnumber)  
Success

(mysql): CREATE TABLE mdl_user_preferences ( id BIGINT(10) unsigned NOT NULL auto_increment, userid BIGINT(10) unsigned NOT NULL DEFAULT 0, name VARCHAR(50) NOT NULL DEFAULT '', value VARCHAR(255) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_user_preferences COMMENT='Allows modules to store arbitrary user preferences'  
Success

(mysql): CREATE UNIQUE INDEX mdl_userpref_usenam_uix ON mdl_user_preferences (userid, name)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_user_lastaccess COMMENT='To keep track of course page access times, used in online pa'  
Success

(mysql): CREATE UNIQUE INDEX mdl_userlast_usecou_uix ON mdl_user_lastaccess (userid, courseid)  
Success

(mysql): CREATE INDEX mdl_userlast_use_ix ON mdl_user_lastaccess (userid)  
Success

(mysql): CREATE INDEX mdl_userlast_cou_ix ON mdl_user_lastaccess (courseid)  
Success

(mysql): CREATE TABLE 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) NOT NULL DEFAULT '', scale TEXT NOT NULL, description TEXT NOT NULL, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_scale COMMENT='Defines grading scales'  
Success

(mysql): CREATE INDEX mdl_scal_cou_ix ON mdl_scale (courseid)  
Success

(mysql): CREATE TABLE 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) 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) NOT NULL DEFAULT '', scale TEXT NOT NULL, description TEXT NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_scale_history COMMENT='History table'  
Success

(mysql): CREATE INDEX mdl_scalhist_act_ix ON mdl_scale_history (action)  
Success

(mysql): CREATE INDEX mdl_scalhist_old_ix ON mdl_scale_history (oldid)  
Success

(mysql): CREATE INDEX mdl_scalhist_cou_ix ON mdl_scale_history (courseid)  
Success

(mysql): CREATE INDEX mdl_scalhist_log_ix ON mdl_scale_history (loggeduser)  
Success

(mysql): CREATE TABLE 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 enum('enrolments', 'activity', 'logins') NOT NULL DEFAULT 'activity', stat1 BIGINT(10) unsigned NOT NULL DEFAULT 0, stat2 BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_stats_daily COMMENT='to accumulate daily stats'  
Success

(mysql): CREATE INDEX mdl_statdail_cou_ix ON mdl_stats_daily (courseid)  
Success

(mysql): CREATE INDEX mdl_statdail_tim_ix ON mdl_stats_daily (timeend)  
Success

(mysql): CREATE INDEX mdl_statdail_rol_ix ON mdl_stats_daily (roleid)  
Success

(mysql): CREATE TABLE 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 enum('enrolments', 'activity', 'logins') NOT NULL DEFAULT 'activity', stat1 BIGINT(10) unsigned NOT NULL DEFAULT 0, stat2 BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_stats_weekly COMMENT='To accumulate weekly stats'  
Success

(mysql): CREATE INDEX mdl_statweek_cou_ix ON mdl_stats_weekly (courseid)  
Success

(mysql): CREATE INDEX mdl_statweek_tim_ix ON mdl_stats_weekly (timeend)  
Success

(mysql): CREATE INDEX mdl_statweek_rol_ix ON mdl_stats_weekly (roleid)  
Success

(mysql): CREATE TABLE 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 enum('enrolments', 'activity', 'logins') NOT NULL DEFAULT 'activity', stat1 BIGINT(10) unsigned NOT NULL DEFAULT 0, stat2 BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_stats_monthly COMMENT='To accumulate monthly stats'  
Success

(mysql): CREATE INDEX mdl_statmont_cou_ix ON mdl_stats_monthly (courseid)  
Success

(mysql): CREATE INDEX mdl_statmont_tim_ix ON mdl_stats_monthly (timeend)  
Success

(mysql): CREATE INDEX mdl_statmont_rol_ix ON mdl_stats_monthly (roleid)  
Success

(mysql): CREATE TABLE 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) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_stats_user_daily COMMENT='To accumulate daily stats per course/user'  
Success

(mysql): CREATE INDEX mdl_statuserdail_cou_ix ON mdl_stats_user_daily (courseid)  
Success

(mysql): CREATE INDEX mdl_statuserdail_use_ix ON mdl_stats_user_daily (userid)  
Success

(mysql): CREATE INDEX mdl_statuserdail_rol_ix ON mdl_stats_user_daily (roleid)  
Success

(mysql): CREATE INDEX mdl_statuserdail_tim_ix ON mdl_stats_user_daily (timeend)  
Success

(mysql): CREATE TABLE 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) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_stats_user_weekly COMMENT='To accumulate weekly stats per course/user'  
Success

(mysql): CREATE INDEX mdl_statuserweek_cou_ix ON mdl_stats_user_weekly (courseid)  
Success

(mysql): CREATE INDEX mdl_statuserweek_use_ix ON mdl_stats_user_weekly (userid)  
Success

(mysql): CREATE INDEX mdl_statuserweek_rol_ix ON mdl_stats_user_weekly (roleid)  
Success

(mysql): CREATE INDEX mdl_statuserweek_tim_ix ON mdl_stats_user_weekly (timeend)  
Success

(mysql): CREATE TABLE 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) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_stats_user_monthly COMMENT='To accumulate monthly stats per course/user'  
Success

(mysql): CREATE INDEX mdl_statusermont_cou_ix ON mdl_stats_user_monthly (courseid)  
Success

(mysql): CREATE INDEX mdl_statusermont_use_ix ON mdl_stats_user_monthly (userid)  
Success

(mysql): CREATE INDEX mdl_statusermont_rol_ix ON mdl_stats_user_monthly (roleid)  
Success

(mysql): CREATE INDEX mdl_statusermont_tim_ix ON mdl_stats_user_monthly (timeend)  
Success

(mysql): CREATE TABLE mdl_post ( id BIGINT(10) unsigned NOT NULL auto_increment, module VARCHAR(20) 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) NOT NULL DEFAULT '', summary LONGTEXT, content LONGTEXT, uniquehash VARCHAR(128) NOT NULL DEFAULT '', rating BIGINT(10) unsigned NOT NULL DEFAULT 0, format BIGINT(10) unsigned NOT NULL DEFAULT 0, attachment VARCHAR(100) DEFAULT NULL, publishstate enum('draft', 'site', 'public') 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_post COMMENT='Generic post table to hold data blog entries etc in differen'  
Success

(mysql): CREATE UNIQUE INDEX mdl_post_iduse_uix ON mdl_post (id, userid)  
Success

(mysql): CREATE INDEX mdl_post_las_ix ON mdl_post (lastmodified)  
Success

(mysql): CREATE INDEX mdl_post_mod_ix ON mdl_post (module)  
Success

(mysql): CREATE INDEX mdl_post_sub_ix ON mdl_post (subject)  
Success

(mysql): CREATE INDEX mdl_post_use_ix ON mdl_post (usermodified)  
Success

(mysql): CREATE TABLE mdl_role ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(255) NOT NULL DEFAULT '', shortname VARCHAR(100) NOT NULL DEFAULT '', description TEXT NOT NULL, sortorder BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_role COMMENT='moodle roles'  
Success

(mysql): CREATE UNIQUE INDEX mdl_role_sor_uix ON mdl_role (sortorder)  
Success

(mysql): CREATE TABLE 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) DEFAULT NULL, depth TINYINT(2) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_context COMMENT='one of these must be set'  
Success

(mysql): CREATE UNIQUE INDEX mdl_cont_conins_uix ON mdl_context (contextlevel, instanceid)  
Success

(mysql): CREATE INDEX mdl_cont_ins_ix ON mdl_context (instanceid)  
Success

(mysql): CREATE INDEX mdl_cont_pat_ix ON mdl_context (path)  
Success

(mysql): CREATE TABLE mdl_context_temp ( id BIGINT(10) unsigned NOT NULL, path VARCHAR(255) NOT NULL DEFAULT '', depth TINYINT(2) unsigned NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_context_temp COMMENT='Used by build_context_path() in upgrade and cron to keep con'  
Success

(mysql): CREATE TABLE mdl_capabilities ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(255) NOT NULL DEFAULT '', captype VARCHAR(50) NOT NULL DEFAULT '', contextlevel BIGINT(10) unsigned NOT NULL DEFAULT 0, component VARCHAR(100) NOT NULL DEFAULT '', riskbitmask BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_capabilities COMMENT='this defines all capabilities'  
Success

(mysql): CREATE UNIQUE INDEX mdl_capa_nam_uix ON mdl_capabilities (name)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_role_allow_assign COMMENT='this defines what role can assign what role'  
Success

(mysql): CREATE UNIQUE INDEX mdl_rolealloassi_rolall_uix ON mdl_role_allow_assign (roleid, allowassign)  
Success

(mysql): CREATE INDEX mdl_rolealloassi_rol_ix ON mdl_role_allow_assign (roleid)  
Success

(mysql): CREATE INDEX mdl_rolealloassi_all_ix ON mdl_role_allow_assign (allowassign)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_role_allow_override COMMENT='this defines what role can override what role'  
Success

(mysql): CREATE UNIQUE INDEX mdl_rolealloover_rolall_uix ON mdl_role_allow_override (roleid, allowoverride)  
Success

(mysql): CREATE INDEX mdl_rolealloover_rol_ix ON mdl_role_allow_override (roleid)  
Success

(mysql): CREATE INDEX mdl_rolealloover_all_ix ON mdl_role_allow_override (allowoverride)  
Success

(mysql): CREATE TABLE 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, hidden TINYINT(1) unsigned NOT NULL DEFAULT 0, timestart BIGINT(10) unsigned NOT NULL DEFAULT 0, timeend BIGINT(10) unsigned NOT NULL DEFAULT 0, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, modifierid BIGINT(10) unsigned NOT NULL DEFAULT 0, enrol VARCHAR(20) NOT NULL DEFAULT '', sortorder BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_role_assignments COMMENT='assigning roles to different context'  
Success

(mysql): CREATE UNIQUE INDEX mdl_roleassi_conroluse_uix ON mdl_role_assignments (contextid, roleid, userid)  
Success

(mysql): CREATE INDEX mdl_roleassi_sor_ix ON mdl_role_assignments (sortorder)  
Success

(mysql): CREATE INDEX mdl_roleassi_rol_ix ON mdl_role_assignments (roleid)  
Success

(mysql): CREATE INDEX mdl_roleassi_con_ix ON mdl_role_assignments (contextid)  
Success

(mysql): CREATE INDEX mdl_roleassi_use_ix ON mdl_role_assignments (userid)  
Success

(mysql): CREATE TABLE 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) 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_role_capabilities COMMENT='permission has to be signed, overriding a capability for a p'  
Success

(mysql): CREATE UNIQUE INDEX mdl_rolecapa_rolconcap_uix ON mdl_role_capabilities (roleid, contextid, capability)  
Success

(mysql): CREATE INDEX mdl_rolecapa_rol_ix ON mdl_role_capabilities (roleid)  
Success

(mysql): CREATE INDEX mdl_rolecapa_con_ix ON mdl_role_capabilities (contextid)  
Success

(mysql): CREATE INDEX mdl_rolecapa_mod_ix ON mdl_role_capabilities (modifierid)  
Success

(mysql): CREATE INDEX mdl_rolecapa_cap_ix ON mdl_role_capabilities (capability)  
Success

(mysql): CREATE TABLE 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) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_role_names COMMENT='role names in native strings'  
Success

(mysql): CREATE UNIQUE INDEX mdl_rolename_rolcon_uix ON mdl_role_names (roleid, contextid)  
Success

(mysql): CREATE INDEX mdl_rolename_rol_ix ON mdl_role_names (roleid)  
Success

(mysql): CREATE INDEX mdl_rolename_con_ix ON mdl_role_names (contextid)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_role_sortorder COMMENT='sort order of course managers in a course'  
Success

(mysql): CREATE UNIQUE INDEX mdl_rolesort_userolcon_uix ON mdl_role_sortorder (userid, roleid, contextid)  
Success

(mysql): CREATE INDEX mdl_rolesort_use_ix ON mdl_role_sortorder (userid)  
Success

(mysql): CREATE INDEX mdl_rolesort_rol_ix ON mdl_role_sortorder (roleid)  
Success

(mysql): CREATE INDEX mdl_rolesort_con_ix ON mdl_role_sortorder (contextid)  
Success

(mysql): CREATE TABLE mdl_user_info_field ( id BIGINT(10) unsigned NOT NULL auto_increment, shortname VARCHAR(255) NOT NULL DEFAULT 'shortname', name LONGTEXT NOT NULL, datatype VARCHAR(255) NOT NULL DEFAULT '', description LONGTEXT, 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, param1 LONGTEXT, param2 LONGTEXT, param3 LONGTEXT, param4 LONGTEXT, param5 LONGTEXT, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_user_info_field COMMENT='Customisable user profile fields'  
Success

(mysql): CREATE TABLE mdl_user_info_category ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(255) NOT NULL DEFAULT '', sortorder BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_user_info_category COMMENT='Customisable fields categories'  
Success

(mysql): CREATE TABLE 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 NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_user_info_data COMMENT='Data for the customisable user fields'  
Success

(mysql): CREATE TABLE mdl_mnet_enrol_course ( id BIGINT(10) unsigned NOT NULL auto_increment, hostid BIGINT(10) unsigned NOT NULL DEFAULT 0, remoteid BIGINT(10) unsigned NOT NULL DEFAULT 0, cat_id BIGINT(10) unsigned NOT NULL DEFAULT 0, cat_name VARCHAR(255) NOT NULL DEFAULT '', cat_description MEDIUMTEXT NOT NULL, sortorder BIGINT(10) unsigned NOT NULL DEFAULT 0, fullname VARCHAR(254) NOT NULL DEFAULT '', shortname VARCHAR(15) NOT NULL DEFAULT '', idnumber VARCHAR(100) NOT NULL DEFAULT '', summary MEDIUMTEXT NOT NULL, startdate BIGINT(10) unsigned NOT NULL DEFAULT 0, cost VARCHAR(10) NOT NULL DEFAULT '', currency VARCHAR(3) NOT NULL DEFAULT '', defaultroleid SMALLINT(4) unsigned NOT NULL DEFAULT 0, defaultrolename VARCHAR(255) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_enrol_course COMMENT='Information about courses on remote hosts'  
Success

(mysql): CREATE UNIQUE INDEX mdl_mnetenrocour_hosrem_uix ON mdl_mnet_enrol_course (hostid, remoteid)  
Success

(mysql): CREATE TABLE mdl_mnet_enrol_assignments ( id BIGINT(10) unsigned NOT NULL auto_increment, userid BIGINT(10) unsigned NOT NULL DEFAULT 0, hostid BIGINT(10) unsigned NOT NULL DEFAULT 0, courseid BIGINT(10) unsigned NOT NULL DEFAULT 0, rolename VARCHAR(255) NOT NULL DEFAULT '', enroltime BIGINT(10) unsigned NOT NULL DEFAULT 0, enroltype VARCHAR(20) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_enrol_assignments COMMENT='Information about enrolments on courses on remote hosts'  
Success

(mysql): CREATE INDEX mdl_mnetenroassi_hoscou_ix ON mdl_mnet_enrol_assignments (hostid, courseid)  
Success

(mysql): CREATE INDEX mdl_mnetenroassi_use_ix ON mdl_mnet_enrol_assignments (userid)  
Success

(mysql): CREATE TABLE mdl_mnet_application ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(50) NOT NULL DEFAULT '', display_name VARCHAR(50) NOT NULL DEFAULT '', xmlrpc_server_url VARCHAR(255) NOT NULL DEFAULT '', sso_land_url VARCHAR(255) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_application COMMENT='Information about applications on remote hosts'  
Success

(mysql): CREATE TABLE mdl_mnet_host ( id BIGINT(10) unsigned NOT NULL auto_increment, deleted TINYINT(1) unsigned NOT NULL DEFAULT 0, wwwroot VARCHAR(255) NOT NULL DEFAULT '', ip_address VARCHAR(39) NOT NULL DEFAULT '', name VARCHAR(80) NOT NULL DEFAULT '', public_key MEDIUMTEXT 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) DEFAULT NULL, applicationid BIGINT(10) unsigned NOT NULL DEFAULT 1, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_host COMMENT='Information about the local and remote hosts for RPC'  
Success

(mysql): CREATE INDEX mdl_mnethost_app_ix ON mdl_mnet_host (applicationid)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_host2service COMMENT='Information about the services for a given host'  
Success

(mysql): CREATE UNIQUE INDEX mdl_mnethost_hosser_uix ON mdl_mnet_host2service (hostid, serviceid)  
Success

(mysql): CREATE TABLE 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(15) NOT NULL DEFAULT '', course BIGINT(10) unsigned NOT NULL DEFAULT 0, coursename VARCHAR(40) NOT NULL DEFAULT '', module VARCHAR(20) NOT NULL DEFAULT '', cmid BIGINT(10) unsigned NOT NULL DEFAULT 0, action VARCHAR(40) NOT NULL DEFAULT '', url VARCHAR(100) NOT NULL DEFAULT '', info VARCHAR(255) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_log COMMENT='Store session data from users migrating to other sites'  
Success

(mysql): CREATE INDEX mdl_mnetlog_hosusecou_ix ON mdl_mnet_log (hostid, userid, course)  
Success

(mysql): CREATE TABLE mdl_mnet_rpc ( id BIGINT(10) unsigned NOT NULL auto_increment, function_name VARCHAR(40) NOT NULL DEFAULT '', xmlrpc_path VARCHAR(80) NOT NULL DEFAULT '', parent_type VARCHAR(6) NOT NULL DEFAULT '', parent VARCHAR(20) NOT NULL DEFAULT '', enabled TINYINT(1) unsigned NOT NULL DEFAULT 0, help MEDIUMTEXT NOT NULL, profile MEDIUMTEXT NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_rpc COMMENT='Functions or methods that we may publish or subscribe to'  
Success

(mysql): CREATE INDEX mdl_mnetrpc_enaxml_ix ON mdl_mnet_rpc (enabled, xmlrpc_path)  
Success

(mysql): CREATE TABLE mdl_mnet_service ( id BIGINT(10) unsigned NOT NULL auto_increment, name VARCHAR(40) NOT NULL DEFAULT '', description VARCHAR(40) NOT NULL DEFAULT '', apiversion VARCHAR(10) NOT NULL DEFAULT '', offer TINYINT(1) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_service COMMENT='A service is a group of functions'  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_service2rpc COMMENT='Group functions or methods under a service'  
Success

(mysql): CREATE UNIQUE INDEX mdl_mnetserv_rpcser_uix ON mdl_mnet_service2rpc (rpcid, serviceid)  
Success

(mysql): CREATE TABLE mdl_mnet_session ( id BIGINT(10) unsigned NOT NULL auto_increment, userid BIGINT(10) unsigned NOT NULL DEFAULT 0, username VARCHAR(100) NOT NULL DEFAULT '', token VARCHAR(40) NOT NULL DEFAULT '', mnethostid BIGINT(10) unsigned NOT NULL DEFAULT 0, useragent VARCHAR(40) NOT NULL DEFAULT '', confirm_timeout BIGINT(10) unsigned NOT NULL DEFAULT 0, session_id VARCHAR(40) NOT NULL DEFAULT '', expires BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_session COMMENT='Store session data from users migrating to other sites'  
Success

(mysql): CREATE UNIQUE INDEX mdl_mnetsess_tok_uix ON mdl_mnet_session (token)  
Success

(mysql): CREATE TABLE mdl_mnet_sso_access_control ( id BIGINT(10) unsigned NOT NULL auto_increment, username VARCHAR(100) NOT NULL DEFAULT '', mnet_host_id BIGINT(10) unsigned NOT NULL DEFAULT 0, accessctrl VARCHAR(20) NOT NULL DEFAULT 'allow', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_mnet_sso_access_control COMMENT='Users by host permitted (or not) to login from a remote prov'  
Success

(mysql): CREATE UNIQUE INDEX mdl_mnetssoaccecont_mneuse_uix ON mdl_mnet_sso_access_control (mnet_host_id, username)  
Success

(mysql): CREATE TABLE mdl_events_queue ( id BIGINT(10) unsigned NOT NULL auto_increment, eventdata LONGTEXT NOT NULL, stackdump MEDIUMTEXT, userid BIGINT(10) unsigned DEFAULT NULL, timecreated BIGINT(10) unsigned NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_events_queue COMMENT='This table is for storing queued events. It stores only one '  
Success

(mysql): CREATE INDEX mdl_evenqueu_use_ix ON mdl_events_queue (userid)  
Success

(mysql): CREATE TABLE mdl_events_handlers ( id BIGINT(10) unsigned NOT NULL auto_increment, eventname VARCHAR(166) NOT NULL DEFAULT '', handlermodule VARCHAR(166) NOT NULL DEFAULT '', handlerfile VARCHAR(255) NOT NULL DEFAULT '', handlerfunction MEDIUMTEXT, schedule VARCHAR(255) DEFAULT NULL, status BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_events_handlers COMMENT='This table is for storing which components requests what typ'  
Success

(mysql): CREATE UNIQUE INDEX mdl_evenhand_evehan_uix ON mdl_events_handlers (eventname, handlermodule)  
Success

(mysql): CREATE TABLE 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, timemodified BIGINT(10) unsigned NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_events_queue_handlers COMMENT='This is the list of queued handlers for processing. The even'  
Success

(mysql): CREATE INDEX mdl_evenqueuhand_que_ix ON mdl_events_queue_handlers (queuedeventid)  
Success

(mysql): CREATE INDEX mdl_evenqueuhand_han_ix ON mdl_events_queue_handlers (handlerid)  
Success

(mysql): CREATE TABLE mdl_grade_outcomes ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned DEFAULT NULL, shortname VARCHAR(255) NOT NULL DEFAULT '', fullname TEXT NOT NULL, scaleid BIGINT(10) unsigned DEFAULT NULL, description TEXT, timecreated BIGINT(10) unsigned DEFAULT NULL, timemodified BIGINT(10) unsigned DEFAULT NULL, usermodified BIGINT(10) unsigned DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_outcomes COMMENT='This table describes the outcomes used in the system. An out'  
Success

(mysql): CREATE INDEX mdl_gradoutc_cou_ix ON mdl_grade_outcomes (courseid)  
Success

(mysql): CREATE INDEX mdl_gradoutc_sca_ix ON mdl_grade_outcomes (scaleid)  
Success

(mysql): CREATE INDEX mdl_gradoutc_use_ix ON mdl_grade_outcomes (usermodified)  
Success

(mysql): CREATE UNIQUE INDEX mdl_gradoutc_cousho_uix ON mdl_grade_outcomes (courseid, shortname)  
Success

(mysql): CREATE TABLE mdl_grade_outcomes_courses ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT NULL, outcomeid BIGINT(10) unsigned NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_outcomes_courses COMMENT='stores what outcomes are used in what courses.'  
Success

(mysql): CREATE INDEX mdl_gradoutccour_cou_ix ON mdl_grade_outcomes_courses (courseid)  
Success

(mysql): CREATE INDEX mdl_gradoutccour_out_ix ON mdl_grade_outcomes_courses (outcomeid)  
Success

(mysql): CREATE UNIQUE INDEX mdl_gradoutccour_couout_uix ON mdl_grade_outcomes_courses (courseid, outcomeid)  
Success

(mysql): CREATE TABLE 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) DEFAULT NULL, fullname VARCHAR(255) 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_categories COMMENT='This table keeps information about categories, used for grou'  
Success

(mysql): CREATE INDEX mdl_gradcate_cou_ix ON mdl_grade_categories (courseid)  
Success

(mysql): CREATE INDEX mdl_gradcate_par_ix ON mdl_grade_categories (parent)  
Success

(mysql): CREATE TABLE 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) DEFAULT NULL, itemtype VARCHAR(30) NOT NULL DEFAULT '', itemmodule VARCHAR(30) DEFAULT NULL, iteminstance BIGINT(10) unsigned DEFAULT NULL, itemnumber BIGINT(10) unsigned DEFAULT NULL, iteminfo MEDIUMTEXT, idnumber VARCHAR(255) DEFAULT NULL, calculation MEDIUMTEXT, gradetype SMALLINT(4) NOT NULL DEFAULT 1, grademax NUMERIC(10,5) NOT NULL DEFAULT 100, grademin NUMERIC(10,5) NOT NULL DEFAULT 0, scaleid BIGINT(10) unsigned DEFAULT NULL, outcomeid BIGINT(10) unsigned DEFAULT NULL, gradepass NUMERIC(10,5) NOT NULL DEFAULT 0, multfactor NUMERIC(10,5) NOT NULL DEFAULT 1.0, plusfactor NUMERIC(10,5) NOT NULL DEFAULT 0, aggregationcoef NUMERIC(10,5) NOT NULL DEFAULT 0, 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_items COMMENT='This table keeps information about gradeable items (ie colum'  
Success

(mysql): CREATE INDEX mdl_graditem_locloc_ix ON mdl_grade_items (locked, locktime)  
Success

(mysql): CREATE INDEX mdl_graditem_itenee_ix ON mdl_grade_items (itemtype, needsupdate)  
Success

(mysql): CREATE INDEX mdl_graditem_gra_ix ON mdl_grade_items (gradetype)  
Success

(mysql): CREATE INDEX mdl_graditem_idncou_ix ON mdl_grade_items (idnumber, courseid)  
Success

(mysql): CREATE INDEX mdl_graditem_cou_ix ON mdl_grade_items (courseid)  
Success

(mysql): CREATE INDEX mdl_graditem_cat_ix ON mdl_grade_items (categoryid)  
Success

(mysql): CREATE INDEX mdl_graditem_sca_ix ON mdl_grade_items (scaleid)  
Success

(mysql): CREATE INDEX mdl_graditem_out_ix ON mdl_grade_items (outcomeid)  
Success

(mysql): CREATE TABLE mdl_grade_grades ( id BIGINT(10) unsigned NOT NULL auto_increment, itemid BIGINT(10) unsigned NOT NULL, userid BIGINT(10) unsigned NOT NULL, rawgrade NUMERIC(10,5) DEFAULT NULL, rawgrademax NUMERIC(10,5) NOT NULL DEFAULT 100, rawgrademin NUMERIC(10,5) NOT NULL DEFAULT 0, rawscaleid BIGINT(10) unsigned DEFAULT NULL, usermodified BIGINT(10) unsigned DEFAULT NULL, finalgrade NUMERIC(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, feedbackformat BIGINT(10) unsigned NOT NULL DEFAULT 0, information MEDIUMTEXT, informationformat BIGINT(10) unsigned NOT NULL DEFAULT 0, timecreated BIGINT(10) unsigned DEFAULT NULL, timemodified BIGINT(10) unsigned DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_grades COMMENT='grade_grades This table keeps individual grades for each us'  
Success

(mysql): CREATE INDEX mdl_gradgrad_locloc_ix ON mdl_grade_grades (locked, locktime)  
Success

(mysql): CREATE INDEX mdl_gradgrad_ite_ix ON mdl_grade_grades (itemid)  
Success

(mysql): CREATE INDEX mdl_gradgrad_use_ix ON mdl_grade_grades (userid)  
Success

(mysql): CREATE INDEX mdl_gradgrad_raw_ix ON mdl_grade_grades (rawscaleid)  
Success

(mysql): CREATE INDEX mdl_gradgrad_use2_ix ON mdl_grade_grades (usermodified)  
Success

(mysql): CREATE UNIQUE INDEX mdl_gradgrad_useite_uix ON mdl_grade_grades (userid, itemid)  
Success

(mysql): CREATE TABLE 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) DEFAULT NULL, timemodified BIGINT(10) unsigned DEFAULT NULL, loggeduser BIGINT(10) unsigned DEFAULT NULL, courseid BIGINT(10) unsigned DEFAULT NULL, shortname VARCHAR(255) NOT NULL DEFAULT '', fullname TEXT NOT NULL, scaleid BIGINT(10) unsigned DEFAULT NULL, description TEXT, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_outcomes_history COMMENT='History table'  
Success

(mysql): CREATE INDEX mdl_gradoutchist_act_ix ON mdl_grade_outcomes_history (action)  
Success

(mysql): CREATE INDEX mdl_gradoutchist_old_ix ON mdl_grade_outcomes_history (oldid)  
Success

(mysql): CREATE INDEX mdl_gradoutchist_cou_ix ON mdl_grade_outcomes_history (courseid)  
Success

(mysql): CREATE INDEX mdl_gradoutchist_sca_ix ON mdl_grade_outcomes_history (scaleid)  
Success

(mysql): CREATE INDEX mdl_gradoutchist_log_ix ON mdl_grade_outcomes_history (loggeduser)  
Success

(mysql): CREATE TABLE 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) 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) DEFAULT NULL, fullname VARCHAR(255) 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_categories_history COMMENT='History of grade_categories'  
Success

(mysql): CREATE INDEX mdl_gradcatehist_act_ix ON mdl_grade_categories_history (action)  
Success

(mysql): CREATE INDEX mdl_gradcatehist_old_ix ON mdl_grade_categories_history (oldid)  
Success

(mysql): CREATE INDEX mdl_gradcatehist_cou_ix ON mdl_grade_categories_history (courseid)  
Success

(mysql): CREATE INDEX mdl_gradcatehist_par_ix ON mdl_grade_categories_history (parent)  
Success

(mysql): CREATE INDEX mdl_gradcatehist_log_ix ON mdl_grade_categories_history (loggeduser)  
Success

(mysql): CREATE TABLE 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) 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) DEFAULT NULL, itemtype VARCHAR(30) NOT NULL DEFAULT '', itemmodule VARCHAR(30) DEFAULT NULL, iteminstance BIGINT(10) unsigned DEFAULT NULL, itemnumber BIGINT(10) unsigned DEFAULT NULL, iteminfo MEDIUMTEXT, idnumber VARCHAR(255) DEFAULT NULL, calculation MEDIUMTEXT, gradetype SMALLINT(4) NOT NULL DEFAULT 1, grademax NUMERIC(10,5) NOT NULL DEFAULT 100, grademin NUMERIC(10,5) NOT NULL DEFAULT 0, scaleid BIGINT(10) unsigned DEFAULT NULL, outcomeid BIGINT(10) unsigned DEFAULT NULL, gradepass NUMERIC(10,5) NOT NULL DEFAULT 0, multfactor NUMERIC(10,5) NOT NULL DEFAULT 1.0, plusfactor NUMERIC(10,5) NOT NULL DEFAULT 0, aggregationcoef NUMERIC(10,5) NOT NULL DEFAULT 0, 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_items_history COMMENT='History of grade_items'  
Success

(mysql): CREATE INDEX mdl_graditemhist_act_ix ON mdl_grade_items_history (action)  
Success

(mysql): CREATE INDEX mdl_graditemhist_old_ix ON mdl_grade_items_history (oldid)  
Success

(mysql): CREATE INDEX mdl_graditemhist_cou_ix ON mdl_grade_items_history (courseid)  
Success

(mysql): CREATE INDEX mdl_graditemhist_cat_ix ON mdl_grade_items_history (categoryid)  
Success

(mysql): CREATE INDEX mdl_graditemhist_sca_ix ON mdl_grade_items_history (scaleid)  
Success

(mysql): CREATE INDEX mdl_graditemhist_out_ix ON mdl_grade_items_history (outcomeid)  
Success

(mysql): CREATE INDEX mdl_graditemhist_log_ix ON mdl_grade_items_history (loggeduser)  
Success

(mysql): CREATE TABLE 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) 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 NUMERIC(10,5) DEFAULT NULL, rawgrademax NUMERIC(10,5) NOT NULL DEFAULT 100, rawgrademin NUMERIC(10,5) NOT NULL DEFAULT 0, rawscaleid BIGINT(10) unsigned DEFAULT NULL, usermodified BIGINT(10) unsigned DEFAULT NULL, finalgrade NUMERIC(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, feedbackformat BIGINT(10) unsigned NOT NULL DEFAULT 0, information MEDIUMTEXT, informationformat BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_grades_history COMMENT='History table'  
Success

(mysql): CREATE INDEX mdl_gradgradhist_act_ix ON mdl_grade_grades_history (action)  
Success

(mysql): CREATE INDEX mdl_gradgradhist_old_ix ON mdl_grade_grades_history (oldid)  
Success

(mysql): CREATE INDEX mdl_gradgradhist_ite_ix ON mdl_grade_grades_history (itemid)  
Success

(mysql): CREATE INDEX mdl_gradgradhist_use_ix ON mdl_grade_grades_history (userid)  
Success

(mysql): CREATE INDEX mdl_gradgradhist_raw_ix ON mdl_grade_grades_history (rawscaleid)  
Success

(mysql): CREATE INDEX mdl_gradgradhist_use2_ix ON mdl_grade_grades_history (usermodified)  
Success

(mysql): CREATE INDEX mdl_gradgradhist_log_ix ON mdl_grade_grades_history (loggeduser)  
Success

(mysql): CREATE TABLE mdl_grade_import_newitem ( id BIGINT(10) unsigned NOT NULL auto_increment, itemname VARCHAR(255) NOT NULL DEFAULT '', importcode BIGINT(10) unsigned NOT NULL, importer BIGINT(10) unsigned NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_import_newitem COMMENT='temporary table for storing new grade_item names from grade '  
Success

(mysql): CREATE INDEX mdl_gradimponewi_imp_ix ON mdl_grade_import_newitem (importer)  
Success

(mysql): CREATE TABLE 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 NUMERIC(10,5) DEFAULT NULL, feedback MEDIUMTEXT, importcode BIGINT(10) unsigned NOT NULL, importer BIGINT(10) unsigned DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_import_values COMMENT='Temporary table for importing grades'  
Success

(mysql): CREATE INDEX mdl_gradimpovalu_ite_ix ON mdl_grade_import_values (itemid)  
Success

(mysql): CREATE INDEX mdl_gradimpovalu_new_ix ON mdl_grade_import_values (newgradeitem)  
Success

(mysql): CREATE INDEX mdl_gradimpovalu_imp_ix ON mdl_grade_import_values (importer)  
Success

(mysql): CREATE TABLE mdl_tag ( id BIGINT(10) unsigned NOT NULL auto_increment, userid BIGINT(10) unsigned NOT NULL, name VARCHAR(255) NOT NULL DEFAULT '', rawname VARCHAR(255) NOT NULL DEFAULT '', tagtype VARCHAR(255) DEFAULT NULL, description TEXT, descriptionformat TINYINT(2) unsigned NOT NULL DEFAULT 0, flag SMALLINT(4) unsigned DEFAULT 0, timemodified BIGINT(10) unsigned DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_tag COMMENT='Tag table - this generic table will replace the old \"tags\" t'  
Success

(mysql): CREATE UNIQUE INDEX mdl_tag_nam_uix ON mdl_tag (name)  
Success

(mysql): CREATE INDEX mdl_tag_use_ix ON mdl_tag (userid)  
Success

(mysql): CREATE TABLE mdl_tag_correlation ( id BIGINT(10) unsigned NOT NULL auto_increment, tagid BIGINT(10) unsigned NOT NULL, correlatedtags TEXT NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_tag_correlation COMMENT='The rationale for the \'tag_correlation\' table is performance'  
Success

(mysql): CREATE INDEX mdl_tagcorr_tag_ix ON mdl_tag_correlation (tagid)  
Success

(mysql): CREATE TABLE mdl_tag_instance ( id BIGINT(10) unsigned NOT NULL auto_increment, tagid BIGINT(10) unsigned NOT NULL, itemtype VARCHAR(255) NOT NULL DEFAULT '', itemid BIGINT(10) unsigned NOT NULL, ordering BIGINT(10) unsigned DEFAULT NULL, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_tag_instance COMMENT='tag_instance table holds the information of associations bet'  
Success

(mysql): CREATE UNIQUE INDEX mdl_taginst_iteitetag_uix ON mdl_tag_instance (itemtype, itemid, tagid)  
Success

(mysql): CREATE INDEX mdl_taginst_tag_ix ON mdl_tag_instance (tagid)  
Success

(mysql): CREATE TABLE mdl_groups ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT NULL, name VARCHAR(254) NOT NULL DEFAULT '', description TEXT, enrolmentkey VARCHAR(50) 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_groups COMMENT='Each record represents a group.'  
Success

(mysql): CREATE INDEX mdl_grou_cou_ix ON mdl_groups (courseid)  
Success

(mysql): CREATE TABLE mdl_groupings ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT NULL DEFAULT 0, name VARCHAR(255) NOT NULL DEFAULT '', description TEXT, configdata TEXT, timecreated BIGINT(10) unsigned NOT NULL DEFAULT 0, timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_groupings COMMENT='A grouping is a collection of groups. WAS: groups_groupings'  
Success

(mysql): CREATE INDEX mdl_grou_cou2_ix ON mdl_groupings (courseid)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_groups_members COMMENT='Link a user to a group.'  
Success

(mysql): CREATE INDEX mdl_groumemb_gro_ix ON mdl_groups_members (groupid)  
Success

(mysql): CREATE INDEX mdl_groumemb_use_ix ON mdl_groups_members (userid)  
Success

(mysql): CREATE TABLE 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, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_groupings_groups COMMENT='Link a grouping to a group (note, groups can be in multiple '  
Success

(mysql): CREATE INDEX mdl_grougrou_gro_ix ON mdl_groupings_groups (groupingid)  
Success

(mysql): CREATE INDEX mdl_grougrou_gro2_ix ON mdl_groupings_groups (groupid)  
Success

(mysql): CREATE TABLE mdl_user_private_key ( id BIGINT(10) unsigned NOT NULL auto_increment, script VARCHAR(128) NOT NULL DEFAULT '', value VARCHAR(128) NOT NULL DEFAULT '', userid BIGINT(10) unsigned NOT NULL, instance BIGINT(10) unsigned DEFAULT NULL, iprestriction VARCHAR(255) DEFAULT NULL, validuntil BIGINT(10) unsigned DEFAULT NULL, timecreated BIGINT(10) unsigned DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_user_private_key COMMENT='access keys used in cookieless scripts - rss, etc.'  
Success

(mysql): CREATE INDEX mdl_userprivkey_scrval_ix ON mdl_user_private_key (script, value)  
Success

(mysql): CREATE INDEX mdl_userprivkey_use_ix ON mdl_user_private_key (userid)  
Success

(mysql): CREATE TABLE mdl_grade_letters ( id BIGINT(10) unsigned NOT NULL auto_increment, contextid BIGINT(10) unsigned NOT NULL, lowerboundary NUMERIC(10,5) NOT NULL, letter VARCHAR(255) NOT NULL DEFAULT '', CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_letters COMMENT='Repository for grade letters, for courses and other moodle e'  
Success

(mysql): CREATE INDEX mdl_gradlett_conlow_ix ON mdl_grade_letters (contextid, lowerboundary)  
Success

(mysql): CREATE TABLE mdl_cache_flags ( id BIGINT(10) unsigned NOT NULL auto_increment, flagtype VARCHAR(255) NOT NULL DEFAULT '', name VARCHAR(255) NOT NULL DEFAULT '', timemodified BIGINT(10) unsigned NOT NULL DEFAULT 0, value MEDIUMTEXT NOT NULL, expiry BIGINT(10) unsigned NOT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_cache_flags COMMENT='Cache of time-sensitive flags'  
Success

(mysql): CREATE INDEX mdl_cachflag_fla_ix ON mdl_cache_flags (flagtype)  
Success

(mysql): CREATE INDEX mdl_cachflag_nam_ix ON mdl_cache_flags (name)  
Success

(mysql): CREATE TABLE mdl_grade_settings ( id BIGINT(10) unsigned NOT NULL auto_increment, courseid BIGINT(10) unsigned NOT NULL, name VARCHAR(255) NOT NULL DEFAULT '', value TEXT, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_grade_settings COMMENT='gradebook settings'  
Success

(mysql): CREATE UNIQUE INDEX mdl_gradsett_counam_uix ON mdl_grade_settings (courseid, name)  
Success

(mysql): CREATE INDEX mdl_gradsett_cou_ix ON mdl_grade_settings (courseid)  
Success

(mysql): CREATE TABLE mdl_webdav_locks ( id BIGINT(10) unsigned NOT NULL auto_increment, token VARCHAR(255) NOT NULL DEFAULT '', path VARCHAR(255) 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) DEFAULT NULL, CONSTRAINT PRIMARY KEY (id) )  
Success

(mysql): ALTER TABLE mdl_webdav_locks COMMENT='Resource locks for WebDAV users'  
Success

(mysql): CREATE INDEX mdl_webdlock_pat_ix ON mdl_webdav_locks (path)  
Success

(mysql): CREATE INDEX mdl_webdlock_exp_ix ON mdl_webdav_locks (expiry)  
Success

(mysql): CREATE UNIQUE INDEX mdl_webdlock_tok_uix ON mdl_webdav_locks (token)  
Success

(mysql): INSERT INTO mdl_mnet_application(name, display_name, xmlrpc_server_url, sso_land_url) VALUES ('moodle', 'Moodle', '/mnet/xmlrpc/server.php', '/auth/mnet/land.php')  
Success

(mysql): INSERT INTO mdl_mnet_application(name, display_name, xmlrpc_server_url, sso_land_url) VALUES ('mahara', 'Mahara', '/api/xmlrpc/server.php', '/auth/xmlrpc/land.php')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('user', 'view', 'user', 'CONCAT(firstname,\' \',lastname)')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'user report', 'user', 'CONCAT(firstname,\' \',lastname)')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'view', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'update', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'enrol', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'unenrol', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'report log', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'report live', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'report outline', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'report participation', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('course', 'report stats', 'course', 'fullname')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('message', 'write', 'user', 'CONCAT(firstname,\' \',lastname)')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('message', 'read', 'user', 'CONCAT(firstname,\' \',lastname)')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('message', 'add contact', 'user', 'CONCAT(firstname,\' \',lastname)')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('message', 'remove contact', 'user', 'CONCAT(firstname,\' \',lastname)')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('message', 'block contact', 'user', 'CONCAT(firstname,\' \',lastname)')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('message', 'unblock contact', 'user', 'CONCAT(firstname,\' \',lastname)')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('group', 'view', 'groups', 'name')  
Success

(mysql): INSERT INTO mdl_log_display(module, action, mtable, field) VALUES ('tag', 'update', 'tag', 'name')  
Success

(mysql): SELECT name FROM mdl_config WHERE name = 'unicodedb' LIMIT 1  

(mysql): SELECT * FROM mdl_config WHERE id = '-1'  

(mysql): INSERT INTO mdl_config ( NAME, VALUE ) VALUES ( 'unicodedb', '1' )  

(mysql): SELECT LAST_INSERT_ID()  
Database was successfully upgraded