(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

(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 TINYINT(2) 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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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) )

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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')

Sikerült

(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')

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

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

Sikerült

(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()

Az adatbázis átalakítása sikerült