-- MySQL dump 10.11 -- -- Host: localhost Database: lams -- ------------------------------------------------------ -- Server version 5.0.75-0ubuntu10 /*!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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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 AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; 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 */; INSERT INTO `lams_branch_condition` VALUES (1,NULL,1,'text.search.output.definition.videoRecorder#28','text search output definition videoRecorder default condition','OUTPUT_STRING',NULL,NULL,NULL),(2,NULL,1,'text.search.output.definition.videoRecorder#28','text search output definition videoRecorder default condition','OUTPUT_STRING',NULL,NULL,NULL); /*!40000 ALTER TABLE `lams_branch_condition` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_competence` -- DROP TABLE IF EXISTS `lams_competence`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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.3.0.200905041845','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','2008-12-05','config.dictionary.date.created','config.header.versions','STRING',1),('DumpDir','/var/opt/lams/dump','config.dump.dir','config.header.system','STRING',1),('EARDir','/usr/local/jboss-4.0.2/server/default/deploy/lams.ear/','config.ear.dir','config.header.system','STRING',1),('EnableFlash','true','config.flash.enable','config.header.features','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),('HelpURL','http://wiki.lamsfoundation.org/display/lamsdocs/','config.help.url','config.header.system','STRING',1),('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.3.0.200905041845','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.3.0.200905041845','config.monitor.client.version','config.header.versions','STRING',1),('MonitorScreenSize','1024x768','config.monitor.screen.size','config.header.look.feel','STRING',1),('Red5RecordingsUrl','http://localhost:8080/streams/','config.red5.recordings.url','config.header.red5','STRING',1),('Red5ServerUrl','rtmp://localhost/','config.red5.server.url','config.header.red5','STRING',1),('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://localhost:8080/lams/','config.server.url','config.header.system','STRING',1),('ServerURLContextPath','lams/','config.server.url.context.path','config.header.system','STRING',1),('ServerVersionNumber','2.3.0.200905041845','config.server.version.number','config.header.versions','STRING',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.3','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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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.'; 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`; SET @saved_cs_client = @@character_set_client; 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'; 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`; SET @saved_cs_client = @@character_set_client; 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'; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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'; 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`; SET @saved_cs_client = @@character_set_client; 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'; 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_css_property` -- DROP TABLE IF EXISTS `lams_css_property`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `lams_css_property` ( `property_id` bigint(20) NOT NULL auto_increment, `style_id` bigint(20) NOT NULL, `name` varchar(255) NOT NULL, `value` varchar(100) NOT NULL, `style_subset` varchar(20) default NULL, `type` tinyint(4) NOT NULL, PRIMARY KEY (`property_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `lams_css_property` -- LOCK TABLES `lams_css_property` WRITE; /*!40000 ALTER TABLE `lams_css_property` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_css_property` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_css_style` -- DROP TABLE IF EXISTS `lams_css_style`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `lams_css_style` ( `style_id` bigint(20) NOT NULL auto_increment, `theme_ve_id` bigint(20) NOT NULL, PRIMARY KEY (`style_id`), KEY `theme_ve_id` (`theme_ve_id`), CONSTRAINT `FK_lams_css_style_1` FOREIGN KEY (`theme_ve_id`) REFERENCES `lams_css_theme_ve` (`theme_ve_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups lams_css_property into a CSSStyleDeclaration.'; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `lams_css_style` -- LOCK TABLES `lams_css_style` WRITE; /*!40000 ALTER TABLE `lams_css_style` DISABLE KEYS */; /*!40000 ALTER TABLE `lams_css_style` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_css_theme_ve` -- DROP TABLE IF EXISTS `lams_css_theme_ve`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `lams_css_theme_ve` ( `theme_ve_id` bigint(20) NOT NULL auto_increment, `name` varchar(100) NOT NULL, `description` varchar(100) default NULL, `parent_id` bigint(20) default NULL, `theme_flag` tinyint(1) NOT NULL default '0', `image_directory` varchar(100) default NULL, PRIMARY KEY (`theme_ve_id`), KEY `parent_id` (`parent_id`), CONSTRAINT `FK_lams_css_theme_ve_2` FOREIGN KEY (`parent_id`) REFERENCES `lams_css_theme_ve` (`theme_ve_id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='Stores both the Flash theme and visual element'; SET character_set_client = @saved_cs_client; -- -- Dumping data for table `lams_css_theme_ve` -- LOCK TABLES `lams_css_theme_ve` WRITE; /*!40000 ALTER TABLE `lams_css_theme_ve` DISABLE KEYS */; INSERT INTO `lams_css_theme_ve` VALUES (1,'default','Default Flash style',NULL,1,NULL),(2,'defaultHTML','Default HTML style',NULL,1,'css'),(3,'rams','RAMS Default Flash style',NULL,1,NULL),(4,'ramsthemeHTML','RAMS Default HTML sty;e',NULL,1,'ramsthemecss'); /*!40000 ALTER TABLE `lams_css_theme_ve` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_event_subscriptions` -- DROP TABLE IF EXISTS `lams_event_subscriptions`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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_org_map` -- DROP TABLE IF EXISTS `lams_ext_server_org_map`; SET @saved_cs_client = @@character_set_client; 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, `timeout_url` text NOT NULL, `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; 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',0x00,7); /*!40000 ALTER TABLE `lams_ext_server_org_map` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_ext_user_userid_map` -- DROP TABLE IF EXISTS `lams_ext_user_userid_map`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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', 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`), 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_6` FOREIGN KEY (`learning_design_id`) REFERENCES `lams_learning_design` (`learning_design_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, 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, CONSTRAINT `FK_lams_learning_activity_8` FOREIGN KEY (`tool_id`) REFERENCES `lams_tool` (`tool_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_9` FOREIGN KEY (`create_grouping_id`) REFERENCES `lams_grouping` (`grouping_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`) ) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8; 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,'2009-05-04 18:45:45',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),(2,NULL,'Displays a NoticeboardX','NoticeboardX','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,2,'2009-05-04 18:45:49',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),(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,'2009-05-04 18:45:53',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),(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,'2009-05-04 18:46:01',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),(5,NULL,'Chat Tool','Chat Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,5,'2009-05-04 18:46: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),(6,NULL,'Share Resources','Share Resources','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,6,'2009-05-04 18:46:15',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),(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,'2009-05-04 18:46:19',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),(8,NULL,'Notebook Tool','Notebook Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,8,'2009-05-04 18:46:24',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),(9,NULL,'Survey','Survey','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,9,'2009-05-04 18:46:29',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),(10,NULL,'Scribe Tool','Scribe Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,10,'2009-05-04 18:46:34',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),(11,NULL,'TaskList','TaskList','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,11,'2009-05-04 18:46:39',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),(12,NULL,'Gmap Tool','Gmap Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,12,'2009-05-04 18:46:44',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),(13,NULL,'Spreadsheet','Spreadsheet','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,13,'2009-05-04 18:46:50',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),(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,'2009-05-04 18:46:55',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),(15,NULL,'Wiki Tool','Wiki Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,15,'2009-05-04 18:47:00',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),(17,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,17,'2009-05-04 18:47:09',0,NULL,NULL,NULL,17,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),(18,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,18,'2009-05-04 18:47:11',0,NULL,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,'images/icon_urlcontentmessageboard.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.library.llid18.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0),(19,NULL,'Share Resources','Share Resources','Share Resources',NULL,NULL,18,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2009-05-04 18:47:11',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),(20,NULL,'Forum/Message Board','Forum','Forum/Message Board',NULL,NULL,18,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2009-05-04 18:47:11',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),(21,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,19,'2009-05-04 18:47:12',0,NULL,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,'images/icon_groupreporting.swf',NULL,NULL,NULL,'org.lamsfoundation.lams.library.llid19.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0),(22,NULL,'Chat Tool','Chat Tool','Chat',NULL,NULL,21,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2009-05-04 18:47:12',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),(23,NULL,'Scribe Tool','Scribe Tool','Scribe',NULL,NULL,21,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2009-05-04 18:47:12',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),(24,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,20,'2009-05-04 18:47:12',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.llid20.ApplicationResources',NULL,0,0,NULL,NULL,NULL,NULL,NULL,0),(25,NULL,'Forum/Message Board','Forum','Forum/Message Board',NULL,NULL,24,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2009-05-04 18:47:12',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),(26,NULL,'Scribe Tool','Scribe Tool','Scribe',NULL,NULL,24,NULL,1,2,0,NULL,NULL,NULL,0,NULL,NULL,'2009-05-04 18:47:12',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),(32,NULL,'Assessment','Assessment','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,26,'2009-05-04 18:58:12',0,NULL,NULL,NULL,23,NULL,4,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),(33,NULL,'ImageGallery','ImageGallery','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,27,'2009-05-04 18:58:28',0,NULL,NULL,NULL,24,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),(34,NULL,'Mindmap Tool','Mindmap Tool','Mindmap Tool for creating mindmaps.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,28,'2009-05-04 18:58:41',0,NULL,NULL,NULL,25,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),(35,NULL,'Pixlr Tool','Pixlr Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,29,'2009-05-04 18:58:54',0,NULL,NULL,NULL,26,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),(37,NULL,'VideoRecorder Tool','VideoRecorder Tool','Put some help text here.',NULL,NULL,NULL,NULL,1,2,0,NULL,NULL,NULL,0,NULL,31,'2009-05-04 19:00:31',0,NULL,NULL,NULL,28,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); /*!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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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, `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; 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`; SET @saved_cs_client = @@character_set_client; 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=32 DEFAULT CHARSET=utf8; 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,'2009-05-04 18:45:45'),(2,'Displays a Noticeboard','Noticeboard',1,'2009-05-04 18:45:48'),(3,'Question and Answer Learning Library Description','Question and Answer',1,'2009-05-04 18:45:53'),(4,'Uploading of files by learners, for review by teachers.','Submit file',1,'2009-05-04 18:46:01'),(5,'Chat Tool','Chat',1,'2009-05-04 18:46:07'),(6,'Share resources','Share resources',1,'2009-05-04 18:46:15'),(7,'Voting Learning Library Description','Voting',1,'2009-05-04 18:46:19'),(8,'Notebook Tool','Notebook',1,'2009-05-04 18:46:24'),(9,'Survey','Survey',1,'2009-05-04 18:46:29'),(10,'Scribe Tool','Scribe',0,'2009-05-04 18:46:34'),(11,'Share taskList','Share taskList',1,'2009-05-04 18:46:39'),(12,'Gmap Tool','Gmap',1,'2009-05-04 18:46:44'),(13,'Spreadsheet Tool','Spreadsheet',1,'2009-05-04 18:46:50'),(14,'Collecting data with custom structure.','Data Collection',1,'2009-05-04 18:46:55'),(15,'Wiki Tool','Wiki',1,'2009-05-04 18:47:00'),(17,'MCQ Learning Library Description','MCQ',1,'2009-05-04 18:47:09'),(18,'Shared Resources and Forum','Resources and Forum',1,'2009-05-04 18:47:11'),(19,'Chat and Scribe','Chat and Scribe',1,'2009-05-04 18:47:12'),(20,'Forum and Scribe','Forum and Scribe',1,'2009-05-04 18:47:12'),(26,'Assessment','Assessment',1,'2009-05-04 18:58:12'),(27,'Share imageGallery','Share imageGallery',1,'2009-05-04 18:58:28'),(28,'Mindmap Tool','Mindmap',1,'2009-05-04 18:58:41'),(29,'Pixlr Tool','Pixlr',1,'2009-05-04 18:58:54'),(31,'VideoRecorder Tool','VideoRecorder',1,'2009-05-04 19:00:31'); /*!40000 ALTER TABLE `lams_learning_library` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_learning_transition` -- DROP TABLE IF EXISTS `lams_learning_transition`; SET @saved_cs_client = @@character_set_client; 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) NOT NULL default '0', `create_date_time` datetime NOT NULL, `to_ui_id` int(11) default NULL, `from_ui_id` int(11) default NULL, PRIMARY KEY (`transition_id`), UNIQUE KEY `UQ_transition_activities` (`from_activity_id`,`to_activity_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; 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`; SET @saved_cs_client = @@character_set_client; 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, `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', `locked_for_edit` tinyint(4) default '0', `marks_released` tinyint(4) default '0', `version` int(11) default '1', 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; 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_learner` -- DROP TABLE IF EXISTS `lams_lesson_learner`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `lams_log_event` ( `log_event_id` bigint(20) NOT NULL auto_increment, `log_event_type_id` int(5) NOT NULL, `user_id` bigint(20) default NULL, `timestamp` datetime NOT NULL, `ref_id` bigint(20) default NULL, `message` varchar(255) default NULL, PRIMARY KEY (`log_event_id`), KEY `log_event_type_id` (`log_event_type_id`), CONSTRAINT `FK_lams_event_log_1` FOREIGN KEY (`log_event_type_id`) REFERENCES `lams_log_event_type` (`log_event_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 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`; SET @saved_cs_client = @@character_set_client; 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; 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,'LEARNER_LESSON_START'),(2,'LEARNER_LESSON_FINISH'),(3,'LEARNER_LESSON_EXIT'),(4,'LEARNER_LESSON_RESUME'),(5,'LEARNER_ACTIVITY_START'),(6,'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`; SET @saved_cs_client = @@character_set_client; 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; 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_organisation` -- DROP TABLE IF EXISTS `lams_organisation`; SET @saved_cs_client = @@character_set_client; 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_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; 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,'2009-05-04 18:45:26',1,1,1,0,0,0,0,0,0,1,NULL,NULL),(2,'Playpen','PP101','Developers Playpen',1,2,'2009-05-04 18:45:26',1,2,1,0,0,0,0,0,0,1,NULL,NULL),(3,'Everybody',NULL,'All People In Course',2,3,'2009-05-04 18:45:26',1,NULL,1,0,0,0,0,0,0,1,NULL,NULL),(4,'Mathematics 1','MATH111','Mathematics 1',1,2,'2009-05-04 18:45:26',1,3,1,0,0,0,0,0,0,2,NULL,NULL),(5,'Tutorial Group A','TUTA','Tutorial Group A',4,3,'2009-05-04 18:45:26',1,NULL,1,0,0,0,0,0,0,2,NULL,NULL),(6,'Tutorial Group B','TUTB','Tutorial Group B',4,3,'2009-05-04 18:45:26',1,NULL,1,0,0,0,0,0,0,2,NULL,NULL),(7,'Moodle','Moodle','Moodle Test',1,2,'2009-05-04 18:45:26',1,50,2,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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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_nodes` -- DROP TABLE IF EXISTS `lams_planner_nodes`; SET @saved_cs_client = @@character_set_client; 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, `file_uuid` bigint(20) unsigned default NULL, `file_name` varchar(255) default NULL, PRIMARY KEY (`uid`), UNIQUE KEY `parent_uid` (`parent_uid`,`order_id`), CONSTRAINT `FK_lams_planner_node_parent` FOREIGN KEY (`parent_uid`) REFERENCES `lams_planner_nodes` (`uid`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 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_presence_chat_msgs` -- DROP TABLE IF EXISTS `lams_presence_chat_msgs`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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,1241431325957,1241427725957,'WAITING','SIMPLE',1241427725957,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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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','2009-05-04 18:45:26'),(2,'GROUP MANAGER','Group Manager','2009-05-04 18:45:26'),(3,'AUTHOR','Authors Learning Designs','2009-05-04 18:45:26'),(4,'MONITOR','Member of Staff','2009-05-04 18:45:26'),(5,'LEARNER','Student','2009-05-04 18:45:26'),(6,'GROUP ADMIN','Group Administrator','2009-05-04 18:45:26'),(7,'AUTHOR ADMIN','Author Administrator','2009-05-04 18:45:26'); /*!40000 ALTER TABLE `lams_role` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_role_privilege` -- DROP TABLE IF EXISTS `lams_role_privilege`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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=27 DEFAULT CHARSET=utf8 COMMENT='Describes the valid language/country combinations.'; 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'); /*!40000 ALTER TABLE `lams_supported_locale` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_system_tool` -- DROP TABLE IF EXISTS `lams_system_tool`; SET @saved_cs_client = @@character_set_client; 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; 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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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,'2009-05-04 18:45:26',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`; SET @saved_cs_client = @@character_set_client; 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; 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 */; INSERT INTO `lams_text_search_condition` VALUES (1,'LAMS',NULL,NULL,NULL),(2,'LAMS',NULL,NULL,NULL); /*!40000 ALTER TABLE `lams_text_search_condition` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_tool` -- DROP TABLE IF EXISTS `lams_tool`; SET @saved_cs_client = @@character_set_client; 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=29 DEFAULT CHARSET=utf8; 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','20081118',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','2009-05-04 18:45:45','org.lamsfoundation.lams.tool.forum.ApplicationResources','2009-05-04 18:45:45',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','2009-05-04 18:45:48','org.lamsfoundation.lams.tool.noticeboard.ApplicationResources','2009-05-04 18:45:48',NULL,0,NULL),(3,'laqa11','qaService','Question and Answer','Q/A Tool','qa','20081126',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','2009-05-04 18:45:53','org.lamsfoundation.lams.tool.qa.ApplicationResources','2009-05-04 18:45:53','tool/laqa11/laqa11admin.do',1,NULL),(4,'lasbmt11','submitFilesService','Submit File','Submit File Tool Description','submitfile','20090113',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','2009-05-04 18:46:01','org.lamsfoundation.lams.tool.sbmt.ApplicationResources','2009-05-04 18:46:01',NULL,0,NULL),(5,'lachat11','chatService','Chat','Chat','chat','20081125',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','2009-05-04 18:46:07','org.lamsfoundation.lams.tool.chat.ApplicationResources','2009-05-04 18:46:07',NULL,1,NULL),(6,'larsrc11','resourceService','Shared Resources','Shared Resources','sharedresources','20090115',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','2009-05-04 18:46:15','org.lamsfoundation.lams.tool.rsrc.ApplicationResources','2009-05-04 18:46:15',NULL,0,NULL),(7,'lavote11','voteService','Voting','Voting','vote','20081203',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','2009-05-04 18:46:19','org.lamsfoundation.lams.tool.vote.ApplicationResources','2009-05-04 18:46:19',NULL,1,NULL),(8,'lantbk11','notebookService','Notebook','Notebook','notebook','20081118',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','2009-05-04 18:46:24','org.lamsfoundation.lams.tool.notebook.ApplicationResources','2009-05-04 18:46:24',NULL,1,NULL),(9,'lasurv11','lasurvSurveyService','Survey','Survey','survey','20081021',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','2009-05-04 18:46:29','org.lamsfoundation.lams.tool.survey.ApplicationResources','2009-05-04 18:46:29',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','2009-05-04 18:46:34','org.lamsfoundation.lams.tool.scribe.ApplicationResources','2009-05-04 18:46:34',NULL,0,NULL),(11,'latask10','lataskTaskListService','Shared TaskList','Shared TaskList','sharedtaskList','20090113',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','2009-05-04 18:46:39','org.lamsfoundation.lams.tool.taskList.ApplicationResources','2009-05-04 18:46:39',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','2009-05-04 18:46:44','org.lamsfoundation.lams.tool.gmap.ApplicationResources','2009-05-04 18:46:44','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','2009-05-04 18:46:50','org.lamsfoundation.lams.tool.spreadsheet.ApplicationResources','2009-05-04 18:46:50',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','2009-05-04 18:46:55','org.lamsfoundation.lams.tool.daco.ApplicationResources','2009-05-04 18:46:55',NULL,1,NULL),(15,'lawiki10','wikiService','Wiki','Wiki','wiki','20090121',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','2009-05-04 18:47:00','org.lamsfoundation.lams.tool.wiki.ApplicationResources','2009-05-04 18:47:00',NULL,1,NULL),(17,'lamc11','mcService','MCQ','Multiple Choice Questions','mc','20081127',17,17,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','2009-05-04 18:47:09','org.lamsfoundation.lams.tool.mc.ApplicationResources','2009-05-04 18:47:09',NULL,1,NULL),(23,'laasse10','laasseAssessmentService','Assessment','Assessment','assessment','20090109',26,23,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','2009-05-04 18:58:12','org.lamsfoundation.lams.tool.assessment.ApplicationResources','2009-05-04 18:58:12',NULL,1,NULL),(24,'laimag10','laimagImageGalleryService','ImageGallery','ImageGallery','imageGallery','20081007',27,24,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','2009-05-04 18:58:28','org.lamsfoundation.lams.tool.imageGallery.ApplicationResources','2009-05-04 18:58:28','tool/laimag10/laimag10admin/start.do',1,NULL),(25,'lamind10','mindmapService','Mindmap','Mindmap','mindmap','20090202',28,25,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','2009-05-04 18:58:41','org.lamsfoundation.lams.tool.mindmap.ApplicationResources','2009-05-04 18:58:41',NULL,1,NULL),(26,'lapixl10','pixlrService','Pixlr','Pixlr','pixlr','20081217',29,26,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','2009-05-04 18:58:54','org.lamsfoundation.lams.tool.pixlr.ApplicationResources','2009-05-04 18:58:54','tool/lapixl10/lapixl10admin.do',0,NULL),(28,'lavidr10','videoRecorderService','VideoRecorder','VideoRecorder','videoRecorder','20081208',31,28,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','2009-05-04 19:00:31','org.lamsfoundation.lams.tool.videoRecorder.ApplicationResources','2009-05-04 19:00:31',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`; SET @saved_cs_client = @@character_set_client; 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=34 DEFAULT CHARSET=utf8; 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),(17,17),(23,23),(33,23),(24,24),(32,24),(25,25),(31,25),(26,26),(30,26),(28,28),(29,28); /*!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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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` tinyint(4) default NULL, PRIMARY KEY (`user_id`), UNIQUE KEY `UQ_lams_user_login` (`login`), 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 `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_css_theme_ve` (`theme_ve_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `FK_lams_user_5` FOREIGN KEY (`html_theme_id`) REFERENCES `lams_css_theme_ve` (`theme_ve_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; 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,'2009-05-04 18:45:26',1,51,1,2,NULL,1,NULL,0,1,NULL,NULL,28),(5,'test1','b444ac06613fc8d63795be9ad0beaf55011936ac','Dr','One','Test','1','Test Ave',NULL,'Nowhere','NSW',NULL,'Australia','0211111111','0211111112','0411111111','0211111113','test1@xx.os',0,'2004-12-23 00:00:00',1,5,1,2,NULL,1,NULL,0,1,NULL,NULL,28),(6,'test2','109f4b3c50d7b0df729d299bc6f8e9ef9066971f','Dr','Two','Test','2','Test Ave',NULL,'Nowhere','NSW',NULL,'Australia','0211111111','0211111112','0411111111','0211111113','test2@xx.os',0,'2004-12-23 00:00:00',1,6,1,2,NULL,1,NULL,0,1,NULL,NULL,28),(7,'test3','3ebfa301dc59196f18593c45e519287a23297589','Dr','Three','Test','3','Test Ave',NULL,'Nowhere','NSW',NULL,'Australia','0211111111','0211111112','0411111111','0211111113','test3@xx.os',0,'2004-12-23 00:00:00',1,7,1,2,NULL,1,NULL,0,1,NULL,NULL,28),(8,'test4','1ff2b3704aede04eecb51e50ca698efd50a1379b','Dr','Four','Test','4','Test Ave',NULL,'Nowhere','NSW',NULL,'Australia','0211111111','0211111112','0411111111','0211111113','test4@xx.os',0,'2004-12-23 00:00:00',1,8,1,2,NULL,1,NULL,0,1,NULL,NULL,28); /*!40000 ALTER TABLE `lams_user` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lams_user_group` -- DROP TABLE IF EXISTS `lams_user_group`; SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `lams_user_group` ( `user_id` bigint(20) NOT NULL, `group_id` bigint(20) NOT 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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),(5,2,5),(6,2,6),(7,2,7),(8,2,8),(12,3,5),(13,3,6),(14,3,7),(15,3,8),(19,4,5),(20,4,6),(21,4,7),(22,4,8),(26,5,5),(27,5,6),(28,6,7),(29,6,8); /*!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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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),(5,5,3),(6,6,3),(7,7,3),(8,8,3),(12,5,4),(13,6,4),(14,7,4),(15,8,4),(19,5,5),(20,6,5),(21,7,5),(22,8,5),(26,12,4),(27,13,4),(28,14,4),(33,12,5),(34,13,5),(35,14,5),(36,15,5),(40,19,3),(41,20,3),(42,21,3),(43,22,3),(47,19,4),(48,20,4),(49,21,4),(50,22,4),(54,19,5),(55,20,5),(56,21,5),(57,22,5),(61,26,4),(62,27,4),(63,28,4),(64,29,4),(68,26,5),(69,27,5),(70,28,5),(71,29,5); /*!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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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),(7,5,5),(8,6,6),(9,7,7),(10,8,8),(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`; SET @saved_cs_client = @@character_set_client; 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; 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'),(5,5,NULL,'One Test'),(6,6,NULL,'Two Test'),(7,7,NULL,'Three Test'),(8,8,NULL,'Four Test'),(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`; SET @saved_cs_client = @@character_set_client; 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; 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),(5,NULL,'One Test',5,'2004-12-23 00:00:00','2004-12-23 00:00:00',1),(6,NULL,'Two Test',6,'2004-12-23 00:00:00','2004-12-23 00:00:00',1),(7,NULL,'Three Test',7,'2004-12-23 00:00:00','2004-12-23 00:00:00',1),(8,NULL,'Four Test',8,'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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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 ('laasse10',20090109,'2009-05-04 08:58:12','F'),('lachat11',20081125,'2009-05-04 08:46:07','F'),('ladaco10',20090326,'2009-05-04 08:46:55','F'),('lafrum11',20081118,'2009-05-04 08:45:45','F'),('lagmap10',20080521,'2009-05-04 08:46:44','F'),('laimag10',20081007,'2009-05-04 08:58:28','F'),('lamc11',20081127,'2009-05-04 08:47:10','F'),('lamind10',20090202,'2009-05-04 08:58:41','F'),('lams',16,'2009-05-04 08:45:26','F'),('lanb11',20081209,'2009-05-04 08:45:49','F'),('lantbk11',20081118,'2009-05-04 08:46:24','F'),('lapixl10',20081217,'2009-05-04 08:58:54','F'),('laqa11',20081126,'2009-05-04 08:45:57','F'),('larsrc11',20090115,'2009-05-04 08:46:16','F'),('lasbmt11',20090113,'2009-05-04 08:46:02','F'),('lascrb11',20090226,'2009-05-04 08:46:34','F'),('lasprd10',20080612,'2009-05-04 08:46:50','F'),('lasurv11',20081021,'2009-05-04 08:46:29','F'),('latask10',20090113,'2009-05-04 08:46:40','F'),('lavidr10',20081208,'2009-05-04 09:00:31','F'),('lavote11',20081203,'2009-05-04 08:46:19','F'),('lawiki10',20090121,'2009-05-04 08:47:00','F'); /*!40000 ALTER TABLE `patches` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_laasse10_assessment` -- DROP TABLE IF EXISTS `tl_laasse10_assessment`; SET @saved_cs_client = @@character_set_client; 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, `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', `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_wrong_answers` tinyint(4) default NULL, `allow_grades_after_attempt` tinyint(4) default NULL, `allow_history_responses` 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; 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,'Assessment',0,0,1,'Instructions ',NULL,NULL,0,0,23,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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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.1', `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', `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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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_result` -- DROP TABLE IF EXISTS `tl_laasse10_question_result`; SET @saved_cs_client = @@character_set_client; 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, 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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_lachat11_attachment` -- DROP TABLE IF EXISTS `tl_lachat11_attachment`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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, PRIMARY KEY (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; 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); /*!40000 ALTER TABLE `tl_lachat11_chat` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `tl_lachat11_conditions` -- DROP TABLE IF EXISTS `tl_lachat11_conditions`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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`; SET @saved_cs_client = @@character_set_client; 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; 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,'