Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../atutor
File: atutor.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: `aTutor224`
[11] Fix | Delete
--
[12] Fix | Delete
[13] Fix | Delete
-- --------------------------------------------------------
[14] Fix | Delete
[15] Fix | Delete
--
[16] Fix | Delete
-- Table structure for table `[[dbprefix]]admins`
[17] Fix | Delete
--
[18] Fix | Delete
[19] Fix | Delete
CREATE TABLE `[[dbprefix]]admins` (
[20] Fix | Delete
`login` varchar(30) NOT NULL DEFAULT '',
[21] Fix | Delete
`password` varchar(40) NOT NULL DEFAULT '',
[22] Fix | Delete
`real_name` varchar(120) NOT NULL DEFAULT '',
[23] Fix | Delete
`email` varchar(50) NOT NULL DEFAULT '',
[24] Fix | Delete
`language` varchar(5) NOT NULL DEFAULT '',
[25] Fix | Delete
`privileges` mediumint(8) unsigned NOT NULL DEFAULT '0',
[26] Fix | Delete
`last_login` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
[27] Fix | Delete
PRIMARY KEY (`login`)
[28] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[29] Fix | Delete
[30] Fix | Delete
--
[31] Fix | Delete
-- Dumping data for table `[[dbprefix]]admins`
[32] Fix | Delete
--
[33] Fix | Delete
[34] Fix | Delete
INSERT INTO `[[dbprefix]]admins` VALUES
[35] Fix | Delete
('[[admin_username]]', '[[admin_pass]]', '', '[[admin_email]]', 'en', 1, '[[regtime]]');
[36] Fix | Delete
[37] Fix | Delete
-- --------------------------------------------------------
[38] Fix | Delete
[39] Fix | Delete
--
[40] Fix | Delete
-- Table structure for table `[[dbprefix]]admin_log`
[41] Fix | Delete
--
[42] Fix | Delete
[43] Fix | Delete
CREATE TABLE `[[dbprefix]]admin_log` (
[44] Fix | Delete
`login` varchar(30) NOT NULL DEFAULT '',
[45] Fix | Delete
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
[46] Fix | Delete
`operation` varchar(20) NOT NULL DEFAULT '',
[47] Fix | Delete
`table` varchar(30) NOT NULL DEFAULT '',
[48] Fix | Delete
`num_affected` tinyint(3) NOT NULL DEFAULT '0',
[49] Fix | Delete
`details` text,
[50] Fix | Delete
KEY `login` (`login`)
[51] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[52] Fix | Delete
[53] Fix | Delete
-- --------------------------------------------------------
[54] Fix | Delete
[55] Fix | Delete
--
[56] Fix | Delete
-- Table structure for table `[[dbprefix]]assignments`
[57] Fix | Delete
--
[58] Fix | Delete
[59] Fix | Delete
CREATE TABLE `[[dbprefix]]assignments` (
[60] Fix | Delete
`assignment_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[61] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[62] Fix | Delete
`title` varchar(240) NOT NULL DEFAULT '',
[63] Fix | Delete
`assign_to` mediumint(8) unsigned DEFAULT '0',
[64] Fix | Delete
`date_due` datetime NOT NULL,
[65] Fix | Delete
`date_cutoff` datetime NOT NULL,
[66] Fix | Delete
`multi_submit` tinyint(4) DEFAULT '0',
[67] Fix | Delete
PRIMARY KEY (`assignment_id`),
[68] Fix | Delete
KEY `course_id` (`course_id`)
[69] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[70] Fix | Delete
[71] Fix | Delete
-- --------------------------------------------------------
[72] Fix | Delete
[73] Fix | Delete
--
[74] Fix | Delete
-- Table structure for table `[[dbprefix]]auto_enroll`
[75] Fix | Delete
--
[76] Fix | Delete
[77] Fix | Delete
CREATE TABLE `[[dbprefix]]auto_enroll` (
[78] Fix | Delete
`auto_enroll_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[79] Fix | Delete
`associate_string` varchar(10) NOT NULL,
[80] Fix | Delete
`name` varchar(50) NOT NULL DEFAULT '',
[81] Fix | Delete
PRIMARY KEY (`auto_enroll_id`)
[82] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[83] Fix | Delete
[84] Fix | Delete
-- --------------------------------------------------------
[85] Fix | Delete
[86] Fix | Delete
--
[87] Fix | Delete
-- Table structure for table `[[dbprefix]]auto_enroll_courses`
[88] Fix | Delete
--
[89] Fix | Delete
[90] Fix | Delete
CREATE TABLE `[[dbprefix]]auto_enroll_courses` (
[91] Fix | Delete
`auto_enroll_courses_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[92] Fix | Delete
`auto_enroll_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[93] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[94] Fix | Delete
PRIMARY KEY (`auto_enroll_courses_id`)
[95] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[96] Fix | Delete
[97] Fix | Delete
-- --------------------------------------------------------
[98] Fix | Delete
[99] Fix | Delete
--
[100] Fix | Delete
-- Table structure for table `[[dbprefix]]backups`
[101] Fix | Delete
--
[102] Fix | Delete
[103] Fix | Delete
CREATE TABLE `[[dbprefix]]backups` (
[104] Fix | Delete
`backup_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[105] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[106] Fix | Delete
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
[107] Fix | Delete
`description` text,
[108] Fix | Delete
`file_size` int(10) unsigned NOT NULL DEFAULT '0',
[109] Fix | Delete
`system_file_name` varchar(50) NOT NULL DEFAULT '',
[110] Fix | Delete
`file_name` text,
[111] Fix | Delete
`contents` text,
[112] Fix | Delete
PRIMARY KEY (`backup_id`),
[113] Fix | Delete
KEY `course_id` (`course_id`)
[114] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[115] Fix | Delete
[116] Fix | Delete
-- --------------------------------------------------------
[117] Fix | Delete
[118] Fix | Delete
--
[119] Fix | Delete
-- Table structure for table `[[dbprefix]]basiclti_content`
[120] Fix | Delete
--
[121] Fix | Delete
[122] Fix | Delete
CREATE TABLE `[[dbprefix]]basiclti_content` (
[123] Fix | Delete
`id` mediumint(10) NOT NULL AUTO_INCREMENT,
[124] Fix | Delete
`content_id` mediumint(10) NOT NULL DEFAULT '0',
[125] Fix | Delete
`course_id` mediumint(10) NOT NULL DEFAULT '0',
[126] Fix | Delete
`toolid` varchar(32) NOT NULL DEFAULT '',
[127] Fix | Delete
`preferheight` mediumint(4) NOT NULL DEFAULT '0',
[128] Fix | Delete
`sendname` mediumint(1) NOT NULL DEFAULT '0',
[129] Fix | Delete
`sendemailaddr` mediumint(1) NOT NULL DEFAULT '0',
[130] Fix | Delete
`gradebook_test_id` mediumint(10) NOT NULL DEFAULT '0',
[131] Fix | Delete
`allowroster` mediumint(1) NOT NULL DEFAULT '0',
[132] Fix | Delete
`allowsetting` mediumint(1) NOT NULL DEFAULT '0',
[133] Fix | Delete
`customparameters` text,
[134] Fix | Delete
`launchinpopup` mediumint(1) NOT NULL DEFAULT '0',
[135] Fix | Delete
`debuglaunch` mediumint(1) NOT NULL DEFAULT '0',
[136] Fix | Delete
`placementsecret` varchar(1023) DEFAULT NULL,
[137] Fix | Delete
`timeplacementsecret` mediumint(10) NOT NULL DEFAULT '0',
[138] Fix | Delete
`oldplacementsecret` varchar(1023) DEFAULT NULL,
[139] Fix | Delete
`setting` text,
[140] Fix | Delete
`xmlimport` text,
[141] Fix | Delete
PRIMARY KEY (`id`,`course_id`,`content_id`)
[142] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[143] Fix | Delete
[144] Fix | Delete
-- --------------------------------------------------------
[145] Fix | Delete
[146] Fix | Delete
--
[147] Fix | Delete
-- Table structure for table `[[dbprefix]]basiclti_tools`
[148] Fix | Delete
--
[149] Fix | Delete
[150] Fix | Delete
CREATE TABLE `[[dbprefix]]basiclti_tools` (
[151] Fix | Delete
`id` mediumint(10) NOT NULL AUTO_INCREMENT,
[152] Fix | Delete
`toolid` varchar(32) NOT NULL,
[153] Fix | Delete
`course_id` mediumint(10) NOT NULL DEFAULT '0',
[154] Fix | Delete
`title` varchar(255) NOT NULL,
[155] Fix | Delete
`description` varchar(1024) DEFAULT NULL,
[156] Fix | Delete
`timecreated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
[157] Fix | Delete
`timemodified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
[158] Fix | Delete
`toolurl` varchar(1023) NOT NULL,
[159] Fix | Delete
`resourcekey` varchar(1023) NOT NULL,
[160] Fix | Delete
`password` varchar(1023) NOT NULL,
[161] Fix | Delete
`preferheight` mediumint(4) NOT NULL DEFAULT '0',
[162] Fix | Delete
`allowpreferheight` mediumint(1) NOT NULL DEFAULT '0',
[163] Fix | Delete
`sendname` mediumint(1) NOT NULL DEFAULT '0',
[164] Fix | Delete
`sendemailaddr` mediumint(1) NOT NULL DEFAULT '0',
[165] Fix | Delete
`acceptgrades` mediumint(1) NOT NULL DEFAULT '0',
[166] Fix | Delete
`allowroster` mediumint(1) NOT NULL DEFAULT '0',
[167] Fix | Delete
`allowsetting` mediumint(1) NOT NULL DEFAULT '0',
[168] Fix | Delete
`allowcustomparameters` mediumint(1) NOT NULL DEFAULT '0',
[169] Fix | Delete
`customparameters` text,
[170] Fix | Delete
`organizationid` varchar(64) DEFAULT NULL,
[171] Fix | Delete
`organizationurl` varchar(255) DEFAULT NULL,
[172] Fix | Delete
`organizationdescr` varchar(255) DEFAULT NULL,
[173] Fix | Delete
`launchinpopup` mediumint(1) NOT NULL DEFAULT '0',
[174] Fix | Delete
`debuglaunch` mediumint(1) NOT NULL DEFAULT '0',
[175] Fix | Delete
PRIMARY KEY (`id`,`toolid`)
[176] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[177] Fix | Delete
[178] Fix | Delete
-- --------------------------------------------------------
[179] Fix | Delete
[180] Fix | Delete
--
[181] Fix | Delete
-- Table structure for table `[[dbprefix]]blog_posts`
[182] Fix | Delete
--
[183] Fix | Delete
[184] Fix | Delete
CREATE TABLE `[[dbprefix]]blog_posts` (
[185] Fix | Delete
`post_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[186] Fix | Delete
`member_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[187] Fix | Delete
`owner_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
[188] Fix | Delete
`owner_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[189] Fix | Delete
`private` tinyint(3) unsigned NOT NULL DEFAULT '0',
[190] Fix | Delete
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
[191] Fix | Delete
`num_comments` tinyint(3) unsigned NOT NULL DEFAULT '0',
[192] Fix | Delete
`title` varchar(255) NOT NULL,
[193] Fix | Delete
`body` text,
[194] Fix | Delete
PRIMARY KEY (`post_id`)
[195] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[196] Fix | Delete
[197] Fix | Delete
-- --------------------------------------------------------
[198] Fix | Delete
[199] Fix | Delete
--
[200] Fix | Delete
-- Table structure for table `[[dbprefix]]blog_posts_comments`
[201] Fix | Delete
--
[202] Fix | Delete
[203] Fix | Delete
CREATE TABLE `[[dbprefix]]blog_posts_comments` (
[204] Fix | Delete
`comment_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[205] Fix | Delete
`post_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[206] Fix | Delete
`member_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[207] Fix | Delete
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
[208] Fix | Delete
`private` tinyint(3) unsigned NOT NULL DEFAULT '0',
[209] Fix | Delete
`comment` text,
[210] Fix | Delete
PRIMARY KEY (`comment_id`),
[211] Fix | Delete
KEY `post_id` (`post_id`)
[212] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[213] Fix | Delete
[214] Fix | Delete
-- --------------------------------------------------------
[215] Fix | Delete
[216] Fix | Delete
--
[217] Fix | Delete
-- Table structure for table `[[dbprefix]]blog_subscription`
[218] Fix | Delete
--
[219] Fix | Delete
[220] Fix | Delete
CREATE TABLE `[[dbprefix]]blog_subscription` (
[221] Fix | Delete
`group_id` mediumint(9) NOT NULL,
[222] Fix | Delete
`member_id` mediumint(9) NOT NULL,
[223] Fix | Delete
PRIMARY KEY (`group_id`,`member_id`)
[224] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[225] Fix | Delete
[226] Fix | Delete
-- --------------------------------------------------------
[227] Fix | Delete
[228] Fix | Delete
--
[229] Fix | Delete
-- Table structure for table `[[dbprefix]]calendar_bookmark`
[230] Fix | Delete
--
[231] Fix | Delete
[232] Fix | Delete
CREATE TABLE `[[dbprefix]]calendar_bookmark` (
[233] Fix | Delete
`memberid` int(11) DEFAULT NULL,
[234] Fix | Delete
`ownerid` int(8) DEFAULT NULL,
[235] Fix | Delete
`courseid` int(8) DEFAULT NULL,
[236] Fix | Delete
`calname` varchar(256) DEFAULT NULL
[237] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[238] Fix | Delete
[239] Fix | Delete
-- --------------------------------------------------------
[240] Fix | Delete
[241] Fix | Delete
--
[242] Fix | Delete
-- Table structure for table `[[dbprefix]]calendar_events`
[243] Fix | Delete
--
[244] Fix | Delete
[245] Fix | Delete
CREATE TABLE `[[dbprefix]]calendar_events` (
[246] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[247] Fix | Delete
`title` varchar(256) DEFAULT NULL,
[248] Fix | Delete
`start` datetime DEFAULT NULL,
[249] Fix | Delete
`end` datetime DEFAULT NULL,
[250] Fix | Delete
`allDay` varchar(20) DEFAULT NULL,
[251] Fix | Delete
`userid` int(8) DEFAULT NULL,
[252] Fix | Delete
PRIMARY KEY (`id`)
[253] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[254] Fix | Delete
[255] Fix | Delete
-- --------------------------------------------------------
[256] Fix | Delete
[257] Fix | Delete
--
[258] Fix | Delete
-- Table structure for table `[[dbprefix]]calendar_google_sync`
[259] Fix | Delete
--
[260] Fix | Delete
[261] Fix | Delete
CREATE TABLE `[[dbprefix]]calendar_google_sync` (
[262] Fix | Delete
`id` int(11) NOT NULL AUTO_INCREMENT,
[263] Fix | Delete
`token` varchar(256) DEFAULT NULL,
[264] Fix | Delete
`userid` int(8) DEFAULT NULL,
[265] Fix | Delete
`calids` text,
[266] Fix | Delete
PRIMARY KEY (`id`)
[267] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[268] Fix | Delete
[269] Fix | Delete
-- --------------------------------------------------------
[270] Fix | Delete
[271] Fix | Delete
--
[272] Fix | Delete
-- Table structure for table `[[dbprefix]]calendar_notification`
[273] Fix | Delete
--
[274] Fix | Delete
[275] Fix | Delete
CREATE TABLE `[[dbprefix]]calendar_notification` (
[276] Fix | Delete
`memberid` int(11) DEFAULT NULL,
[277] Fix | Delete
`status` int(8) DEFAULT NULL
[278] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[279] Fix | Delete
[280] Fix | Delete
-- --------------------------------------------------------
[281] Fix | Delete
[282] Fix | Delete
--
[283] Fix | Delete
-- Table structure for table `[[dbprefix]]config`
[284] Fix | Delete
--
[285] Fix | Delete
[286] Fix | Delete
CREATE TABLE `[[dbprefix]]config` (
[287] Fix | Delete
`name` char(30) NOT NULL DEFAULT '',
[288] Fix | Delete
`value` text,
[289] Fix | Delete
PRIMARY KEY (`name`)
[290] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[291] Fix | Delete
[292] Fix | Delete
--
[293] Fix | Delete
-- Dumping data for table `[[dbprefix]]config`
[294] Fix | Delete
--
[295] Fix | Delete
[296] Fix | Delete
INSERT INTO `[[dbprefix]]config` VALUES
[297] Fix | Delete
('encyclopedia', 'http://www.wikipedia.org'),
[298] Fix | Delete
('dictionary', 'http://dictionary.reference.com/'),
[299] Fix | Delete
('thesaurus', 'http://www.thesaurus.com/'),
[300] Fix | Delete
('atlas', 'http://maps.google.ca/'),
[301] Fix | Delete
('calculator', 'http://www.calculateforfree.com/'),
[302] Fix | Delete
('note_taking', 'http://www.aypwip.org/webnote/'),
[303] Fix | Delete
('abacas', 'http://www.mandarintools.com/abacus.html'),
[304] Fix | Delete
('pa_max_memory_per_member', '50'),
[305] Fix | Delete
('home_url', 'https://atutor.github.io'),
[306] Fix | Delete
('custom_logo_foot_enabled', '1'),
[307] Fix | Delete
('site_name', '[[site_name]]'),
[308] Fix | Delete
('contact_email', '[[admin_email]]'),
[309] Fix | Delete
('set_utf8', '1'),
[310] Fix | Delete
('session_path', '[[relativeurl]]/');
[311] Fix | Delete
[312] Fix | Delete
-- --------------------------------------------------------
[313] Fix | Delete
[314] Fix | Delete
--
[315] Fix | Delete
-- Table structure for table `[[dbprefix]]content`
[316] Fix | Delete
--
[317] Fix | Delete
[318] Fix | Delete
CREATE TABLE `[[dbprefix]]content` (
[319] Fix | Delete
`content_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[320] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[321] Fix | Delete
`content_parent_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[322] Fix | Delete
`ordering` mediumint(8) NOT NULL DEFAULT '0',
[323] Fix | Delete
`last_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
[324] Fix | Delete
`revision` tinyint(3) unsigned NOT NULL DEFAULT '0',
[325] Fix | Delete
`formatting` tinyint(4) NOT NULL DEFAULT '0',
[326] Fix | Delete
`release_date` datetime NOT NULL,
[327] Fix | Delete
`keywords` text,
[328] Fix | Delete
`content_path` text,
[329] Fix | Delete
`title` varchar(255) NOT NULL,
[330] Fix | Delete
`text` text,
[331] Fix | Delete
`head` text,
[332] Fix | Delete
`use_customized_head` tinyint(4) NOT NULL,
[333] Fix | Delete
`test_message` text,
[334] Fix | Delete
`allow_test_export` tinyint(1) unsigned NOT NULL,
[335] Fix | Delete
`content_type` tinyint(1) unsigned NOT NULL,
[336] Fix | Delete
PRIMARY KEY (`content_id`),
[337] Fix | Delete
KEY `course_id` (`course_id`)
[338] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[339] Fix | Delete
[340] Fix | Delete
-- --------------------------------------------------------
[341] Fix | Delete
[342] Fix | Delete
--
[343] Fix | Delete
-- Table structure for table `[[dbprefix]]content_forums_assoc`
[344] Fix | Delete
--
[345] Fix | Delete
[346] Fix | Delete
CREATE TABLE `[[dbprefix]]content_forums_assoc` (
[347] Fix | Delete
`content_id` int(10) unsigned NOT NULL,
[348] Fix | Delete
`forum_id` int(10) unsigned NOT NULL,
[349] Fix | Delete
PRIMARY KEY (`content_id`,`forum_id`)
[350] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[351] Fix | Delete
[352] Fix | Delete
-- --------------------------------------------------------
[353] Fix | Delete
[354] Fix | Delete
--
[355] Fix | Delete
-- Table structure for table `[[dbprefix]]content_prerequisites`
[356] Fix | Delete
--
[357] Fix | Delete
[358] Fix | Delete
CREATE TABLE `[[dbprefix]]content_prerequisites` (
[359] Fix | Delete
`content_id` mediumint(9) NOT NULL,
[360] Fix | Delete
`type` varchar(50) NOT NULL DEFAULT '',
[361] Fix | Delete
`item_id` mediumint(9) NOT NULL,
[362] Fix | Delete
PRIMARY KEY (`content_id`,`type`,`item_id`)
[363] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[364] Fix | Delete
[365] Fix | Delete
-- --------------------------------------------------------
[366] Fix | Delete
[367] Fix | Delete
--
[368] Fix | Delete
-- Table structure for table `[[dbprefix]]content_tests_assoc`
[369] Fix | Delete
--
[370] Fix | Delete
[371] Fix | Delete
CREATE TABLE `[[dbprefix]]content_tests_assoc` (
[372] Fix | Delete
`content_id` int(10) unsigned NOT NULL,
[373] Fix | Delete
`test_id` int(10) unsigned NOT NULL,
[374] Fix | Delete
PRIMARY KEY (`content_id`,`test_id`)
[375] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[376] Fix | Delete
[377] Fix | Delete
-- --------------------------------------------------------
[378] Fix | Delete
[379] Fix | Delete
--
[380] Fix | Delete
-- Table structure for table `[[dbprefix]]courses`
[381] Fix | Delete
--
[382] Fix | Delete
[383] Fix | Delete
CREATE TABLE `[[dbprefix]]courses` (
[384] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[385] Fix | Delete
`member_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[386] Fix | Delete
`cat_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[387] Fix | Delete
`content_packaging` enum('none','top','all') NOT NULL DEFAULT 'top',
[388] Fix | Delete
`access` enum('public','protected','private') NOT NULL DEFAULT 'public',
[389] Fix | Delete
`created_date` datetime NOT NULL,
[390] Fix | Delete
`title` varchar(255) NOT NULL,
[391] Fix | Delete
`description` text,
[392] Fix | Delete
`course_dir_name` varchar(255) NOT NULL,
[393] Fix | Delete
`notify` tinyint(4) NOT NULL DEFAULT '0',
[394] Fix | Delete
`max_quota` varchar(30) NOT NULL DEFAULT '',
[395] Fix | Delete
`max_file_size` varchar(30) NOT NULL DEFAULT '',
[396] Fix | Delete
`hide` tinyint(4) NOT NULL DEFAULT '0',
[397] Fix | Delete
`copyright` text,
[398] Fix | Delete
`primary_language` varchar(5) NOT NULL DEFAULT '',
[399] Fix | Delete
`rss` tinyint(4) NOT NULL DEFAULT '0',
[400] Fix | Delete
`icon` varchar(75) NOT NULL DEFAULT '',
[401] Fix | Delete
`home_links` text,
[402] Fix | Delete
`main_links` text,
[403] Fix | Delete
`side_menu` varchar(255) NOT NULL DEFAULT '',
[404] Fix | Delete
`release_date` datetime NOT NULL,
[405] Fix | Delete
`end_date` datetime NOT NULL,
[406] Fix | Delete
`banner` text,
[407] Fix | Delete
`home_view` tinyint(4) NOT NULL DEFAULT '1',
[408] Fix | Delete
PRIMARY KEY (`course_id`)
[409] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[410] Fix | Delete
[411] Fix | Delete
-- --------------------------------------------------------
[412] Fix | Delete
[413] Fix | Delete
--
[414] Fix | Delete
-- Table structure for table `[[dbprefix]]course_access`
[415] Fix | Delete
--
[416] Fix | Delete
[417] Fix | Delete
CREATE TABLE `[[dbprefix]]course_access` (
[418] Fix | Delete
`password` char(8) NOT NULL,
[419] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL,
[420] Fix | Delete
`expiry_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
[421] Fix | Delete
`enabled` tinyint(4) NOT NULL,
[422] Fix | Delete
PRIMARY KEY (`password`),
[423] Fix | Delete
UNIQUE KEY `course_id` (`course_id`)
[424] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[425] Fix | Delete
[426] Fix | Delete
-- --------------------------------------------------------
[427] Fix | Delete
[428] Fix | Delete
--
[429] Fix | Delete
-- Table structure for table `[[dbprefix]]course_cats`
[430] Fix | Delete
--
[431] Fix | Delete
[432] Fix | Delete
CREATE TABLE `[[dbprefix]]course_cats` (
[433] Fix | Delete
`cat_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[434] Fix | Delete
`cat_name` varchar(255) NOT NULL,
[435] Fix | Delete
`cat_parent` mediumint(8) unsigned NOT NULL DEFAULT '0',
[436] Fix | Delete
`theme` varchar(30) NOT NULL DEFAULT '',
[437] Fix | Delete
PRIMARY KEY (`cat_id`)
[438] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[439] Fix | Delete
[440] Fix | Delete
-- --------------------------------------------------------
[441] Fix | Delete
[442] Fix | Delete
--
[443] Fix | Delete
-- Table structure for table `[[dbprefix]]course_enrollment`
[444] Fix | Delete
--
[445] Fix | Delete
[446] Fix | Delete
CREATE TABLE `[[dbprefix]]course_enrollment` (
[447] Fix | Delete
`member_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[448] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[449] Fix | Delete
`approved` enum('y','n','a') NOT NULL DEFAULT 'n',
[450] Fix | Delete
`privileges` int(10) unsigned NOT NULL DEFAULT '0',
[451] Fix | Delete
`role` varchar(35) NOT NULL DEFAULT '',
[452] Fix | Delete
`last_cid` mediumint(8) unsigned NOT NULL DEFAULT '0',
[453] Fix | Delete
PRIMARY KEY (`member_id`,`course_id`)
[454] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[455] Fix | Delete
[456] Fix | Delete
-- --------------------------------------------------------
[457] Fix | Delete
[458] Fix | Delete
--
[459] Fix | Delete
-- Table structure for table `[[dbprefix]]course_stats`
[460] Fix | Delete
--
[461] Fix | Delete
[462] Fix | Delete
CREATE TABLE `[[dbprefix]]course_stats` (
[463] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[464] Fix | Delete
`login_date` date NOT NULL,
[465] Fix | Delete
`guests` mediumint(8) unsigned NOT NULL DEFAULT '0',
[466] Fix | Delete
`members` mediumint(8) unsigned NOT NULL DEFAULT '0',
[467] Fix | Delete
PRIMARY KEY (`course_id`,`login_date`)
[468] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[469] Fix | Delete
[470] Fix | Delete
-- --------------------------------------------------------
[471] Fix | Delete
[472] Fix | Delete
--
[473] Fix | Delete
-- Table structure for table `[[dbprefix]]external_resources`
[474] Fix | Delete
--
[475] Fix | Delete
[476] Fix | Delete
CREATE TABLE `[[dbprefix]]external_resources` (
[477] Fix | Delete
`resource_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
[478] Fix | Delete
`course_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
[479] Fix | Delete
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
[480] Fix | Delete
`title` varchar(255) NOT NULL,
[481] Fix | Delete
`author` varchar(150) NOT NULL,
[482] Fix | Delete
`publisher` varchar(150) NOT NULL,
[483] Fix | Delete
`date` varchar(20) NOT NULL DEFAULT '',
[484] Fix | Delete
`comments` text,
[485] Fix | Delete
`id` varchar(50) NOT NULL DEFAULT '',
[486] Fix | Delete
`url` varchar(255) NOT NULL DEFAULT '',
[487] Fix | Delete
PRIMARY KEY (`resource_id`),
[488] Fix | Delete
KEY `course_id` (`course_id`)
[489] Fix | Delete
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[490] Fix | Delete
[491] Fix | Delete
-- --------------------------------------------------------
[492] Fix | Delete
[493] Fix | Delete
--
[494] Fix | Delete
-- Table structure for table `[[dbprefix]]faq_entries`
[495] Fix | Delete
--
[496] Fix | Delete
[497] Fix | Delete
CREATE TABLE `[[dbprefix]]faq_entries` (
[498] Fix | Delete
`entry_id` mediumint(8) NOT NULL AUTO_INCREMENT,
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function