Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../moodle
File: moodle.sql
[0] Fix | Delete
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
[1] Fix | Delete
SET time_zone = "+00:00";
[2] Fix | Delete
[3] Fix | Delete
[4] Fix | Delete
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
[5] Fix | Delete
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
[6] Fix | Delete
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
[7] Fix | Delete
/*!40101 SET NAMES utf8 */;
[8] Fix | Delete
[9] Fix | Delete
--
[10] Fix | Delete
-- Database: `moodle2611`
[11] Fix | Delete
--
[12] Fix | Delete
[13] Fix | Delete
-- --------------------------------------------------------
[14] Fix | Delete
[15] Fix | Delete
--
[16] Fix | Delete
-- Table structure for table `[[dbprefix]]assign`
[17] Fix | Delete
--
[18] Fix | Delete
[19] Fix | Delete
CREATE TABLE `[[dbprefix]]assign` (
[20] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[21] Fix | Delete
`course` bigint(10) NOT NULL DEFAULT '0',
[22] Fix | Delete
`name` varchar(255) NOT NULL DEFAULT '',
[23] Fix | Delete
`intro` longtext NOT NULL,
[24] Fix | Delete
`introformat` smallint(4) NOT NULL DEFAULT '0',
[25] Fix | Delete
`alwaysshowdescription` tinyint(2) NOT NULL DEFAULT '0',
[26] Fix | Delete
`nosubmissions` tinyint(2) NOT NULL DEFAULT '0',
[27] Fix | Delete
`submissiondrafts` tinyint(2) NOT NULL DEFAULT '0',
[28] Fix | Delete
`sendnotifications` tinyint(2) NOT NULL DEFAULT '0',
[29] Fix | Delete
`sendlatenotifications` tinyint(2) NOT NULL DEFAULT '0',
[30] Fix | Delete
`duedate` bigint(10) NOT NULL DEFAULT '0',
[31] Fix | Delete
`allowsubmissionsfromdate` bigint(10) NOT NULL DEFAULT '0',
[32] Fix | Delete
`grade` bigint(10) NOT NULL DEFAULT '0',
[33] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[34] Fix | Delete
`requiresubmissionstatement` tinyint(2) NOT NULL DEFAULT '0',
[35] Fix | Delete
`completionsubmit` tinyint(2) NOT NULL DEFAULT '0',
[36] Fix | Delete
`cutoffdate` bigint(10) NOT NULL DEFAULT '0',
[37] Fix | Delete
`teamsubmission` tinyint(2) NOT NULL DEFAULT '0',
[38] Fix | Delete
`requireallteammemberssubmit` tinyint(2) NOT NULL DEFAULT '0',
[39] Fix | Delete
`teamsubmissiongroupingid` bigint(10) NOT NULL DEFAULT '0',
[40] Fix | Delete
`blindmarking` tinyint(2) NOT NULL DEFAULT '0',
[41] Fix | Delete
`revealidentities` tinyint(2) NOT NULL DEFAULT '0',
[42] Fix | Delete
`attemptreopenmethod` varchar(10) NOT NULL DEFAULT 'none',
[43] Fix | Delete
`maxattempts` mediumint(6) NOT NULL DEFAULT '-1',
[44] Fix | Delete
`markingworkflow` tinyint(2) NOT NULL DEFAULT '0',
[45] Fix | Delete
`markingallocation` tinyint(2) NOT NULL DEFAULT '0',
[46] Fix | Delete
PRIMARY KEY (`id`),
[47] Fix | Delete
KEY `[[dbprefix]]assi_cou_ix` (`course`),
[48] Fix | Delete
KEY `[[dbprefix]]assi_tea_ix` (`teamsubmissiongroupingid`)
[49] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This table saves information about an instance of mod_assign' AUTO_INCREMENT=1 ;
[50] Fix | Delete
[51] Fix | Delete
-- --------------------------------------------------------
[52] Fix | Delete
[53] Fix | Delete
--
[54] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_comments`
[55] Fix | Delete
--
[56] Fix | Delete
[57] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_comments` (
[58] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[59] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[60] Fix | Delete
`grade` bigint(10) NOT NULL DEFAULT '0',
[61] Fix | Delete
`commenttext` longtext,
[62] Fix | Delete
`commentformat` smallint(4) NOT NULL DEFAULT '0',
[63] Fix | Delete
PRIMARY KEY (`id`),
[64] Fix | Delete
KEY `[[dbprefix]]assicomm_ass_ix` (`assignment`),
[65] Fix | Delete
KEY `[[dbprefix]]assicomm_gra_ix` (`grade`)
[66] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Text feedback for submitted assignments' AUTO_INCREMENT=1 ;
[67] Fix | Delete
[68] Fix | Delete
-- --------------------------------------------------------
[69] Fix | Delete
[70] Fix | Delete
--
[71] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_editpdf_annot`
[72] Fix | Delete
--
[73] Fix | Delete
[74] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_editpdf_annot` (
[75] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[76] Fix | Delete
`gradeid` bigint(10) NOT NULL DEFAULT '0',
[77] Fix | Delete
`pageno` bigint(10) NOT NULL DEFAULT '0',
[78] Fix | Delete
`x` bigint(10) DEFAULT '0',
[79] Fix | Delete
`y` bigint(10) DEFAULT '0',
[80] Fix | Delete
`endx` bigint(10) DEFAULT '0',
[81] Fix | Delete
`endy` bigint(10) DEFAULT '0',
[82] Fix | Delete
`path` longtext,
[83] Fix | Delete
`type` varchar(10) DEFAULT 'line',
[84] Fix | Delete
`colour` varchar(10) DEFAULT 'black',
[85] Fix | Delete
`draft` tinyint(2) NOT NULL DEFAULT '1',
[86] Fix | Delete
PRIMARY KEY (`id`),
[87] Fix | Delete
KEY `[[dbprefix]]assieditanno_grapag_ix` (`gradeid`,`pageno`),
[88] Fix | Delete
KEY `[[dbprefix]]assieditanno_gra_ix` (`gradeid`)
[89] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='stores annotations added to pdfs submitted by students' AUTO_INCREMENT=1 ;
[90] Fix | Delete
[91] Fix | Delete
-- --------------------------------------------------------
[92] Fix | Delete
[93] Fix | Delete
--
[94] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_editpdf_cmnt`
[95] Fix | Delete
--
[96] Fix | Delete
[97] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_editpdf_cmnt` (
[98] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[99] Fix | Delete
`gradeid` bigint(10) NOT NULL DEFAULT '0',
[100] Fix | Delete
`x` bigint(10) DEFAULT '0',
[101] Fix | Delete
`y` bigint(10) DEFAULT '0',
[102] Fix | Delete
`width` bigint(10) DEFAULT '120',
[103] Fix | Delete
`rawtext` longtext,
[104] Fix | Delete
`pageno` bigint(10) NOT NULL DEFAULT '0',
[105] Fix | Delete
`colour` varchar(10) DEFAULT 'black',
[106] Fix | Delete
`draft` tinyint(2) NOT NULL DEFAULT '1',
[107] Fix | Delete
PRIMARY KEY (`id`),
[108] Fix | Delete
KEY `[[dbprefix]]assieditcmnt_grapag_ix` (`gradeid`,`pageno`),
[109] Fix | Delete
KEY `[[dbprefix]]assieditcmnt_gra_ix` (`gradeid`)
[110] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores comments added to pdfs' AUTO_INCREMENT=1 ;
[111] Fix | Delete
[112] Fix | Delete
-- --------------------------------------------------------
[113] Fix | Delete
[114] Fix | Delete
--
[115] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_editpdf_quick`
[116] Fix | Delete
--
[117] Fix | Delete
[118] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_editpdf_quick` (
[119] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[120] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[121] Fix | Delete
`rawtext` longtext NOT NULL,
[122] Fix | Delete
`width` bigint(10) NOT NULL DEFAULT '120',
[123] Fix | Delete
`colour` varchar(10) DEFAULT 'yellow',
[124] Fix | Delete
PRIMARY KEY (`id`),
[125] Fix | Delete
KEY `[[dbprefix]]assieditquic_use_ix` (`userid`)
[126] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores teacher specified quicklist comments' AUTO_INCREMENT=1 ;
[127] Fix | Delete
[128] Fix | Delete
-- --------------------------------------------------------
[129] Fix | Delete
[130] Fix | Delete
--
[131] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_file`
[132] Fix | Delete
--
[133] Fix | Delete
[134] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_file` (
[135] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[136] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[137] Fix | Delete
`grade` bigint(10) NOT NULL DEFAULT '0',
[138] Fix | Delete
`numfiles` bigint(10) NOT NULL DEFAULT '0',
[139] Fix | Delete
PRIMARY KEY (`id`),
[140] Fix | Delete
KEY `[[dbprefix]]assifile_ass2_ix` (`assignment`),
[141] Fix | Delete
KEY `[[dbprefix]]assifile_gra_ix` (`grade`)
[142] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores info about the number of files submitted by a student' AUTO_INCREMENT=1 ;
[143] Fix | Delete
[144] Fix | Delete
-- --------------------------------------------------------
[145] Fix | Delete
[146] Fix | Delete
--
[147] Fix | Delete
-- Table structure for table `[[dbprefix]]assignment`
[148] Fix | Delete
--
[149] Fix | Delete
[150] Fix | Delete
CREATE TABLE `[[dbprefix]]assignment` (
[151] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[152] Fix | Delete
`course` bigint(10) NOT NULL DEFAULT '0',
[153] Fix | Delete
`name` varchar(255) NOT NULL DEFAULT '',
[154] Fix | Delete
`intro` longtext NOT NULL,
[155] Fix | Delete
`introformat` smallint(4) NOT NULL DEFAULT '0',
[156] Fix | Delete
`assignmenttype` varchar(50) NOT NULL DEFAULT '',
[157] Fix | Delete
`resubmit` tinyint(2) NOT NULL DEFAULT '0',
[158] Fix | Delete
`preventlate` tinyint(2) NOT NULL DEFAULT '0',
[159] Fix | Delete
`emailteachers` tinyint(2) NOT NULL DEFAULT '0',
[160] Fix | Delete
`var1` bigint(10) DEFAULT '0',
[161] Fix | Delete
`var2` bigint(10) DEFAULT '0',
[162] Fix | Delete
`var3` bigint(10) DEFAULT '0',
[163] Fix | Delete
`var4` bigint(10) DEFAULT '0',
[164] Fix | Delete
`var5` bigint(10) DEFAULT '0',
[165] Fix | Delete
`maxbytes` bigint(10) NOT NULL DEFAULT '100000',
[166] Fix | Delete
`timedue` bigint(10) NOT NULL DEFAULT '0',
[167] Fix | Delete
`timeavailable` bigint(10) NOT NULL DEFAULT '0',
[168] Fix | Delete
`grade` bigint(10) NOT NULL DEFAULT '0',
[169] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[170] Fix | Delete
PRIMARY KEY (`id`),
[171] Fix | Delete
KEY `[[dbprefix]]assi_cou2_ix` (`course`)
[172] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Defines assignments' AUTO_INCREMENT=1 ;
[173] Fix | Delete
[174] Fix | Delete
-- --------------------------------------------------------
[175] Fix | Delete
[176] Fix | Delete
--
[177] Fix | Delete
-- Table structure for table `[[dbprefix]]assignment_submissions`
[178] Fix | Delete
--
[179] Fix | Delete
[180] Fix | Delete
CREATE TABLE `[[dbprefix]]assignment_submissions` (
[181] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[182] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[183] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[184] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[185] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[186] Fix | Delete
`numfiles` bigint(10) NOT NULL DEFAULT '0',
[187] Fix | Delete
`data1` longtext,
[188] Fix | Delete
`data2` longtext,
[189] Fix | Delete
`grade` bigint(11) NOT NULL DEFAULT '0',
[190] Fix | Delete
`submissioncomment` longtext NOT NULL,
[191] Fix | Delete
`format` smallint(4) NOT NULL DEFAULT '0',
[192] Fix | Delete
`teacher` bigint(10) NOT NULL DEFAULT '0',
[193] Fix | Delete
`timemarked` bigint(10) NOT NULL DEFAULT '0',
[194] Fix | Delete
`mailed` tinyint(1) NOT NULL DEFAULT '0',
[195] Fix | Delete
PRIMARY KEY (`id`),
[196] Fix | Delete
KEY `[[dbprefix]]assisubm_use2_ix` (`userid`),
[197] Fix | Delete
KEY `[[dbprefix]]assisubm_mai_ix` (`mailed`),
[198] Fix | Delete
KEY `[[dbprefix]]assisubm_tim_ix` (`timemarked`),
[199] Fix | Delete
KEY `[[dbprefix]]assisubm_ass2_ix` (`assignment`)
[200] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Info about submitted assignments' AUTO_INCREMENT=1 ;
[201] Fix | Delete
[202] Fix | Delete
-- --------------------------------------------------------
[203] Fix | Delete
[204] Fix | Delete
--
[205] Fix | Delete
-- Table structure for table `[[dbprefix]]assignsubmission_file`
[206] Fix | Delete
--
[207] Fix | Delete
[208] Fix | Delete
CREATE TABLE `[[dbprefix]]assignsubmission_file` (
[209] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[210] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[211] Fix | Delete
`submission` bigint(10) NOT NULL DEFAULT '0',
[212] Fix | Delete
`numfiles` bigint(10) NOT NULL DEFAULT '0',
[213] Fix | Delete
PRIMARY KEY (`id`),
[214] Fix | Delete
KEY `[[dbprefix]]assifile_ass_ix` (`assignment`),
[215] Fix | Delete
KEY `[[dbprefix]]assifile_sub_ix` (`submission`)
[216] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Info about file submissions for assignments' AUTO_INCREMENT=1 ;
[217] Fix | Delete
[218] Fix | Delete
-- --------------------------------------------------------
[219] Fix | Delete
[220] Fix | Delete
--
[221] Fix | Delete
-- Table structure for table `[[dbprefix]]assignsubmission_onlinetext`
[222] Fix | Delete
--
[223] Fix | Delete
[224] Fix | Delete
CREATE TABLE `[[dbprefix]]assignsubmission_onlinetext` (
[225] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[226] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[227] Fix | Delete
`submission` bigint(10) NOT NULL DEFAULT '0',
[228] Fix | Delete
`onlinetext` longtext,
[229] Fix | Delete
`onlineformat` smallint(4) NOT NULL DEFAULT '0',
[230] Fix | Delete
PRIMARY KEY (`id`),
[231] Fix | Delete
KEY `[[dbprefix]]assionli_ass_ix` (`assignment`),
[232] Fix | Delete
KEY `[[dbprefix]]assionli_sub_ix` (`submission`)
[233] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Info about onlinetext submission' AUTO_INCREMENT=1 ;
[234] Fix | Delete
[235] Fix | Delete
-- --------------------------------------------------------
[236] Fix | Delete
[237] Fix | Delete
--
[238] Fix | Delete
-- Table structure for table `[[dbprefix]]assign_grades`
[239] Fix | Delete
--
[240] Fix | Delete
[241] Fix | Delete
CREATE TABLE `[[dbprefix]]assign_grades` (
[242] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[243] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[244] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[245] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[246] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[247] Fix | Delete
`grader` bigint(10) NOT NULL DEFAULT '0',
[248] Fix | Delete
`grade` decimal(10,5) DEFAULT '0.00000',
[249] Fix | Delete
`attemptnumber` bigint(10) NOT NULL DEFAULT '0',
[250] Fix | Delete
PRIMARY KEY (`id`),
[251] Fix | Delete
UNIQUE KEY `[[dbprefix]]assigrad_assuseatt_uix` (`assignment`,`userid`,`attemptnumber`),
[252] Fix | Delete
KEY `[[dbprefix]]assigrad_use_ix` (`userid`),
[253] Fix | Delete
KEY `[[dbprefix]]assigrad_att_ix` (`attemptnumber`),
[254] Fix | Delete
KEY `[[dbprefix]]assigrad_ass_ix` (`assignment`)
[255] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grading information about a single assignment submission.' AUTO_INCREMENT=1 ;
[256] Fix | Delete
[257] Fix | Delete
-- --------------------------------------------------------
[258] Fix | Delete
[259] Fix | Delete
--
[260] Fix | Delete
-- Table structure for table `[[dbprefix]]assign_plugin_config`
[261] Fix | Delete
--
[262] Fix | Delete
[263] Fix | Delete
CREATE TABLE `[[dbprefix]]assign_plugin_config` (
[264] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[265] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[266] Fix | Delete
`plugin` varchar(28) NOT NULL DEFAULT '',
[267] Fix | Delete
`subtype` varchar(28) NOT NULL DEFAULT '',
[268] Fix | Delete
`name` varchar(28) NOT NULL DEFAULT '',
[269] Fix | Delete
`value` longtext,
[270] Fix | Delete
PRIMARY KEY (`id`),
[271] Fix | Delete
KEY `[[dbprefix]]assiplugconf_plu_ix` (`plugin`),
[272] Fix | Delete
KEY `[[dbprefix]]assiplugconf_sub_ix` (`subtype`),
[273] Fix | Delete
KEY `[[dbprefix]]assiplugconf_nam_ix` (`name`),
[274] Fix | Delete
KEY `[[dbprefix]]assiplugconf_ass_ix` (`assignment`)
[275] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Config data for an instance of a plugin in an assignment.' AUTO_INCREMENT=1 ;
[276] Fix | Delete
[277] Fix | Delete
-- --------------------------------------------------------
[278] Fix | Delete
[279] Fix | Delete
--
[280] Fix | Delete
-- Table structure for table `[[dbprefix]]assign_submission`
[281] Fix | Delete
--
[282] Fix | Delete
[283] Fix | Delete
CREATE TABLE `[[dbprefix]]assign_submission` (
[284] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[285] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[286] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[287] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[288] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[289] Fix | Delete
`status` varchar(10) DEFAULT NULL,
[290] Fix | Delete
`groupid` bigint(10) NOT NULL DEFAULT '0',
[291] Fix | Delete
`attemptnumber` bigint(10) NOT NULL DEFAULT '0',
[292] Fix | Delete
PRIMARY KEY (`id`),
[293] Fix | Delete
UNIQUE KEY `[[dbprefix]]assisubm_assusegroa_uix` (`assignment`,`userid`,`groupid`,`attemptnumber`),
[294] Fix | Delete
KEY `[[dbprefix]]assisubm_use_ix` (`userid`),
[295] Fix | Delete
KEY `[[dbprefix]]assisubm_att_ix` (`attemptnumber`),
[296] Fix | Delete
KEY `[[dbprefix]]assisubm_ass_ix` (`assignment`)
[297] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This table keeps information about student interactions with' AUTO_INCREMENT=1 ;
[298] Fix | Delete
[299] Fix | Delete
-- --------------------------------------------------------
[300] Fix | Delete
[301] Fix | Delete
--
[302] Fix | Delete
-- Table structure for table `[[dbprefix]]assign_user_flags`
[303] Fix | Delete
--
[304] Fix | Delete
[305] Fix | Delete
CREATE TABLE `[[dbprefix]]assign_user_flags` (
[306] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[307] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[308] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[309] Fix | Delete
`locked` bigint(10) NOT NULL DEFAULT '0',
[310] Fix | Delete
`mailed` smallint(4) NOT NULL DEFAULT '0',
[311] Fix | Delete
`extensionduedate` bigint(10) NOT NULL DEFAULT '0',
[312] Fix | Delete
`workflowstate` varchar(20) DEFAULT NULL,
[313] Fix | Delete
`allocatedmarker` bigint(10) NOT NULL DEFAULT '0',
[314] Fix | Delete
PRIMARY KEY (`id`),
[315] Fix | Delete
KEY `[[dbprefix]]assiuserflag_mai_ix` (`mailed`),
[316] Fix | Delete
KEY `[[dbprefix]]assiuserflag_use_ix` (`userid`),
[317] Fix | Delete
KEY `[[dbprefix]]assiuserflag_ass_ix` (`assignment`)
[318] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='List of flags that can be set for a single user in a single ' AUTO_INCREMENT=1 ;
[319] Fix | Delete
[320] Fix | Delete
-- --------------------------------------------------------
[321] Fix | Delete
[322] Fix | Delete
--
[323] Fix | Delete
-- Table structure for table `[[dbprefix]]assign_user_mapping`
[324] Fix | Delete
--
[325] Fix | Delete
[326] Fix | Delete
CREATE TABLE `[[dbprefix]]assign_user_mapping` (
[327] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[328] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[329] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[330] Fix | Delete
PRIMARY KEY (`id`),
[331] Fix | Delete
KEY `[[dbprefix]]assiusermapp_ass_ix` (`assignment`),
[332] Fix | Delete
KEY `[[dbprefix]]assiusermapp_use_ix` (`userid`)
[333] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Map an assignment specific id number to a user' AUTO_INCREMENT=1 ;
[334] Fix | Delete
[335] Fix | Delete
-- --------------------------------------------------------
[336] Fix | Delete
[337] Fix | Delete
--
[338] Fix | Delete
-- Table structure for table `[[dbprefix]]backup_controllers`
[339] Fix | Delete
--
[340] Fix | Delete
[341] Fix | Delete
CREATE TABLE `[[dbprefix]]backup_controllers` (
[342] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[343] Fix | Delete
`backupid` varchar(32) NOT NULL DEFAULT '',
[344] Fix | Delete
`operation` varchar(20) NOT NULL DEFAULT 'backup',
[345] Fix | Delete
`type` varchar(10) NOT NULL DEFAULT '',
[346] Fix | Delete
`itemid` bigint(10) NOT NULL,
[347] Fix | Delete
`format` varchar(20) NOT NULL DEFAULT '',
[348] Fix | Delete
`interactive` smallint(4) NOT NULL,
[349] Fix | Delete
`purpose` smallint(4) NOT NULL,
[350] Fix | Delete
`userid` bigint(10) NOT NULL,
[351] Fix | Delete
`status` smallint(4) NOT NULL,
[352] Fix | Delete
`execution` smallint(4) NOT NULL,
[353] Fix | Delete
`executiontime` bigint(10) NOT NULL,
[354] Fix | Delete
`checksum` varchar(32) NOT NULL DEFAULT '',
[355] Fix | Delete
`timecreated` bigint(10) NOT NULL,
[356] Fix | Delete
`timemodified` bigint(10) NOT NULL,
[357] Fix | Delete
`controller` longtext NOT NULL,
[358] Fix | Delete
PRIMARY KEY (`id`),
[359] Fix | Delete
UNIQUE KEY `[[dbprefix]]backcont_bac_uix` (`backupid`),
[360] Fix | Delete
KEY `[[dbprefix]]backcont_typite_ix` (`type`,`itemid`),
[361] Fix | Delete
KEY `[[dbprefix]]backcont_use_ix` (`userid`)
[362] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='To store the backup_controllers as they are used' AUTO_INCREMENT=1 ;
[363] Fix | Delete
[364] Fix | Delete
-- --------------------------------------------------------
[365] Fix | Delete
[366] Fix | Delete
--
[367] Fix | Delete
-- Table structure for table `[[dbprefix]]backup_courses`
[368] Fix | Delete
--
[369] Fix | Delete
[370] Fix | Delete
CREATE TABLE `[[dbprefix]]backup_courses` (
[371] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[372] Fix | Delete
`courseid` bigint(10) NOT NULL DEFAULT '0',
[373] Fix | Delete
`laststarttime` bigint(10) NOT NULL DEFAULT '0',
[374] Fix | Delete
`lastendtime` bigint(10) NOT NULL DEFAULT '0',
[375] Fix | Delete
`laststatus` varchar(1) NOT NULL DEFAULT '5',
[376] Fix | Delete
`nextstarttime` bigint(10) NOT NULL DEFAULT '0',
[377] Fix | Delete
PRIMARY KEY (`id`),
[378] Fix | Delete
UNIQUE KEY `[[dbprefix]]backcour_cou_uix` (`courseid`)
[379] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='To store every course backup status' AUTO_INCREMENT=1 ;
[380] Fix | Delete
[381] Fix | Delete
-- --------------------------------------------------------
[382] Fix | Delete
[383] Fix | Delete
--
[384] Fix | Delete
-- Table structure for table `[[dbprefix]]backup_logs`
[385] Fix | Delete
--
[386] Fix | Delete
[387] Fix | Delete
CREATE TABLE `[[dbprefix]]backup_logs` (
[388] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[389] Fix | Delete
`backupid` varchar(32) NOT NULL DEFAULT '',
[390] Fix | Delete
`loglevel` smallint(4) NOT NULL,
[391] Fix | Delete
`message` longtext NOT NULL,
[392] Fix | Delete
`timecreated` bigint(10) NOT NULL,
[393] Fix | Delete
PRIMARY KEY (`id`),
[394] Fix | Delete
UNIQUE KEY `[[dbprefix]]backlogs_bacid_uix` (`backupid`,`id`),
[395] Fix | Delete
KEY `[[dbprefix]]backlogs_bac_ix` (`backupid`)
[396] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='To store all the logs from backup and restore operations (by' AUTO_INCREMENT=1 ;
[397] Fix | Delete
[398] Fix | Delete
-- --------------------------------------------------------
[399] Fix | Delete
[400] Fix | Delete
--
[401] Fix | Delete
-- Table structure for table `[[dbprefix]]badge`
[402] Fix | Delete
--
[403] Fix | Delete
[404] Fix | Delete
CREATE TABLE `[[dbprefix]]badge` (
[405] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[406] Fix | Delete
`name` varchar(255) NOT NULL DEFAULT '',
[407] Fix | Delete
`description` longtext,
[408] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[409] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[410] Fix | Delete
`usercreated` bigint(10) NOT NULL,
[411] Fix | Delete
`usermodified` bigint(10) NOT NULL,
[412] Fix | Delete
`issuername` varchar(255) NOT NULL DEFAULT '',
[413] Fix | Delete
`issuerurl` varchar(255) NOT NULL DEFAULT '',
[414] Fix | Delete
`issuercontact` varchar(255) DEFAULT NULL,
[415] Fix | Delete
`expiredate` bigint(10) DEFAULT NULL,
[416] Fix | Delete
`expireperiod` bigint(10) DEFAULT NULL,
[417] Fix | Delete
`type` tinyint(1) NOT NULL DEFAULT '1',
[418] Fix | Delete
`courseid` bigint(10) DEFAULT NULL,
[419] Fix | Delete
`message` longtext NOT NULL,
[420] Fix | Delete
`messagesubject` longtext NOT NULL,
[421] Fix | Delete
`attachment` tinyint(1) NOT NULL DEFAULT '1',
[422] Fix | Delete
`notification` tinyint(1) NOT NULL DEFAULT '1',
[423] Fix | Delete
`status` tinyint(1) NOT NULL DEFAULT '0',
[424] Fix | Delete
`nextcron` bigint(10) DEFAULT NULL,
[425] Fix | Delete
PRIMARY KEY (`id`),
[426] Fix | Delete
KEY `[[dbprefix]]badg_typ_ix` (`type`),
[427] Fix | Delete
KEY `[[dbprefix]]badg_cou_ix` (`courseid`),
[428] Fix | Delete
KEY `[[dbprefix]]badg_use_ix` (`usermodified`),
[429] Fix | Delete
KEY `[[dbprefix]]badg_use2_ix` (`usercreated`)
[430] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Defines badge' AUTO_INCREMENT=1 ;
[431] Fix | Delete
[432] Fix | Delete
-- --------------------------------------------------------
[433] Fix | Delete
[434] Fix | Delete
--
[435] Fix | Delete
-- Table structure for table `[[dbprefix]]badge_backpack`
[436] Fix | Delete
--
[437] Fix | Delete
[438] Fix | Delete
CREATE TABLE `[[dbprefix]]badge_backpack` (
[439] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[440] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[441] Fix | Delete
`email` varchar(100) NOT NULL DEFAULT '',
[442] Fix | Delete
`backpackurl` varchar(255) NOT NULL DEFAULT '',
[443] Fix | Delete
`backpackuid` bigint(10) NOT NULL,
[444] Fix | Delete
`autosync` tinyint(1) NOT NULL DEFAULT '0',
[445] Fix | Delete
`password` varchar(50) DEFAULT NULL,
[446] Fix | Delete
PRIMARY KEY (`id`),
[447] Fix | Delete
KEY `[[dbprefix]]badgback_use_ix` (`userid`)
[448] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Defines settings for connecting external backpack' AUTO_INCREMENT=1 ;
[449] Fix | Delete
[450] Fix | Delete
-- --------------------------------------------------------
[451] Fix | Delete
[452] Fix | Delete
--
[453] Fix | Delete
-- Table structure for table `[[dbprefix]]badge_criteria`
[454] Fix | Delete
--
[455] Fix | Delete
[456] Fix | Delete
CREATE TABLE `[[dbprefix]]badge_criteria` (
[457] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[458] Fix | Delete
`badgeid` bigint(10) NOT NULL DEFAULT '0',
[459] Fix | Delete
`criteriatype` bigint(10) DEFAULT NULL,
[460] Fix | Delete
`method` tinyint(1) NOT NULL DEFAULT '1',
[461] Fix | Delete
PRIMARY KEY (`id`),
[462] Fix | Delete
UNIQUE KEY `[[dbprefix]]badgcrit_badcri_uix` (`badgeid`,`criteriatype`),
[463] Fix | Delete
KEY `[[dbprefix]]badgcrit_cri_ix` (`criteriatype`),
[464] Fix | Delete
KEY `[[dbprefix]]badgcrit_bad_ix` (`badgeid`)
[465] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Defines criteria for issuing badges' AUTO_INCREMENT=1 ;
[466] Fix | Delete
[467] Fix | Delete
-- --------------------------------------------------------
[468] Fix | Delete
[469] Fix | Delete
--
[470] Fix | Delete
-- Table structure for table `[[dbprefix]]badge_criteria_met`
[471] Fix | Delete
--
[472] Fix | Delete
[473] Fix | Delete
CREATE TABLE `[[dbprefix]]badge_criteria_met` (
[474] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[475] Fix | Delete
`issuedid` bigint(10) DEFAULT NULL,
[476] Fix | Delete
`critid` bigint(10) NOT NULL,
[477] Fix | Delete
`userid` bigint(10) NOT NULL,
[478] Fix | Delete
`datemet` bigint(10) NOT NULL,
[479] Fix | Delete
PRIMARY KEY (`id`),
[480] Fix | Delete
KEY `[[dbprefix]]badgcritmet_cri_ix` (`critid`),
[481] Fix | Delete
KEY `[[dbprefix]]badgcritmet_use_ix` (`userid`),
[482] Fix | Delete
KEY `[[dbprefix]]badgcritmet_iss_ix` (`issuedid`)
[483] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Defines criteria that were met for an issued badge' AUTO_INCREMENT=1 ;
[484] Fix | Delete
[485] Fix | Delete
-- --------------------------------------------------------
[486] Fix | Delete
[487] Fix | Delete
--
[488] Fix | Delete
-- Table structure for table `[[dbprefix]]badge_criteria_param`
[489] Fix | Delete
--
[490] Fix | Delete
[491] Fix | Delete
CREATE TABLE `[[dbprefix]]badge_criteria_param` (
[492] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[493] Fix | Delete
`critid` bigint(10) NOT NULL,
[494] Fix | Delete
`name` varchar(255) NOT NULL DEFAULT '',
[495] Fix | Delete
`value` varchar(255) DEFAULT NULL,
[496] Fix | Delete
PRIMARY KEY (`id`),
[497] Fix | Delete
KEY `[[dbprefix]]badgcritpara_cri_ix` (`critid`)
[498] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Defines parameters for badges criteria' AUTO_INCREMENT=1 ;
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function