IP : 18.119.139.247Hostname : host45.registrar-servers.comKernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64Disable Function : None :) OS : Linux
PATH:
/
home/
../
./
./
var/
softaculous/
tangobb/
../
uvdesk/
../
burden/
../
moodle310/
moodle310.sql/
/
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */;
-- -- Table structure for table `[[dbprefix]]assignfeedback_file` --
CREATE TABLE `[[dbprefix]]assignfeedback_file` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `assignment` bigint(10) NOT NULL DEFAULT '0', `grade` bigint(10) NOT NULL DEFAULT '0', `numfiles` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]assifile_ass2_ix` (`assignment`), KEY `[[dbprefix]]assifile_gra_ix` (`grade`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores info about the number of files submitted by a student' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]assign_user_flags` --
CREATE TABLE `[[dbprefix]]assign_user_flags` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `userid` bigint(10) NOT NULL DEFAULT '0', `assignment` bigint(10) NOT NULL DEFAULT '0', `locked` bigint(10) NOT NULL DEFAULT '0', `mailed` smallint(4) NOT NULL DEFAULT '0', `extensionduedate` bigint(10) NOT NULL DEFAULT '0', `workflowstate` varchar(20) DEFAULT NULL, `allocatedmarker` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]assiuserflag_mai_ix` (`mailed`), KEY `[[dbprefix]]assiuserflag_use_ix` (`userid`), KEY `[[dbprefix]]assiuserflag_ass_ix` (`assignment`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='List of flags that can be set for a single user in a single ' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]assign_user_mapping` --
CREATE TABLE `[[dbprefix]]assign_user_mapping` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `assignment` bigint(10) NOT NULL DEFAULT '0', `userid` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]assiusermapp_ass_ix` (`assignment`), KEY `[[dbprefix]]assiusermapp_use_ix` (`userid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Map an assignment specific id number to a user' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]block_positions` --
CREATE TABLE `[[dbprefix]]block_positions` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `blockinstanceid` bigint(10) NOT NULL, `contextid` bigint(10) NOT NULL, `pagetype` varchar(64) NOT NULL DEFAULT '', `subpage` varchar(16) NOT NULL DEFAULT '', `visible` smallint(4) NOT NULL, `region` varchar(16) NOT NULL DEFAULT '', `weight` bigint(10) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]blocposi_bloconpagsu_uix` (`blockinstanceid`,`contextid`,`pagetype`,`subpage`), KEY `[[dbprefix]]blocposi_blo_ix` (`blockinstanceid`), KEY `[[dbprefix]]blocposi_con_ix` (`contextid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores the position of a sticky block_instance on a another ' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]course_published` --
CREATE TABLE `[[dbprefix]]course_published` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `huburl` varchar(255) DEFAULT NULL, `courseid` bigint(10) NOT NULL, `timepublished` bigint(10) NOT NULL, `enrollable` tinyint(1) NOT NULL DEFAULT '1', `hubcourseid` bigint(10) NOT NULL, `status` tinyint(1) DEFAULT '0', `timechecked` bigint(10) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Information about how and when an local courses were publish' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]enrol_lti_lti2_nonce` --
CREATE TABLE `[[dbprefix]]enrol_lti_lti2_nonce` ( `id` bigint(11) NOT NULL AUTO_INCREMENT, `consumerid` bigint(11) NOT NULL, `value` varchar(64) NOT NULL DEFAULT '', `expires` bigint(10) NOT NULL, PRIMARY KEY (`id`), KEY `[[dbprefix]]enroltilti2nonc_con_ix` (`consumerid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Nonce used for authentication between moodle and a consumer' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]enrol_lti_lti2_user_result` --
CREATE TABLE `[[dbprefix]]enrol_lti_lti2_user_result` ( `id` bigint(11) NOT NULL AUTO_INCREMENT, `resourcelinkid` bigint(11) NOT NULL, `ltiuserkey` varchar(255) NOT NULL DEFAULT '', `ltiresultsourcedid` varchar(1024) NOT NULL DEFAULT '', `created` bigint(10) NOT NULL, `updated` bigint(10) NOT NULL, PRIMARY KEY (`id`), KEY `[[dbprefix]]enroltilti2userresu_r_ix` (`resourcelinkid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Results for each user for each resource link' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]filter_active` --
CREATE TABLE `[[dbprefix]]filter_active` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `filter` varchar(32) NOT NULL DEFAULT '', `contextid` bigint(10) NOT NULL, `active` smallint(4) NOT NULL, `sortorder` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]filtacti_confil_uix` (`contextid`,`filter`), KEY `[[dbprefix]]filtacti_con_ix` (`contextid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores information about which filters are active in which c' AUTO_INCREMENT=7 ;
-- -- Dumping data for table `[[dbprefix]]filter_active` --
-- -- Table structure for table `[[dbprefix]]gradingform_guide_fillings` --
CREATE TABLE `[[dbprefix]]gradingform_guide_fillings` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `instanceid` bigint(10) NOT NULL, `criterionid` bigint(10) NOT NULL, `remark` longtext, `remarkformat` tinyint(2) DEFAULT NULL, `score` decimal(10,5) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]gradguidfill_inscri_uix` (`instanceid`,`criterionid`), KEY `[[dbprefix]]gradguidfill_ins_ix` (`instanceid`), KEY `[[dbprefix]]gradguidfill_cri_ix` (`criterionid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores the data of how the guide is filled by a particular r' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]groupings_groups` --
CREATE TABLE `[[dbprefix]]groupings_groups` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `groupingid` bigint(10) NOT NULL DEFAULT '0', `groupid` bigint(10) NOT NULL DEFAULT '0', `timeadded` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]grougrou_gro_ix` (`groupingid`), KEY `[[dbprefix]]grougrou_gro2_ix` (`groupid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Link a grouping to a group (note, groups can be in multiple ' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]h5p_contents_libraries` --
CREATE TABLE `[[dbprefix]]h5p_contents_libraries` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `h5pid` bigint(10) NOT NULL, `libraryid` bigint(10) NOT NULL, `dependencytype` varchar(10) NOT NULL DEFAULT '', `dropcss` tinyint(1) NOT NULL, `weight` bigint(10) NOT NULL, PRIMARY KEY (`id`), KEY `[[dbprefix]]h5pcontlibr_h5p_ix` (`h5pid`), KEY `[[dbprefix]]h5pcontlibr_lib_ix` (`libraryid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Store which library is used in which content.' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]mnet_rpc` --
CREATE TABLE `[[dbprefix]]mnet_rpc` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `functionname` varchar(40) NOT NULL DEFAULT '', `xmlrpcpath` varchar(80) NOT NULL DEFAULT '', `plugintype` varchar(20) NOT NULL DEFAULT '', `pluginname` varchar(20) NOT NULL DEFAULT '', `enabled` tinyint(1) NOT NULL DEFAULT '0', `help` longtext NOT NULL, `profile` longtext NOT NULL, `filename` varchar(100) NOT NULL DEFAULT '', `classname` varchar(150) DEFAULT NULL, `static` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `[[dbprefix]]mnetrpc_enaxml_ix` (`enabled`,`xmlrpcpath`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Functions or methods that we may publish or subscribe to' AUTO_INCREMENT=16 ;
-- -- Dumping data for table `[[dbprefix]]mnet_rpc` --
INSERT INTO `[[dbprefix]]mnet_rpc` VALUES (1, 'user_authorise', 'auth/mnet/auth.php/user_authorise', 'auth', 'mnet', 1, 'Return user data for the provided token, compare with user_agent string.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:5:"token";s:4:"type";s:6:"string";s:11:"description";s:37:"The unique ID provided by remotehost.";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:18:"User Agent string.";}}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:44:"$userdata Array of user info for remote host";}}', 'auth.php', 'auth_plugin_mnet', 0), (2, 'keepalive_server', 'auth/mnet/auth.php/keepalive_server', 'auth', 'mnet', 1, 'Receives an array of usernames from a remote machine and prods their\nsessions to keep them alive', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"array";s:4:"type";s:5:"array";s:11:"description";s:21:"An array of usernames";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:28:""All ok" or an error message";}}', 'auth.php', 'auth_plugin_mnet', 0), (3, 'kill_children', 'auth/mnet/auth.php/kill_children', 'auth', 'mnet', 1, 'The IdP uses this function to kill child sessions on other hosts', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:28:"Username for session to kill";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:35:"SHA1 hash of user agent to look for";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:39:"A plaintext report of what has happened";}}', 'auth.php', 'auth_plugin_mnet', 0), (4, 'refresh_log', 'auth/mnet/auth.php/refresh_log', 'auth', 'mnet', 1, 'Receives an array of log entries from an SP and adds them to the mnet_log\ntable', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"array";s:4:"type";s:5:"array";s:11:"description";s:21:"An array of usernames";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:28:""All ok" or an error message";}}', 'auth.php', 'auth_plugin_mnet', 0), (5, 'fetch_user_image', 'auth/mnet/auth.php/fetch_user_image', 'auth', 'mnet', 1, 'Returns the user''s profile image info\nIf the user exists and has a profile picture, the returned array will contain keys:\nf1 - the content of the default 100x100px image\nf1_mimetype - the mimetype of the f1 file\nf2 - the content of the 35x35px variant of the image\nf2_mimetype - the mimetype of the f2 file\nThe mimetype information was added in Moodle 2.0. In Moodle 1.x, images are always jpegs.', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:3:"int";s:11:"description";s:18:"The id of the user";}}s:6:"return";a:2:{s:4:"type";s:11:"false|array";s:11:"description";s:84:"false if user not found, empty array if no picture exists, array with data otherwise";}}', 'auth.php', 'auth_plugin_mnet', 0), (6, 'fetch_theme_info', 'auth/mnet/auth.php/fetch_theme_info', 'auth', 'mnet', 1, 'Returns the theme information and logo url as strings.', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:14:"The theme info";}}', 'auth.php', 'auth_plugin_mnet', 0), (7, 'update_enrolments', 'auth/mnet/auth.php/update_enrolments', 'auth', 'mnet', 1, 'Invoke this function _on_ the IDP to update it with enrolment info local to\nthe SP right after calling user_authorise()\nNormally called by the SP after calling user_authorise()', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:12:"The username";}i:1;a:3:{s:4:"name";s:7:"courses";s:4:"type";s:5:"array";s:11:"description";s:75:"Assoc array of courses following the structure of mnetservice_enrol_courses";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:0:"";}}', 'auth.php', 'auth_plugin_mnet', 0), (8, 'keepalive_client', 'auth/mnet/auth.php/keepalive_client', 'auth', 'mnet', 1, 'Poll the IdP server to let it know that a user it has authenticated is still\nonline', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:4:"void";s:11:"description";s:0:"";}}', 'auth.php', 'auth_plugin_mnet', 0), (9, 'kill_child', 'auth/mnet/auth.php/kill_child', 'auth', 'mnet', 1, 'When the IdP requests that child sessions are terminated,\nthis function will be called on each of the child hosts. The machine that\ncalls the function (over xmlrpc) provides us with the mnethostid we need.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:28:"Username for session to kill";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:35:"SHA1 hash of user agent to look for";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:15:"True on success";}}', 'auth.php', 'auth_plugin_mnet', 0), (10, 'available_courses', 'enrol/mnet/enrol.php/available_courses', 'enrol', 'mnet', 1, 'Returns list of courses that we offer to the caller for remote enrolment of their users\nSince Moodle 2.0, courses are made available for MNet peers by creating an instance\nof enrol_mnet plugin for the course. Hidden courses are not returned. If there are two\ninstances - one specific for the host and one for ''All hosts'', the setting of the specific\none is used. The id of the peer is kept in customint1, no other custom fields are used.', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:0:"";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (11, 'user_enrolments', 'enrol/mnet/enrol.php/user_enrolments', 'enrol', 'mnet', 1, 'This method has never been implemented in Moodle MNet API', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:11:"empty array";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (12, 'enrol_user', 'enrol/mnet/enrol.php/enrol_user', 'enrol', 'mnet', 1, 'Enrol remote user to our course\nIf we do not have local record for the remote user in our database,\nit gets created here.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"userdata";s:4:"type";s:5:"array";s:11:"description";s:43:"user details {@see mnet_fields_to_import()}";}i:1;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:19:"our local course id";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:69:"true if the enrolment has been successful, throws exception otherwise";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (13, 'unenrol_user', 'enrol/mnet/enrol.php/unenrol_user', 'enrol', 'mnet', 1, 'Unenrol remote user from our course\nOnly users enrolled via enrol_mnet plugin can be unenrolled remotely. If the\nremote user is enrolled into the local course via some other enrol plugin\n(enrol_manual for example), the remote host can''t touch such enrolment. Please\ndo not report this behaviour as bug, it is a feature ;-)', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:18:"of the remote user";}i:1;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:19:"of our local course";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:71:"true if the unenrolment has been successful, throws exception otherwise";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (14, 'course_enrolments', 'enrol/mnet/enrol.php/course_enrolments', 'enrol', 'mnet', 1, 'Returns a list of users from the client server who are enrolled in our course\nSuitable instance of enrol_mnet must be created in the course. This method will not\nreturn any information about the enrolments in courses that are not available for\nremote enrolment, even if their users are enrolled into them via other plugin\n(note the difference from {@link self::user_enrolments()}).\nThis method will return enrolment information for users from hosts regardless\nthe enrolment plugin. It does not matter if the user was enrolled remotely by\ntheir admin or locally. Once the course is available for remote enrolments, we\nwill tell them everything about their users.\nIn Moodle 1.x the returned array used to be indexed by username. The side effect\nof MDL-19219 fix is that we do not need to use such index and therefore we can\nreturn all enrolment records. MNet clients 1.x will only use the last record for\nthe student, if she is enrolled via multiple plugins.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:16:"ID of our course";}i:1;a:3:{s:4:"name";s:5:"roles";s:4:"type";s:12:"string|array";s:11:"description";s:58:"comma separated list of role shortnames (or array of them)";}}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:0:"";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (15, 'fetch_file', 'portfolio/mahara/lib.php/fetch_file', 'portfolio', 'mahara', 1, 'xmlrpc (mnet) function to get the file.\nreads in the file and returns it base_64 encoded\nso that it can be enrypted by mnet.', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"token";s:4:"type";s:6:"string";s:11:"description";s:56:"the token recieved previously during send_content_intent";}}s:6:"return";a:2:{s:4:"type";s:4:"void";s:11:"description";s:0:"";}}', 'lib.php', 'portfolio_plugin_mahara', 1);
-- -- Table structure for table `[[dbprefix]]mnet_service` --
CREATE TABLE `[[dbprefix]]mnet_service` ( `id` bigint(10) 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) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='A service is a group of functions' AUTO_INCREMENT=5 ;
-- -- Dumping data for table `[[dbprefix]]mnet_service` --
-- -- Table structure for table `[[dbprefix]]oauth2_access_token` --
CREATE TABLE `[[dbprefix]]oauth2_access_token` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `timecreated` bigint(10) NOT NULL, `timemodified` bigint(10) NOT NULL, `usermodified` bigint(10) NOT NULL, `issuerid` bigint(10) NOT NULL, `token` longtext NOT NULL, `expires` bigint(10) NOT NULL, `scope` longtext NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]oautaccetoke_iss_uix` (`issuerid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores access tokens for system accounts in order to be able' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]oauth2_endpoint` --
CREATE TABLE `[[dbprefix]]oauth2_endpoint` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `timecreated` bigint(10) NOT NULL, `timemodified` bigint(10) NOT NULL, `usermodified` bigint(10) NOT NULL, `name` varchar(255) NOT NULL DEFAULT '', `url` longtext NOT NULL, `issuerid` bigint(10) NOT NULL, PRIMARY KEY (`id`), KEY `[[dbprefix]]oautendp_iss_ix` (`issuerid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Describes the named endpoint for an oauth2 service.' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]oauth2_system_account` --
CREATE TABLE `[[dbprefix]]oauth2_system_account` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `timecreated` bigint(10) NOT NULL, `timemodified` bigint(10) NOT NULL, `usermodified` bigint(10) NOT NULL, `issuerid` bigint(10) NOT NULL, `refreshtoken` longtext NOT NULL, `grantedscopes` longtext NOT NULL, `email` longtext, `username` longtext NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]oautsystacco_iss_uix` (`issuerid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stored details used to get an access token as a system user ' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]paygw_paypal` --
CREATE TABLE `[[dbprefix]]paygw_paypal` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `paymentid` bigint(10) NOT NULL, `pp_orderid` varchar(255) NOT NULL DEFAULT 'The ID of the order in PayPal', PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]paygpayp_pay_uix` (`paymentid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores PayPal related information' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]question_response_count` --
CREATE TABLE `[[dbprefix]]question_response_count` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `analysisid` bigint(10) NOT NULL, `try` bigint(10) NOT NULL, `rcount` bigint(10) NOT NULL, PRIMARY KEY (`id`), KEY `[[dbprefix]]quesrespcoun_ana_ix` (`analysisid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Count for each responses for each try at a question.' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]question_usages` --
CREATE TABLE `[[dbprefix]]question_usages` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `contextid` bigint(10) NOT NULL, `component` varchar(255) NOT NULL DEFAULT '', `preferredbehaviour` varchar(32) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `[[dbprefix]]quesusag_con_ix` (`contextid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='This table''s main purpose it to assign a unique id to each a' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]quiz_feedback` --
CREATE TABLE `[[dbprefix]]quiz_feedback` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `quizid` bigint(10) NOT NULL DEFAULT '0', `feedbacktext` longtext NOT NULL, `feedbacktextformat` tinyint(2) NOT NULL DEFAULT '0', `mingrade` decimal(10,5) NOT NULL DEFAULT '0.00000', `maxgrade` decimal(10,5) NOT NULL DEFAULT '0.00000', PRIMARY KEY (`id`), KEY `[[dbprefix]]quizfeed_qui_ix` (`quizid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Feedback given to students based on which grade band their o' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]quiz_grades` --
CREATE TABLE `[[dbprefix]]quiz_grades` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `quiz` bigint(10) NOT NULL DEFAULT '0', `userid` bigint(10) NOT NULL DEFAULT '0', `grade` decimal(10,5) NOT NULL DEFAULT '0.00000', `timemodified` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]quizgrad_use_ix` (`userid`), KEY `[[dbprefix]]quizgrad_qui_ix` (`quiz`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Stores the overall grade for each user on the quiz, based on' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]registration_hubs` --
CREATE TABLE `[[dbprefix]]registration_hubs` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `token` varchar(255) NOT NULL DEFAULT '', `hubname` varchar(255) NOT NULL DEFAULT '', `huburl` varchar(255) NOT NULL DEFAULT '', `confirmed` tinyint(1) NOT NULL DEFAULT '0', `secret` varchar(255) DEFAULT NULL, `timemodified` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='hub where the site is registered on with their associated to' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]scale` --
CREATE TABLE `[[dbprefix]]scale` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `courseid` bigint(10) NOT NULL DEFAULT '0', `userid` bigint(10) NOT NULL DEFAULT '0', `name` varchar(255) NOT NULL DEFAULT '', `scale` longtext NOT NULL, `description` longtext NOT NULL, `descriptionformat` tinyint(2) NOT NULL DEFAULT '0', `timemodified` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]scal_cou_ix` (`courseid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Defines grading scales' AUTO_INCREMENT=3 ;
-- -- Dumping data for table `[[dbprefix]]scale` --
INSERT INTO `[[dbprefix]]scale` VALUES (1, 0, 0, 'Separate and Connected ways of knowing', 'Mostly separate knowing,Separate and connected,Mostly connected knowing', 'The scale based on the theory of separate and connected knowing. This theory describes two different ways that we can evaluate and learn about the things we see and hear.<ul><li><strong>Separate knowers</strong> remain as objective as possible without including feelings and emotions. In a discussion with other people, they like to defend their own ideas, using logic to find holes in opponent''s ideas.</li><li><strong>Connected knowers</strong> are more sensitive to other people. They are skilled at empathy and tend to listen and ask questions until they feel they can connect and "understand things from their point of view". They learn by trying to share the experiences that led to the knowledge they find in other people.</li></ul>', 0, [[timestamp]]), (2, 0, 0, 'Default competence scale', 'Not yet competent,Competent', 'A binary rating scale that provides no further information beyond whether someone has demonstrated proficiency or not.', 0, [[timestamp]]);
-- -- Table structure for table `[[dbprefix]]tool_customlang_components` --
CREATE TABLE `[[dbprefix]]tool_customlang_components` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `version` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Contains the list of all installed plugins that provide thei' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]tool_monitor_events` --
CREATE TABLE `[[dbprefix]]tool_monitor_events` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `eventname` varchar(254) NOT NULL DEFAULT '', `contextid` bigint(10) NOT NULL, `contextlevel` bigint(10) NOT NULL, `contextinstanceid` bigint(10) NOT NULL, `link` varchar(254) NOT NULL DEFAULT '', `courseid` bigint(10) NOT NULL, `timecreated` bigint(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='A table that keeps a log of events related to subscriptions' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]tool_monitor_subscriptions` --
CREATE TABLE `[[dbprefix]]tool_monitor_subscriptions` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `courseid` bigint(10) NOT NULL, `ruleid` bigint(10) NOT NULL, `cmid` bigint(10) NOT NULL, `userid` bigint(10) NOT NULL, `timecreated` bigint(10) NOT NULL, `lastnotificationsent` bigint(10) NOT NULL DEFAULT '0', `inactivedate` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]toolmonisubs_couuse_ix` (`courseid`,`userid`), KEY `[[dbprefix]]toolmonisubs_rul_ix` (`ruleid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Table to store user subscriptions to various rules' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]workshopform_numerrors_map` --
CREATE TABLE `[[dbprefix]]workshopform_numerrors_map` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `workshopid` bigint(10) NOT NULL, `nonegative` bigint(10) NOT NULL, `grade` decimal(10,5) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]worknumemap_wornon_uix` (`workshopid`,`nonegative`), KEY `[[dbprefix]]worknumemap_wor_ix` (`workshopid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='This maps the number of errors to a percentual grade for sub' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]workshop_submissions` --
CREATE TABLE `[[dbprefix]]workshop_submissions` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `workshopid` bigint(10) NOT NULL, `example` tinyint(2) DEFAULT '0', `authorid` bigint(10) NOT NULL, `timecreated` bigint(10) NOT NULL, `timemodified` bigint(10) NOT NULL, `title` varchar(255) NOT NULL DEFAULT '', `content` longtext, `contentformat` smallint(3) NOT NULL DEFAULT '0', `contenttrust` smallint(3) NOT NULL DEFAULT '0', `attachment` tinyint(2) DEFAULT '0', `grade` decimal(10,5) DEFAULT NULL, `gradeover` decimal(10,5) DEFAULT NULL, `gradeoverby` bigint(10) DEFAULT NULL, `feedbackauthor` longtext, `feedbackauthorformat` smallint(3) DEFAULT '0', `timegraded` bigint(10) DEFAULT NULL, `published` tinyint(2) DEFAULT '0', `late` tinyint(2) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]worksubm_wor_ix` (`workshopid`), KEY `[[dbprefix]]worksubm_gra_ix` (`gradeoverby`), KEY `[[dbprefix]]worksubm_aut_ix` (`authorid`) ) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]][[row_format]] COMMENT='Info about the submission and the aggregation of the grade f' AUTO_INCREMENT=1 ;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;