Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../moodle27
File: moodle27.sql
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
[0] Fix | Delete
SET time_zone = "+00:00";
[1] Fix | Delete
[2] Fix | Delete
[3] Fix | Delete
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
[4] Fix | Delete
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
[5] Fix | Delete
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
[6] Fix | Delete
/*!40101 SET NAMES utf8 */;
[7] Fix | Delete
[8] Fix | Delete
--
[9] Fix | Delete
-- Database: `moodle3610`
[10] Fix | Delete
--
[11] Fix | Delete
[12] Fix | Delete
-- --------------------------------------------------------
[13] Fix | Delete
[14] Fix | Delete
--
[15] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_indicator_calc`
[16] Fix | Delete
--
[17] Fix | Delete
[18] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_indicator_calc` (
[19] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[20] Fix | Delete
`starttime` bigint(10) NOT NULL,
[21] Fix | Delete
`endtime` bigint(10) NOT NULL,
[22] Fix | Delete
`contextid` bigint(10) NOT NULL,
[23] Fix | Delete
`sampleorigin` varchar(255) NOT NULL DEFAULT '',
[24] Fix | Delete
`sampleid` bigint(10) NOT NULL,
[25] Fix | Delete
`indicator` varchar(255) NOT NULL DEFAULT '',
[26] Fix | Delete
`value` decimal(10,2) DEFAULT NULL,
[27] Fix | Delete
`timecreated` bigint(10) NOT NULL,
[28] Fix | Delete
PRIMARY KEY (`id`),
[29] Fix | Delete
KEY `[[dbprefix]]analindicalc_staendco_ix` (`starttime`,`endtime`,`contextid`),
[30] Fix | Delete
KEY `[[dbprefix]]analindicalc_con_ix` (`contextid`)
[31] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stored indicator calculations' AUTO_INCREMENT=1 ;
[32] Fix | Delete
[33] Fix | Delete
-- --------------------------------------------------------
[34] Fix | Delete
[35] Fix | Delete
--
[36] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_models`
[37] Fix | Delete
--
[38] Fix | Delete
[39] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_models` (
[40] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[41] Fix | Delete
`enabled` tinyint(1) NOT NULL DEFAULT '0',
[42] Fix | Delete
`trained` tinyint(1) NOT NULL DEFAULT '0',
[43] Fix | Delete
`target` varchar(255) NOT NULL DEFAULT '',
[44] Fix | Delete
`indicators` longtext NOT NULL,
[45] Fix | Delete
`timesplitting` varchar(255) DEFAULT NULL,
[46] Fix | Delete
`predictionsprocessor` varchar(255) DEFAULT NULL,
[47] Fix | Delete
`version` bigint(10) NOT NULL,
[48] Fix | Delete
`timecreated` bigint(10) DEFAULT NULL,
[49] Fix | Delete
`timemodified` bigint(10) NOT NULL,
[50] Fix | Delete
`usermodified` bigint(10) NOT NULL,
[51] Fix | Delete
PRIMARY KEY (`id`),
[52] Fix | Delete
KEY `[[dbprefix]]analmode_enatra_ix` (`enabled`,`trained`)
[53] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Analytic models.' AUTO_INCREMENT=3 ;
[54] Fix | Delete
[55] Fix | Delete
--
[56] Fix | Delete
-- Dumping data for table `[[dbprefix]]analytics_models`
[57] Fix | Delete
--
[58] Fix | Delete
[59] Fix | Delete
INSERT INTO `[[dbprefix]]analytics_models` VALUES
[60] Fix | Delete
(1, 0, 0, '\\core\\analytics\\target\\course_dropout', '["\\\\mod_assign\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_assign\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_book\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_book\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_chat\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_chat\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_choice\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_choice\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_data\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_data\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_feedback\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_feedback\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_folder\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_folder\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_forum\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_forum\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_glossary\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_glossary\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_imscp\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_imscp\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_label\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_label\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_lesson\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_lesson\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_lti\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_lti\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_page\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_page\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_quiz\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_quiz\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_resource\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_resource\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_scorm\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_scorm\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_survey\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_survey\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_url\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_url\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_wiki\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_wiki\\\\analytics\\\\indicator\\\\social_breadth","\\\\mod_workshop\\\\analytics\\\\indicator\\\\cognitive_depth","\\\\mod_workshop\\\\analytics\\\\indicator\\\\social_breadth","\\\\core_course\\\\analytics\\\\indicator\\\\completion_enabled","\\\\core_course\\\\analytics\\\\indicator\\\\potential_cognitive_depth","\\\\core_course\\\\analytics\\\\indicator\\\\potential_social_breadth","\\\\core\\\\analytics\\\\indicator\\\\any_access_after_end","\\\\core\\\\analytics\\\\indicator\\\\any_access_before_start","\\\\core\\\\analytics\\\\indicator\\\\any_write_action_in_course","\\\\core\\\\analytics\\\\indicator\\\\read_actions"]', NULL, '0', [[timestamp]], [[timestamp]], [[timestamp]], 0),
[61] Fix | Delete
(2, 1, 1, '\\core\\analytics\\target\\no_teaching', '["\\\\core_course\\\\analytics\\\\indicator\\\\no_teacher","\\\\core_course\\\\analytics\\\\indicator\\\\no_student"]', '\\core\\analytics\\time_splitting\\single_range', '0', [[timestamp]], [[timestamp]], [[timestamp]], 0);
[62] Fix | Delete
[63] Fix | Delete
-- --------------------------------------------------------
[64] Fix | Delete
[65] Fix | Delete
--
[66] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_models_log`
[67] Fix | Delete
--
[68] Fix | Delete
[69] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_models_log` (
[70] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[71] Fix | Delete
`modelid` bigint(10) NOT NULL,
[72] Fix | Delete
`version` bigint(10) NOT NULL,
[73] Fix | Delete
`target` varchar(255) NOT NULL DEFAULT '',
[74] Fix | Delete
`indicators` longtext NOT NULL,
[75] Fix | Delete
`timesplitting` varchar(255) DEFAULT NULL,
[76] Fix | Delete
`score` decimal(10,5) NOT NULL DEFAULT '0.00000',
[77] Fix | Delete
`info` longtext,
[78] Fix | Delete
`dir` longtext NOT NULL,
[79] Fix | Delete
`timecreated` bigint(10) NOT NULL,
[80] Fix | Delete
`usermodified` bigint(10) NOT NULL,
[81] Fix | Delete
PRIMARY KEY (`id`),
[82] Fix | Delete
KEY `[[dbprefix]]analmodelog_mod_ix` (`modelid`)
[83] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Analytic models changes during evaluation.' AUTO_INCREMENT=1 ;
[84] Fix | Delete
[85] Fix | Delete
-- --------------------------------------------------------
[86] Fix | Delete
[87] Fix | Delete
--
[88] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_predictions`
[89] Fix | Delete
--
[90] Fix | Delete
[91] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_predictions` (
[92] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[93] Fix | Delete
`modelid` bigint(10) NOT NULL,
[94] Fix | Delete
`contextid` bigint(10) NOT NULL,
[95] Fix | Delete
`sampleid` bigint(10) NOT NULL,
[96] Fix | Delete
`rangeindex` mediumint(5) NOT NULL,
[97] Fix | Delete
`prediction` decimal(10,2) NOT NULL,
[98] Fix | Delete
`predictionscore` decimal(10,5) NOT NULL,
[99] Fix | Delete
`calculations` longtext NOT NULL,
[100] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[101] Fix | Delete
`timestart` bigint(10) DEFAULT NULL,
[102] Fix | Delete
`timeend` bigint(10) DEFAULT NULL,
[103] Fix | Delete
PRIMARY KEY (`id`),
[104] Fix | Delete
KEY `[[dbprefix]]analpred_modcon_ix` (`modelid`,`contextid`),
[105] Fix | Delete
KEY `[[dbprefix]]analpred_mod_ix` (`modelid`),
[106] Fix | Delete
KEY `[[dbprefix]]analpred_con_ix` (`contextid`)
[107] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Predictions' AUTO_INCREMENT=1 ;
[108] Fix | Delete
[109] Fix | Delete
-- --------------------------------------------------------
[110] Fix | Delete
[111] Fix | Delete
--
[112] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_prediction_actions`
[113] Fix | Delete
--
[114] Fix | Delete
[115] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_prediction_actions` (
[116] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[117] Fix | Delete
`predictionid` bigint(10) NOT NULL,
[118] Fix | Delete
`userid` bigint(10) NOT NULL,
[119] Fix | Delete
`actionname` varchar(255) NOT NULL DEFAULT '',
[120] Fix | Delete
`timecreated` bigint(10) NOT NULL,
[121] Fix | Delete
PRIMARY KEY (`id`),
[122] Fix | Delete
KEY `[[dbprefix]]analpredacti_preuseac_ix` (`predictionid`,`userid`,`actionname`),
[123] Fix | Delete
KEY `[[dbprefix]]analpredacti_pre_ix` (`predictionid`),
[124] Fix | Delete
KEY `[[dbprefix]]analpredacti_use_ix` (`userid`)
[125] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Register of user actions over predictions.' AUTO_INCREMENT=1 ;
[126] Fix | Delete
[127] Fix | Delete
-- --------------------------------------------------------
[128] Fix | Delete
[129] Fix | Delete
--
[130] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_predict_samples`
[131] Fix | Delete
--
[132] Fix | Delete
[133] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_predict_samples` (
[134] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[135] Fix | Delete
`modelid` bigint(10) NOT NULL,
[136] Fix | Delete
`analysableid` bigint(10) NOT NULL,
[137] Fix | Delete
`timesplitting` varchar(255) NOT NULL DEFAULT '',
[138] Fix | Delete
`rangeindex` bigint(10) NOT NULL,
[139] Fix | Delete
`sampleids` longtext NOT NULL,
[140] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[141] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[142] Fix | Delete
PRIMARY KEY (`id`),
[143] Fix | Delete
KEY `[[dbprefix]]analpredsamp_modanati_ix` (`modelid`,`analysableid`,`timesplitting`,`rangeindex`),
[144] Fix | Delete
KEY `[[dbprefix]]analpredsamp_mod_ix` (`modelid`)
[145] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Samples already used for predictions.' AUTO_INCREMENT=1 ;
[146] Fix | Delete
[147] Fix | Delete
-- --------------------------------------------------------
[148] Fix | Delete
[149] Fix | Delete
--
[150] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_train_samples`
[151] Fix | Delete
--
[152] Fix | Delete
[153] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_train_samples` (
[154] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[155] Fix | Delete
`modelid` bigint(10) NOT NULL,
[156] Fix | Delete
`analysableid` bigint(10) NOT NULL,
[157] Fix | Delete
`timesplitting` varchar(255) NOT NULL DEFAULT '',
[158] Fix | Delete
`fileid` bigint(10) NOT NULL,
[159] Fix | Delete
`sampleids` longtext NOT NULL,
[160] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[161] Fix | Delete
PRIMARY KEY (`id`),
[162] Fix | Delete
KEY `[[dbprefix]]analtraisamp_modanati_ix` (`modelid`,`analysableid`,`timesplitting`),
[163] Fix | Delete
KEY `[[dbprefix]]analtraisamp_mod_ix` (`modelid`),
[164] Fix | Delete
KEY `[[dbprefix]]analtraisamp_fil_ix` (`fileid`)
[165] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Samples used for training' AUTO_INCREMENT=1 ;
[166] Fix | Delete
[167] Fix | Delete
-- --------------------------------------------------------
[168] Fix | Delete
[169] Fix | Delete
--
[170] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_used_analysables`
[171] Fix | Delete
--
[172] Fix | Delete
[173] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_used_analysables` (
[174] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[175] Fix | Delete
`modelid` bigint(10) NOT NULL,
[176] Fix | Delete
`action` varchar(50) NOT NULL DEFAULT '',
[177] Fix | Delete
`analysableid` bigint(10) NOT NULL,
[178] Fix | Delete
`timeanalysed` bigint(10) NOT NULL,
[179] Fix | Delete
PRIMARY KEY (`id`),
[180] Fix | Delete
KEY `[[dbprefix]]analusedanal_modact_ix` (`modelid`,`action`),
[181] Fix | Delete
KEY `[[dbprefix]]analusedanal_mod_ix` (`modelid`)
[182] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='List of analysables used by each model' AUTO_INCREMENT=1 ;
[183] Fix | Delete
[184] Fix | Delete
-- --------------------------------------------------------
[185] Fix | Delete
[186] Fix | Delete
--
[187] Fix | Delete
-- Table structure for table `[[dbprefix]]analytics_used_files`
[188] Fix | Delete
--
[189] Fix | Delete
[190] Fix | Delete
CREATE TABLE `[[dbprefix]]analytics_used_files` (
[191] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[192] Fix | Delete
`modelid` bigint(10) NOT NULL DEFAULT '0',
[193] Fix | Delete
`fileid` bigint(10) NOT NULL DEFAULT '0',
[194] Fix | Delete
`action` varchar(50) NOT NULL DEFAULT '',
[195] Fix | Delete
`time` bigint(10) NOT NULL DEFAULT '0',
[196] Fix | Delete
PRIMARY KEY (`id`),
[197] Fix | Delete
KEY `[[dbprefix]]analusedfile_modactfi_ix` (`modelid`,`action`,`fileid`),
[198] Fix | Delete
KEY `[[dbprefix]]analusedfile_mod_ix` (`modelid`),
[199] Fix | Delete
KEY `[[dbprefix]]analusedfile_fil_ix` (`fileid`)
[200] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Files that have already been used for training and predictio' AUTO_INCREMENT=1 ;
[201] Fix | Delete
[202] Fix | Delete
-- --------------------------------------------------------
[203] Fix | Delete
[204] Fix | Delete
--
[205] Fix | Delete
-- Table structure for table `[[dbprefix]]assign`
[206] Fix | Delete
--
[207] Fix | Delete
[208] Fix | Delete
CREATE TABLE `[[dbprefix]]assign` (
[209] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[210] Fix | Delete
`course` bigint(10) NOT NULL DEFAULT '0',
[211] Fix | Delete
`name` varchar(255) NOT NULL DEFAULT '',
[212] Fix | Delete
`intro` longtext NOT NULL,
[213] Fix | Delete
`introformat` smallint(4) NOT NULL DEFAULT '0',
[214] Fix | Delete
`alwaysshowdescription` tinyint(2) NOT NULL DEFAULT '0',
[215] Fix | Delete
`nosubmissions` tinyint(2) NOT NULL DEFAULT '0',
[216] Fix | Delete
`submissiondrafts` tinyint(2) NOT NULL DEFAULT '0',
[217] Fix | Delete
`sendnotifications` tinyint(2) NOT NULL DEFAULT '0',
[218] Fix | Delete
`sendlatenotifications` tinyint(2) NOT NULL DEFAULT '0',
[219] Fix | Delete
`duedate` bigint(10) NOT NULL DEFAULT '0',
[220] Fix | Delete
`allowsubmissionsfromdate` bigint(10) NOT NULL DEFAULT '0',
[221] Fix | Delete
`grade` bigint(10) NOT NULL DEFAULT '0',
[222] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[223] Fix | Delete
`requiresubmissionstatement` tinyint(2) NOT NULL DEFAULT '0',
[224] Fix | Delete
`completionsubmit` tinyint(2) NOT NULL DEFAULT '0',
[225] Fix | Delete
`cutoffdate` bigint(10) NOT NULL DEFAULT '0',
[226] Fix | Delete
`gradingduedate` bigint(10) NOT NULL DEFAULT '0',
[227] Fix | Delete
`teamsubmission` tinyint(2) NOT NULL DEFAULT '0',
[228] Fix | Delete
`requireallteammemberssubmit` tinyint(2) NOT NULL DEFAULT '0',
[229] Fix | Delete
`teamsubmissiongroupingid` bigint(10) NOT NULL DEFAULT '0',
[230] Fix | Delete
`blindmarking` tinyint(2) NOT NULL DEFAULT '0',
[231] Fix | Delete
`revealidentities` tinyint(2) NOT NULL DEFAULT '0',
[232] Fix | Delete
`attemptreopenmethod` varchar(10) NOT NULL DEFAULT 'none',
[233] Fix | Delete
`maxattempts` mediumint(6) NOT NULL DEFAULT '-1',
[234] Fix | Delete
`markingworkflow` tinyint(2) NOT NULL DEFAULT '0',
[235] Fix | Delete
`markingallocation` tinyint(2) NOT NULL DEFAULT '0',
[236] Fix | Delete
`sendstudentnotifications` tinyint(2) NOT NULL DEFAULT '1',
[237] Fix | Delete
`preventsubmissionnotingroup` tinyint(2) NOT NULL DEFAULT '0',
[238] Fix | Delete
PRIMARY KEY (`id`),
[239] Fix | Delete
KEY `[[dbprefix]]assi_cou_ix` (`course`),
[240] Fix | Delete
KEY `[[dbprefix]]assi_tea_ix` (`teamsubmissiongroupingid`)
[241] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='This table saves information about an instance of mod_assign' AUTO_INCREMENT=1 ;
[242] Fix | Delete
[243] Fix | Delete
-- --------------------------------------------------------
[244] Fix | Delete
[245] Fix | Delete
--
[246] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_comments`
[247] Fix | Delete
--
[248] Fix | Delete
[249] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_comments` (
[250] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[251] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[252] Fix | Delete
`grade` bigint(10) NOT NULL DEFAULT '0',
[253] Fix | Delete
`commenttext` longtext,
[254] Fix | Delete
`commentformat` smallint(4) NOT NULL DEFAULT '0',
[255] Fix | Delete
PRIMARY KEY (`id`),
[256] Fix | Delete
KEY `[[dbprefix]]assicomm_ass_ix` (`assignment`),
[257] Fix | Delete
KEY `[[dbprefix]]assicomm_gra_ix` (`grade`)
[258] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Text feedback for submitted assignments' AUTO_INCREMENT=1 ;
[259] Fix | Delete
[260] Fix | Delete
-- --------------------------------------------------------
[261] Fix | Delete
[262] Fix | Delete
--
[263] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_editpdf_annot`
[264] Fix | Delete
--
[265] Fix | Delete
[266] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_editpdf_annot` (
[267] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[268] Fix | Delete
`gradeid` bigint(10) NOT NULL DEFAULT '0',
[269] Fix | Delete
`pageno` bigint(10) NOT NULL DEFAULT '0',
[270] Fix | Delete
`x` bigint(10) DEFAULT '0',
[271] Fix | Delete
`y` bigint(10) DEFAULT '0',
[272] Fix | Delete
`endx` bigint(10) DEFAULT '0',
[273] Fix | Delete
`endy` bigint(10) DEFAULT '0',
[274] Fix | Delete
`path` longtext,
[275] Fix | Delete
`type` varchar(10) DEFAULT 'line',
[276] Fix | Delete
`colour` varchar(10) DEFAULT 'black',
[277] Fix | Delete
`draft` tinyint(2) NOT NULL DEFAULT '1',
[278] Fix | Delete
PRIMARY KEY (`id`),
[279] Fix | Delete
KEY `[[dbprefix]]assieditanno_grapag_ix` (`gradeid`,`pageno`),
[280] Fix | Delete
KEY `[[dbprefix]]assieditanno_gra_ix` (`gradeid`)
[281] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='stores annotations added to pdfs submitted by students' AUTO_INCREMENT=1 ;
[282] Fix | Delete
[283] Fix | Delete
-- --------------------------------------------------------
[284] Fix | Delete
[285] Fix | Delete
--
[286] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_editpdf_cmnt`
[287] Fix | Delete
--
[288] Fix | Delete
[289] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_editpdf_cmnt` (
[290] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[291] Fix | Delete
`gradeid` bigint(10) NOT NULL DEFAULT '0',
[292] Fix | Delete
`x` bigint(10) DEFAULT '0',
[293] Fix | Delete
`y` bigint(10) DEFAULT '0',
[294] Fix | Delete
`width` bigint(10) DEFAULT '120',
[295] Fix | Delete
`rawtext` longtext,
[296] Fix | Delete
`pageno` bigint(10) NOT NULL DEFAULT '0',
[297] Fix | Delete
`colour` varchar(10) DEFAULT 'black',
[298] Fix | Delete
`draft` tinyint(2) NOT NULL DEFAULT '1',
[299] Fix | Delete
PRIMARY KEY (`id`),
[300] Fix | Delete
KEY `[[dbprefix]]assieditcmnt_grapag_ix` (`gradeid`,`pageno`),
[301] Fix | Delete
KEY `[[dbprefix]]assieditcmnt_gra_ix` (`gradeid`)
[302] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores comments added to pdfs' AUTO_INCREMENT=1 ;
[303] Fix | Delete
[304] Fix | Delete
-- --------------------------------------------------------
[305] Fix | Delete
[306] Fix | Delete
--
[307] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_editpdf_queue`
[308] Fix | Delete
--
[309] Fix | Delete
[310] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_editpdf_queue` (
[311] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[312] Fix | Delete
`submissionid` bigint(10) NOT NULL,
[313] Fix | Delete
`submissionattempt` bigint(10) NOT NULL,
[314] Fix | Delete
`attemptedconversions` bigint(10) NOT NULL DEFAULT '0',
[315] Fix | Delete
PRIMARY KEY (`id`),
[316] Fix | Delete
UNIQUE KEY `[[dbprefix]]assieditqueu_subsub_uix` (`submissionid`,`submissionattempt`)
[317] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Queue for processing.' AUTO_INCREMENT=1 ;
[318] Fix | Delete
[319] Fix | Delete
-- --------------------------------------------------------
[320] Fix | Delete
[321] Fix | Delete
--
[322] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_editpdf_quick`
[323] Fix | Delete
--
[324] Fix | Delete
[325] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_editpdf_quick` (
[326] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[327] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[328] Fix | Delete
`rawtext` longtext NOT NULL,
[329] Fix | Delete
`width` bigint(10) NOT NULL DEFAULT '120',
[330] Fix | Delete
`colour` varchar(10) DEFAULT 'yellow',
[331] Fix | Delete
PRIMARY KEY (`id`),
[332] Fix | Delete
KEY `[[dbprefix]]assieditquic_use_ix` (`userid`)
[333] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores teacher specified quicklist comments' AUTO_INCREMENT=1 ;
[334] Fix | Delete
[335] Fix | Delete
-- --------------------------------------------------------
[336] Fix | Delete
[337] Fix | Delete
--
[338] Fix | Delete
-- Table structure for table `[[dbprefix]]assignfeedback_file`
[339] Fix | Delete
--
[340] Fix | Delete
[341] Fix | Delete
CREATE TABLE `[[dbprefix]]assignfeedback_file` (
[342] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[343] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[344] Fix | Delete
`grade` bigint(10) NOT NULL DEFAULT '0',
[345] Fix | Delete
`numfiles` bigint(10) NOT NULL DEFAULT '0',
[346] Fix | Delete
PRIMARY KEY (`id`),
[347] Fix | Delete
KEY `[[dbprefix]]assifile_ass2_ix` (`assignment`),
[348] Fix | Delete
KEY `[[dbprefix]]assifile_gra_ix` (`grade`)
[349] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores info about the number of files submitted by a student' AUTO_INCREMENT=1 ;
[350] Fix | Delete
[351] Fix | Delete
-- --------------------------------------------------------
[352] Fix | Delete
[353] Fix | Delete
--
[354] Fix | Delete
-- Table structure for table `[[dbprefix]]assignment`
[355] Fix | Delete
--
[356] Fix | Delete
[357] Fix | Delete
CREATE TABLE `[[dbprefix]]assignment` (
[358] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[359] Fix | Delete
`course` bigint(10) NOT NULL DEFAULT '0',
[360] Fix | Delete
`name` varchar(255) NOT NULL DEFAULT '',
[361] Fix | Delete
`intro` longtext NOT NULL,
[362] Fix | Delete
`introformat` smallint(4) NOT NULL DEFAULT '0',
[363] Fix | Delete
`assignmenttype` varchar(50) NOT NULL DEFAULT '',
[364] Fix | Delete
`resubmit` tinyint(2) NOT NULL DEFAULT '0',
[365] Fix | Delete
`preventlate` tinyint(2) NOT NULL DEFAULT '0',
[366] Fix | Delete
`emailteachers` tinyint(2) NOT NULL DEFAULT '0',
[367] Fix | Delete
`var1` bigint(10) DEFAULT '0',
[368] Fix | Delete
`var2` bigint(10) DEFAULT '0',
[369] Fix | Delete
`var3` bigint(10) DEFAULT '0',
[370] Fix | Delete
`var4` bigint(10) DEFAULT '0',
[371] Fix | Delete
`var5` bigint(10) DEFAULT '0',
[372] Fix | Delete
`maxbytes` bigint(10) NOT NULL DEFAULT '100000',
[373] Fix | Delete
`timedue` bigint(10) NOT NULL DEFAULT '0',
[374] Fix | Delete
`timeavailable` bigint(10) NOT NULL DEFAULT '0',
[375] Fix | Delete
`grade` bigint(10) NOT NULL DEFAULT '0',
[376] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[377] Fix | Delete
PRIMARY KEY (`id`),
[378] Fix | Delete
KEY `[[dbprefix]]assi_cou2_ix` (`course`)
[379] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Defines assignments' AUTO_INCREMENT=1 ;
[380] Fix | Delete
[381] Fix | Delete
-- --------------------------------------------------------
[382] Fix | Delete
[383] Fix | Delete
--
[384] Fix | Delete
-- Table structure for table `[[dbprefix]]assignment_submissions`
[385] Fix | Delete
--
[386] Fix | Delete
[387] Fix | Delete
CREATE TABLE `[[dbprefix]]assignment_submissions` (
[388] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[389] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[390] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[391] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[392] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[393] Fix | Delete
`numfiles` bigint(10) NOT NULL DEFAULT '0',
[394] Fix | Delete
`data1` longtext,
[395] Fix | Delete
`data2` longtext,
[396] Fix | Delete
`grade` bigint(11) NOT NULL DEFAULT '0',
[397] Fix | Delete
`submissioncomment` longtext NOT NULL,
[398] Fix | Delete
`format` smallint(4) NOT NULL DEFAULT '0',
[399] Fix | Delete
`teacher` bigint(10) NOT NULL DEFAULT '0',
[400] Fix | Delete
`timemarked` bigint(10) NOT NULL DEFAULT '0',
[401] Fix | Delete
`mailed` tinyint(1) NOT NULL DEFAULT '0',
[402] Fix | Delete
PRIMARY KEY (`id`),
[403] Fix | Delete
KEY `[[dbprefix]]assisubm_use2_ix` (`userid`),
[404] Fix | Delete
KEY `[[dbprefix]]assisubm_mai_ix` (`mailed`),
[405] Fix | Delete
KEY `[[dbprefix]]assisubm_tim_ix` (`timemarked`),
[406] Fix | Delete
KEY `[[dbprefix]]assisubm_ass2_ix` (`assignment`)
[407] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Info about submitted assignments' AUTO_INCREMENT=1 ;
[408] Fix | Delete
[409] Fix | Delete
-- --------------------------------------------------------
[410] Fix | Delete
[411] Fix | Delete
--
[412] Fix | Delete
-- Table structure for table `[[dbprefix]]assignment_upgrade`
[413] Fix | Delete
--
[414] Fix | Delete
[415] Fix | Delete
CREATE TABLE `[[dbprefix]]assignment_upgrade` (
[416] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[417] Fix | Delete
`oldcmid` bigint(10) NOT NULL DEFAULT '0',
[418] Fix | Delete
`oldinstance` bigint(10) NOT NULL DEFAULT '0',
[419] Fix | Delete
`newcmid` bigint(10) NOT NULL DEFAULT '0',
[420] Fix | Delete
`newinstance` bigint(10) NOT NULL DEFAULT '0',
[421] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[422] Fix | Delete
PRIMARY KEY (`id`),
[423] Fix | Delete
KEY `[[dbprefix]]assiupgr_old_ix` (`oldcmid`),
[424] Fix | Delete
KEY `[[dbprefix]]assiupgr_old2_ix` (`oldinstance`)
[425] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Info about upgraded assignments' AUTO_INCREMENT=1 ;
[426] Fix | Delete
[427] Fix | Delete
-- --------------------------------------------------------
[428] Fix | Delete
[429] Fix | Delete
--
[430] Fix | Delete
-- Table structure for table `[[dbprefix]]assignsubmission_file`
[431] Fix | Delete
--
[432] Fix | Delete
[433] Fix | Delete
CREATE TABLE `[[dbprefix]]assignsubmission_file` (
[434] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[435] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[436] Fix | Delete
`submission` bigint(10) NOT NULL DEFAULT '0',
[437] Fix | Delete
`numfiles` bigint(10) NOT NULL DEFAULT '0',
[438] Fix | Delete
PRIMARY KEY (`id`),
[439] Fix | Delete
KEY `[[dbprefix]]assifile_ass_ix` (`assignment`),
[440] Fix | Delete
KEY `[[dbprefix]]assifile_sub_ix` (`submission`)
[441] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Info about file submissions for assignments' AUTO_INCREMENT=1 ;
[442] Fix | Delete
[443] Fix | Delete
-- --------------------------------------------------------
[444] Fix | Delete
[445] Fix | Delete
--
[446] Fix | Delete
-- Table structure for table `[[dbprefix]]assignsubmission_onlinetext`
[447] Fix | Delete
--
[448] Fix | Delete
[449] Fix | Delete
CREATE TABLE `[[dbprefix]]assignsubmission_onlinetext` (
[450] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[451] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[452] Fix | Delete
`submission` bigint(10) NOT NULL DEFAULT '0',
[453] Fix | Delete
`onlinetext` longtext,
[454] Fix | Delete
`onlineformat` smallint(4) NOT NULL DEFAULT '0',
[455] Fix | Delete
PRIMARY KEY (`id`),
[456] Fix | Delete
KEY `[[dbprefix]]assionli_ass_ix` (`assignment`),
[457] Fix | Delete
KEY `[[dbprefix]]assionli_sub_ix` (`submission`)
[458] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Info about onlinetext submission' AUTO_INCREMENT=1 ;
[459] Fix | Delete
[460] Fix | Delete
-- --------------------------------------------------------
[461] Fix | Delete
[462] Fix | Delete
--
[463] Fix | Delete
-- Table structure for table `[[dbprefix]]assign_grades`
[464] Fix | Delete
--
[465] Fix | Delete
[466] Fix | Delete
CREATE TABLE `[[dbprefix]]assign_grades` (
[467] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[468] Fix | Delete
`assignment` bigint(10) NOT NULL DEFAULT '0',
[469] Fix | Delete
`userid` bigint(10) NOT NULL DEFAULT '0',
[470] Fix | Delete
`timecreated` bigint(10) NOT NULL DEFAULT '0',
[471] Fix | Delete
`timemodified` bigint(10) NOT NULL DEFAULT '0',
[472] Fix | Delete
`grader` bigint(10) NOT NULL DEFAULT '0',
[473] Fix | Delete
`grade` decimal(10,5) DEFAULT '0.00000',
[474] Fix | Delete
`attemptnumber` bigint(10) NOT NULL DEFAULT '0',
[475] Fix | Delete
PRIMARY KEY (`id`),
[476] Fix | Delete
UNIQUE KEY `[[dbprefix]]assigrad_assuseatt_uix` (`assignment`,`userid`,`attemptnumber`),
[477] Fix | Delete
KEY `[[dbprefix]]assigrad_use_ix` (`userid`),
[478] Fix | Delete
KEY `[[dbprefix]]assigrad_att_ix` (`attemptnumber`),
[479] Fix | Delete
KEY `[[dbprefix]]assigrad_ass_ix` (`assignment`)
[480] Fix | Delete
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Grading information about a single assignment submission.' AUTO_INCREMENT=1 ;
[481] Fix | Delete
[482] Fix | Delete
-- --------------------------------------------------------
[483] Fix | Delete
[484] Fix | Delete
--
[485] Fix | Delete
-- Table structure for table `[[dbprefix]]assign_overrides`
[486] Fix | Delete
--
[487] Fix | Delete
[488] Fix | Delete
CREATE TABLE `[[dbprefix]]assign_overrides` (
[489] Fix | Delete
`id` bigint(10) NOT NULL AUTO_INCREMENT,
[490] Fix | Delete
`assignid` bigint(10) NOT NULL DEFAULT '0',
[491] Fix | Delete
`groupid` bigint(10) DEFAULT NULL,
[492] Fix | Delete
`userid` bigint(10) DEFAULT NULL,
[493] Fix | Delete
`sortorder` bigint(10) DEFAULT NULL,
[494] Fix | Delete
`allowsubmissionsfromdate` bigint(10) DEFAULT NULL,
[495] Fix | Delete
`duedate` bigint(10) DEFAULT NULL,
[496] Fix | Delete
`cutoffdate` bigint(10) DEFAULT NULL,
[497] Fix | Delete
PRIMARY KEY (`id`),
[498] Fix | Delete
KEY `[[dbprefix]]assiover_ass_ix` (`assignid`),
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function