-- MySQL dump 10.13 Distrib 5.1.63, for debian-linux-gnu (x86_64) -- -- Host: localhost Database: lams -- ------------------------------------------------------ -- Server version 5.1.63-0ubuntu0.11.10.1-log /*!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 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `lams_activity_category` -- DROP TABLE IF EXISTS `lams_activity_category`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_activity_category` ( `activity_category_id` int(3) NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`activity_category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_activity_category` -- LOCK TABLES `lams_activity_category` WRITE; /*!40000 ALTER TABLE `lams_activity_category` DISABLE KEYS */; INSERT INTO `lams_activity_category` VALUES (1,'SYSTEM'),(2,'COLLABORATION'),(3,'ASSESSMENT'),(4,'CONTENT'),(5,'SPLIT'),(6,'RESPONSE'); /*!40000 ALTER TABLE `lams_activity_category` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_activity_evaluation` -- DROP TABLE IF EXISTS `lams_activity_evaluation`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_activity_evaluation` ( `activity_evaluation_id` bigint(20) NOT NULL AUTO_INCREMENT, `activity_id` bigint(20) NOT NULL, `tool_output_definition` varchar(255) NOT NULL, PRIMARY KEY (`activity_evaluation_id`), KEY `activity_id` (`activity_id`), CONSTRAINT `FK_lams_activity_evaluation_1` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_activity_evaluation` -- LOCK TABLES `lams_activity_evaluation` WRITE; /*!40000 ALTER TABLE `lams_activity_evaluation` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_activity_evaluation` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_activity_learners` -- DROP TABLE IF EXISTS `lams_activity_learners`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_activity_learners` ( `user_id` bigint(20) NOT NULL DEFAULT '0', `activity_id` bigint(20) NOT NULL DEFAULT '0', `allowed_to_pass` tinyint(4) NOT NULL DEFAULT '0', KEY `user_id` (`user_id`), KEY `activity_id` (`activity_id`), CONSTRAINT `FK_TABLE_32_1` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`), CONSTRAINT `FK_TABLE_32_2` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_activity_learners` -- LOCK TABLES `lams_activity_learners` WRITE; /*!40000 ALTER TABLE `lams_activity_learners` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_activity_learners` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_auth_method_type` -- DROP TABLE IF EXISTS `lams_auth_method_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_auth_method_type` ( `authentication_method_type_id` int(3) NOT NULL, `description` varchar(64) NOT NULL, PRIMARY KEY (`authentication_method_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_auth_method_type` -- LOCK TABLES `lams_auth_method_type` WRITE; /*!40000 ALTER TABLE `lams_auth_method_type` DISABLE KEYS */; INSERT INTO `lams_auth_method_type` VALUES (1,'LAMS'),(2,'WEB_AUTH'),(3,'LDAP'); /*!40000 ALTER TABLE `lams_auth_method_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_authentication_method` -- DROP TABLE IF EXISTS `lams_authentication_method`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_authentication_method` ( `authentication_method_id` bigint(20) NOT NULL, `authentication_method_type_id` int(3) NOT NULL DEFAULT '0', `authentication_method_name` varchar(255) NOT NULL, PRIMARY KEY (`authentication_method_id`), UNIQUE KEY `UQ_lams_authentication_method_1` (`authentication_method_name`), KEY `authentication_method_type_id` (`authentication_method_type_id`), CONSTRAINT `FK_lams_authorization_method_1` FOREIGN KEY (`authentication_method_type_id`) REFERENCES `lams_auth_method_type` (`authentication_method_type_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_authentication_method` -- LOCK TABLES `lams_authentication_method` WRITE; /*!40000 ALTER TABLE `lams_authentication_method` DISABLE KEYS */; INSERT INTO `lams_authentication_method` VALUES (1,1,'LAMS-Database'),(2,2,'Oxford-WebAuth'),(3,3,'MQ-LDAP'); /*!40000 ALTER TABLE `lams_authentication_method` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_branch_activity_entry` -- DROP TABLE IF EXISTS `lams_branch_activity_entry`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_branch_activity_entry` ( `entry_id` bigint(20) NOT NULL AUTO_INCREMENT, `entry_ui_id` int(11) DEFAULT NULL, `group_id` bigint(20) DEFAULT NULL, `sequence_activity_id` bigint(20) DEFAULT NULL, `branch_activity_id` bigint(20) NOT NULL, `condition_id` bigint(20) DEFAULT NULL, `open_gate` tinyint(4) DEFAULT NULL, PRIMARY KEY (`entry_id`), KEY `group_id` (`group_id`), KEY `sequence_activity_id` (`sequence_activity_id`), KEY `branch_activity_id` (`branch_activity_id`), KEY `condition_id` (`condition_id`), CONSTRAINT `FK_lams_group_activity_1` FOREIGN KEY (`group_id`) REFERENCES `lams_group` (`group_id`), CONSTRAINT `FK_lams_branch_map_sequence` FOREIGN KEY (`sequence_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`), CONSTRAINT `FK_lams_branch_map_branch` FOREIGN KEY (`branch_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`), CONSTRAINT `FK_lams_branch_activity_entry_4` FOREIGN KEY (`condition_id`) REFERENCES `lams_branch_condition` (`condition_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_branch_activity_entry` -- LOCK TABLES `lams_branch_activity_entry` WRITE; /*!40000 ALTER TABLE `lams_branch_activity_entry` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_branch_activity_entry` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_branch_condition` -- DROP TABLE IF EXISTS `lams_branch_condition`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_branch_condition` ( `condition_id` bigint(20) NOT NULL AUTO_INCREMENT, `condition_ui_id` int(11) DEFAULT NULL, `order_id` int(11) DEFAULT NULL, `name` varchar(255) NOT NULL, `display_name` varchar(255) DEFAULT NULL, `type` varchar(30) NOT NULL, `start_value` varchar(255) DEFAULT NULL, `end_value` varchar(255) DEFAULT NULL, `exact_match_value` varchar(255) DEFAULT NULL, PRIMARY KEY (`condition_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_branch_condition` -- LOCK TABLES `lams_branch_condition` WRITE; /*!40000 ALTER TABLE `lams_branch_condition` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_branch_condition` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_competence` -- DROP TABLE IF EXISTS `lams_competence`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_competence` ( `competence_id` bigint(20) NOT NULL AUTO_INCREMENT, `learning_design_id` bigint(20) DEFAULT NULL, `description` text, `title` varchar(255) DEFAULT NULL, PRIMARY KEY (`competence_id`), UNIQUE KEY `competence_id` (`competence_id`), UNIQUE KEY `learning_design_id` (`learning_design_id`,`title`), CONSTRAINT `LearningDesignCompetenceMap` FOREIGN KEY (`learning_design_id`) REFERENCES `lams_learning_design` (`learning_design_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_competence` -- LOCK TABLES `lams_competence` WRITE; /*!40000 ALTER TABLE `lams_competence` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_competence` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_competence_mapping` -- DROP TABLE IF EXISTS `lams_competence_mapping`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_competence_mapping` ( `competence_mapping_id` bigint(20) NOT NULL AUTO_INCREMENT, `competence_id` bigint(20) DEFAULT NULL, `activity_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`competence_mapping_id`), UNIQUE KEY `competence_mapping_id` (`competence_mapping_id`), UNIQUE KEY `competence_id` (`competence_id`,`activity_id`), KEY `activity_id` (`activity_id`), CONSTRAINT `FK_lams_competence_mapping_1` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `FK_lams_competence_mapping_2` FOREIGN KEY (`competence_id`) REFERENCES `lams_competence` (`competence_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_competence_mapping` -- LOCK TABLES `lams_competence_mapping` WRITE; /*!40000 ALTER TABLE `lams_competence_mapping` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_competence_mapping` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_configuration` -- DROP TABLE IF EXISTS `lams_configuration`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_configuration` ( `config_key` varchar(30) NOT NULL, `config_value` varchar(255) DEFAULT NULL, `description_key` varchar(255) DEFAULT NULL, `header_name` varchar(50) DEFAULT NULL, `format` varchar(30) DEFAULT NULL, `required` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`config_key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_configuration` -- LOCK TABLES `lams_configuration` WRITE; /*!40000 ALTER TABLE `lams_configuration` DISABLE KEYS */; INSERT INTO `lams_configuration` VALUES ('AdminScreenSize','1024x768','config.admin.screen.size','config.header.look.feel','STRING',1),('AllowDirectLessonLaunch','false','config.allow.direct.lesson.launch','config.header.features','BOOLEAN',1),('AllowLiveEdit','true','config.allow.live.edit','config.header.features','BOOLEAN',1),('AuthoringActivitiesColour','true','config.authoring.activities.colour','config.header.look.feel','BOOLEAN',1),('AuthoringClientVersion','2.4.0.201204131000','config.authoring.client.version','config.header.versions','STRING',1),('AuthoringScreenSize','1024x768','config.authoring.screen.size','config.header.look.feel','STRING',1),('CleanupPreviewOlderThanDays','7','config.cleanup.preview.older.than.days','config.header.system','LONG',1),('ContentRepositoryPath','/var/opt/lams/repository','config.content.repository.path','config.header.uploads','STRING',1),('CustomTabLink','','config.custom.tab.link','config.header.look.feel','STRING',0),('CustomTabTitle','','config.custom.tab.title','config.header.look.feel','STRING',0),('DefaultFlashTheme','default','config.default.flash.theme','config.header.look.feel','STRING',1),('DefaultHTMLTheme','defaultHTML','config.default.html.theme','config.header.look.feel','STRING',1),('DictionaryDateCreated','2012-04-13','config.dictionary.date.created','config.header.versions','STRING',1),('DisplayPrintButton','false','config.display.print.button','config.header.features','BOOLEAN',1),('DumpDir','/var/opt/lams/dump','config.dump.dir','config.header.system','STRING',1),('EARDir','/usr/local/jboss-5.1/server/default/deploy/lams.ear/','config.ear.dir','config.header.system','STRING',1),('EnableFlash','true','config.flash.enable','config.header.features','BOOLEAN',1),('EnableServerRegistration','false','config.server2server.registration.enable','config.header.system','BOOLEAN',1),('ExecutableExtensions','.bat,.bin,.com,.cmd,.exe,.msi,.msp,.ocx,.pif,.scr,.sct,.sh,.shs,.vbs','config.executable.extensions','config.header.uploads','STRING',1),('ForceMobileDevToUseFlashless','true','config.force.mobile.use.flashlesh','config.header.features','BOOLEAN',1),('HelpURL','http://wiki.lamsfoundation.org/display/lamsdocs/','config.help.url','config.header.system','STRING',1),('InternalSMTPServer','true','config.use.internal.smtp.server','config.header.email','BOOLEAN',0),('KalturaKCWUiConfId','','config.kaltura.kcw.uiconfid','config.header.kaltura','STRING',0),('KalturaKDPUiConfId','','config.kaltura.kdp.uiconfid','config.header.kaltura','STRING',0),('KalturaPartnerId','','config.kaltura.partner.id','config.header.kaltura','STRING',0),('KalturaServer','','config.kaltura.server','config.header.kaltura','STRING',0),('KalturaSubPartnerId','','config.kaltura.sub.partner.id','config.header.kaltura','STRING',0),('KalturaUserSecret','','config.kaltura.user.secret','config.header.kaltura','STRING',0),('LamsSupportEmail','','config.lams.support.email','config.header.email','STRING',0),('LAMS_Community_enable','false','config.community.enable','config.header.features','BOOLEAN',1),('LDAPAddr1Attr','postalAddress','admin.user.address_line_1','config.header.ldap.attributes','STRING',0),('LDAPAddr2Attr','','admin.user.address_line_2','config.header.ldap.attributes','STRING',0),('LDAPAddr3Attr','','admin.user.address_line_3','config.header.ldap.attributes','STRING',0),('LDAPAuthorMap','Teacher;SeniorStaff;Principal','config.ldap.author.map','config.header.ldap.attributes','STRING',0),('LDAPBaseDN','ou=Users,dc=melcoe,dc=mq,dc=edu,dc=au','config.ldap.base.dn','config.header.ldap','STRING',0),('LDAPBindUserDN','','config.ldap.bind.user.dn','config.header.ldap','STRING',0),('LDAPBindUserPassword','','config.ldap.bind.user.password','config.header.ldap','STRING',0),('LDAPCityAttr','l','admin.user.city','config.header.ldap.attributes','STRING',0),('LDAPCountryAttr','','admin.user.country','config.header.ldap.attributes','STRING',0),('LDAPDayPhoneAttr','telephoneNumber','admin.user.day_phone','config.header.ldap.attributes','STRING',0),('LDAPDisabledAttr','!accountStatus','sysadmin.disabled','config.header.ldap.attributes','STRING',0),('LDAPEmailAttr','mail','admin.user.email','config.header.ldap.attributes','STRING',0),('LDAPEncryptPasswordFromBrowser','true','config.ldap.encrypt.password.from.browser','config.header.ldap','BOOLEAN',1),('LDAPEveningPhoneAttr','homePhone','admin.user.evening_phone','config.header.ldap.attributes','STRING',0),('LDAPFaxAttr','facsimileTelephoneNumber','admin.user.fax','config.header.ldap.attributes','STRING',0),('LDAPFNameAttr','givenName','admin.user.first_name','config.header.ldap.attributes','STRING',0),('LDAPGroupAdminMap','Teacher;SeniorStaff','config.ldap.group.admin.map','config.header.ldap.attributes','STRING',0),('LDAPGroupManagerMap','Principal','config.ldap.group.manager.map','config.header.ldap.attributes','STRING',0),('LDAPLearnerMap','Student;SchoolSupportStaff;Teacher;SeniorStaff;Principal','config.ldap.learner.map','config.header.ldap.attributes','STRING',0),('LDAPLNameAttr','sn','admin.user.last_name','config.header.ldap.attributes','STRING',0),('LDAPLocaleAttr','preferredLanguage','admin.organisation.locale','config.header.ldap.attributes','STRING',0),('LDAPLoginAttr','uid','admin.user.login','config.header.ldap.attributes','STRING',0),('LDAPMobileAttr','mobile','admin.user.mobile_phone','config.header.ldap.attributes','STRING',0),('LDAPMonitorMap','SchoolSupportStaff;Teacher;SeniorStaff;Principal','config.ldap.monitor.map','config.header.ldap.attributes','STRING',0),('LDAPOnlyOneOrg','true','config.ldap.only.one.org','config.header.ldap','BOOLEAN',1),('LDAPOrgAttr','schoolCode','admin.course','config.header.ldap.attributes','STRING',0),('LDAPOrgField','code','config.ldap.org.field','config.header.ldap.attributes','STRING',0),('LDAPPostcodeAttr','postalCode','admin.user.postcode','config.header.ldap.attributes','STRING',0),('LDAPProviderURL','ldap://192.168.111.15','config.ldap.provider.url','config.header.ldap','STRING',0),('LDAPProvisioningEnabled','false','config.ldap.provisioning.enabled','config.header.ldap','BOOLEAN',1),('LDAPRolesAttr','memberOf','admin.user.roles','config.header.ldap.attributes','STRING',0),('LDAPSearchFilter','(cn={0})','config.ldap.search.filter','config.header.ldap','STRING',0),('LDAPSearchResultsPageSize','100','config.ldap.search.results.page.size','config.header.ldap','LONG',0),('LDAPSecurityAuthentication','simple','config.ldap.security.authentication','config.header.ldap','STRING',0),('LDAPSecurityProtocol','','config.ldap.security.protocol','config.header.ldap','STRING',0),('LDAPStateAttr','st','admin.user.state','config.header.ldap.attributes','STRING',0),('LDAPUpdateOnLogin','true','config.ldap.update.on.login','config.header.ldap','BOOLEAN',1),('LearnerClientVersion','2.4.0.201204131000','config.learner.client.version','config.header.versions','STRING',1),('LearnerProgressBatchSize','10','config.learner.progress.batch.size','config.header.look.feel','LONG',1),('LearnerScreenSize','1024x768','config.learner.screen.size','config.header.look.feel','STRING',1),('MonitorClientVersion','2.4.0.201204131000','config.monitor.client.version','config.header.versions','STRING',1),('MonitorScreenSize','1024x768','config.monitor.screen.size','config.header.look.feel','STRING',1),('ProfileEditEnable','true','config.profile.edit.enable','config.header.features','BOOLEAN',1),('ProfilePartialEditEnable','true','config.profile.partial.edit.enable','config.header.features','BOOLEAN',1),('Red5RecordingsUrl','','config.red5.recordings.url','config.header.red5','STRING',0),('Red5ServerUrl','','config.red5.server.url','config.header.red5','STRING',0),('ServerLanguage','en_AU','config.server.language','config.header.look.feel','STRING',1),('ServerPageDirection','LTR','config.server.page.direction','config.header.look.feel','STRING',1),('ServerURL','http://192.168.1.10:8080/lams/','config.server.url','config.header.system','STRING',1),('ServerURLContextPath','lams/','config.server.url.context.path','config.header.system','STRING',1),('ServerVersionNumber','2.4.0.201204131000','config.server.version.number','config.header.versions','STRING',1),('ShowAllMyLessonLink','true','config.show.all.my.lesson.link','config.header.features','BOOLEAN',1),('SMTPPassword','','config.smtp.password','config.header.email','STRING',0),('SMTPServer','','config.smtp.server','config.header.email','STRING',0),('SMTPUser','','config.smtp.user','config.header.email','STRING',0),('TempDir','/var/opt/lams/temp','config.temp.dir','config.header.system','STRING',1),('TruststorePassword','','config.ldap.truststore.password','config.header.system','STRING',0),('TruststorePath','','config.ldap.truststore.path','config.header.system','STRING',0),('UploadFileMaxMemorySize','4096','config.upload.file.max.memory.size','config.header.uploads','LONG',1),('UploadFileMaxSize','1048576','config.upload.file.max.size','config.header.uploads','LONG',1),('UploadLargeFileMaxSize','10485760','config.upload.large.file.max.size','config.header.uploads','LONG',1),('UseCacheDebugListener','false','config.use.cache.debug.listener','config.header.system','BOOLEAN',1),('UserInactiveTimeout','86400','config.user.inactive.timeout','config.header.system','LONG',1),('Version','2.4','config.version','config.header.system','STRING',1),('XmppAdmin','admin','config.xmpp.admin','config.header.chat','STRING',0),('XmppConference','conference.shaun.melcoe.mq.edu.au','config.xmpp.conference','config.header.chat','STRING',0),('XmppDomain','shaun.melcoe.mq.edu.au','config.xmpp.domain','config.header.chat','STRING',0),('XmppPassword','wildfire','config.xmpp.password','config.header.chat','STRING',0); /*!40000 ALTER TABLE `lams_configuration` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_copy_type` -- DROP TABLE IF EXISTS `lams_copy_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_copy_type` ( `copy_type_id` tinyint(4) NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`copy_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_copy_type` -- LOCK TABLES `lams_copy_type` WRITE; /*!40000 ALTER TABLE `lams_copy_type` DISABLE KEYS */; INSERT INTO `lams_copy_type` VALUES (1,'NONE'),(2,'LESSON'),(3,'PREVIEW'); /*!40000 ALTER TABLE `lams_copy_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_cr_credential` -- DROP TABLE IF EXISTS `lams_cr_credential`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_cr_credential` ( `credential_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, PRIMARY KEY (`credential_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Records the identification properties for a tool.'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_cr_credential` -- LOCK TABLES `lams_cr_credential` WRITE; /*!40000 ALTER TABLE `lams_cr_credential` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_cr_credential` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_cr_node` -- DROP TABLE IF EXISTS `lams_cr_node`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_cr_node` ( `node_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `workspace_id` bigint(20) unsigned NOT NULL, `path` varchar(255) DEFAULT NULL, `type` varchar(255) NOT NULL, `created_date_time` datetime NOT NULL, `next_version_id` bigint(20) unsigned NOT NULL DEFAULT '1', `parent_nv_id` bigint(20) unsigned DEFAULT NULL, PRIMARY KEY (`node_id`), KEY `workspace_id` (`workspace_id`), CONSTRAINT `FK_lams_cr_node_1` FOREIGN KEY (`workspace_id`) REFERENCES `lams_cr_workspace` (`workspace_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='The main table containing the node definition'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_cr_node` -- LOCK TABLES `lams_cr_node` WRITE; /*!40000 ALTER TABLE `lams_cr_node` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_cr_node` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_cr_node_version` -- DROP TABLE IF EXISTS `lams_cr_node_version`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_cr_node_version` ( `nv_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `node_id` bigint(20) unsigned NOT NULL, `version_id` bigint(20) unsigned NOT NULL, `created_date_time` datetime NOT NULL, `user_id` bigint(20) NOT NULL, PRIMARY KEY (`nv_id`), KEY `node_id` (`node_id`), CONSTRAINT `FK_lams_cr_node_version_2` FOREIGN KEY (`node_id`) REFERENCES `lams_cr_node` (`node_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Represents a version of a node'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_cr_node_version` -- LOCK TABLES `lams_cr_node_version` WRITE; /*!40000 ALTER TABLE `lams_cr_node_version` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_cr_node_version` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_cr_node_version_property` -- DROP TABLE IF EXISTS `lams_cr_node_version_property`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_cr_node_version_property` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `nv_id` bigint(20) unsigned NOT NULL, `name` varchar(255) NOT NULL, `value` varchar(255) NOT NULL, `type` tinyint(4) NOT NULL, PRIMARY KEY (`id`), KEY `nv_id` (`nv_id`), CONSTRAINT `FK_lams_cr_node_version_property_1` FOREIGN KEY (`nv_id`) REFERENCES `lams_cr_node_version` (`nv_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_cr_node_version_property` -- LOCK TABLES `lams_cr_node_version_property` WRITE; /*!40000 ALTER TABLE `lams_cr_node_version_property` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_cr_node_version_property` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_cr_workspace` -- DROP TABLE IF EXISTS `lams_cr_workspace`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_cr_workspace` ( `workspace_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, PRIMARY KEY (`workspace_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Content repository workspace'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_cr_workspace` -- LOCK TABLES `lams_cr_workspace` WRITE; /*!40000 ALTER TABLE `lams_cr_workspace` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_cr_workspace` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_cr_workspace_credential` -- DROP TABLE IF EXISTS `lams_cr_workspace_credential`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_cr_workspace_credential` ( `wc_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `workspace_id` bigint(20) unsigned NOT NULL, `credential_id` bigint(20) unsigned NOT NULL, PRIMARY KEY (`wc_id`), KEY `workspace_id` (`workspace_id`), KEY `credential_id` (`credential_id`), CONSTRAINT `FK_lams_cr_workspace_credential_1` FOREIGN KEY (`workspace_id`) REFERENCES `lams_cr_workspace` (`workspace_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_cr_workspace_credential_2` FOREIGN KEY (`credential_id`) REFERENCES `lams_cr_credential` (`credential_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Maps tools access to workspaces'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_cr_workspace_credential` -- LOCK TABLES `lams_cr_workspace_credential` WRITE; /*!40000 ALTER TABLE `lams_cr_workspace_credential` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_cr_workspace_credential` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_data_flow` -- DROP TABLE IF EXISTS `lams_data_flow`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_data_flow` ( `data_flow_object_id` bigint(20) NOT NULL AUTO_INCREMENT, `transition_id` bigint(20) NOT NULL, `order_id` int(11) DEFAULT NULL, `name` varchar(255) NOT NULL, `display_name` varchar(255) DEFAULT NULL, `tool_assigment_id` int(11) DEFAULT NULL, PRIMARY KEY (`data_flow_object_id`), KEY `FK_lams_learning_transition_1` (`transition_id`), CONSTRAINT `FK_lams_learning_transition_1` FOREIGN KEY (`transition_id`) REFERENCES `lams_learning_transition` (`transition_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_data_flow` -- LOCK TABLES `lams_data_flow` WRITE; /*!40000 ALTER TABLE `lams_data_flow` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_data_flow` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_event_subscriptions` -- DROP TABLE IF EXISTS `lams_event_subscriptions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_event_subscriptions` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` bigint(20) DEFAULT NULL, `event_uid` bigint(20) DEFAULT NULL, `delivery_method_id` tinyint(3) unsigned DEFAULT NULL, `periodicity` bigint(20) DEFAULT NULL, `last_operation_time` datetime DEFAULT NULL, `last_operation_message` text, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `EventSubscriptionsToUsers` (`user_id`), KEY `event_uid` (`event_uid`), CONSTRAINT `EventSubscriptionsToUsers` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `EventSubscriptionsToEvent` FOREIGN KEY (`event_uid`) REFERENCES `lams_events` (`uid`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_event_subscriptions` -- LOCK TABLES `lams_event_subscriptions` WRITE; /*!40000 ALTER TABLE `lams_event_subscriptions` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_event_subscriptions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_events` -- DROP TABLE IF EXISTS `lams_events`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_events` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `scope` varchar(128) NOT NULL, `name` varchar(128) NOT NULL, `event_session_id` bigint(20) DEFAULT NULL, `triggered` tinyint(4) DEFAULT NULL, `default_subject` varchar(255) DEFAULT NULL, `default_message` text, `subject` varchar(255) DEFAULT NULL, `message` text, `fail_time` datetime DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `scope` (`scope`,`name`,`event_session_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_events` -- LOCK TABLES `lams_events` WRITE; /*!40000 ALTER TABLE `lams_events` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_events` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_ext_course_class_map` -- DROP TABLE IF EXISTS `lams_ext_course_class_map`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_ext_course_class_map` ( `sid` int(11) NOT NULL AUTO_INCREMENT, `courseid` varchar(255) NOT NULL, `classid` bigint(20) NOT NULL, `ext_server_org_map_id` int(11) NOT NULL, PRIMARY KEY (`sid`), KEY `classid` (`classid`), KEY `ext_server_org_map_id` (`ext_server_org_map_id`), CONSTRAINT `lams_ext_course_class_map_fk1` FOREIGN KEY (`ext_server_org_map_id`) REFERENCES `lams_ext_server_org_map` (`sid`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `lams_ext_course_class_map_fk` FOREIGN KEY (`classid`) REFERENCES `lams_organisation` (`organisation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_ext_course_class_map` -- LOCK TABLES `lams_ext_course_class_map` WRITE; /*!40000 ALTER TABLE `lams_ext_course_class_map` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_ext_course_class_map` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_ext_server_lesson_map` -- DROP TABLE IF EXISTS `lams_ext_server_lesson_map`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_ext_server_lesson_map` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `lesson_id` bigint(20) NOT NULL, `ext_server_org_map_id` int(11) NOT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `lesson_id` (`lesson_id`), KEY `lams_ext_server_lesson_map_fk1` (`ext_server_org_map_id`), CONSTRAINT `lams_ext_server_lesson_map_fk1` FOREIGN KEY (`ext_server_org_map_id`) REFERENCES `lams_ext_server_org_map` (`sid`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `lams_ext_server_lesson_map_fk2` FOREIGN KEY (`lesson_id`) REFERENCES `lams_lesson` (`lesson_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_ext_server_lesson_map` -- LOCK TABLES `lams_ext_server_lesson_map` WRITE; /*!40000 ALTER TABLE `lams_ext_server_lesson_map` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_ext_server_lesson_map` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_ext_server_org_map` -- DROP TABLE IF EXISTS `lams_ext_server_org_map`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_ext_server_org_map` ( `sid` int(11) NOT NULL AUTO_INCREMENT, `serverid` varchar(255) NOT NULL, `serverkey` text NOT NULL, `servername` varchar(255) NOT NULL, `serverdesc` text, `prefix` varchar(11) NOT NULL, `userinfo_url` text NOT NULL, `server_url` varchar(255) DEFAULT NULL, `timeout_url` text NOT NULL, `lesson_finish_url` text, `disabled` bit(1) NOT NULL, `orgid` bigint(20) DEFAULT NULL, PRIMARY KEY (`sid`), UNIQUE KEY `serverid` (`serverid`), UNIQUE KEY `prefix` (`prefix`), KEY `orgid` (`orgid`), CONSTRAINT `lams_ext_server_org_map_fk` FOREIGN KEY (`orgid`) REFERENCES `lams_organisation` (`organisation_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_ext_server_org_map` -- LOCK TABLES `lams_ext_server_org_map` WRITE; /*!40000 ALTER TABLE `lams_ext_server_org_map` DISABLE KEYS */; INSERT INTO `lams_ext_server_org_map` VALUES (1,'moodle','moodle','moodle','moodle','mdl','http://localhost/moodle/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%','','http://dummy','',0x01,7); /*!40000 ALTER TABLE `lams_ext_server_org_map` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_ext_server_tool_map` -- DROP TABLE IF EXISTS `lams_ext_server_tool_map`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_ext_server_tool_map` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `tool_id` bigint(20) NOT NULL, `ext_server_org_map_id` int(11) NOT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `unique_adapter_map` (`ext_server_org_map_id`,`tool_id`), KEY `lams_ext_server_tool_map_fk2` (`tool_id`), CONSTRAINT `lams_ext_server_tool_map_fk1` FOREIGN KEY (`ext_server_org_map_id`) REFERENCES `lams_ext_server_org_map` (`sid`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `lams_ext_server_tool_map_fk2` FOREIGN KEY (`tool_id`) REFERENCES `lams_tool` (`tool_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_ext_server_tool_map` -- LOCK TABLES `lams_ext_server_tool_map` WRITE; /*!40000 ALTER TABLE `lams_ext_server_tool_map` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_ext_server_tool_map` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_ext_user_userid_map` -- DROP TABLE IF EXISTS `lams_ext_user_userid_map`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_ext_user_userid_map` ( `sid` int(11) NOT NULL AUTO_INCREMENT, `external_username` varchar(250) NOT NULL, `user_id` bigint(20) NOT NULL, `ext_server_org_map_id` int(11) NOT NULL, PRIMARY KEY (`sid`), KEY `user_id` (`user_id`), KEY `ext_server_org_map_id` (`ext_server_org_map_id`), CONSTRAINT `lams_ext_user_userid_map_fk1` FOREIGN KEY (`ext_server_org_map_id`) REFERENCES `lams_ext_server_org_map` (`sid`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `lams_ext_user_userid_map_fk` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_ext_user_userid_map` -- LOCK TABLES `lams_ext_user_userid_map` WRITE; /*!40000 ALTER TABLE `lams_ext_user_userid_map` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_ext_user_userid_map` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_gate_activity_level` -- DROP TABLE IF EXISTS `lams_gate_activity_level`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_gate_activity_level` ( `gate_activity_level_id` int(11) NOT NULL DEFAULT '0', `description` varchar(128) NOT NULL, PRIMARY KEY (`gate_activity_level_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_gate_activity_level` -- LOCK TABLES `lams_gate_activity_level` WRITE; /*!40000 ALTER TABLE `lams_gate_activity_level` DISABLE KEYS */; INSERT INTO `lams_gate_activity_level` VALUES (1,'LEARNER'),(2,'GROUP'),(3,'CLASS'); /*!40000 ALTER TABLE `lams_gate_activity_level` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_gradebook_user_activity` -- DROP TABLE IF EXISTS `lams_gradebook_user_activity`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_gradebook_user_activity` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `activity_id` bigint(20) NOT NULL, `user_id` bigint(20) NOT NULL, `mark` double DEFAULT NULL, `feedback` text, `marked_in_gradebook` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`uid`), KEY `activity_id` (`activity_id`,`user_id`), KEY `FK_lams_gradebook_user_activity_2` (`user_id`), CONSTRAINT `FK_lams_gradebook_user_activity_1` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `FK_lams_gradebook_user_activity_2` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_gradebook_user_activity` -- LOCK TABLES `lams_gradebook_user_activity` WRITE; /*!40000 ALTER TABLE `lams_gradebook_user_activity` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_gradebook_user_activity` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_gradebook_user_lesson` -- DROP TABLE IF EXISTS `lams_gradebook_user_lesson`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_gradebook_user_lesson` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `lesson_id` bigint(20) NOT NULL, `user_id` bigint(20) NOT NULL, `mark` double DEFAULT NULL, `feedback` text, PRIMARY KEY (`uid`), KEY `lesson_id` (`lesson_id`,`user_id`), KEY `FK_lams_gradebook_user_lesson_2` (`user_id`), CONSTRAINT `FK_lams_gradebook_user_lesson_1` FOREIGN KEY (`lesson_id`) REFERENCES `lams_lesson` (`lesson_id`), CONSTRAINT `FK_lams_gradebook_user_lesson_2` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_gradebook_user_lesson` -- LOCK TABLES `lams_gradebook_user_lesson` WRITE; /*!40000 ALTER TABLE `lams_gradebook_user_lesson` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_gradebook_user_lesson` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_group` -- DROP TABLE IF EXISTS `lams_group`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_group` ( `group_id` bigint(20) NOT NULL AUTO_INCREMENT, `group_name` varchar(255) NOT NULL, `grouping_id` bigint(20) NOT NULL, `order_id` int(6) NOT NULL DEFAULT '1', `group_ui_id` int(11) DEFAULT NULL, PRIMARY KEY (`group_id`), KEY `grouping_id` (`grouping_id`), CONSTRAINT `FK_lams_learning_group_1` FOREIGN KEY (`grouping_id`) REFERENCES `lams_grouping` (`grouping_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_group` -- LOCK TABLES `lams_group` WRITE; /*!40000 ALTER TABLE `lams_group` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_group` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_grouping` -- DROP TABLE IF EXISTS `lams_grouping`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_grouping` ( `grouping_id` bigint(20) NOT NULL AUTO_INCREMENT, `grouping_ui_id` int(11) DEFAULT NULL, `grouping_type_id` int(11) NOT NULL, `number_of_groups` int(11) DEFAULT NULL, `learners_per_group` int(11) DEFAULT NULL, `staff_group_id` bigint(20) DEFAULT '0', `max_number_of_groups` int(3) DEFAULT NULL, `equal_number_of_learners_per_group` tinyint(4) DEFAULT '0', `view_students_before_selection` tinyint(4) DEFAULT '0', PRIMARY KEY (`grouping_id`), KEY `grouping_type_id` (`grouping_type_id`), CONSTRAINT `FK_lams_learning_grouping_1` FOREIGN KEY (`grouping_type_id`) REFERENCES `lams_grouping_type` (`grouping_type_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_grouping` -- LOCK TABLES `lams_grouping` WRITE; /*!40000 ALTER TABLE `lams_grouping` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_grouping` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_grouping_support_type` -- DROP TABLE IF EXISTS `lams_grouping_support_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_grouping_support_type` ( `grouping_support_type_id` int(3) NOT NULL, `description` varchar(64) NOT NULL, PRIMARY KEY (`grouping_support_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_grouping_support_type` -- LOCK TABLES `lams_grouping_support_type` WRITE; /*!40000 ALTER TABLE `lams_grouping_support_type` DISABLE KEYS */; INSERT INTO `lams_grouping_support_type` VALUES (1,'NONE'),(2,'OPTIONAL'),(3,'REQUIRED'); /*!40000 ALTER TABLE `lams_grouping_support_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_grouping_type` -- DROP TABLE IF EXISTS `lams_grouping_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_grouping_type` ( `grouping_type_id` int(11) NOT NULL, `description` varchar(128) NOT NULL, PRIMARY KEY (`grouping_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_grouping_type` -- LOCK TABLES `lams_grouping_type` WRITE; /*!40000 ALTER TABLE `lams_grouping_type` DISABLE KEYS */; INSERT INTO `lams_grouping_type` VALUES (1,'RANDOM_GROUPING'),(2,'CHOSEN_GROUPING'),(3,'CLASS_GROUPING'),(4,'LEARNER_CHOICE_GROUPING'); /*!40000 ALTER TABLE `lams_grouping_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_input_activity` -- DROP TABLE IF EXISTS `lams_input_activity`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_input_activity` ( `activity_id` bigint(20) NOT NULL, `input_activity_id` bigint(20) NOT NULL, UNIQUE KEY `UQ_lams_input_activity_1` (`activity_id`,`input_activity_id`), KEY `activity_id` (`activity_id`), KEY `activity_id_2` (`activity_id`), CONSTRAINT `FK_lams_input_activity_1` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_input_activity_2` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_input_activity` -- LOCK TABLES `lams_input_activity` WRITE; /*!40000 ALTER TABLE `lams_input_activity` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_input_activity` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_learner_progress` -- DROP TABLE IF EXISTS `lams_learner_progress`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_learner_progress` ( `learner_progress_id` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` bigint(20) NOT NULL, `lesson_id` bigint(20) NOT NULL, `lesson_completed_flag` tinyint(1) NOT NULL DEFAULT '0', `waiting_flag` tinyint(4) NOT NULL, `start_date_time` datetime NOT NULL, `finish_date_time` datetime DEFAULT NULL, `current_activity_id` bigint(20) DEFAULT NULL, `next_activity_id` bigint(20) DEFAULT NULL, `previous_activity_id` bigint(20) DEFAULT NULL, `requires_restart_flag` tinyint(1) NOT NULL, PRIMARY KEY (`learner_progress_id`), UNIQUE KEY `IX_lams_learner_progress_1` (`user_id`,`lesson_id`), KEY `user_id` (`user_id`), KEY `lesson_id` (`lesson_id`), KEY `current_activity_id` (`current_activity_id`), KEY `next_activity_id` (`next_activity_id`), KEY `previous_activity_id` (`previous_activity_id`), CONSTRAINT `FK_lams_learner_progress_1` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`), CONSTRAINT `FK_lams_learner_progress_2` FOREIGN KEY (`lesson_id`) REFERENCES `lams_lesson` (`lesson_id`), CONSTRAINT `FK_lams_learner_progress_3` FOREIGN KEY (`current_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`), CONSTRAINT `FK_lams_learner_progress_4` FOREIGN KEY (`next_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`), CONSTRAINT `FK_lams_learner_progress_5` FOREIGN KEY (`previous_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_learner_progress` -- LOCK TABLES `lams_learner_progress` WRITE; /*!40000 ALTER TABLE `lams_learner_progress` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_learner_progress` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_learning_activity` -- DROP TABLE IF EXISTS `lams_learning_activity`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_learning_activity` ( `activity_id` bigint(20) NOT NULL AUTO_INCREMENT, `activity_ui_id` int(11) DEFAULT NULL, `description` text, `title` varchar(255) DEFAULT NULL, `help_text` text, `xcoord` int(11) DEFAULT NULL, `ycoord` int(11) DEFAULT NULL, `parent_activity_id` bigint(20) DEFAULT NULL, `parent_ui_id` int(11) DEFAULT NULL, `learning_activity_type_id` int(11) NOT NULL DEFAULT '0', `grouping_support_type_id` int(3) NOT NULL, `apply_grouping_flag` tinyint(1) NOT NULL, `grouping_id` bigint(20) DEFAULT NULL, `grouping_ui_id` int(11) DEFAULT NULL, `order_id` int(11) DEFAULT NULL, `define_later_flag` tinyint(4) NOT NULL DEFAULT '0', `learning_design_id` bigint(20) DEFAULT NULL, `learning_library_id` bigint(20) DEFAULT NULL, `create_date_time` datetime NOT NULL, `run_offline_flag` tinyint(1) NOT NULL, `max_number_of_options` int(5) DEFAULT NULL, `min_number_of_options` int(5) DEFAULT NULL, `options_instructions` text, `tool_id` bigint(20) DEFAULT NULL, `tool_content_id` bigint(20) DEFAULT NULL, `activity_category_id` int(3) NOT NULL, `gate_activity_level_id` int(11) DEFAULT NULL, `gate_open_flag` tinyint(1) DEFAULT NULL, `gate_start_time_offset` bigint(38) DEFAULT NULL, `gate_end_time_offset` bigint(38) DEFAULT NULL, `gate_start_date_time` datetime DEFAULT NULL, `gate_end_date_time` datetime DEFAULT NULL, `library_activity_ui_image` varchar(255) DEFAULT NULL, `create_grouping_id` bigint(20) DEFAULT NULL, `create_grouping_ui_id` int(11) DEFAULT NULL, `library_activity_id` bigint(20) DEFAULT NULL, `language_file` varchar(255) DEFAULT NULL, `system_tool_id` bigint(20) DEFAULT NULL, `read_only` tinyint(4) DEFAULT '0', `initialised` tinyint(4) DEFAULT '0', `default_activity_id` bigint(20) DEFAULT NULL, `start_xcoord` int(11) DEFAULT NULL, `start_ycoord` int(11) DEFAULT NULL, `end_xcoord` int(11) DEFAULT NULL, `end_ycoord` int(11) DEFAULT NULL, `stop_after_activity` tinyint(4) NOT NULL DEFAULT '0', `transition_to_id` bigint(20) DEFAULT NULL, `transition_from_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`activity_id`), KEY `learning_library_id` (`learning_library_id`), KEY `learning_design_id` (`learning_design_id`), KEY `parent_activity_id` (`parent_activity_id`), KEY `learning_activity_type_id` (`learning_activity_type_id`), KEY `grouping_id` (`grouping_id`), KEY `tool_id` (`tool_id`), KEY `gate_activity_level_id` (`gate_activity_level_id`), KEY `create_grouping_id` (`create_grouping_id`), KEY `library_activity_id` (`library_activity_id`), KEY `activity_category_id` (`activity_category_id`), KEY `grouping_support_type_id` (`grouping_support_type_id`), KEY `system_tool_id` (`system_tool_id`), KEY `FK_lams_learning_activity_15` (`transition_to_id`), KEY `FK_lams_learning_activity_16` (`transition_from_id`), CONSTRAINT `FK_lams_learning_activity_15` FOREIGN KEY (`transition_to_id`) REFERENCES `lams_learning_transition` (`transition_id`), CONSTRAINT `FK_lams_learning_activity_16` FOREIGN KEY (`transition_from_id`) REFERENCES `lams_learning_transition` (`transition_id`), CONSTRAINT `FK_lams_learning_activity_10` FOREIGN KEY (`gate_activity_level_id`) REFERENCES `lams_gate_activity_level` (`gate_activity_level_id`), CONSTRAINT `FK_lams_learning_activity_11` FOREIGN KEY (`library_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`), CONSTRAINT `FK_lams_learning_activity_12` FOREIGN KEY (`activity_category_id`) REFERENCES `lams_activity_category` (`activity_category_id`), CONSTRAINT `FK_lams_learning_activity_13` FOREIGN KEY (`grouping_support_type_id`) REFERENCES `lams_grouping_support_type` (`grouping_support_type_id`), CONSTRAINT `FK_lams_learning_activity_14` FOREIGN KEY (`system_tool_id`) REFERENCES `lams_system_tool` (`system_tool_id`), CONSTRAINT `FK_lams_learning_activity_6` FOREIGN KEY (`learning_design_id`) REFERENCES `lams_learning_design` (`learning_design_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_learning_activity_7` FOREIGN KEY (`learning_library_id`) REFERENCES `lams_learning_library` (`learning_library_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_learning_activity_8` FOREIGN KEY (`tool_id`) REFERENCES `lams_tool` (`tool_id`), CONSTRAINT `FK_lams_learning_activity_9` FOREIGN KEY (`create_grouping_id`) REFERENCES `lams_grouping` (`grouping_id`), CONSTRAINT `FK_learning_activity_2` FOREIGN KEY (`parent_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_learning_activity_3` FOREIGN KEY (`learning_activity_type_id`) REFERENCES `lams_learning_activity_type` (`learning_activity_type_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_learning_activity_6` FOREIGN KEY (`grouping_id`) REFERENCES `lams_grouping` (`grouping_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_learning_activity` -- LOCK TABLES `lams_learning_activity` WRITE; /*!40000 ALTER TABLE `lams_learning_activity` DISABLE KEYS */; INSERT INTO `lams_learning_activity` VALUES (1,NULL,'Forum/Message Board','Forum','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,1,'2012-08-22 00:58:01',0,NULL,NULL,NULL,1,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lafrum11/images/icon_forum.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.forum.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(2,NULL,'Displays a NoticeboardX','NoticeboardX','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,2,'2012-08-22 00:58:09',0,NULL,NULL,NULL,2,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lanb11/images/icon_htmlnb.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.noticeboard.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(3,NULL,'Allows creation and use of question and answer format','Question and Answer','Help text',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,3,'2012-08-22 00:58:15',0,NULL,NULL,NULL,3,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,'tool/laqa11/images/icon_questionanswer.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.qa.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(4,NULL,'Uploading of files by learners, for review by teachers.','Submit File','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,4,'2012-08-22 00:58:20',0,NULL,NULL,NULL,4,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lasbmt11/images/icon_reportsubmission.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.sbmt.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(5,NULL,'Chat Tool','Chat Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,5,'2012-08-22 00:58:26',0,NULL,NULL,NULL,5,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lachat11/images/icon_chat.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.chat.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(6,NULL,'Share Resources','Share Resources','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,6,'2012-08-22 00:58:33',0,NULL,NULL,NULL,6,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/larsrc11/images/icon_rsrc.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.rsrc.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(7,NULL,'Allows creation and use of voting format','Voting','Help text',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,7,'2012-08-22 00:58:40',0,NULL,NULL,NULL,7,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lavote11/images/icon_ranking.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.vote.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(8,NULL,'Notebook Tool','Notebook Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,8,'2012-08-22 00:58:46',0,NULL,NULL,NULL,8,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lantbk11/images/icon_notebook.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.notebook.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(9,NULL,'Survey','Survey','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,9,'2012-08-22 00:58:52',0,NULL,NULL,NULL,9,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lasurv11/images/icon_survey.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.survey.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(10,NULL,'Scribe Tool','Scribe Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,10,'2012-08-22 00:59:00',0,NULL,NULL,NULL,10,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lascrb11/images/icon_scribe.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.scribe.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(11,NULL,'TaskList','TaskList','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,11,'2012-08-22 00:59:07',0,NULL,NULL,NULL,11,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/latask10/images/icon_taskList.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.taskList.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(12,NULL,'Gmap Tool','Gmap Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,12,'2012-08-22 00:59:17',0,NULL,NULL,NULL,12,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lagmap10/images/icon_gmap.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.gmap.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(13,NULL,'Spreadsheet','Spreadsheet','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,13,'2012-08-22 00:59:24',0,NULL,NULL,NULL,13,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lasprd10/images/icon_spreadsheet.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.spreadsheet.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(14,NULL,'Collecting data with custom structure.','Data Collection','Asking questions with custom, limited answers.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,14,'2012-08-22 00:59:32',0,NULL,NULL,NULL,14,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,'tool/ladaco10/images/icon_daco.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.daco.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(15,NULL,'Wiki Tool','Wiki Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,15,'2012-08-22 00:59:40',0,NULL,NULL,NULL,15,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lawiki10/images/icon_wiki.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.wiki.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(16,NULL,'ImageGallery','ImageGallery','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,16,'2012-08-22 00:59:50',0,NULL,NULL,NULL,16,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/laimag10/images/icon_imageGallery.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.imageGallery.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(17,NULL,'VideoRecorder Tool','VideoRecorder Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,17,'2012-08-22 00:59:59',0,NULL,NULL,NULL,17,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lavidr10/images/icon_videoRecorder.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.videoRecorder.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(18,NULL,'Mindmap Tool','Mindmap Tool','Mindmap Tool for creating mindmaps.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,18,'2012-08-22 01:00:07',0,NULL,NULL,NULL,18,NULL,6,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lamind10/images/icon_mindmap.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.mindmap.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(19,NULL,'Assessment','Assessment','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,19,'2012-08-22 01:00:16',0,NULL,NULL,NULL,19,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,'tool/laasse10/images/icon_assessment.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.assessment.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(20,NULL,'Pixlr Tool','Pixlr Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,20,'2012-08-22 01:00:27',0,NULL,NULL,NULL,20,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lapixl10/images/icon_pixlr.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.pixlr.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(21,NULL,'Eadventure','Eadventure','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,21,'2012-08-22 01:00:34',0,NULL,NULL,NULL,21,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,'tool/eueadv10/images/icon_eAdventure2.swf',NULL,NULL,NULL,'org.eucm.lams.tool.eadventure.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(22,NULL,'Wookie Tool','Wookie Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,22,'2012-08-22 01:00:43',0,NULL,NULL,NULL,22,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lawook10/images/icon_wookie.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.wookie.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(23,NULL,'CommonCartridge','CommonCartridge','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,23,'2012-08-22 01:00:50',0,NULL,NULL,NULL,23,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/laimsc11/images/icon_commonCartridge.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.commonCartridge.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(24,NULL,'A web conferencig tool using Big Blue Button.','Web Conferencing','Web Conferencing help',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,24,'2012-08-22 01:00:58',0,NULL,NULL,NULL,24,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/labbb10/images/icon_bbb.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.bbb.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(25,NULL,'Allows creation and use of multiple choice questioning format','Multiple Choice Questions','Help text',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,25,'2012-08-22 01:01:04',0,NULL,NULL,NULL,25,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lamc11/images/icon_mcq.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.mc.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(26,NULL,'Combined Share Resources and Forum','Discuss Shared Resources','Learners to discuss items they have viewed via Share Resources.',NULL,NULL,NULL,NULL,6,2,0,NULL,NULL,NULL,0,NULL,26,'2012-08-22 01:01:06',0,NULL,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,'images/icon_urlcontentmessageboard.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.library.shareresourcesforum.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(27,NULL,'Share Resources','Share Resources','Share Resources',NULL,NULL,26,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2012-08-22 01:01:06',0,NULL,NULL,NULL,6,NULL,4,NULL,NULL,NULL,NULL,NULL,NULL,'tool/larsrc11/images/icon_rsrc.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.rsrc.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(28,NULL,'Forum/Message Board','Forum','Forum/Message Board',NULL,NULL,26,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2012-08-22 01:01:06',0,NULL,NULL,NULL,1,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lafrum11/images/icon_forum.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.forum.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(29,NULL,'Combined Chat and Scribe','Prepare Group Report','Learners to prepare group report, discussing report in chat',NULL,NULL,NULL,NULL,6,2,0,NULL,NULL,NULL,0,NULL,27,'2012-08-22 01:01:07',0,NULL,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,'images/icon_groupreporting.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.library.chatscribe.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(30,NULL,'Chat Tool','Chat Tool','Chat',NULL,NULL,29,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2012-08-22 01:01:07',0,NULL,NULL,NULL,5,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lachat11/images/icon_chat.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.chat.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(31,NULL,'Scribe Tool','Scribe Tool','Scribe',NULL,NULL,29,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2012-08-22 01:01:07',0,NULL,NULL,NULL,10,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lascrb11/images/icon_scribe.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.scribe.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(32,NULL,'Combined Chat and Scribe','Prepare Group Report','Learners to prepare group report, discussing report in chat',NULL,NULL,NULL,NULL,6,2,0,NULL,NULL,NULL,0,NULL,28,'2012-08-22 01:01:09',0,NULL,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,'images/icon_forum_and_scribe.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.library.forumscribe.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(33,NULL,'Forum/Message Board','Forum','Forum/Message Board',NULL,NULL,32,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2012-08-22 01:01:09',0,NULL,NULL,NULL,1,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lafrum11/images/icon_forum.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.forum.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL),(34,NULL,'Scribe Tool','Scribe Tool','Scribe',NULL,NULL,32,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2012-08-22 01:01:09',0,NULL,NULL,NULL,10,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,'tool/lascrb11/images/icon_scribe.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.tool.scribe.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL); /*!40000 ALTER TABLE `lams_learning_activity` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_learning_activity_type` -- DROP TABLE IF EXISTS `lams_learning_activity_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_learning_activity_type` ( `learning_activity_type_id` int(11) NOT NULL DEFAULT '0', `description` varchar(255) NOT NULL, PRIMARY KEY (`learning_activity_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_learning_activity_type` -- LOCK TABLES `lams_learning_activity_type` WRITE; /*!40000 ALTER TABLE `lams_learning_activity_type` DISABLE KEYS */; INSERT INTO `lams_learning_activity_type` VALUES (1,'TOOL'),(2,'GROUPING'),(3,'GATE_SYNCH'),(4,'GATE_SCHEDULE'),(5,'GATE_PERMISSION'),(6,'PARALLEL'),(7,'OPTIONS'),(8,'SEQUENCE'),(9,'GATE_SYSTEM'),(10,'BRANCHING_CHOSEN'),(11,'BRANCHING_GROUP'),(12,'BRANCHING_TOOL'),(13,'OPTIONS_WITH_SEQUENCES'),(14,'GATE_CONDITION'),(15,'FLOATING'); /*!40000 ALTER TABLE `lams_learning_activity_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_learning_design` -- DROP TABLE IF EXISTS `lams_learning_design`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_learning_design` ( `learning_design_id` bigint(20) NOT NULL AUTO_INCREMENT, `learning_design_ui_id` int(11) DEFAULT NULL, `description` text, `title` varchar(255) DEFAULT NULL, `first_activity_id` bigint(20) DEFAULT NULL, `floating_activity_id` bigint(20) DEFAULT NULL, `max_id` int(11) DEFAULT NULL, `valid_design_flag` tinyint(4) NOT NULL, `read_only_flag` tinyint(4) NOT NULL, `date_read_only` datetime DEFAULT NULL, `user_id` bigint(20) NOT NULL, `original_user_id` bigint(20) NOT NULL, `help_text` text, `online_instructions` text, `offline_instructions` text, `copy_type_id` tinyint(4) NOT NULL, `create_date_time` datetime NOT NULL, `version` varchar(56) DEFAULT NULL, `original_learning_design_id` bigint(20) DEFAULT NULL, `workspace_folder_id` bigint(20) DEFAULT NULL, `duration` bigint(38) DEFAULT NULL, `license_id` bigint(20) DEFAULT NULL, `license_text` text, `last_modified_date_time` datetime DEFAULT NULL, `content_folder_id` varchar(32) DEFAULT NULL, `edit_override_lock` tinyint(4) DEFAULT '0', `edit_override_user_id` bigint(20) DEFAULT NULL, `design_version` int(11) DEFAULT '1', PRIMARY KEY (`learning_design_id`), KEY `user_id` (`user_id`), KEY `workspace_folder_id` (`workspace_folder_id`), KEY `license_id` (`license_id`), KEY `copy_type_id` (`copy_type_id`), KEY `edit_override_user_id` (`edit_override_user_id`), KEY `idx_design_parent_id` (`original_learning_design_id`), KEY `idx_design_first_act` (`first_activity_id`), KEY `idx_design_floating_act` (`floating_activity_id`), CONSTRAINT `FK_lams_learning_design_3` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`), CONSTRAINT `FK_lams_learning_design_4` FOREIGN KEY (`workspace_folder_id`) REFERENCES `lams_workspace_folder` (`workspace_folder_id`), CONSTRAINT `FK_lams_learning_design_5` FOREIGN KEY (`license_id`) REFERENCES `lams_license` (`license_id`), CONSTRAINT `FK_lams_learning_design_6` FOREIGN KEY (`copy_type_id`) REFERENCES `lams_copy_type` (`copy_type_id`), CONSTRAINT `FK_lams_learning_design_7` FOREIGN KEY (`edit_override_user_id`) REFERENCES `lams_user` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_learning_design` -- LOCK TABLES `lams_learning_design` WRITE; /*!40000 ALTER TABLE `lams_learning_design` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_learning_design` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_learning_library` -- DROP TABLE IF EXISTS `lams_learning_library`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_learning_library` ( `learning_library_id` bigint(20) NOT NULL AUTO_INCREMENT, `description` text, `title` varchar(255) DEFAULT NULL, `valid_flag` tinyint(1) NOT NULL DEFAULT '1', `create_date_time` datetime NOT NULL, PRIMARY KEY (`learning_library_id`) ) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_learning_library` -- LOCK TABLES `lams_learning_library` WRITE; /*!40000 ALTER TABLE `lams_learning_library` DISABLE KEYS */; INSERT INTO `lams_learning_library` VALUES (1,'Forum, also known Message Board','Forum',1,'2012-08-22 00:58:01'),(2,'Displays a Noticeboard','Noticeboard',1,'2012-08-22 00:58:09'),(3,'Question and Answer Learning Library Description','Question and Answer',1,'2012-08-22 00:58:14'),(4,'Uploading of files by learners, for review by teachers.','Submit file',1,'2012-08-22 00:58:20'),(5,'Chat Tool','Chat',1,'2012-08-22 00:58:26'),(6,'Share resources','Share resources',1,'2012-08-22 00:58:33'),(7,'Voting Learning Library Description','Voting',1,'2012-08-22 00:58:40'),(8,'Notebook Tool','Notebook',1,'2012-08-22 00:58:46'),(9,'Survey','Survey',1,'2012-08-22 00:58:52'),(10,'Scribe Tool','Scribe',0,'2012-08-22 00:59:00'),(11,'Share taskList','Share taskList',1,'2012-08-22 00:59:07'),(12,'Gmap Tool','Gmap',1,'2012-08-22 00:59:17'),(13,'Spreadsheet Tool','Spreadsheet',1,'2012-08-22 00:59:24'),(14,'Collecting data with custom structure.','Data Collection',1,'2012-08-22 00:59:32'),(15,'Wiki Tool','Wiki',1,'2012-08-22 00:59:40'),(16,'Share imageGallery','Share imageGallery',1,'2012-08-22 00:59:50'),(17,'VideoRecorder Tool','VideoRecorder',1,'2012-08-22 00:59:59'),(18,'Mindmap Tool','Mindmap',1,'2012-08-22 01:00:07'),(19,'Assessment','Assessment',1,'2012-08-22 01:00:16'),(20,'Pixlr Tool','Pixlr',1,'2012-08-22 01:00:27'),(21,'eAdventure','eAdventure',1,'2012-08-22 01:00:34'),(22,'Wookie Tool','Wookie',0,'2012-08-22 01:00:43'),(23,'Share commonCartridge','Share commonCartridge',1,'2012-08-22 01:00:50'),(24,'Web Conferencing Tool','Bbb',0,'2012-08-22 01:00:58'),(25,'MCQ Learning Library Description','MCQ',1,'2012-08-22 01:01:04'),(26,'Shared Resources and Forum','Resources and Forum',1,'2012-08-22 01:01:06'),(27,'Chat and Scribe','Chat and Scribe',1,'2012-08-22 01:01:07'),(28,'Forum and Scribe','Forum and Scribe',1,'2012-08-22 01:01:09'); /*!40000 ALTER TABLE `lams_learning_library` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_learning_transition` -- DROP TABLE IF EXISTS `lams_learning_transition`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_learning_transition` ( `transition_id` bigint(20) NOT NULL AUTO_INCREMENT, `transition_ui_id` int(11) DEFAULT NULL, `description` text, `title` varchar(255) DEFAULT NULL, `to_activity_id` bigint(20) NOT NULL, `from_activity_id` bigint(20) NOT NULL, `learning_design_id` bigint(20) DEFAULT NULL, `create_date_time` datetime NOT NULL, `to_ui_id` int(11) DEFAULT NULL, `from_ui_id` int(11) DEFAULT NULL, `transition_type` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`transition_id`), KEY `from_activity_id` (`from_activity_id`), KEY `to_activity_id` (`to_activity_id`), KEY `learning_design_id` (`learning_design_id`), CONSTRAINT `FK_learning_transition_3` FOREIGN KEY (`from_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_learning_transition_2` FOREIGN KEY (`to_activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `lddefn_transition_ibfk_1` FOREIGN KEY (`learning_design_id`) REFERENCES `lams_learning_design` (`learning_design_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_learning_transition` -- LOCK TABLES `lams_learning_transition` WRITE; /*!40000 ALTER TABLE `lams_learning_transition` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_learning_transition` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_lesson` -- DROP TABLE IF EXISTS `lams_lesson`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_lesson` ( `lesson_id` bigint(20) NOT NULL AUTO_INCREMENT, `learning_design_id` bigint(20) NOT NULL, `user_id` bigint(20) NOT NULL, `name` varchar(255) NOT NULL, `description` text, `create_date_time` datetime NOT NULL, `organisation_id` bigint(20) DEFAULT NULL, `class_grouping_id` bigint(20) DEFAULT NULL, `lesson_state_id` int(3) NOT NULL, `start_date_time` datetime DEFAULT NULL, `scheduled_number_days_to_lesson_finish` int(3) DEFAULT NULL, `schedule_start_date_time` datetime DEFAULT NULL, `end_date_time` datetime DEFAULT NULL, `schedule_end_date_time` datetime DEFAULT NULL, `previous_state_id` int(3) DEFAULT NULL, `learner_exportport_avail` tinyint(1) DEFAULT '1', `learner_presence_avail` tinyint(1) DEFAULT '0', `learner_im_avail` tinyint(1) DEFAULT '0', `live_edit_enabled` tinyint(1) DEFAULT '0', `enable_lesson_notifications` tinyint(1) DEFAULT '0', `locked_for_edit` tinyint(4) DEFAULT '0', `marks_released` tinyint(4) DEFAULT '0', `version` int(11) DEFAULT '1', `enable_lesson_intro` tinyint(1) DEFAULT '0', `display_design_image` tinyint(1) DEFAULT '0', PRIMARY KEY (`lesson_id`), KEY `learning_design_id` (`learning_design_id`), KEY `user_id` (`user_id`), KEY `organisation_id` (`organisation_id`), KEY `lesson_state_id` (`lesson_state_id`), KEY `class_grouping_id` (`class_grouping_id`), CONSTRAINT `FK_lams_lesson_1_1` FOREIGN KEY (`learning_design_id`) REFERENCES `lams_learning_design` (`learning_design_id`), CONSTRAINT `FK_lams_lesson_2` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`), CONSTRAINT `FK_lams_lesson_3` FOREIGN KEY (`organisation_id`) REFERENCES `lams_organisation` (`organisation_id`), CONSTRAINT `FK_lams_lesson_4` FOREIGN KEY (`lesson_state_id`) REFERENCES `lams_lesson_state` (`lesson_state_id`), CONSTRAINT `FK_lams_lesson_5` FOREIGN KEY (`class_grouping_id`) REFERENCES `lams_grouping` (`grouping_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_lesson` -- LOCK TABLES `lams_lesson` WRITE; /*!40000 ALTER TABLE `lams_lesson` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_lesson` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_lesson_dependency` -- DROP TABLE IF EXISTS `lams_lesson_dependency`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_lesson_dependency` ( `lesson_id` bigint(20) NOT NULL DEFAULT '0', `preceding_lesson_id` bigint(20) NOT NULL DEFAULT '0', PRIMARY KEY (`lesson_id`,`preceding_lesson_id`), KEY `FK_lams_lesson_dependency_2` (`preceding_lesson_id`), CONSTRAINT `FK_lams_lesson_dependency_1` FOREIGN KEY (`lesson_id`) REFERENCES `lams_lesson` (`lesson_id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `FK_lams_lesson_dependency_2` FOREIGN KEY (`preceding_lesson_id`) REFERENCES `lams_lesson` (`lesson_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_lesson_dependency` -- LOCK TABLES `lams_lesson_dependency` WRITE; /*!40000 ALTER TABLE `lams_lesson_dependency` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_lesson_dependency` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_lesson_learner` -- DROP TABLE IF EXISTS `lams_lesson_learner`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_lesson_learner` ( `lesson_id` bigint(20) NOT NULL, `user_id` bigint(20) NOT NULL, KEY `lesson_id` (`lesson_id`), KEY `user_id` (`user_id`), CONSTRAINT `FK_lams_lesson_learner_1` FOREIGN KEY (`lesson_id`) REFERENCES `lams_lesson` (`lesson_id`), CONSTRAINT `FK_lams_lesson_learner_2` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_lesson_learner` -- LOCK TABLES `lams_lesson_learner` WRITE; /*!40000 ALTER TABLE `lams_lesson_learner` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_lesson_learner` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_lesson_state` -- DROP TABLE IF EXISTS `lams_lesson_state`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_lesson_state` ( `lesson_state_id` int(3) NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`lesson_state_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_lesson_state` -- LOCK TABLES `lams_lesson_state` WRITE; /*!40000 ALTER TABLE `lams_lesson_state` DISABLE KEYS */; INSERT INTO `lams_lesson_state` VALUES (1,'CREATED'),(2,'NOT_STARTED'),(3,'STARTED'),(4,'SUSPENDED'),(5,'FINISHED'),(6,'ARCHIVED'),(7,'REMOVED'); /*!40000 ALTER TABLE `lams_lesson_state` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_license` -- DROP TABLE IF EXISTS `lams_license`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_license` ( `license_id` bigint(20) NOT NULL, `name` varchar(200) NOT NULL, `code` varchar(20) NOT NULL, `url` varchar(256) DEFAULT NULL, `default_flag` tinyint(1) NOT NULL DEFAULT '0', `picture_url` varchar(256) DEFAULT NULL, PRIMARY KEY (`license_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_license` -- LOCK TABLES `lams_license` WRITE; /*!40000 ALTER TABLE `lams_license` DISABLE KEYS */; INSERT INTO `lams_license` VALUES (1,'LAMS Recommended: CC Attribution-Noncommercial-ShareAlike 2.5','by-nc-sa','http://creativecommons.org/licenses/by-nc-sa/2.5/',1,'/images/license/byncsa.jpg'),(2,'CC Attribution-No Derivatives 2.5','by-nd','http://creativecommons.org/licenses/by-nd/2.5/',0,'/images/license/bynd.jpg'),(3,'CC Attribution-Noncommercial-No Derivatives 2.5','by-nc-nd','http://creativecommons.org/licenses/by-nc-nd/2.5/',0,'/images/license/byncnd.jpg'),(4,'CC Attribution-Noncommercial 2.5','by-nc','http://creativecommons.org/licenses/by-nc/2.5/',0,'/images/license/bync.jpg'),(5,'CC Attribution-ShareAlike 2.5','by-sa','http://creativecommons.org/licenses/by-sa/2.5/',0,'/images/license/byncsa.jpg'),(6,'Other Licensing Agreement','other','',0,''); /*!40000 ALTER TABLE `lams_license` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_log_event` -- DROP TABLE IF EXISTS `lams_log_event`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_log_event` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `log_event_type_id` int(5) NOT NULL, `user_id` bigint(20) NOT NULL, `occurred_date_time` datetime NOT NULL, `learning_design_id` bigint(20) DEFAULT NULL, `lesson_id` bigint(20) DEFAULT NULL, `activity_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `occurred_date_time` (`occurred_date_time`), KEY `FK_lams_event_log_1` (`log_event_type_id`), KEY `user_id` (`user_id`), KEY `FK_lams_event_log_3` (`learning_design_id`), KEY `FK_lams_event_log_4` (`lesson_id`), KEY `FK_lams_event_log_5` (`activity_id`), CONSTRAINT `FK_lams_event_log_1` FOREIGN KEY (`log_event_type_id`) REFERENCES `lams_log_event_type` (`log_event_type_id`), CONSTRAINT `FK_lams_event_log_2` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`), CONSTRAINT `FK_lams_event_log_3` FOREIGN KEY (`learning_design_id`) REFERENCES `lams_learning_design` (`learning_design_id`) ON DELETE CASCADE, CONSTRAINT `FK_lams_event_log_4` FOREIGN KEY (`lesson_id`) REFERENCES `lams_lesson` (`lesson_id`), CONSTRAINT `FK_lams_event_log_5` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_log_event` -- LOCK TABLES `lams_log_event` WRITE; /*!40000 ALTER TABLE `lams_log_event` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_log_event` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_log_event_type` -- DROP TABLE IF EXISTS `lams_log_event_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_log_event_type` ( `log_event_type_id` int(5) NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`log_event_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_log_event_type` -- LOCK TABLES `lams_log_event_type` WRITE; /*!40000 ALTER TABLE `lams_log_event_type` DISABLE KEYS */; INSERT INTO `lams_log_event_type` VALUES (1,'TYPE_TEACHER_LEARNING_DESIGN_CREATE'),(2,'TYPE_TEACHER_LESSON_CREATE'),(3,'TYPE_TEACHER_LESSON_START'),(4,'TYPE_TEACHER_LESSON_CHANGE_STATE'),(5,'TYPE_LEARNER_ACTIVITY_START'),(6,'TYPE_LEARNER_ACTIVITY_FINISH'); /*!40000 ALTER TABLE `lams_log_event_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_notebook_entry` -- DROP TABLE IF EXISTS `lams_notebook_entry`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_notebook_entry` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `external_id` bigint(20) DEFAULT NULL, `external_id_type` int(11) DEFAULT NULL, `external_signature` varchar(255) DEFAULT NULL, `user_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `entry` text, `create_date` datetime DEFAULT NULL, `last_modified` datetime DEFAULT NULL, PRIMARY KEY (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_notebook_entry` -- LOCK TABLES `lams_notebook_entry` WRITE; /*!40000 ALTER TABLE `lams_notebook_entry` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_notebook_entry` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_openid_config` -- DROP TABLE IF EXISTS `lams_openid_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_openid_config` ( `config_key` varchar(20) NOT NULL, `config_value` varchar(255) NOT NULL, PRIMARY KEY (`config_key`), UNIQUE KEY `config_key` (`config_key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_openid_config` -- LOCK TABLES `lams_openid_config` WRITE; /*!40000 ALTER TABLE `lams_openid_config` DISABLE KEYS */; INSERT INTO `lams_openid_config` VALUES ('enabled','false'),('portalURL',''),('trustedIDPs',''); /*!40000 ALTER TABLE `lams_openid_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_organisation` -- DROP TABLE IF EXISTS `lams_organisation`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_organisation` ( `organisation_id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(250) NOT NULL, `code` varchar(20) DEFAULT NULL, `description` varchar(250) DEFAULT NULL, `parent_organisation_id` bigint(20) DEFAULT NULL, `organisation_type_id` int(3) NOT NULL DEFAULT '0', `create_date` datetime NOT NULL, `created_by` bigint(20) NOT NULL, `workspace_id` bigint(20) DEFAULT NULL, `organisation_state_id` int(3) NOT NULL, `admin_add_new_users` tinyint(1) NOT NULL DEFAULT '0', `admin_browse_all_users` tinyint(1) NOT NULL DEFAULT '0', `admin_change_status` tinyint(1) NOT NULL DEFAULT '0', `admin_create_guest` tinyint(1) NOT NULL DEFAULT '0', `enable_course_notifications` tinyint(1) NOT NULL DEFAULT '0', `enable_monitor_gradebook` tinyint(1) NOT NULL DEFAULT '0', `enable_learner_gradebook` tinyint(1) NOT NULL DEFAULT '0', `locale_id` int(11) DEFAULT NULL, `archived_date` datetime DEFAULT NULL, `ordered_lesson_ids` text, PRIMARY KEY (`organisation_id`), KEY `organisation_type_id` (`organisation_type_id`), KEY `workspace_id` (`workspace_id`), KEY `parent_organisation_id` (`parent_organisation_id`), KEY `organisation_state_id` (`organisation_state_id`), KEY `locale_id` (`locale_id`), CONSTRAINT `FK_lams_organisation_1` FOREIGN KEY (`organisation_type_id`) REFERENCES `lams_organisation_type` (`organisation_type_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_organisation_2` FOREIGN KEY (`workspace_id`) REFERENCES `lams_workspace` (`workspace_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_organisation_3` FOREIGN KEY (`parent_organisation_id`) REFERENCES `lams_organisation` (`organisation_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_organisation_4` FOREIGN KEY (`organisation_state_id`) REFERENCES `lams_organisation_state` (`organisation_state_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_organisation_5` FOREIGN KEY (`locale_id`) REFERENCES `lams_supported_locale` (`locale_id`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_organisation` -- LOCK TABLES `lams_organisation` WRITE; /*!40000 ALTER TABLE `lams_organisation` DISABLE KEYS */; INSERT INTO `lams_organisation` VALUES (1,'Root',NULL,'Root Organisation',NULL,1,'2012-08-22 00:57:51',1,1,1,0,0,0,0,0,0,0,1,NULL,NULL),(2,'Playpen','PP101','Developers Playpen',1,2,'2012-08-22 00:57:51',1,2,1,0,0,0,0,1,1,1,1,NULL,NULL),(3,'Everybody',NULL,'All People In Course',2,3,'2012-08-22 00:57:51',1,NULL,1,0,0,0,0,0,0,0,1,NULL,NULL),(4,'Mathematics 1','MATH111','Mathematics 1',1,2,'2012-08-22 00:57:51',1,3,1,0,0,0,0,1,1,1,2,NULL,NULL),(5,'Tutorial Group A','TUTA','Tutorial Group A',4,3,'2012-08-22 00:57:51',1,NULL,1,0,0,0,0,0,0,0,2,NULL,NULL),(6,'Tutorial Group B','TUTB','Tutorial Group B',4,3,'2012-08-22 00:57:51',1,NULL,1,0,0,0,0,0,0,0,2,NULL,NULL),(7,'Moodle','Moodle','Moodle Test',1,2,'2012-08-22 00:57:51',1,50,2,0,0,0,0,0,0,0,1,NULL,NULL); /*!40000 ALTER TABLE `lams_organisation` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_organisation_state` -- DROP TABLE IF EXISTS `lams_organisation_state`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_organisation_state` ( `organisation_state_id` int(3) NOT NULL, `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`organisation_state_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_organisation_state` -- LOCK TABLES `lams_organisation_state` WRITE; /*!40000 ALTER TABLE `lams_organisation_state` DISABLE KEYS */; INSERT INTO `lams_organisation_state` VALUES (1,'ACTIVE'),(2,'HIDDEN'),(3,'ARCHIVED'),(4,'REMOVED'); /*!40000 ALTER TABLE `lams_organisation_state` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_organisation_type` -- DROP TABLE IF EXISTS `lams_organisation_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_organisation_type` ( `organisation_type_id` int(3) NOT NULL, `name` varchar(64) NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`organisation_type_id`), UNIQUE KEY `UQ_lams_organisation_type_name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_organisation_type` -- LOCK TABLES `lams_organisation_type` WRITE; /*!40000 ALTER TABLE `lams_organisation_type` DISABLE KEYS */; INSERT INTO `lams_organisation_type` VALUES (1,'ROOT ORGANISATION','root all other organisations: controlled by Sysadmin'),(2,'COURSE ORGANISATION','main organisation level - equivalent to an entire course.'),(3,'CLASS','runtime organisation level - lessons are run for classes.'); /*!40000 ALTER TABLE `lams_organisation_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_password_request` -- DROP TABLE IF EXISTS `lams_password_request`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_password_request` ( `request_id` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` bigint(20) NOT NULL, `request_key` varchar(32) NOT NULL, `request_date` datetime NOT NULL, PRIMARY KEY (`request_id`), UNIQUE KEY `IX_lams_psswd_rqst_key` (`request_key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_password_request` -- LOCK TABLES `lams_password_request` WRITE; /*!40000 ALTER TABLE `lams_password_request` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_password_request` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_planner_activity_metadata` -- DROP TABLE IF EXISTS `lams_planner_activity_metadata`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_planner_activity_metadata` ( `activity_id` bigint(20) NOT NULL, `collapsed` tinyint(1) DEFAULT '0', `expanded` tinyint(1) DEFAULT '0', `hidden` tinyint(1) DEFAULT '0', `editing_advice` varchar(255) DEFAULT NULL, KEY `FK_lams_planner_metadata_primary` (`activity_id`), CONSTRAINT `FK_lams_planner_metadata_primary` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_planner_activity_metadata` -- LOCK TABLES `lams_planner_activity_metadata` WRITE; /*!40000 ALTER TABLE `lams_planner_activity_metadata` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_planner_activity_metadata` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_planner_node_role` -- DROP TABLE IF EXISTS `lams_planner_node_role`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_planner_node_role` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `node_uid` bigint(20) NOT NULL, `user_id` bigint(20) NOT NULL, `role_id` int(6) NOT NULL, PRIMARY KEY (`uid`), KEY `FK_planner_node_role_user` (`user_id`), KEY `FK_planner_node_role_node` (`node_uid`), KEY `FK_planner_node_role_role` (`role_id`), CONSTRAINT `FK_planner_node_role_role` FOREIGN KEY (`role_id`) REFERENCES `lams_role` (`role_id`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `FK_planner_node_role_node` FOREIGN KEY (`node_uid`) REFERENCES `lams_planner_nodes` (`uid`) ON DELETE CASCADE ON UPDATE NO ACTION, CONSTRAINT `FK_planner_node_role_user` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE CASCADE ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_planner_node_role` -- LOCK TABLES `lams_planner_node_role` WRITE; /*!40000 ALTER TABLE `lams_planner_node_role` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_planner_node_role` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_planner_nodes` -- DROP TABLE IF EXISTS `lams_planner_nodes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_planner_nodes` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `parent_uid` bigint(20) DEFAULT NULL, `order_id` tinyint(3) unsigned NOT NULL, `locked` tinyint(1) NOT NULL DEFAULT '0', `content_folder_id` varchar(32) DEFAULT NULL, `title` varchar(255) NOT NULL, `brief_desc` text, `full_desc` text, `ld_id` bigint(20) DEFAULT NULL, `user_id` bigint(20) DEFAULT NULL, `permissions` int(11) DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `parent_uid` (`parent_uid`,`order_id`), KEY `FK_lams_planner_node_user` (`user_id`), CONSTRAINT `FK_lams_planner_node_parent` FOREIGN KEY (`parent_uid`) REFERENCES `lams_planner_nodes` (`uid`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `FK_lams_planner_node_user` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE SET NULL ON UPDATE SET NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_planner_nodes` -- LOCK TABLES `lams_planner_nodes` WRITE; /*!40000 ALTER TABLE `lams_planner_nodes` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_planner_nodes` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_planner_recent_learning_designs` -- DROP TABLE IF EXISTS `lams_planner_recent_learning_designs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_planner_recent_learning_designs` ( `user_id` bigint(20) NOT NULL, `learning_design_id` bigint(20) NOT NULL, `last_modified_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`user_id`,`learning_design_id`), KEY `FK_lams_planner_recent_learning_designs_2` (`learning_design_id`), CONSTRAINT `FK_lams_planner_recent_learning_designs_1` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `FK_lams_planner_recent_learning_designs_2` FOREIGN KEY (`learning_design_id`) REFERENCES `lams_learning_design` (`learning_design_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_planner_recent_learning_designs` -- LOCK TABLES `lams_planner_recent_learning_designs` WRITE; /*!40000 ALTER TABLE `lams_planner_recent_learning_designs` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_planner_recent_learning_designs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_presence_chat_msgs` -- DROP TABLE IF EXISTS `lams_presence_chat_msgs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_presence_chat_msgs` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `room_name` varchar(255) DEFAULT NULL, `from_user` varchar(255) DEFAULT NULL, `to_user` varchar(255) DEFAULT NULL, `date_sent` datetime DEFAULT NULL, `message` varchar(1023) DEFAULT NULL, PRIMARY KEY (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_presence_chat_msgs` -- LOCK TABLES `lams_presence_chat_msgs` WRITE; /*!40000 ALTER TABLE `lams_presence_chat_msgs` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_presence_chat_msgs` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_privilege` -- DROP TABLE IF EXISTS `lams_privilege`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_privilege` ( `privilege_id` bigint(20) NOT NULL AUTO_INCREMENT, `code` varchar(10) NOT NULL, `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`privilege_id`), UNIQUE KEY `IX_lams_privilege_code` (`code`) ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_privilege` -- LOCK TABLES `lams_privilege` WRITE; /*!40000 ALTER TABLE `lams_privilege` DISABLE KEYS */; INSERT INTO `lams_privilege` VALUES (1,'Z','do anything'),(2,'A','add/remove/modify classes within the course'),(3,'B','create running instances of sequences and assign those to a class'),(4,'C','stop/start running sequences'),(5,'D','monitor the progress of learners'),(6,'E','participates in sequences'),(7,'F','export their progress on each running sequence'),(8,'G','write/create/delete permissions in course content folder'),(9,'H','read course content folder'),(10,'I','create new users'),(11,'J','create guest users'),(12,'K','change status of course'),(13,'L','browse all users in the system'),(14,'M','write/create/delete permissions in all course content folders'); /*!40000 ALTER TABLE `lams_privilege` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_progress_attempted` -- DROP TABLE IF EXISTS `lams_progress_attempted`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_progress_attempted` ( `learner_progress_id` bigint(20) NOT NULL, `activity_id` bigint(20) NOT NULL, `start_date_time` datetime DEFAULT NULL, PRIMARY KEY (`learner_progress_id`,`activity_id`), KEY `learner_progress_id` (`learner_progress_id`), KEY `activity_id` (`activity_id`), CONSTRAINT `FK_lams_progress_current_1` FOREIGN KEY (`learner_progress_id`) REFERENCES `lams_learner_progress` (`learner_progress_id`), CONSTRAINT `FK_lams_progress_current_2` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_progress_attempted` -- LOCK TABLES `lams_progress_attempted` WRITE; /*!40000 ALTER TABLE `lams_progress_attempted` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_progress_attempted` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_progress_completed` -- DROP TABLE IF EXISTS `lams_progress_completed`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_progress_completed` ( `learner_progress_id` bigint(20) NOT NULL, `activity_id` bigint(20) NOT NULL, `completed_date_time` datetime DEFAULT NULL, `start_date_time` datetime DEFAULT NULL, PRIMARY KEY (`learner_progress_id`,`activity_id`), KEY `learner_progress_id` (`learner_progress_id`), KEY `activity_id` (`activity_id`), CONSTRAINT `FK_lams_progress_completed_1` FOREIGN KEY (`learner_progress_id`) REFERENCES `lams_learner_progress` (`learner_progress_id`), CONSTRAINT `FK_lams_progress_completed_2` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_progress_completed` -- LOCK TABLES `lams_progress_completed` WRITE; /*!40000 ALTER TABLE `lams_progress_completed` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_progress_completed` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_BLOB_TRIGGERS` -- DROP TABLE IF EXISTS `lams_qtz_BLOB_TRIGGERS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_BLOB_TRIGGERS` ( `TRIGGER_NAME` varchar(80) NOT NULL, `TRIGGER_GROUP` varchar(80) NOT NULL, `BLOB_DATA` blob, PRIMARY KEY (`TRIGGER_NAME`,`TRIGGER_GROUP`), CONSTRAINT `lams_qtz_BLOB_TRIGGERS_ibfk_1` FOREIGN KEY (`TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `lams_qtz_TRIGGERS` (`TRIGGER_NAME`, `TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_BLOB_TRIGGERS` -- LOCK TABLES `lams_qtz_BLOB_TRIGGERS` WRITE; /*!40000 ALTER TABLE `lams_qtz_BLOB_TRIGGERS` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_qtz_BLOB_TRIGGERS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_CALENDARS` -- DROP TABLE IF EXISTS `lams_qtz_CALENDARS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_CALENDARS` ( `CALENDAR_NAME` varchar(80) NOT NULL, `CALENDAR` blob NOT NULL, PRIMARY KEY (`CALENDAR_NAME`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_CALENDARS` -- LOCK TABLES `lams_qtz_CALENDARS` WRITE; /*!40000 ALTER TABLE `lams_qtz_CALENDARS` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_qtz_CALENDARS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_CRON_TRIGGERS` -- DROP TABLE IF EXISTS `lams_qtz_CRON_TRIGGERS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_CRON_TRIGGERS` ( `TRIGGER_NAME` varchar(80) NOT NULL, `TRIGGER_GROUP` varchar(80) NOT NULL, `CRON_EXPRESSION` varchar(80) NOT NULL, `TIME_ZONE_ID` varchar(80) DEFAULT NULL, PRIMARY KEY (`TRIGGER_NAME`,`TRIGGER_GROUP`), CONSTRAINT `lams_qtz_CRON_TRIGGERS_ibfk_1` FOREIGN KEY (`TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `lams_qtz_TRIGGERS` (`TRIGGER_NAME`, `TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_CRON_TRIGGERS` -- LOCK TABLES `lams_qtz_CRON_TRIGGERS` WRITE; /*!40000 ALTER TABLE `lams_qtz_CRON_TRIGGERS` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_qtz_CRON_TRIGGERS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_FIRED_TRIGGERS` -- DROP TABLE IF EXISTS `lams_qtz_FIRED_TRIGGERS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_FIRED_TRIGGERS` ( `ENTRY_ID` varchar(95) NOT NULL, `TRIGGER_NAME` varchar(80) NOT NULL, `TRIGGER_GROUP` varchar(80) NOT NULL, `IS_VOLATILE` varchar(1) NOT NULL, `INSTANCE_NAME` varchar(80) NOT NULL, `FIRED_TIME` bigint(13) NOT NULL, `STATE` varchar(16) NOT NULL, `JOB_NAME` varchar(80) DEFAULT NULL, `JOB_GROUP` varchar(80) DEFAULT NULL, `IS_STATEFUL` varchar(1) DEFAULT NULL, `REQUESTS_RECOVERY` varchar(1) DEFAULT NULL, PRIMARY KEY (`ENTRY_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_FIRED_TRIGGERS` -- LOCK TABLES `lams_qtz_FIRED_TRIGGERS` WRITE; /*!40000 ALTER TABLE `lams_qtz_FIRED_TRIGGERS` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_qtz_FIRED_TRIGGERS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_JOB_DETAILS` -- DROP TABLE IF EXISTS `lams_qtz_JOB_DETAILS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_JOB_DETAILS` ( `JOB_NAME` varchar(80) NOT NULL, `JOB_GROUP` varchar(80) NOT NULL, `DESCRIPTION` varchar(120) DEFAULT NULL, `JOB_CLASS_NAME` varchar(128) NOT NULL, `IS_DURABLE` varchar(1) NOT NULL, `IS_VOLATILE` varchar(1) NOT NULL, `IS_STATEFUL` varchar(1) NOT NULL, `REQUESTS_RECOVERY` varchar(1) NOT NULL, `JOB_DATA` blob, PRIMARY KEY (`JOB_NAME`,`JOB_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_JOB_DETAILS` -- LOCK TABLES `lams_qtz_JOB_DETAILS` WRITE; /*!40000 ALTER TABLE `lams_qtz_JOB_DETAILS` DISABLE KEYS */; INSERT INTO `lams_qtz_JOB_DETAILS` VALUES ('Resend Messages Job','DEFAULT','','org.lamsfoundation.lams.events.ResendMessagesJob','0','0','0','0',0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB0200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787000737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C770800000010000000007800); /*!40000 ALTER TABLE `lams_qtz_JOB_DETAILS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_JOB_LISTENERS` -- DROP TABLE IF EXISTS `lams_qtz_JOB_LISTENERS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_JOB_LISTENERS` ( `JOB_NAME` varchar(80) NOT NULL, `JOB_GROUP` varchar(80) NOT NULL, `JOB_LISTENER` varchar(80) NOT NULL, PRIMARY KEY (`JOB_NAME`,`JOB_GROUP`,`JOB_LISTENER`), CONSTRAINT `lams_qtz_JOB_LISTENERS_ibfk_1` FOREIGN KEY (`JOB_NAME`, `JOB_GROUP`) REFERENCES `lams_qtz_JOB_DETAILS` (`JOB_NAME`, `JOB_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_JOB_LISTENERS` -- LOCK TABLES `lams_qtz_JOB_LISTENERS` WRITE; /*!40000 ALTER TABLE `lams_qtz_JOB_LISTENERS` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_qtz_JOB_LISTENERS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_LOCKS` -- DROP TABLE IF EXISTS `lams_qtz_LOCKS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_LOCKS` ( `LOCK_NAME` varchar(40) NOT NULL, PRIMARY KEY (`LOCK_NAME`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_LOCKS` -- LOCK TABLES `lams_qtz_LOCKS` WRITE; /*!40000 ALTER TABLE `lams_qtz_LOCKS` DISABLE KEYS */; INSERT INTO `lams_qtz_LOCKS` VALUES ('CALENDAR_ACCESS'),('JOB_ACCESS'),('MISFIRE_ACCESS'),('STATE_ACCESS'),('TRIGGER_ACCESS'); /*!40000 ALTER TABLE `lams_qtz_LOCKS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_PAUSED_TRIGGER_GRPS` -- DROP TABLE IF EXISTS `lams_qtz_PAUSED_TRIGGER_GRPS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_PAUSED_TRIGGER_GRPS` ( `TRIGGER_GROUP` varchar(80) NOT NULL, PRIMARY KEY (`TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_PAUSED_TRIGGER_GRPS` -- LOCK TABLES `lams_qtz_PAUSED_TRIGGER_GRPS` WRITE; /*!40000 ALTER TABLE `lams_qtz_PAUSED_TRIGGER_GRPS` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_qtz_PAUSED_TRIGGER_GRPS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_SCHEDULER_STATE` -- DROP TABLE IF EXISTS `lams_qtz_SCHEDULER_STATE`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_SCHEDULER_STATE` ( `INSTANCE_NAME` varchar(80) NOT NULL, `LAST_CHECKIN_TIME` bigint(13) NOT NULL, `CHECKIN_INTERVAL` bigint(13) NOT NULL, `RECOVERER` varchar(80) DEFAULT NULL, PRIMARY KEY (`INSTANCE_NAME`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_SCHEDULER_STATE` -- LOCK TABLES `lams_qtz_SCHEDULER_STATE` WRITE; /*!40000 ALTER TABLE `lams_qtz_SCHEDULER_STATE` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_qtz_SCHEDULER_STATE` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_SIMPLE_TRIGGERS` -- DROP TABLE IF EXISTS `lams_qtz_SIMPLE_TRIGGERS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_SIMPLE_TRIGGERS` ( `TRIGGER_NAME` varchar(80) NOT NULL, `TRIGGER_GROUP` varchar(80) NOT NULL, `REPEAT_COUNT` bigint(7) NOT NULL, `REPEAT_INTERVAL` bigint(12) NOT NULL, `TIMES_TRIGGERED` bigint(7) NOT NULL, PRIMARY KEY (`TRIGGER_NAME`,`TRIGGER_GROUP`), CONSTRAINT `lams_qtz_SIMPLE_TRIGGERS_ibfk_1` FOREIGN KEY (`TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `lams_qtz_TRIGGERS` (`TRIGGER_NAME`, `TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_SIMPLE_TRIGGERS` -- LOCK TABLES `lams_qtz_SIMPLE_TRIGGERS` WRITE; /*!40000 ALTER TABLE `lams_qtz_SIMPLE_TRIGGERS` DISABLE KEYS */; INSERT INTO `lams_qtz_SIMPLE_TRIGGERS` VALUES ('Resend Messages Job trigger','DEFAULT',-1,3600000,1); /*!40000 ALTER TABLE `lams_qtz_SIMPLE_TRIGGERS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_TRIGGERS` -- DROP TABLE IF EXISTS `lams_qtz_TRIGGERS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_TRIGGERS` ( `TRIGGER_NAME` varchar(80) NOT NULL, `TRIGGER_GROUP` varchar(80) NOT NULL, `JOB_NAME` varchar(80) NOT NULL, `JOB_GROUP` varchar(80) NOT NULL, `IS_VOLATILE` varchar(1) NOT NULL, `DESCRIPTION` varchar(120) DEFAULT NULL, `NEXT_FIRE_TIME` bigint(13) DEFAULT NULL, `PREV_FIRE_TIME` bigint(13) DEFAULT NULL, `TRIGGER_STATE` varchar(16) NOT NULL, `TRIGGER_TYPE` varchar(8) NOT NULL, `START_TIME` bigint(13) NOT NULL, `END_TIME` bigint(13) DEFAULT NULL, `CALENDAR_NAME` varchar(80) DEFAULT NULL, `MISFIRE_INSTR` smallint(2) DEFAULT NULL, `JOB_DATA` blob, PRIMARY KEY (`TRIGGER_NAME`,`TRIGGER_GROUP`), KEY `JOB_NAME` (`JOB_NAME`,`JOB_GROUP`), CONSTRAINT `lams_qtz_TRIGGERS_ibfk_1` FOREIGN KEY (`JOB_NAME`, `JOB_GROUP`) REFERENCES `lams_qtz_JOB_DETAILS` (`JOB_NAME`, `JOB_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_TRIGGERS` -- LOCK TABLES `lams_qtz_TRIGGERS` WRITE; /*!40000 ALTER TABLE `lams_qtz_TRIGGERS` DISABLE KEYS */; INSERT INTO `lams_qtz_TRIGGERS` VALUES ('Resend Messages Job trigger','DEFAULT','Resend Messages Job','DEFAULT','0',NULL,1345564925719,1345561325719,'WAITING','SIMPLE',1345561325719,0,NULL,0,NULL); /*!40000 ALTER TABLE `lams_qtz_TRIGGERS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_qtz_TRIGGER_LISTENERS` -- DROP TABLE IF EXISTS `lams_qtz_TRIGGER_LISTENERS`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_qtz_TRIGGER_LISTENERS` ( `TRIGGER_NAME` varchar(80) NOT NULL, `TRIGGER_GROUP` varchar(80) NOT NULL, `TRIGGER_LISTENER` varchar(80) NOT NULL, PRIMARY KEY (`TRIGGER_NAME`,`TRIGGER_GROUP`,`TRIGGER_LISTENER`), CONSTRAINT `lams_qtz_TRIGGER_LISTENERS_ibfk_1` FOREIGN KEY (`TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `lams_qtz_TRIGGERS` (`TRIGGER_NAME`, `TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_qtz_TRIGGER_LISTENERS` -- LOCK TABLES `lams_qtz_TRIGGER_LISTENERS` WRITE; /*!40000 ALTER TABLE `lams_qtz_TRIGGER_LISTENERS` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_qtz_TRIGGER_LISTENERS` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_registration` -- DROP TABLE IF EXISTS `lams_registration`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_registration` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `site_name` varchar(255) NOT NULL, `organisation` varchar(255) NOT NULL, `name` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `server_country` varchar(2) NOT NULL, `public_directory` tinyint(1) DEFAULT '1', `enable_lams_community` tinyint(1) DEFAULT '0', `server_key` varchar(255) NOT NULL, `server_id` varchar(255) NOT NULL, PRIMARY KEY (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_registration` -- LOCK TABLES `lams_registration` WRITE; /*!40000 ALTER TABLE `lams_registration` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_registration` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_role` -- DROP TABLE IF EXISTS `lams_role`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_role` ( `role_id` int(6) NOT NULL DEFAULT '0', `name` varchar(64) NOT NULL, `description` text, `create_date` datetime NOT NULL, PRIMARY KEY (`role_id`), KEY `gname` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_role` -- LOCK TABLES `lams_role` WRITE; /*!40000 ALTER TABLE `lams_role` DISABLE KEYS */; INSERT INTO `lams_role` VALUES (1,'SYSADMIN','LAMS System Adminstrator','2012-08-22 00:57:51'),(2,'GROUP MANAGER','Group Manager','2012-08-22 00:57:51'),(3,'AUTHOR','Authors Learning Designs','2012-08-22 00:57:51'),(4,'MONITOR','Member of Staff','2012-08-22 00:57:51'),(5,'LEARNER','Student','2012-08-22 00:57:51'),(6,'GROUP ADMIN','Group Administrator','2012-08-22 00:57:51'),(7,'AUTHOR ADMIN','Author Administrator','2012-08-22 00:57:51'); /*!40000 ALTER TABLE `lams_role` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_role_privilege` -- DROP TABLE IF EXISTS `lams_role_privilege`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_role_privilege` ( `rp_id` bigint(20) NOT NULL AUTO_INCREMENT, `role_id` int(6) NOT NULL, `privilege_id` bigint(20) NOT NULL, PRIMARY KEY (`rp_id`), KEY `privilege_id` (`privilege_id`), KEY `role_id` (`role_id`), CONSTRAINT `FK_lams_role_privilege_1` FOREIGN KEY (`privilege_id`) REFERENCES `lams_privilege` (`privilege_id`), CONSTRAINT `FK_lams_role_privilege_2` FOREIGN KEY (`role_id`) REFERENCES `lams_role` (`role_id`) ) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_role_privilege` -- LOCK TABLES `lams_role_privilege` WRITE; /*!40000 ALTER TABLE `lams_role_privilege` DISABLE KEYS */; INSERT INTO `lams_role_privilege` VALUES (1,1,1),(2,2,2),(3,2,3),(4,2,4),(5,2,5),(6,2,8),(7,2,9),(8,2,10),(9,2,12),(10,2,13),(11,3,8),(12,3,9),(13,4,3),(14,4,4),(15,4,5),(16,5,6),(17,5,7),(18,6,2),(19,6,10),(20,6,12),(21,6,13),(22,7,14); /*!40000 ALTER TABLE `lams_role_privilege` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_supported_locale` -- DROP TABLE IF EXISTS `lams_supported_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_supported_locale` ( `locale_id` int(11) NOT NULL AUTO_INCREMENT, `language_iso_code` varchar(2) NOT NULL COMMENT 'ISO 639-1 Language Code (2 letter version) Java only supports 2 letter properly, not the 3 letter codes.', `country_iso_code` varchar(2) DEFAULT NULL COMMENT 'ISO 3166 Country Code. Cannot use in unique key as allows null.', `description` varchar(255) NOT NULL, `direction` varchar(3) NOT NULL, `fckeditor_code` varchar(10) DEFAULT NULL, PRIMARY KEY (`locale_id`) ) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COMMENT='Describes the valid language/country combinations.'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_supported_locale` -- LOCK TABLES `lams_supported_locale` WRITE; /*!40000 ALTER TABLE `lams_supported_locale` DISABLE KEYS */; INSERT INTO `lams_supported_locale` VALUES (1,'en','AU','English (Australia)','LTR','en-au'),(2,'es','ES','Español','LTR','es'),(3,'mi','NZ','Māori','LTR','en-au'),(4,'de','DE','Deutsch','LTR','de'),(5,'zh','CN','简体中文','LTR','zh-cn'),(6,'fr','FR','Français','LTR','fr'),(7,'it','IT','Italiano','LTR','it'),(8,'no','NO','Norsk','LTR','no'),(9,'sv','SE','Svenska','LTR','sv'),(10,'ko','KR','한국어','LTR','ko'),(11,'pl','PL','Polski','LTR','pl'),(12,'pt','BR','Português (Brasil)','LTR','pt-br'),(13,'hu','HU','Magyar','LTR','hu'),(14,'bg','BG','Български','LTR','bg'),(15,'cy','GB','Cymraeg (Cymru)','LTR','en-au'),(16,'th','TH','Thai','LTR','th'),(17,'el','GR','Ελληνικά','LTR','el'),(18,'nl','BE','Nederlands (België)','LTR','nl'),(19,'ar','JO','عربي','RTL','ar'),(20,'da','DK','Dansk','LTR','da'),(21,'ru','RU','Русский','LTR','ru'),(22,'vi','VN','Tiếng Việt','LTR','vi'),(23,'zh','TW','Chinese (Taiwan)','LTR','zh'),(24,'ja','JP','日本語','LTR','ja'),(25,'ms','MY','Malay (Malaysia)','LTR','ms'),(26,'tr','TR','Türkçe','LTR','tr'),(27,'ca','ES','Català','LTR','ca'),(28,'sl','SI','Slovenščina','LTR','sl'),(29,'es','MX','Español (México)','LTR','es'),(30,'cs','CZ','Čeština','LTR','cs'),(31,'id','ID','Indonesian','LTR','en-au'); /*!40000 ALTER TABLE `lams_supported_locale` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_system_tool` -- DROP TABLE IF EXISTS `lams_system_tool`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_system_tool` ( `system_tool_id` bigint(20) NOT NULL AUTO_INCREMENT, `learning_activity_type_id` int(11) NOT NULL, `tool_display_name` varchar(255) NOT NULL, `description` text, `learner_url` text, `learner_preview_url` text COMMENT 'Learner screen for preview a learning design. ', `learner_progress_url` text COMMENT 'Teacher''s view of a learner''s screen.', `export_pfolio_learner_url` text, `export_pfolio_class_url` text, `monitor_url` text, `contribute_url` text, `help_url` text, `create_date_time` datetime NOT NULL, `admin_url` text, `pedagogical_planner_url` text, PRIMARY KEY (`system_tool_id`), UNIQUE KEY `UQ_systool_activity_type` (`learning_activity_type_id`), KEY `learning_activity_type_id` (`learning_activity_type_id`), CONSTRAINT `FK_lams_system_tool` FOREIGN KEY (`learning_activity_type_id`) REFERENCES `lams_learning_activity_type` (`learning_activity_type_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_system_tool` -- LOCK TABLES `lams_system_tool` WRITE; /*!40000 ALTER TABLE `lams_system_tool` DISABLE KEYS */; INSERT INTO `lams_system_tool` VALUES (1,2,'Grouping','All types of grouping including random and chosen.','learning/grouping.do?method=performGrouping','learning/grouping.do?method=performGrouping','learning/grouping.do?method=viewGrouping&mode=teacher','learning/groupingExportPortfolio?mode=learner','learning/groupingExportPortfolio?mode=teacher','monitoring/grouping.do?method=startGrouping','monitoring/grouping.do?method=startGrouping',NULL,'2012-08-22 00:57:51',NULL,'pedagogicalPlanner/grouping.do?method=initGrouping'),(2,3,'Sync Gate','Gate: Synchronise Learners.','learning/gate.do?method=knockGate','learning/gate.do?method=knockGate',NULL,NULL,'monitoring/gateExportPortfolio?mode=teacher','monitoring/gate.do?method=viewGate','monitoring/gate.do?method=viewGate',NULL,'2012-08-22 00:57:51',NULL,NULL),(3,4,'Schedule Gate','Gate: Opens/shuts at particular times.','learning/gate.do?method=knockGate','learning/gate.do?method=knockGate',NULL,NULL,'monitoring/gateExportPortfolio?mode=teacher','monitoring/gate.do?method=viewGate','monitoring/gate.do?method=viewGate',NULL,'2012-08-22 00:57:51',NULL,NULL),(4,5,'Permission Gate','Gate: Opens under teacher or staff control.','learning/gate.do?method=knockGate','learning/gate.do?method=knockGate',NULL,NULL,'monitoring/gateExportPortfolio?mode=teacher','monitoring/gate.do?method=viewGate','monitoring/gate.do?method=viewGate',NULL,'2012-08-22 00:57:51',NULL,NULL),(5,9,'System Gate','Gate: Opens under system control.','learning/gate.do?method=knockGate','learning/gate.do?method=knockGate',NULL,NULL,'monitoring/gateExportPortfolio?mode=teacher','monitoring/gate.do?method=viewGate','monitoring/gate.do?method=viewGate',NULL,'2012-08-22 00:57:51',NULL,NULL),(6,10,'Monitor Chosen Branching','Select between multiple sequence activities, with the branch chosen in monitoring.','learning/branching.do?method=performBranching','learning/branching.do?method=performBranching','monitoring/complexProgress.do',NULL,'monitoring/branchingExportPortfolio?mode=teacher','monitoring/chosenBranching.do?method=assignBranch','monitoring/chosenBranching.do?method=assignBranch',NULL,'2012-08-22 00:57:51',NULL,NULL),(7,11,'Group Based Branching','Select between multiple sequence activities, with the branch chosen by an existing group.','learning/branching.do?method=performBranching','learning/branching.do?method=performBranching','monitoring/complexProgress.do',NULL,'monitoring/branchingExportPortfolio?mode=teacher','monitoring/groupedBranching.do?method=viewBranching','monitoring/groupedBranching.do?method=assignBranch',NULL,'2012-08-22 00:57:51',NULL,NULL),(8,12,'Tool Output Based Branching','Select between multiple sequence activities, with the branch chosen on results of another activity.','learning/branching.do?method=performBranching','learning/branching.do?method=performBranching','monitoring/complexProgress.do',NULL,'monitoring/branchingExportPortfolio?mode=teacher','monitoring/toolBranching.do?method=viewBranching','monitoring/toolBranching.do?method=viewBranching',NULL,'2012-08-22 00:57:51',NULL,NULL),(9,8,'Sequence','A sequence of activities','learning/SequenceActivity.do','learning/SequenceActivity.do','monitoring/complexProgress.do',NULL,'monitoring/sequenceExportPortfolio?mode=teacher','monitoring/sequence.do?method=viewSequence','monitoring/sequence.do?method=viewSequence',NULL,'2012-08-22 00:57:51',NULL,NULL),(10,14,'Condition Gate','Gate: Opens if conditions are met','learning/gate.do?method=knockGate','learning/gate.do?method=knockGate',NULL,NULL,'monitoring/gateExportPortfolio?mode=teacher','monitoring/gate.do?method=viewGate','monitoring/gate.do?method=viewGate',NULL,'2012-08-22 00:57:51',NULL,NULL),(11,15,'Floating Activities','A collection of floating activities',NULL,NULL,NULL,'monitoring/floatingExportPortfolio?mode=learner','monitoring/floatingExportPortfolio?mode=teacher','monitoring/floating.do?method=viewFloating','monitoring/floating.do?method=viewFloating',NULL,'2012-08-22 00:57:51',NULL,NULL); /*!40000 ALTER TABLE `lams_system_tool` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_text_search_condition` -- DROP TABLE IF EXISTS `lams_text_search_condition`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_text_search_condition` ( `condition_id` bigint(20) NOT NULL, `text_search_all_words` text, `text_search_phrase` text, `text_search_any_words` text, `text_search_excluded_words` text, PRIMARY KEY (`condition_id`), CONSTRAINT `TextSearchConditionInheritance` FOREIGN KEY (`condition_id`) REFERENCES `lams_branch_condition` (`condition_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_text_search_condition` -- LOCK TABLES `lams_text_search_condition` WRITE; /*!40000 ALTER TABLE `lams_text_search_condition` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_text_search_condition` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_theme` -- DROP TABLE IF EXISTS `lams_theme`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_theme` ( `theme_id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `description` varchar(100) DEFAULT NULL, `image_directory` varchar(100) DEFAULT NULL, `theme_type` tinyint(11) DEFAULT NULL, PRIMARY KEY (`theme_id`), UNIQUE KEY `UQ_name` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_theme` -- LOCK TABLES `lams_theme` WRITE; /*!40000 ALTER TABLE `lams_theme` DISABLE KEYS */; INSERT INTO `lams_theme` VALUES (1,'default','Default Flash style',NULL,2),(2,'defaultHTML','Default HTML style','css',1),(3,'highContrast','High Contrast HTML style','css',1); /*!40000 ALTER TABLE `lams_theme` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_timezone` -- DROP TABLE IF EXISTS `lams_timezone`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_timezone` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `timezone_id` varchar(255) NOT NULL, `server_timezone` tinyint(4) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_timezone` -- LOCK TABLES `lams_timezone` WRITE; /*!40000 ALTER TABLE `lams_timezone` DISABLE KEYS */; INSERT INTO `lams_timezone` VALUES (1,'Etc/GMT+12',0),(2,'Etc/GMT+11',0),(3,'Etc/GMT+10',0),(4,'US/Alaska',0),(5,'America/Vancouver',0),(6,'America/Denver',0),(7,'America/Chicago',0),(8,'America/Detroit',0),(9,'America/Halifax',0),(10,'Canada/Newfoundland',0),(11,'Etc/GMT+3',0),(12,'Etc/GMT+2',0),(13,'Etc/GMT+1',0),(14,'Europe/London',0),(15,'Europe/Brussels',0),(16,'Europe/Athens',0),(17,'Europe/Moscow',0),(18,'Asia/Tehran',0),(19,'Etc/GMT-4',0),(20,'Asia/Kabul',0),(21,'Etc/GMT-5',0),(22,'Asia/Calcutta',0),(23,'Asia/Katmandu',0),(24,'Etc/GMT-6',0),(25,'Etc/GMT-7',0),(26,'Australia/West',0),(27,'Etc/GMT-9',0),(28,'Australia/Adelaide',0),(29,'Australia/Sydney',0),(30,'Etc/GMT-11',0),(31,'Pacific/Auckland',0),(32,'Pacific/Tongatapu',0),(33,'Pacific/Kiritimati',0); /*!40000 ALTER TABLE `lams_timezone` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_tool` -- DROP TABLE IF EXISTS `lams_tool`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_tool` ( `tool_id` bigint(20) NOT NULL AUTO_INCREMENT, `tool_signature` varchar(64) NOT NULL, `service_name` varchar(255) NOT NULL, `tool_display_name` varchar(255) NOT NULL, `description` text, `tool_identifier` varchar(64) NOT NULL, `tool_version` varchar(10) NOT NULL, `learning_library_id` bigint(20) DEFAULT NULL, `default_tool_content_id` bigint(20) DEFAULT NULL, `valid_flag` tinyint(1) NOT NULL DEFAULT '1', `grouping_support_type_id` int(3) NOT NULL, `supports_run_offline_flag` tinyint(1) NOT NULL, `learner_url` text NOT NULL, `learner_preview_url` text COMMENT 'Learner screen for preview a learning design. ', `learner_progress_url` text COMMENT 'Teacher''s view of a learner''s screen.', `author_url` text NOT NULL, `define_later_url` text, `export_pfolio_learner_url` text, `export_pfolio_class_url` text, `monitor_url` text, `contribute_url` text, `moderation_url` text, `pedagogical_planner_url` text, `help_url` text, `create_date_time` datetime NOT NULL, `language_file` varchar(255) DEFAULT NULL, `modified_date_time` datetime DEFAULT NULL, `admin_url` text, `supports_outputs` tinyint(1) DEFAULT '0', `ext_lms_id` varchar(255) DEFAULT NULL, PRIMARY KEY (`tool_id`), UNIQUE KEY `UQ_lams_tool_sig` (`tool_signature`), UNIQUE KEY `UQ_lams_tool_class_name` (`service_name`), KEY `learning_library_id` (`learning_library_id`), KEY `grouping_support_type_id` (`grouping_support_type_id`), CONSTRAINT `FK_lams_tool_1` FOREIGN KEY (`learning_library_id`) REFERENCES `lams_learning_library` (`learning_library_id`), CONSTRAINT `FK_lams_tool_2` FOREIGN KEY (`grouping_support_type_id`) REFERENCES `lams_grouping_support_type` (`grouping_support_type_id`) ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_tool` -- LOCK TABLES `lams_tool` WRITE; /*!40000 ALTER TABLE `lams_tool` DISABLE KEYS */; INSERT INTO `lams_tool` VALUES (1,'lafrum11','forumService','Forum','Forum / Message Boards','forum','20110408',1,1,1,2,1,'tool/lafrum11/learning/viewForum.do?mode=learner','tool/lafrum11/learning/viewForum.do?mode=author','tool/lafrum11/learning/viewForum.do?mode=teacher','tool/lafrum11/authoring.do','tool/lafrum11/defineLater.do','tool/lafrum11/exportPortfolio?mode=learner','tool/lafrum11/exportPortfolio?mode=teacher','tool/lafrum11/monitoring.do','tool/lafrum11/contribute.do','tool/lafrum11/moderate.do','tool/lafrum11/authoring/initPedagogicalPlannerForm.do','http://wiki.lamsfoundation.org/display/lamsdocs/lafrum11','2012-08-22 00:58:01','org.lamsfoundation.lams.tool.forum.ApplicationResources','2012-08-22 00:58:01',NULL,1,NULL),(2,'lanb11','nbService','NoticeboardX','Displays a NoticeboardX','nb','20081209',2,2,1,2,1,'tool/lanb11/starter/learner.do?mode=learner','tool/lanb11/starter/learner.do?mode=author','tool/lanb11/starter/learner.do?mode=teacher','tool/lanb11/authoring.do','tool/lanb11/authoring.do?defineLater=true','tool/lanb11/portfolioExport?mode=learner','tool/lanb11/portfolioExport?mode=teacher','tool/lanb11/monitoring.do',NULL,NULL,'tool/lanb11/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lanb11','2012-08-22 00:58:09','org.lamsfoundation.lams.tool.noticeboard.ApplicationResources','2012-08-22 00:58:09',NULL,0,NULL),(3,'laqa11','qaService','Question and Answer','Q/A Tool','qa','20110217',3,3,1,2,1,'tool/laqa11/learningStarter.do?mode=learner','tool/laqa11/learningStarter.do?mode=author','tool/laqa11/learningStarter.do?mode=teacher','tool/laqa11/authoringStarter.do','tool/laqa11/defineLaterStarter.do','tool/laqa11/exportPortfolio?mode=learner','tool/laqa11/exportPortfolio?mode=teacher','tool/laqa11/monitoringStarter.do','tool/laqa11/monitoringStarter.do','tool/laqa11/monitoringStarter.do','tool/laqa11/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/laqa11','2012-08-22 00:58:14','org.lamsfoundation.lams.tool.qa.ApplicationResources','2012-08-22 00:58:14','tool/laqa11/laqa11admin.do',1,NULL),(4,'lasbmt11','submitFilesService','Submit File','Submit File Tool Description','submitfile','20110325',4,4,1,2,1,'tool/lasbmt11/learner.do?mode=learner','tool/lasbmt11/learner.do?mode=author','tool/lasbmt11/learner.do?mode=teacher','tool/lasbmt11/authoring.do','tool/lasbmt11/definelater.do?mode=teacher','tool/lasbmt11/exportPortfolio?mode=learner','tool/lasbmt11/exportPortfolio?mode=teacher','tool/lasbmt11/monitoring.do','tool/lasbmt11/contribute.do','tool/lasbmt11/moderation.do','tool/lasbmt11/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lasbmt11','2012-08-22 00:58:20','org.lamsfoundation.lams.tool.sbmt.ApplicationResources','2012-08-22 00:58:20',NULL,0,NULL),(5,'lachat11','chatService','Chat','Chat','chat','20110416',5,5,1,2,1,'tool/lachat11/learning.do?mode=learner','tool/lachat11/learning.do?mode=author','tool/lachat11/learning.do?mode=teacher','tool/lachat11/authoring.do','tool/lachat11/authoring.do?mode=teacher','tool/lachat11/exportPortfolio?mode=learner','tool/lachat11/exportPortfolio?mode=teacher','tool/lachat11/monitoring.do','tool/lachat11/contribute.do','tool/lachat11/moderate.do','tool/lachat11/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lachat11','2012-08-22 00:58:26','org.lamsfoundation.lams.tool.chat.ApplicationResources','2012-08-22 00:58:26',NULL,1,NULL),(6,'larsrc11','resourceService','Shared Resources','Shared Resources','sharedresources','20110810',6,6,1,2,1,'tool/larsrc11/learning/start.do?mode=learner','tool/larsrc11/learning/start.do?mode=author','tool/larsrc11/learning/start.do?mode=teacher','tool/larsrc11/authoring/start.do','tool/larsrc11/definelater.do','tool/larsrc11/exportPortfolio?mode=learner','tool/larsrc11/exportPortfolio?mode=teacher','tool/larsrc11/monitoring/summary.do','tool/larsrc11/contribute.do','tool/larsrc11/moderate.do','tool/larsrc11/authoring/initPedagogicalPlannerForm.do','http://wiki.lamsfoundation.org/display/lamsdocs/larsrc11','2012-08-22 00:58:33','org.lamsfoundation.lams.tool.rsrc.ApplicationResources','2012-08-22 00:58:33',NULL,0,NULL),(7,'lavote11','voteService','Voting','Voting','vote','20110509',7,7,1,2,1,'tool/lavote11/learningStarter.do?mode=learner','tool/lavote11/learningStarter.do?mode=author','tool/lavote11/learningStarter.do?mode=teacher','tool/lavote11/authoringStarter.do','tool/lavote11/defineLaterStarter.do','tool/lavote11/exportPortfolio?mode=learner','tool/lavote11/exportPortfolio?mode=teacher','tool/lavote11/monitoringStarter.do','tool/lavote11/monitoringStarter.do','tool/lavote11/monitoringStarter.do','tool/lavote11/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lavote11','2012-08-22 00:58:40','org.lamsfoundation.lams.tool.vote.ApplicationResources','2012-08-22 00:58:40',NULL,1,NULL),(8,'lantbk11','notebookService','Notebook','Notebook','notebook','20110510',8,8,1,2,1,'tool/lantbk11/learning.do?mode=learner','tool/lantbk11/learning.do?mode=author','tool/lantbk11/learning.do?mode=teacher','tool/lantbk11/authoring.do','tool/lantbk11/authoring.do?mode=teacher','tool/lantbk11/exportPortfolio?mode=learner','tool/lantbk11/exportPortfolio?mode=teacher','tool/lantbk11/monitoring.do','tool/lantbk11/contribute.do','tool/lantbk11/moderate.do','tool/lantbk11/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lantbk11','2012-08-22 00:58:46','org.lamsfoundation.lams.tool.notebook.ApplicationResources','2012-08-22 00:58:46',NULL,1,NULL),(9,'lasurv11','lasurvSurveyService','Survey','Survey','survey','20110406',9,9,1,2,1,'tool/lasurv11/learning/start.do?mode=learner','tool/lasurv11/learning/start.do?mode=author','tool/lasurv11/learning/start.do?mode=teacher','tool/lasurv11/authoring/start.do','tool/lasurv11/definelater.do','tool/lasurv11/exportPortfolio?mode=learner','tool/lasurv11/exportPortfolio?mode=teacher','tool/lasurv11/monitoring/summary.do','tool/lasurv11/contribute.do','tool/lasurv11/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/lasurv11','2012-08-22 00:58:52','org.lamsfoundation.lams.tool.survey.ApplicationResources','2012-08-22 00:58:52',NULL,1,NULL),(10,'lascrb11','lascrbScribeService','Scribe','Scribe','scribe','20090226',10,10,1,2,1,'tool/lascrb11/learning.do?mode=learner','tool/lascrb11/learning.do?mode=author','tool/lascrb11/learning.do?mode=teacher','tool/lascrb11/authoring.do','tool/lascrb11/authoring.do?mode=teacher','tool/lascrb11/exportPortfolio?mode=learner','tool/lascrb11/exportPortfolio?mode=teacher','tool/lascrb11/monitoring.do','tool/lascrb11/contribute.do','tool/lascrb11/moderate.do','tool/lascrb11/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lascrb11','2012-08-22 00:59:00','org.lamsfoundation.lams.tool.scribe.ApplicationResources','2012-08-22 00:59:00',NULL,0,NULL),(11,'latask10','lataskTaskListService','Shared TaskList','Shared TaskList','sharedtaskList','20110510',11,11,1,2,1,'tool/latask10/learning/start.do?mode=learner','tool/latask10/learning/start.do?mode=author','tool/latask10/learning/start.do?mode=teacher','tool/latask10/authoring/start.do','tool/latask10/definelater.do','tool/latask10/exportPortfolio?mode=learner','tool/latask10/exportPortfolio?mode=teacher','tool/latask10/monitoring/summary.do','tool/latask10/contribute.do','tool/latask10/moderate.do','tool/latask10/authoring/initPedagogicalPlannerForm.do','http://wiki.lamsfoundation.org/display/lamsdocs/latask10','2012-08-22 00:59:07','org.lamsfoundation.lams.tool.taskList.ApplicationResources','2012-08-22 00:59:07',NULL,1,NULL),(12,'lagmap10','gmapService','Gmap','Gmap','gmap','20080521',12,12,1,2,1,'tool/lagmap10/learning.do?mode=learner','tool/lagmap10/learning.do?mode=author','tool/lagmap10/learning.do?mode=teacher','tool/lagmap10/authoring.do','tool/lagmap10/authoring.do?mode=teacher','tool/lagmap10/exportPortfolio?mode=learner','tool/lagmap10/exportPortfolio?mode=teacher','tool/lagmap10/monitoring.do','tool/lagmap10/contribute.do','tool/lagmap10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/lagmap10','2012-08-22 00:59:17','org.lamsfoundation.lams.tool.gmap.ApplicationResources','2012-08-22 00:59:17','tool/lagmap10/lagmap10admin.do',0,NULL),(13,'lasprd10','spreadsheetService','Spreadsheet Tool','Spreadsheet Tool','spreadsheet','20080612',13,13,1,2,1,'tool/lasprd10/learning/start.do?mode=learner','tool/lasprd10/learning/start.do?mode=author','tool/lasprd10/learning/start.do?mode=teacher','tool/lasprd10/authoring/start.do','tool/lasprd10/definelater.do','tool/lasprd10/exportPortfolio?mode=learner','tool/lasprd10/exportPortfolio?mode=teacher','tool/lasprd10/monitoring/summary.do','tool/lasprd10/contribute.do','tool/lasprd10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/lasprd10','2012-08-22 00:59:24','org.lamsfoundation.lams.tool.spreadsheet.ApplicationResources','2012-08-22 00:59:24',NULL,0,NULL),(14,'ladaco10','dacoService','Data Collection','Collecting data with custom structure.','daco','20090326',14,14,1,2,1,'tool/ladaco10/learning/start.do?mode=learner','tool/ladaco10/learning/start.do?mode=author','tool/ladaco10/learning/start.do?mode=teacher','tool/ladaco10/authoring/start.do','tool/ladaco10/definelater.do','tool/ladaco10/exportPortfolio?mode=learner','tool/ladaco10/exportPortfolio?mode=teacher','tool/ladaco10/monitoring/summary.do','tool/ladaco10/contribute.do','tool/ladaco10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/ladaco10','2012-08-22 00:59:32','org.lamsfoundation.lams.tool.daco.ApplicationResources','2012-08-22 00:59:32',NULL,1,NULL),(15,'lawiki10','wikiService','Wiki','Wiki','wiki','20120315',15,15,1,2,1,'tool/lawiki10/learning.do?mode=learner','tool/lawiki10/learning.do?mode=author','tool/lawiki10/learning.do?mode=teacher','tool/lawiki10/authoring.do','tool/lawiki10/authoring.do?mode=teacher','tool/lawiki10/exportPortfolio?mode=learner','tool/lawiki10/exportPortfolio?mode=teacher','tool/lawiki10/monitoring.do','tool/lawiki10/contribute.do','tool/lawiki10/moderate.do','tool/lawiki10/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lawiki10','2012-08-22 00:59:40','org.lamsfoundation.lams.tool.wiki.ApplicationResources','2012-08-22 00:59:40',NULL,1,NULL),(16,'laimag10','laimagImageGalleryService','ImageGallery','ImageGallery','imageGallery','20090819',16,16,1,2,1,'tool/laimag10/learning/start.do?mode=learner','tool/laimag10/learning/start.do?mode=author','tool/laimag10/learning/start.do?mode=teacher','tool/laimag10/authoring/start.do','tool/laimag10/definelater.do','tool/laimag10/exportPortfolio?mode=learner','tool/laimag10/exportPortfolio?mode=teacher','tool/laimag10/monitoring/summary.do','tool/laimag10/contribute.do','tool/laimag10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/laimag10','2012-08-22 00:59:50','org.lamsfoundation.lams.tool.imageGallery.ApplicationResources','2012-08-22 00:59:50','tool/laimag10/laimag10admin/start.do',1,NULL),(17,'lavidr10','videoRecorderService','VideoRecorder','VideoRecorder','videoRecorder','20081208',17,17,1,2,1,'tool/lavidr10/learning.do?mode=learner','tool/lavidr10/learning.do?mode=author','tool/lavidr10/learning.do?mode=teacher','tool/lavidr10/authoring.do','tool/lavidr10/authoring.do?mode=teacher','tool/lavidr10/exportPortfolio?mode=learner','tool/lavidr10/exportPortfolio?mode=teacher','tool/lavidr10/monitoring.do','tool/lavidr10/contribute.do','tool/lavidr10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/lavidr10','2012-08-22 00:59:59','org.lamsfoundation.lams.tool.videoRecorder.ApplicationResources','2012-08-22 00:59:59',NULL,1,NULL),(18,'lamind10','mindmapService','Mindmap','Mindmap','mindmap','20110414',18,18,1,2,1,'tool/lamind10/learning.do?mode=learner','tool/lamind10/learning.do?mode=author','tool/lamind10/learning.do?mode=teacher','tool/lamind10/authoring.do','tool/lamind10/authoring.do?mode=teacher','tool/lamind10/exportPortfolio?mode=learner','tool/lamind10/exportPortfolio?mode=teacher','tool/lamind10/monitoring.do','tool/lamind10/contribute.do','tool/lamind10/moderate.do','tool/lamind10/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lamind10','2012-08-22 01:00:07','org.lamsfoundation.lams.tool.mindmap.ApplicationResources','2012-08-22 01:00:07',NULL,1,NULL),(19,'laasse10','laasseAssessmentService','Assessment','Assessment','assessment','20110413',19,19,1,2,1,'tool/laasse10/learning/start.do?mode=learner','tool/laasse10/learning/start.do?mode=author','tool/laasse10/learning/start.do?mode=teacher','tool/laasse10/authoring/start.do','tool/laasse10/definelater.do','tool/laasse10/exportPortfolio?mode=learner','tool/laasse10/exportPortfolio?mode=teacher','tool/laasse10/monitoring/summary.do','tool/laasse10/contribute.do','tool/laasse10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/laasse10','2012-08-22 01:00:16','org.lamsfoundation.lams.tool.assessment.ApplicationResources','2012-08-22 01:00:16',NULL,1,NULL),(20,'lapixl10','pixlrService','Pixlr','Pixlr','pixlr','20081217',20,20,1,2,1,'tool/lapixl10/learning.do?mode=learner','tool/lapixl10/learning.do?mode=author','tool/lapixl10/learning.do?mode=teacher','tool/lapixl10/authoring.do','tool/lapixl10/authoring.do?mode=teacher','tool/lapixl10/exportPortfolio?mode=learner','tool/lapixl10/exportPortfolio?mode=teacher','tool/lapixl10/monitoring.do','tool/lapixl10/contribute.do','tool/lapixl10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/lapixl10','2012-08-22 01:00:27','org.lamsfoundation.lams.tool.pixlr.ApplicationResources','2012-08-22 01:00:27','tool/lapixl10/lapixl10admin.do',0,NULL),(21,'eueadv10','eadventureService','eAdventure','eAdventure','eAdventure game','20071100',21,21,1,2,1,'tool/eueadv10/learning/start.do?mode=learner','tool/eueadv10/learning/start.do?mode=author','tool/eueadv10/learning/start.do?mode=teacher','tool/eueadv10/authoring/start.do','tool/eueadv10/definelater.do','tool/eueadv10/exportPortfolio?mode=learner','tool/eueadv10/exportPortfolio?mode=teacher','tool/eueadv10/monitoring/summary.do','tool/eueadv10/contribute.do','tool/eueadv10/moderate.do','tool/eueadv10/authoring/initPedagogicalPlannerForm.do','http://wiki.lamsfoundation.org/display/lamsdocs/eueadv10','2012-08-22 01:00:34','org.eucm.lams.tool.eadventure.ApplicationResources','2012-08-22 01:00:34',NULL,1,NULL),(22,'lawook10','wookieService','Wookie','Wookie','wookie','20081217',22,22,1,2,1,'tool/lawook10/learning.do?mode=learner','tool/lawook10/learning.do?mode=author','tool/lawook10/learning.do?mode=teacher','tool/lawook10/authoring.do','tool/lawook10/authoring.do?mode=teacher','tool/lawook10/exportPortfolio?mode=learner','tool/lawook10/exportPortfolio?mode=teacher','tool/lawook10/monitoring.do','tool/lawook10/contribute.do','tool/lawook10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/lawook10','2012-08-22 01:00:43','org.lamsfoundation.lams.tool.wookie.ApplicationResources','2012-08-22 01:00:43','tool/lawook10/admin.do',0,NULL),(23,'laimsc11','commonCartridgeService','Shared CommonCartridge','Shared CommonCartridge','sharedcommonCartridge','20110511',23,23,1,2,1,'tool/laimsc11/learning/start.do?mode=learner','tool/laimsc11/learning/start.do?mode=author','tool/laimsc11/learning/start.do?mode=teacher','tool/laimsc11/authoring/start.do','tool/laimsc11/definelater.do','tool/laimsc11/exportPortfolio?mode=learner','tool/laimsc11/exportPortfolio?mode=teacher','tool/laimsc11/monitoring/summary.do','tool/laimsc11/contribute.do','tool/laimsc11/moderate.do','tool/laimsc11/authoring/initPedagogicalPlannerForm.do','http://wiki.lamsfoundation.org/display/lamsdocs/laimsc11','2012-08-22 01:00:50','org.lamsfoundation.lams.tool.commonCartridge.ApplicationResources','2012-08-22 01:00:50','tool/laimsc11/laimsc11admin/start.do',0,NULL),(24,'labbb10','bbbService','Bbb','Bbb','bbb','20110511',24,24,1,2,1,'tool/labbb10/learning.do?mode=learner','tool/labbb10/learning.do?mode=author','tool/labbb10/learning.do?mode=teacher','tool/labbb10/authoring.do','tool/labbb10/authoring.do?mode=teacher','tool/labbb10/exportPortfolio?mode=learner','tool/labbb10/exportPortfolio?mode=teacher','tool/labbb10/monitoring.do','tool/labbb10/contribute.do','tool/labbb10/moderate.do',NULL,'http://wiki.lamsfoundation.org/display/lamsdocs/labbb10','2012-08-22 01:00:58','org.lamsfoundation.lams.tool.bbb.ApplicationResources','2012-08-22 01:00:58','tool/labbb10/admin/view.do',0,NULL),(25,'lamc11','mcService','MCQ','Multiple Choice Questions','mc','20110416',25,25,1,2,1,'tool/lamc11/learningStarter.do?mode=learner','tool/lamc11/learningStarter.do?mode=author','tool/lamc11/learningStarter.do?mode=teacher','tool/lamc11/authoringStarter.do','tool/lamc11/defineLaterStarter.do','tool/lamc11/exportPortfolio?mode=learner','tool/lamc11/exportPortfolio?mode=teacher','tool/lamc11/monitoringStarter.do','tool/lamc11/monitoringStarter.do','tool/lamc11/monitoringStarter.do','tool/lamc11/pedagogicalPlanner.do','http://wiki.lamsfoundation.org/display/lamsdocs/lamc11','2012-08-22 01:01:04','org.lamsfoundation.lams.tool.mc.ApplicationResources','2012-08-22 01:01:04',NULL,1,NULL); /*!40000 ALTER TABLE `lams_tool` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_tool_content` -- DROP TABLE IF EXISTS `lams_tool_content`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_tool_content` ( `tool_content_id` bigint(20) NOT NULL AUTO_INCREMENT, `tool_id` bigint(20) NOT NULL, PRIMARY KEY (`tool_content_id`), KEY `tool_id` (`tool_id`), CONSTRAINT `FK_lams_tool_content_1` FOREIGN KEY (`tool_id`) REFERENCES `lams_tool` (`tool_id`) ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_tool_content` -- LOCK TABLES `lams_tool_content` WRITE; /*!40000 ALTER TABLE `lams_tool_content` DISABLE KEYS */; INSERT INTO `lams_tool_content` VALUES (1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9),(10,10),(11,11),(12,12),(13,13),(14,14),(15,15),(16,16),(17,17),(18,18),(19,19),(20,20),(21,21),(22,22),(23,23),(24,24),(25,25); /*!40000 ALTER TABLE `lams_tool_content` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_tool_import_support` -- DROP TABLE IF EXISTS `lams_tool_import_support`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_tool_import_support` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `installed_tool_signature` varchar(15) NOT NULL, `supports_tool_signature` varchar(50) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_tool_import_support` -- LOCK TABLES `lams_tool_import_support` WRITE; /*!40000 ALTER TABLE `lams_tool_import_support` DISABLE KEYS */; INSERT INTO `lams_tool_import_support` VALUES (1,'lafrum11','messageboard'),(2,'lamc11','simpleassessment'),(3,'lanb11','noticeboard'),(4,'lanb11','htmlnb'),(5,'laqa11','qa'),(6,'lasbmt11','reportsubmission'),(7,'lachat11','chat'),(8,'larsrc11','urlcontent'),(11,'lavote11','ranking'),(12,'lantbk11','journal'),(13,'lascrb11','groupreporting'),(14,'lasurv11','survey'); /*!40000 ALTER TABLE `lams_tool_import_support` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_tool_session` -- DROP TABLE IF EXISTS `lams_tool_session`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_tool_session` ( `tool_session_id` bigint(20) NOT NULL AUTO_INCREMENT, `tool_session_name` varchar(255) NOT NULL, `tool_session_type_id` int(3) NOT NULL, `lesson_id` bigint(20) NOT NULL, `activity_id` bigint(20) NOT NULL, `tool_session_state_id` int(3) NOT NULL, `create_date_time` datetime NOT NULL, `group_id` bigint(20) DEFAULT NULL, `user_id` bigint(20) DEFAULT NULL, `unique_key` varchar(128) NOT NULL, PRIMARY KEY (`tool_session_id`), UNIQUE KEY `UQ_lams_tool_session_1` (`unique_key`), KEY `tool_session_state_id` (`tool_session_state_id`), KEY `user_id` (`user_id`), KEY `tool_session_type_id` (`tool_session_type_id`), KEY `activity_id` (`activity_id`), KEY `group_id` (`group_id`), CONSTRAINT `FK_lams_tool_session_4` FOREIGN KEY (`tool_session_state_id`) REFERENCES `lams_tool_session_state` (`tool_session_state_id`), CONSTRAINT `FK_lams_tool_session_5` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`), CONSTRAINT `FK_lams_tool_session_7` FOREIGN KEY (`tool_session_type_id`) REFERENCES `lams_tool_session_type` (`tool_session_type_id`), CONSTRAINT `FK_lams_tool_session_8` FOREIGN KEY (`activity_id`) REFERENCES `lams_learning_activity` (`activity_id`), CONSTRAINT `FK_lams_tool_session_1` FOREIGN KEY (`group_id`) REFERENCES `lams_group` (`group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_tool_session` -- LOCK TABLES `lams_tool_session` WRITE; /*!40000 ALTER TABLE `lams_tool_session` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_tool_session` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_tool_session_state` -- DROP TABLE IF EXISTS `lams_tool_session_state`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_tool_session_state` ( `tool_session_state_id` int(3) NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`tool_session_state_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_tool_session_state` -- LOCK TABLES `lams_tool_session_state` WRITE; /*!40000 ALTER TABLE `lams_tool_session_state` DISABLE KEYS */; INSERT INTO `lams_tool_session_state` VALUES (1,'STARTED'),(2,'ENDED'); /*!40000 ALTER TABLE `lams_tool_session_state` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_tool_session_type` -- DROP TABLE IF EXISTS `lams_tool_session_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_tool_session_type` ( `tool_session_type_id` int(3) NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`tool_session_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_tool_session_type` -- LOCK TABLES `lams_tool_session_type` WRITE; /*!40000 ALTER TABLE `lams_tool_session_type` DISABLE KEYS */; INSERT INTO `lams_tool_session_type` VALUES (1,'NON_GROUPED'),(2,'GROUPED'); /*!40000 ALTER TABLE `lams_tool_session_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_user` -- DROP TABLE IF EXISTS `lams_user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_user` ( `user_id` bigint(20) NOT NULL AUTO_INCREMENT, `login` varchar(255) NOT NULL, `password` varchar(50) NOT NULL, `title` varchar(32) DEFAULT NULL, `first_name` varchar(128) DEFAULT NULL, `last_name` varchar(128) DEFAULT NULL, `address_line_1` varchar(64) DEFAULT NULL, `address_line_2` varchar(64) DEFAULT NULL, `address_line_3` varchar(64) DEFAULT NULL, `city` varchar(64) DEFAULT NULL, `state` varchar(64) DEFAULT NULL, `postcode` varchar(10) DEFAULT NULL, `country` varchar(64) DEFAULT NULL, `day_phone` varchar(64) DEFAULT NULL, `evening_phone` varchar(64) DEFAULT NULL, `mobile_phone` varchar(64) DEFAULT NULL, `fax` varchar(64) DEFAULT NULL, `email` varchar(128) DEFAULT NULL, `disabled_flag` tinyint(1) NOT NULL DEFAULT '0', `create_date` datetime NOT NULL, `authentication_method_id` bigint(20) NOT NULL DEFAULT '0', `workspace_id` bigint(20) DEFAULT NULL, `flash_theme_id` bigint(20) DEFAULT NULL, `html_theme_id` bigint(20) DEFAULT NULL, `chat_id` varchar(255) DEFAULT NULL COMMENT 'ID used for Jabber', `locale_id` int(11) DEFAULT NULL, `portrait_uuid` bigint(20) DEFAULT NULL, `change_password` tinyint(4) DEFAULT '0', `enable_flash` tinyint(1) DEFAULT '1', `lams_community_token` varchar(255) DEFAULT NULL, `lams_community_username` varchar(255) DEFAULT NULL, `timezone` varchar(255) DEFAULT NULL, `tutorials_disabled` tinyint(1) DEFAULT '0', `first_login` tinyint(1) DEFAULT '1', `modified_date` datetime DEFAULT NULL, `openid_url` varchar(255) DEFAULT NULL, PRIMARY KEY (`user_id`), UNIQUE KEY `UQ_lams_user_login` (`login`), UNIQUE KEY `openid_url` (`openid_url`), KEY `authentication_method_id` (`authentication_method_id`), KEY `workspace_id` (`workspace_id`), KEY `flash_theme_id` (`flash_theme_id`), KEY `html_theme_id` (`html_theme_id`), KEY `locale_id` (`locale_id`), KEY `idx_openid_url` (`openid_url`), KEY `login` (`login`), KEY `email` (`email`), CONSTRAINT `FK_lams_user_1` FOREIGN KEY (`authentication_method_id`) REFERENCES `lams_authentication_method` (`authentication_method_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_user_2` FOREIGN KEY (`workspace_id`) REFERENCES `lams_workspace` (`workspace_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_user_4` FOREIGN KEY (`flash_theme_id`) REFERENCES `lams_theme` (`theme_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_user_5` FOREIGN KEY (`html_theme_id`) REFERENCES `lams_theme` (`theme_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_user_6` FOREIGN KEY (`locale_id`) REFERENCES `lams_supported_locale` (`locale_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_user` -- LOCK TABLES `lams_user` WRITE; /*!40000 ALTER TABLE `lams_user` DISABLE KEYS */; INSERT INTO `lams_user` VALUES (1,'sysadmin','a159b7ae81ba3552af61e9731b20870515944538','The','System','Administrator',NULL,NULL,NULL,'Sydney','NSW',NULL,'Australia',NULL,NULL,NULL,NULL,'sysadmin@x.x',0,'2012-08-22 00:57:51',1,51,1,2,NULL,1,NULL,0,1,NULL,NULL,'28',0,1,NULL,NULL); /*!40000 ALTER TABLE `lams_user` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_user_disabled_tutorials` -- DROP TABLE IF EXISTS `lams_user_disabled_tutorials`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_user_disabled_tutorials` ( `user_id` bigint(20) NOT NULL, `page_str` char(5) NOT NULL, PRIMARY KEY (`user_id`,`page_str`), CONSTRAINT `FK_lams_user_disabled_tutorials_1` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_user_disabled_tutorials` -- LOCK TABLES `lams_user_disabled_tutorials` WRITE; /*!40000 ALTER TABLE `lams_user_disabled_tutorials` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_user_disabled_tutorials` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_user_group` -- DROP TABLE IF EXISTS `lams_user_group`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_user_group` ( `user_id` bigint(20) NOT NULL, `group_id` bigint(20) NOT NULL, `scheduled_lesson_end_date` datetime DEFAULT NULL, PRIMARY KEY (`user_id`,`group_id`), KEY `user_id` (`user_id`), KEY `group_id` (`group_id`), CONSTRAINT `FK_lams_user_group_1` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`), CONSTRAINT `FK_lams_user_group_2` FOREIGN KEY (`group_id`) REFERENCES `lams_group` (`group_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_user_group` -- LOCK TABLES `lams_user_group` WRITE; /*!40000 ALTER TABLE `lams_user_group` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_user_group` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_user_organisation` -- DROP TABLE IF EXISTS `lams_user_organisation`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_user_organisation` ( `user_organisation_id` bigint(20) NOT NULL AUTO_INCREMENT, `organisation_id` bigint(20) NOT NULL, `user_id` bigint(20) NOT NULL, PRIMARY KEY (`user_organisation_id`), KEY `organisation_id` (`organisation_id`), KEY `user_id` (`user_id`), CONSTRAINT `FK_lams_user_organisation_1` FOREIGN KEY (`organisation_id`) REFERENCES `lams_organisation` (`organisation_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_user_organisation_2` FOREIGN KEY (`user_id`) REFERENCES `lams_user` (`user_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_user_organisation` -- LOCK TABLES `lams_user_organisation` WRITE; /*!40000 ALTER TABLE `lams_user_organisation` DISABLE KEYS */; INSERT INTO `lams_user_organisation` VALUES (1,1,1); /*!40000 ALTER TABLE `lams_user_organisation` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_user_organisation_collapsed` -- DROP TABLE IF EXISTS `lams_user_organisation_collapsed`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_user_organisation_collapsed` ( `user_organisation_id` bigint(20) NOT NULL, `collapsed` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`user_organisation_id`), CONSTRAINT `FK_lams_user_organisation_collapsed_1` FOREIGN KEY (`user_organisation_id`) REFERENCES `lams_user_organisation` (`user_organisation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_user_organisation_collapsed` -- LOCK TABLES `lams_user_organisation_collapsed` WRITE; /*!40000 ALTER TABLE `lams_user_organisation_collapsed` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_user_organisation_collapsed` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_user_organisation_role` -- DROP TABLE IF EXISTS `lams_user_organisation_role`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_user_organisation_role` ( `user_organisation_role_id` bigint(20) NOT NULL AUTO_INCREMENT, `user_organisation_id` bigint(20) NOT NULL, `role_id` int(6) NOT NULL, PRIMARY KEY (`user_organisation_role_id`), KEY `role_id` (`role_id`), KEY `user_organisation_id` (`user_organisation_id`), CONSTRAINT `FK_lams_user_organisation_role_2` FOREIGN KEY (`role_id`) REFERENCES `lams_role` (`role_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_user_organisation_role_3` FOREIGN KEY (`user_organisation_id`) REFERENCES `lams_user_organisation` (`user_organisation_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=72 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_user_organisation_role` -- LOCK TABLES `lams_user_organisation_role` WRITE; /*!40000 ALTER TABLE `lams_user_organisation_role` DISABLE KEYS */; INSERT INTO `lams_user_organisation_role` VALUES (1,1,1); /*!40000 ALTER TABLE `lams_user_organisation_role` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_wkspc_fld_content_type` -- DROP TABLE IF EXISTS `lams_wkspc_fld_content_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_wkspc_fld_content_type` ( `content_type_id` int(3) NOT NULL AUTO_INCREMENT, `description` varchar(64) NOT NULL, PRIMARY KEY (`content_type_id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_wkspc_fld_content_type` -- LOCK TABLES `lams_wkspc_fld_content_type` WRITE; /*!40000 ALTER TABLE `lams_wkspc_fld_content_type` DISABLE KEYS */; INSERT INTO `lams_wkspc_fld_content_type` VALUES (1,'FILE'),(2,'PACKAGE'); /*!40000 ALTER TABLE `lams_wkspc_fld_content_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_wkspc_wkspc_folder` -- DROP TABLE IF EXISTS `lams_wkspc_wkspc_folder`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_wkspc_wkspc_folder` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `workspace_id` bigint(20) DEFAULT NULL, `workspace_folder_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `workspace_id` (`workspace_id`), KEY `workspace_folder_id` (`workspace_folder_id`), CONSTRAINT `FK_lams_ww_folder_1` FOREIGN KEY (`workspace_id`) REFERENCES `lams_workspace` (`workspace_id`), CONSTRAINT `FK_lams_ww_folder_2` FOREIGN KEY (`workspace_folder_id`) REFERENCES `lams_workspace_folder` (`workspace_folder_id`) ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_wkspc_wkspc_folder` -- LOCK TABLES `lams_wkspc_wkspc_folder` WRITE; /*!40000 ALTER TABLE `lams_wkspc_wkspc_folder` DISABLE KEYS */; INSERT INTO `lams_wkspc_wkspc_folder` VALUES (1,1,1),(2,2,2),(3,2,22),(4,3,3),(5,3,23),(11,50,40),(12,51,45),(13,52,46); /*!40000 ALTER TABLE `lams_wkspc_wkspc_folder` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_workspace` -- DROP TABLE IF EXISTS `lams_workspace`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_workspace` ( `workspace_id` bigint(20) NOT NULL AUTO_INCREMENT, `default_fld_id` bigint(20) DEFAULT NULL, `def_run_seq_fld_id` bigint(20) DEFAULT NULL, `name` varchar(255) DEFAULT NULL, PRIMARY KEY (`workspace_id`), KEY `def_run_seq_fld_id` (`def_run_seq_fld_id`), KEY `default_fld_id` (`default_fld_id`), CONSTRAINT `FK_lams_workspace_1` FOREIGN KEY (`def_run_seq_fld_id`) REFERENCES `lams_workspace_folder` (`workspace_folder_id`), CONSTRAINT `FK_lams_workspace_2` FOREIGN KEY (`default_fld_id`) REFERENCES `lams_workspace_folder` (`workspace_folder_id`) ) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_workspace` -- LOCK TABLES `lams_workspace` WRITE; /*!40000 ALTER TABLE `lams_workspace` DISABLE KEYS */; INSERT INTO `lams_workspace` VALUES (1,1,NULL,'ROOT'),(2,2,22,'Developers Playpen'),(3,3,23,'MATH111'),(50,40,41,'Moodle Test'),(51,45,NULL,'System Administrator'),(52,46,NULL,'Public Folder'); /*!40000 ALTER TABLE `lams_workspace` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_workspace_folder` -- DROP TABLE IF EXISTS `lams_workspace_folder`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_workspace_folder` ( `workspace_folder_id` bigint(20) NOT NULL AUTO_INCREMENT, `parent_folder_id` bigint(20) DEFAULT NULL, `name` varchar(255) NOT NULL, `user_id` bigint(20) NOT NULL, `create_date_time` datetime NOT NULL, `last_modified_date_time` datetime DEFAULT NULL, `lams_workspace_folder_type_id` int(3) NOT NULL, PRIMARY KEY (`workspace_folder_id`), KEY `parent_folder_id` (`parent_folder_id`), KEY `lams_workspace_folder_type_id` (`lams_workspace_folder_type_id`), CONSTRAINT `FK_lams_workspace_folder_2` FOREIGN KEY (`parent_folder_id`) REFERENCES `lams_workspace_folder` (`workspace_folder_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_workspace_folder_4` FOREIGN KEY (`lams_workspace_folder_type_id`) REFERENCES `lams_workspace_folder_type` (`lams_workspace_folder_type_id`) ) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_workspace_folder` -- LOCK TABLES `lams_workspace_folder` WRITE; /*!40000 ALTER TABLE `lams_workspace_folder` DISABLE KEYS */; INSERT INTO `lams_workspace_folder` VALUES (1,NULL,'ROOT',1,'2004-12-23 00:00:00','2004-12-23 00:00:00',1),(2,1,'Developers Playpen',1,'2004-12-23 00:00:00','2004-12-23 00:00:00',1),(3,1,'MATH111',1,'2004-12-23 00:00:00','2004-12-23 00:00:00',1),(22,2,'Lesson Sequence Folder',1,'2004-12-23 00:00:00','2004-12-23 00:00:00',2),(23,3,'Lesson Sequence Folder',1,'2004-12-23 00:00:00','2004-12-23 00:00:00',2),(40,1,'Moodle Test',1,'2004-12-23 00:00:00','2004-12-23 00:00:00',2),(41,40,'Lesson Sequence Folder',1,'2004-12-23 00:00:00','2004-12-23 00:00:00',2),(45,NULL,'System Administrator',1,'2006-11-01 00:00:00','2006-11-01 00:00:00',1),(46,1,'Public Folder',1,'2004-12-23 00:00:00','2004-12-23 00:00:00',3); /*!40000 ALTER TABLE `lams_workspace_folder` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_workspace_folder_content` -- DROP TABLE IF EXISTS `lams_workspace_folder_content`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_workspace_folder_content` ( `folder_content_id` bigint(20) NOT NULL AUTO_INCREMENT, `content_type_id` int(3) NOT NULL, `name` varchar(64) NOT NULL, `description` varchar(64) NOT NULL, `create_date_time` datetime NOT NULL, `last_modified_date` datetime NOT NULL, `workspace_folder_id` bigint(20) NOT NULL, `uuid` bigint(20) DEFAULT NULL, `version_id` bigint(20) DEFAULT NULL, `mime_type` varchar(10) NOT NULL, PRIMARY KEY (`folder_content_id`), UNIQUE KEY `unique_content_name` (`name`,`workspace_folder_id`,`mime_type`), UNIQUE KEY `unique_node_version` (`workspace_folder_id`,`uuid`,`version_id`), KEY `workspace_folder_id` (`workspace_folder_id`), KEY `content_type_id` (`content_type_id`), CONSTRAINT `FK_lams_workspace_folder_content_1` FOREIGN KEY (`workspace_folder_id`) REFERENCES `lams_workspace_folder` (`workspace_folder_id`), CONSTRAINT `FK_lams_workspace_folder_content_2` FOREIGN KEY (`content_type_id`) REFERENCES `lams_wkspc_fld_content_type` (`content_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_workspace_folder_content` -- LOCK TABLES `lams_workspace_folder_content` WRITE; /*!40000 ALTER TABLE `lams_workspace_folder_content` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_workspace_folder_content` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_workspace_folder_type` -- DROP TABLE IF EXISTS `lams_workspace_folder_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lams_workspace_folder_type` ( `lams_workspace_folder_type_id` int(3) NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`lams_workspace_folder_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lams_workspace_folder_type` -- LOCK TABLES `lams_workspace_folder_type` WRITE; /*!40000 ALTER TABLE `lams_workspace_folder_type` DISABLE KEYS */; INSERT INTO `lams_workspace_folder_type` VALUES (1,'NORMAL'),(2,'RUN SEQUENCES'),(3,'PUBLIC SEQUENCES'); /*!40000 ALTER TABLE `lams_workspace_folder_type` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `patches` -- DROP TABLE IF EXISTS `patches`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `patches` ( `system_name` varchar(30) NOT NULL, `patch_level` int(11) NOT NULL, `patch_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `patch_in_progress` char(1) NOT NULL DEFAULT 'F', PRIMARY KEY (`system_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `patches` -- LOCK TABLES `patches` WRITE; /*!40000 ALTER TABLE `patches` DISABLE KEYS */; INSERT INTO `patches` VALUES ('eueadv10',20071100,'2012-08-21 15:00:38','F'),('laasse10',20110413,'2012-08-21 15:00:22','F'),('labbb10',20110511,'2012-08-21 15:01:00','F'),('lachat11',20110416,'2012-08-21 14:58:28','F'),('ladaco10',20090326,'2012-08-21 14:59:35','F'),('lafrum11',20110408,'2012-08-21 14:58:06','F'),('lagmap10',20080521,'2012-08-21 14:59:20','F'),('laimag10',20090819,'2012-08-21 14:59:54','F'),('laimsc11',20110511,'2012-08-21 15:00:54','F'),('lamc11',20110416,'2012-08-21 15:01:05','F'),('lamind10',20110414,'2012-08-21 15:00:09','F'),('lams',2040010,'2012-08-21 15:02:00','F'),('lanb11',20081209,'2012-08-21 14:58:10','F'),('lantbk11',20110510,'2012-08-21 14:58:48','F'),('lapixl10',20081217,'2012-08-21 15:00:28','F'),('laqa11',20110217,'2012-08-21 14:58:16','F'),('larsrc11',20110810,'2012-08-21 14:58:36','F'),('lasbmt11',20110325,'2012-08-21 14:58:21','F'),('lascrb11',20090226,'2012-08-21 14:59:03','F'),('lasprd10',20080612,'2012-08-21 14:59:27','F'),('lasurv11',20110406,'2012-08-21 14:58:56','F'),('latask10',20110510,'2012-08-21 14:59:13','F'),('lavidr10',20081208,'2012-08-21 15:00:03','F'),('lavote11',20110509,'2012-08-21 14:58:42','F'),('lawiki10',20120315,'2012-08-21 14:59:44','F'),('lawook10',20081217,'2012-08-21 15:00:44','F'); /*!40000 ALTER TABLE `patches` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_attachment` -- DROP TABLE IF EXISTS `tl_eueadv10_attachment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_attachment` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `file_version_id` bigint(20) DEFAULT NULL, `file_type` varchar(255) DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_uuid` bigint(20) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `eadventure_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1226715514_1E7009430E79035` (`eadventure_uid`), CONSTRAINT `FK_NEW_1226715514_1E7009430E79035` FOREIGN KEY (`eadventure_uid`) REFERENCES `tl_eueadv10_eadventure` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_attachment` -- LOCK TABLES `tl_eueadv10_attachment` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_attachment` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_eueadv10_attachment` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_condition` -- DROP TABLE IF EXISTS `tl_eueadv10_condition`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_condition` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `sequence_id` int(11) DEFAULT NULL, `eadventure_uid` bigint(20) DEFAULT NULL, `name` varchar(255) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1226715514_5656683026352999` (`eadventure_uid`), CONSTRAINT `FK_NEW_1226715514_5656683026352999` FOREIGN KEY (`eadventure_uid`) REFERENCES `tl_eueadv10_eadventure` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_condition` -- LOCK TABLES `tl_eueadv10_condition` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_condition` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_eueadv10_condition` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_condition_expression` -- DROP TABLE IF EXISTS `tl_eueadv10_condition_expression`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_condition_expression` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `condition_uid` bigint(20) DEFAULT NULL, `first_op` bigint(20) DEFAULT NULL, `value_introduced` varchar(255) DEFAULT NULL, `var_introduced` bigint(20) DEFAULT NULL, `expresion_op` varchar(255) DEFAULT NULL, `sequence_id` int(11) DEFAULT NULL, `next_op` varchar(255) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1226715514_5656683026352390` (`condition_uid`), KEY `FK_NEW_1226715514_5656683026352EEE` (`first_op`), KEY `FK_NEW_1226715514_5656683026352FFF` (`var_introduced`), CONSTRAINT `FK_NEW_1226715514_5656683026352FFF` FOREIGN KEY (`var_introduced`) REFERENCES `tl_eueadv10_param` (`uid`), CONSTRAINT `FK_NEW_1226715514_5656683026352390` FOREIGN KEY (`condition_uid`) REFERENCES `tl_eueadv10_condition` (`uid`), CONSTRAINT `FK_NEW_1226715514_5656683026352EEE` FOREIGN KEY (`first_op`) REFERENCES `tl_eueadv10_param` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_condition_expression` -- LOCK TABLES `tl_eueadv10_condition_expression` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_condition_expression` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_eueadv10_condition_expression` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_eadventure` -- DROP TABLE IF EXISTS `tl_eueadv10_eadventure`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_eadventure` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `create_date` datetime DEFAULT NULL, `update_date` datetime DEFAULT NULL, `create_by` bigint(20) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `run_offline` tinyint(4) DEFAULT NULL, `lock_on_finished` tinyint(4) DEFAULT NULL, `instructions` text, `online_instructions` text, `offline_instructions` text, `content_in_use` tinyint(4) DEFAULT NULL, `define_later` tinyint(4) DEFAULT NULL, `content_id` bigint(20) DEFAULT NULL, `reflect_instructions` varchar(255) DEFAULT NULL, `reflect_on_activity` smallint(6) DEFAULT NULL, `ims_schema` varchar(255) DEFAULT NULL, `organization_xml` text, `init_item` varchar(255) DEFAULT NULL, `file_uuid` bigint(20) DEFAULT NULL, `file_version_id` bigint(20) DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_type` varchar(255) DEFAULT NULL, `complete` tinyint(4) DEFAULT NULL, `define_complete` tinyint(4) DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `content_id` (`content_id`), KEY `FK_NEW_1226715514_89093BF758092FB` (`create_by`), CONSTRAINT `FK_NEW_1226715514_89093BF758092FB` FOREIGN KEY (`create_by`) REFERENCES `tl_eueadv10_user` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_eadventure` -- LOCK TABLES `tl_eueadv10_eadventure` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_eadventure` DISABLE KEYS */; INSERT INTO `tl_eueadv10_eadventure` VALUES (1,NULL,NULL,NULL,'eAdventure',0,0,'Instructions ',NULL,NULL,0,0,21,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0); /*!40000 ALTER TABLE `tl_eueadv10_eadventure` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_item_log` -- DROP TABLE IF EXISTS `tl_eueadv10_item_log`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_item_log` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `access_date` datetime DEFAULT NULL, `eadventure_item_uid` bigint(20) DEFAULT NULL, `user_uid` bigint(20) DEFAULT NULL, `complete` tinyint(4) DEFAULT NULL, `session_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1226715514_693580A438BF8DFE` (`eadventure_item_uid`), KEY `FK_NEW_1226715514_693580A441F9365D` (`user_uid`), CONSTRAINT `FK_NEW_1226715514_693580A441F9365D` FOREIGN KEY (`user_uid`) REFERENCES `tl_eueadv10_user` (`uid`), CONSTRAINT `FK_NEW_1226715514_693580A438BF8DFE` FOREIGN KEY (`eadventure_item_uid`) REFERENCES `tl_eueadv10_eadventure` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_item_log` -- LOCK TABLES `tl_eueadv10_item_log` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_item_log` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_eueadv10_item_log` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_param` -- DROP TABLE IF EXISTS `tl_eueadv10_param`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_param` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `type` varchar(255) DEFAULT NULL, `input` tinyint(4) DEFAULT NULL, `eadventure_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1226715514_56566830263527E3` (`eadventure_uid`), CONSTRAINT `FK_NEW_1226715514_56566830263527E3` FOREIGN KEY (`eadventure_uid`) REFERENCES `tl_eueadv10_eadventure` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_param` -- LOCK TABLES `tl_eueadv10_param` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_param` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_eueadv10_param` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_session` -- DROP TABLE IF EXISTS `tl_eueadv10_session`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_session` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `session_end_date` datetime DEFAULT NULL, `session_start_date` datetime DEFAULT NULL, `status` int(11) DEFAULT NULL, `eadventure_uid` bigint(20) DEFAULT NULL, `session_id` bigint(20) DEFAULT NULL, `session_name` varchar(250) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1226715514_24AA78C530E79035` (`eadventure_uid`), CONSTRAINT `FK_NEW_1226715514_24AA78C530E79035` FOREIGN KEY (`eadventure_uid`) REFERENCES `tl_eueadv10_eadventure` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_session` -- LOCK TABLES `tl_eueadv10_session` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_session` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_eueadv10_session` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_user` -- DROP TABLE IF EXISTS `tl_eueadv10_user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_user` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` bigint(20) DEFAULT NULL, `last_name` varchar(255) DEFAULT NULL, `first_name` varchar(255) DEFAULT NULL, `login_name` varchar(255) DEFAULT NULL, `session_finished` smallint(6) DEFAULT NULL, `session_uid` bigint(20) DEFAULT NULL, `eadventure_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1226715514_30113BFCEC0D3147` (`session_uid`), KEY `FK_NEW_1226715514_30113BFC309ED320` (`eadventure_uid`), CONSTRAINT `FK_NEW_1226715514_30113BFC309ED320` FOREIGN KEY (`eadventure_uid`) REFERENCES `tl_eueadv10_eadventure` (`uid`), CONSTRAINT `FK_NEW_1226715514_30113BFCEC0D3147` FOREIGN KEY (`session_uid`) REFERENCES `tl_eueadv10_session` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_user` -- LOCK TABLES `tl_eueadv10_user` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_user` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_eueadv10_user` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_eueadv10_var` -- DROP TABLE IF EXISTS `tl_eueadv10_var`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_eueadv10_var` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `type` varchar(255) DEFAULT NULL, `value` text, `visit_log_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1226715514_42637763767637E6` (`visit_log_uid`), CONSTRAINT `FK_NEW_1226715514_42637763767637E6` FOREIGN KEY (`visit_log_uid`) REFERENCES `tl_eueadv10_item_log` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_eueadv10_var` -- LOCK TABLES `tl_eueadv10_var` WRITE; /*!40000 ALTER TABLE `tl_eueadv10_var` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_eueadv10_var` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_assessment` -- DROP TABLE IF EXISTS `tl_laasse10_assessment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_assessment` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `create_date` datetime DEFAULT NULL, `update_date` datetime DEFAULT NULL, `submission_deadline` datetime DEFAULT NULL, `create_by` bigint(20) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `run_offline` tinyint(4) DEFAULT NULL, `time_limit` int(11) DEFAULT '0', `attempts_allowed` int(11) DEFAULT '1', `passing_mark` int(11) DEFAULT '0', `instructions` text, `online_instructions` text, `offline_instructions` text, `content_in_use` tinyint(4) DEFAULT NULL, `define_later` tinyint(4) DEFAULT NULL, `content_id` bigint(20) DEFAULT NULL, `allow_question_feedback` tinyint(4) DEFAULT NULL, `allow_overall_feedback` tinyint(4) DEFAULT NULL, `allow_right_answers` tinyint(4) DEFAULT NULL, `allow_wrong_answers` tinyint(4) DEFAULT NULL, `allow_grades_after_attempt` tinyint(4) DEFAULT NULL, `allow_history_responses` tinyint(4) DEFAULT NULL, `display_summary` tinyint(4) DEFAULT NULL, `questions_per_page` int(11) DEFAULT '0', `shuffled` tinyint(4) DEFAULT NULL, `attempt_completion_notify` tinyint(4) DEFAULT '0', PRIMARY KEY (`uid`), UNIQUE KEY `content_id` (`content_id`), KEY `FK_NEW_1720029621_89093BF758092FB` (`create_by`), CONSTRAINT `FK_NEW_1720029621_89093BF758092FB` FOREIGN KEY (`create_by`) REFERENCES `tl_laasse10_user` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_assessment` -- LOCK TABLES `tl_laasse10_assessment` WRITE; /*!40000 ALTER TABLE `tl_laasse10_assessment` DISABLE KEYS */; INSERT INTO `tl_laasse10_assessment` VALUES (1,NULL,NULL,NULL,NULL,'Assessment',0,0,1,0,'Instructions ',NULL,NULL,0,0,19,0,0,0,0,0,0,0,0,0,0); /*!40000 ALTER TABLE `tl_laasse10_assessment` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_assessment_overall_feedback` -- DROP TABLE IF EXISTS `tl_laasse10_assessment_overall_feedback`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_assessment_overall_feedback` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `assessment_uid` bigint(20) DEFAULT NULL, `sequence_id` int(11) DEFAULT NULL, `grade_boundary` int(11) DEFAULT NULL, `feedback` text, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `FK_tl_laasse10_assessment_overall_feedback_1` (`assessment_uid`), CONSTRAINT `FK_tl_laasse10_assessment_overall_feedback_1` FOREIGN KEY (`assessment_uid`) REFERENCES `tl_laasse10_assessment` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_assessment_overall_feedback` -- LOCK TABLES `tl_laasse10_assessment_overall_feedback` WRITE; /*!40000 ALTER TABLE `tl_laasse10_assessment_overall_feedback` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_assessment_overall_feedback` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_assessment_question` -- DROP TABLE IF EXISTS `tl_laasse10_assessment_question`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_assessment_question` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `question_type` smallint(6) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `question` text, `sequence_id` int(11) DEFAULT NULL, `default_grade` int(11) DEFAULT '1', `penalty_factor` float DEFAULT '0', `general_feedback` text, `feedback` text, `multiple_answers_allowed` tinyint(4) DEFAULT '0', `feedback_on_correct` text, `feedback_on_partially_correct` text, `feedback_on_incorrect` text, `shuffle` tinyint(4) DEFAULT NULL, `case_sensitive` tinyint(4) DEFAULT NULL, `correct_answer` tinyint(4) DEFAULT '0', `allow_rich_editor` tinyint(4) DEFAULT '0', `create_date` datetime DEFAULT NULL, `create_by` bigint(20) DEFAULT NULL, `assessment_uid` bigint(20) DEFAULT NULL, `session_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1720029621_F52D1F93758092FB` (`create_by`), KEY `FK_NEW_1720029621_F52D1F9330E79035` (`assessment_uid`), KEY `FK_NEW_1720029621_F52D1F93EC0D3147` (`session_uid`), CONSTRAINT `FK_NEW_1720029621_F52D1F93EC0D3147` FOREIGN KEY (`session_uid`) REFERENCES `tl_laasse10_session` (`uid`), CONSTRAINT `FK_NEW_1720029621_F52D1F9330E79035` FOREIGN KEY (`assessment_uid`) REFERENCES `tl_laasse10_assessment` (`uid`), CONSTRAINT `FK_NEW_1720029621_F52D1F93758092FB` FOREIGN KEY (`create_by`) REFERENCES `tl_laasse10_user` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_assessment_question` -- LOCK TABLES `tl_laasse10_assessment_question` WRITE; /*!40000 ALTER TABLE `tl_laasse10_assessment_question` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_assessment_question` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_assessment_result` -- DROP TABLE IF EXISTS `tl_laasse10_assessment_result`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_assessment_result` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `assessment_uid` bigint(20) DEFAULT NULL, `start_date` datetime DEFAULT NULL, `finish_date` datetime DEFAULT NULL, `user_uid` bigint(20) DEFAULT NULL, `session_id` bigint(20) DEFAULT NULL, `maximum_grade` int(11) DEFAULT NULL, `grade` float DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_tl_laasse10_assessment_result_2` (`user_uid`), KEY `FK_tl_laasse10_assessment_result_3` (`assessment_uid`), CONSTRAINT `FK_tl_laasse10_assessment_result_3` FOREIGN KEY (`assessment_uid`) REFERENCES `tl_laasse10_assessment` (`uid`), CONSTRAINT `FK_tl_laasse10_assessment_result_2` FOREIGN KEY (`user_uid`) REFERENCES `tl_laasse10_user` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_assessment_result` -- LOCK TABLES `tl_laasse10_assessment_result` WRITE; /*!40000 ALTER TABLE `tl_laasse10_assessment_result` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_assessment_result` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_assessment_unit` -- DROP TABLE IF EXISTS `tl_laasse10_assessment_unit`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_assessment_unit` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `question_uid` bigint(20) DEFAULT NULL, `sequence_id` int(11) DEFAULT NULL, `multiplier` float DEFAULT NULL, `unit` varchar(255) DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `FK_tl_laasse10_assessment_unit_1` (`question_uid`), CONSTRAINT `FK_tl_laasse10_assessment_unit_1` FOREIGN KEY (`question_uid`) REFERENCES `tl_laasse10_assessment_question` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_assessment_unit` -- LOCK TABLES `tl_laasse10_assessment_unit` WRITE; /*!40000 ALTER TABLE `tl_laasse10_assessment_unit` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_assessment_unit` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_attachment` -- DROP TABLE IF EXISTS `tl_laasse10_attachment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_attachment` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `file_version_id` bigint(20) DEFAULT NULL, `file_type` varchar(255) DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_uuid` bigint(20) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `assessment_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1720029621_1E7009430E79035` (`assessment_uid`), CONSTRAINT `FK_NEW_1720029621_1E7009430E79035` FOREIGN KEY (`assessment_uid`) REFERENCES `tl_laasse10_assessment` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_attachment` -- LOCK TABLES `tl_laasse10_attachment` WRITE; /*!40000 ALTER TABLE `tl_laasse10_attachment` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_attachment` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_option_answer` -- DROP TABLE IF EXISTS `tl_laasse10_option_answer`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_option_answer` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `question_result_uid` bigint(20) DEFAULT NULL, `question_option_uid` bigint(20) DEFAULT NULL, `answer_boolean` tinyint(1) DEFAULT NULL, `answer_int` int(11) DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `FK_tl_laasse10_option_answer_1` (`question_result_uid`), CONSTRAINT `FK_tl_laasse10_option_answer_1` FOREIGN KEY (`question_result_uid`) REFERENCES `tl_laasse10_question_result` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_option_answer` -- LOCK TABLES `tl_laasse10_option_answer` WRITE; /*!40000 ALTER TABLE `tl_laasse10_option_answer` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_option_answer` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_question_option` -- DROP TABLE IF EXISTS `tl_laasse10_question_option`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_question_option` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `question_uid` bigint(20) DEFAULT NULL, `sequence_id` int(11) DEFAULT NULL, `question` text, `option_string` text, `option_float` float DEFAULT NULL, `accepted_error` float DEFAULT NULL, `grade` float DEFAULT NULL, `feedback` text, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `FK_tl_laasse10_question_option_1` (`question_uid`), CONSTRAINT `FK_tl_laasse10_question_option_1` FOREIGN KEY (`question_uid`) REFERENCES `tl_laasse10_assessment_question` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_question_option` -- LOCK TABLES `tl_laasse10_question_option` WRITE; /*!40000 ALTER TABLE `tl_laasse10_question_option` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_question_option` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_question_reference` -- DROP TABLE IF EXISTS `tl_laasse10_question_reference`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_question_reference` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `question_uid` bigint(20) DEFAULT NULL, `question_type` smallint(6) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `sequence_id` int(11) DEFAULT NULL, `default_grade` int(11) DEFAULT '1', `random_question` tinyint(4) DEFAULT '0', `assessment_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_tl_laasse10_question_reference_1` (`question_uid`), KEY `FK_tl_laasse10_question_reference_2` (`assessment_uid`), CONSTRAINT `FK_tl_laasse10_question_reference_2` FOREIGN KEY (`assessment_uid`) REFERENCES `tl_laasse10_assessment` (`uid`), CONSTRAINT `FK_tl_laasse10_question_reference_1` FOREIGN KEY (`question_uid`) REFERENCES `tl_laasse10_assessment_question` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_question_reference` -- LOCK TABLES `tl_laasse10_question_reference` WRITE; /*!40000 ALTER TABLE `tl_laasse10_question_reference` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_question_reference` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_question_result` -- DROP TABLE IF EXISTS `tl_laasse10_question_result`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_question_result` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `assessment_question_uid` bigint(20) DEFAULT NULL, `result_uid` bigint(20) DEFAULT NULL, `answer_string` text, `answer_float` float DEFAULT NULL, `answer_boolean` tinyint(1) DEFAULT NULL, `submitted_option_uid` bigint(20) DEFAULT NULL, `mark` float DEFAULT NULL, `penalty` float DEFAULT NULL, `finish_date` datetime DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1720029621_693580A438BF8DFE` (`assessment_question_uid`), KEY `FK_tl_laasse10_question_result_1` (`result_uid`), CONSTRAINT `FK_tl_laasse10_question_result_1` FOREIGN KEY (`result_uid`) REFERENCES `tl_laasse10_assessment_result` (`uid`), CONSTRAINT `FK_NEW_1720029621_693580A438BF8DFE` FOREIGN KEY (`assessment_question_uid`) REFERENCES `tl_laasse10_assessment_question` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_question_result` -- LOCK TABLES `tl_laasse10_question_result` WRITE; /*!40000 ALTER TABLE `tl_laasse10_question_result` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_question_result` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_session` -- DROP TABLE IF EXISTS `tl_laasse10_session`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_session` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `session_end_date` datetime DEFAULT NULL, `session_start_date` datetime DEFAULT NULL, `status` int(11) DEFAULT NULL, `assessment_uid` bigint(20) DEFAULT NULL, `session_id` bigint(20) DEFAULT NULL, `session_name` varchar(250) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1720029621_24AA78C530E79035` (`assessment_uid`), CONSTRAINT `FK_NEW_1720029621_24AA78C530E79035` FOREIGN KEY (`assessment_uid`) REFERENCES `tl_laasse10_assessment` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_session` -- LOCK TABLES `tl_laasse10_session` WRITE; /*!40000 ALTER TABLE `tl_laasse10_session` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_session` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_user` -- DROP TABLE IF EXISTS `tl_laasse10_user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_laasse10_user` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` bigint(20) DEFAULT NULL, `last_name` varchar(255) DEFAULT NULL, `first_name` varchar(255) DEFAULT NULL, `login_name` varchar(255) DEFAULT NULL, `session_finished` smallint(6) DEFAULT NULL, `session_uid` bigint(20) DEFAULT NULL, `assessment_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK_NEW_1720029621_30113BFCEC0D3147` (`session_uid`), KEY `FK_NEW_1720029621_30113BFC309ED320` (`assessment_uid`), CONSTRAINT `FK_NEW_1720029621_30113BFC309ED320` FOREIGN KEY (`assessment_uid`) REFERENCES `tl_laasse10_assessment` (`uid`), CONSTRAINT `FK_NEW_1720029621_30113BFCEC0D3147` FOREIGN KEY (`session_uid`) REFERENCES `tl_laasse10_session` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_laasse10_user` -- LOCK TABLES `tl_laasse10_user` WRITE; /*!40000 ALTER TABLE `tl_laasse10_user` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_laasse10_user` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_labbb10_attachment` -- DROP TABLE IF EXISTS `tl_labbb10_attachment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_labbb10_attachment` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `file_version_id` bigint(20) DEFAULT NULL, `file_type` varchar(255) DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_uuid` bigint(20) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `bbb_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `fk_labbb10_bbb_attachment_to_bbb` (`bbb_uid`), CONSTRAINT `fk_labbb10_bbb_attachment_to_bbb` FOREIGN KEY (`bbb_uid`) REFERENCES `tl_labbb10_bbb` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_labbb10_attachment` -- LOCK TABLES `tl_labbb10_attachment` WRITE; /*!40000 ALTER TABLE `tl_labbb10_attachment` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_labbb10_attachment` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_labbb10_bbb` -- DROP TABLE IF EXISTS `tl_labbb10_bbb`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_labbb10_bbb` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `create_date` datetime DEFAULT NULL, `update_date` datetime DEFAULT NULL, `create_by` bigint(20) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `instructions` text, `run_offline` bit(1) DEFAULT NULL, `lock_on_finished` bit(1) DEFAULT NULL, `reflect_on_activity` bit(1) DEFAULT NULL, `reflect_instructions` text, `online_instructions` text, `offline_instructions` text, `content_in_use` bit(1) DEFAULT NULL, `define_later` bit(1) DEFAULT NULL, `tool_content_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_labbb10_bbb` -- LOCK TABLES `tl_labbb10_bbb` WRITE; /*!40000 ALTER TABLE `tl_labbb10_bbb` DISABLE KEYS */; INSERT INTO `tl_labbb10_bbb` VALUES (1,NULL,NULL,NULL,'Web Conference','Instructions',0x00,0x00,0x00,NULL,'','',0x00,0x00,24); /*!40000 ALTER TABLE `tl_labbb10_bbb` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_labbb10_config` -- DROP TABLE IF EXISTS `tl_labbb10_config`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_labbb10_config` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `config_key` varchar(255) DEFAULT NULL, `config_value` varchar(255) DEFAULT NULL, PRIMARY KEY (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_labbb10_config` -- LOCK TABLES `tl_labbb10_config` WRITE; /*!40000 ALTER TABLE `tl_labbb10_config` DISABLE KEYS */; INSERT INTO `tl_labbb10_config` VALUES (1,'server_url','http://172.20.100.253/'),(2,'security_salt','12309usadoiaksdjblquge12312'); /*!40000 ALTER TABLE `tl_labbb10_config` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_labbb10_session` -- DROP TABLE IF EXISTS `tl_labbb10_session`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_labbb10_session` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `session_end_date` datetime DEFAULT NULL, `session_start_date` datetime DEFAULT NULL, `status` int(11) DEFAULT NULL, `session_id` bigint(20) DEFAULT NULL, `session_name` varchar(250) DEFAULT NULL, `bbb_uid` bigint(20) DEFAULT NULL, `meeting_created` bit(1) DEFAULT NULL, `meeting_key` varchar(255) DEFAULT NULL, `attendee_password` varchar(20) DEFAULT NULL, `moderator_password` varchar(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `fk_labbb10_bbb_session_to_bbb` (`bbb_uid`), CONSTRAINT `fk_labbb10_bbb_session_to_bbb` FOREIGN KEY (`bbb_uid`) REFERENCES `tl_labbb10_bbb` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_labbb10_session` -- LOCK TABLES `tl_labbb10_session` WRITE; /*!40000 ALTER TABLE `tl_labbb10_session` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_labbb10_session` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_labbb10_user` -- DROP TABLE IF EXISTS `tl_labbb10_user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_labbb10_user` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` bigint(20) DEFAULT NULL, `last_name` varchar(255) DEFAULT NULL, `login_name` varchar(255) DEFAULT NULL, `first_name` varchar(255) DEFAULT NULL, `finishedActivity` bit(1) DEFAULT NULL, `bbb_session_uid` bigint(20) DEFAULT NULL, `notebook_entry_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `fk_labbb10_bbb_user_to_bbb_session` (`bbb_session_uid`), CONSTRAINT `fk_labbb10_bbb_user_to_bbb_session` FOREIGN KEY (`bbb_session_uid`) REFERENCES `tl_labbb10_session` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_labbb10_user` -- LOCK TABLES `tl_labbb10_user` WRITE; /*!40000 ALTER TABLE `tl_labbb10_user` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_labbb10_user` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_lachat11_attachment` -- DROP TABLE IF EXISTS `tl_lachat11_attachment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_lachat11_attachment` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `file_version_id` bigint(20) DEFAULT NULL, `file_type` varchar(255) DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_uuid` bigint(20) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `chat_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK9ED6CB2E1A3926E3` (`chat_uid`), CONSTRAINT `FK9ED6CB2E1A3926E3` FOREIGN KEY (`chat_uid`) REFERENCES `tl_lachat11_chat` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_lachat11_attachment` -- LOCK TABLES `tl_lachat11_attachment` WRITE; /*!40000 ALTER TABLE `tl_lachat11_attachment` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_lachat11_attachment` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_lachat11_chat` -- DROP TABLE IF EXISTS `tl_lachat11_chat`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_lachat11_chat` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `create_date` datetime DEFAULT NULL, `update_date` datetime DEFAULT NULL, `create_by` bigint(20) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `instructions` text, `run_offline` bit(1) DEFAULT NULL, `lock_on_finished` bit(1) DEFAULT NULL, `reflect_on_activity` bit(1) DEFAULT NULL, `reflect_instructions` text, `online_instructions` text, `offline_instructions` text, `content_in_use` bit(1) DEFAULT NULL, `define_later` bit(1) DEFAULT NULL, `tool_content_id` bigint(20) DEFAULT NULL, `filtering_enabled` bit(1) DEFAULT NULL, `filter_keywords` text, `submission_deadline` datetime DEFAULT NULL, PRIMARY KEY (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_lachat11_chat` -- LOCK TABLES `tl_lachat11_chat` WRITE; /*!40000 ALTER TABLE `tl_lachat11_chat` DISABLE KEYS */; INSERT INTO `tl_lachat11_chat` VALUES (1,NULL,NULL,NULL,'Chat','Instructions',0x00,0x00,0x00,NULL,'','',0x00,0x00,5,0x00,NULL,NULL); /*!40000 ALTER TABLE `tl_lachat11_chat` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_lachat11_conditions` -- DROP TABLE IF EXISTS `tl_lachat11_conditions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_lachat11_conditions` ( `condition_id` bigint(20) NOT NULL, `content_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`condition_id`), KEY `ChatConditionToChat` (`content_uid`), CONSTRAINT `ChatConditionInheritance` FOREIGN KEY (`condition_id`) REFERENCES `lams_branch_condition` (`condition_id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `ChatConditionToChat` FOREIGN KEY (`content_uid`) REFERENCES `tl_lachat11_chat` (`uid`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_lachat11_conditions` -- LOCK TABLES `tl_lachat11_conditions` WRITE; /*!40000 ALTER TABLE `tl_lachat11_conditions` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_lachat11_conditions` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_lachat11_message` -- DROP TABLE IF EXISTS `tl_lachat11_message`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_lachat11_message` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `chat_session_uid` bigint(20) NOT NULL, `from_user_uid` bigint(20) DEFAULT NULL, `to_user_uid` bigint(20) DEFAULT NULL, `type` varchar(255) DEFAULT NULL, `body` text, `send_date` datetime DEFAULT NULL, `hidden` bit(1) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FKCC08C1DC2AF61E05` (`to_user_uid`), KEY `FKCC08C1DC9C8469FC` (`chat_session_uid`), KEY `FKCC08C1DCCF3BF9B6` (`from_user_uid`), CONSTRAINT `FKCC08C1DCCF3BF9B6` FOREIGN KEY (`from_user_uid`) REFERENCES `tl_lachat11_user` (`uid`), CONSTRAINT `FKCC08C1DC2AF61E05` FOREIGN KEY (`to_user_uid`) REFERENCES `tl_lachat11_user` (`uid`), CONSTRAINT `FKCC08C1DC9C8469FC` FOREIGN KEY (`chat_session_uid`) REFERENCES `tl_lachat11_session` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_lachat11_message` -- LOCK TABLES `tl_lachat11_message` WRITE; /*!40000 ALTER TABLE `tl_lachat11_message` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_lachat11_message` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_lachat11_session` -- DROP TABLE IF EXISTS `tl_lachat11_session`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_lachat11_session` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `session_end_date` datetime DEFAULT NULL, `session_start_date` datetime DEFAULT NULL, `status` int(11) DEFAULT NULL, `session_id` bigint(20) DEFAULT NULL, `session_name` varchar(250) DEFAULT NULL, `chat_uid` bigint(20) DEFAULT NULL, `jabber_room` varchar(250) DEFAULT NULL, `room_created` bit(1) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK96E446B1A3926E3` (`chat_uid`), CONSTRAINT `FK96E446B1A3926E3` FOREIGN KEY (`chat_uid`) REFERENCES `tl_lachat11_chat` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_lachat11_session` -- LOCK TABLES `tl_lachat11_session` WRITE; /*!40000 ALTER TABLE `tl_lachat11_session` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_lachat11_session` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_lachat11_user` -- DROP TABLE IF EXISTS `tl_lachat11_user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_lachat11_user` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` bigint(20) DEFAULT NULL, `last_name` varchar(255) DEFAULT NULL, `login_name` varchar(255) DEFAULT NULL, `first_name` varchar(255) DEFAULT NULL, `jabber_id` varchar(255) DEFAULT NULL, `finishedActivity` bit(1) DEFAULT NULL, `jabber_nickname` varchar(255) DEFAULT NULL, `chat_session_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), KEY `FK4EB82169C8469FC` (`chat_session_uid`), CONSTRAINT `FK4EB82169C8469FC` FOREIGN KEY (`chat_session_uid`) REFERENCES `tl_lachat11_session` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_lachat11_user` -- LOCK TABLES `tl_lachat11_user` WRITE; /*!40000 ALTER TABLE `tl_lachat11_user` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_lachat11_user` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_ladaco10_answer_options` -- DROP TABLE IF EXISTS `tl_ladaco10_answer_options`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_ladaco10_answer_options` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `question_uid` bigint(20) DEFAULT NULL, `sequence_num` tinyint(3) unsigned DEFAULT '1', `answer_option` varchar(255) DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `question_uid` (`question_uid`), CONSTRAINT `tl_ladaco10_answer_options_ibfk_1` FOREIGN KEY (`question_uid`) REFERENCES `tl_ladaco10_questions` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_ladaco10_answer_options` -- LOCK TABLES `tl_ladaco10_answer_options` WRITE; /*!40000 ALTER TABLE `tl_ladaco10_answer_options` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_ladaco10_answer_options` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_ladaco10_answers` -- DROP TABLE IF EXISTS `tl_ladaco10_answers`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_ladaco10_answers` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `user_uid` bigint(20) DEFAULT NULL, `question_uid` bigint(20) DEFAULT NULL, `record_id` smallint(5) unsigned DEFAULT NULL, `answer` text, `file_type` varchar(255) DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_uuid` bigint(20) DEFAULT NULL, `file_version_id` bigint(20) DEFAULT NULL, `create_date` datetime DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `user_uid` (`user_uid`), KEY `question_uid` (`question_uid`), CONSTRAINT `AnswerToQuestion` FOREIGN KEY (`question_uid`) REFERENCES `tl_ladaco10_questions` (`uid`), CONSTRAINT `AnswerToUser` FOREIGN KEY (`user_uid`) REFERENCES `tl_ladaco10_users` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_ladaco10_answers` -- LOCK TABLES `tl_ladaco10_answers` WRITE; /*!40000 ALTER TABLE `tl_ladaco10_answers` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_ladaco10_answers` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_ladaco10_attachments` -- DROP TABLE IF EXISTS `tl_ladaco10_attachments`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_ladaco10_attachments` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `file_version_id` bigint(20) DEFAULT NULL, `file_type` varchar(255) DEFAULT NULL, `file_name` varchar(255) DEFAULT NULL, `file_uuid` bigint(20) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `content_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `content_uid` (`content_uid`), CONSTRAINT `tl_ladaco10_attachments_ibfk_1` FOREIGN KEY (`content_uid`) REFERENCES `tl_ladaco10_contents` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_ladaco10_attachments` -- LOCK TABLES `tl_ladaco10_attachments` WRITE; /*!40000 ALTER TABLE `tl_ladaco10_attachments` DISABLE KEYS */; /*!40000 ALTER TABLE `tl_ladaco10_attachments` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_ladaco10_contents` -- DROP TABLE IF EXISTS `tl_ladaco10_contents`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_ladaco10_contents` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `create_date` datetime DEFAULT NULL, `update_date` datetime DEFAULT NULL, `create_by` bigint(20) DEFAULT NULL, `title` varchar(255) DEFAULT NULL, `run_offline` tinyint(4) DEFAULT '0', `lock_on_finished` tinyint(4) DEFAULT '0', `min_records` tinyint(3) unsigned DEFAULT '0', `max_records` tinyint(3) unsigned DEFAULT '0', `instructions` text, `online_instructions` text, `offline_instructions` text, `content_in_use` tinyint(4) DEFAULT '0', `define_later` tinyint(4) DEFAULT '0', `content_id` bigint(20) DEFAULT NULL, `reflect_instructions` varchar(255) DEFAULT NULL, `reflect_on_activity` tinyint(4) DEFAULT NULL, `learner_entry_notify` tinyint(4) DEFAULT '0', `record_submit_notify` tinyint(4) DEFAULT '0', PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), UNIQUE KEY `content_id` (`content_id`), KEY `create_by` (`create_by`), CONSTRAINT `DacoToUser` FOREIGN KEY (`create_by`) REFERENCES `tl_ladaco10_users` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_ladaco10_contents` -- LOCK TABLES `tl_ladaco10_contents` WRITE; /*!40000 ALTER TABLE `tl_ladaco10_contents` DISABLE KEYS */; INSERT INTO `tl_ladaco10_contents` VALUES (1,NULL,NULL,NULL,'Data Collection',0,0,0,0,'Instructions',NULL,NULL,0,0,14,NULL,0,0,0); /*!40000 ALTER TABLE `tl_ladaco10_contents` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_ladaco10_questions` -- DROP TABLE IF EXISTS `tl_ladaco10_questions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tl_ladaco10_questions` ( `uid` bigint(20) NOT NULL AUTO_INCREMENT, `description` text, `create_by` bigint(20) DEFAULT NULL, `create_date` datetime DEFAULT NULL, `is_required` tinyint(4) DEFAULT '0', `question_type` tinyint(3) unsigned DEFAULT NULL, `min_constraint` float DEFAULT NULL, `max_constraint` float DEFAULT NULL, `digits_decimal` tinyint(3) unsigned DEFAULT NULL, `summary` tinyint(3) unsigned DEFAULT NULL, `content_uid` bigint(20) DEFAULT NULL, `session_uid` bigint(20) DEFAULT NULL, PRIMARY KEY (`uid`), UNIQUE KEY `uid` (`uid`), KEY `create_by` (`create_by`), KEY `content_uid` (`content_uid`), KEY `session_uid` (`session_uid`), CONSTRAINT `tl_ladaco10_questions_ibfk_1` FOREIGN KEY (`session_uid`) REFERENCES `tl_ladaco10_sessions` (`uid`), CONSTRAINT `QuestionToDaco` FOREIGN KEY (`content_uid`) REFERENCES `tl_ladaco10_contents` (`uid`), CONSTRAINT `QuestionToUser` FOREIGN KEY (`create_by`) REFERENCES `tl_ladaco10_users` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tl_ladaco10_questions` -- LOCK TABLES `tl_ladaco10_questions` WRITE; /*!40000 ALTER TABLE `tl_ladaco10_questions` DISABLE KEYS */; INSERT INTO `tl_ladaco10_questions` VALUES (1,'