119
Lotus® Workplace Collaborative Learning Database Architecture Version 2.0 G210-1782-00

Version2 - IBM product, company, ... acl ... instructor_assignment instassign_ak Alternate Key YES instructor_booking instbook_pk PrimaryKey YES

  • Upload
    donga

  • View
    212

  • Download
    0

Embed Size (px)

Citation preview

Lotus® Workplace Collaborative Learning

Database Architecture

Version

2.0

G210-1782-00

���

Disclaimer

This document is for your sole and exclusive use with IBM Lotus Workplace Collaborative Learning subject to the terms and conditions of the IBM International Program License Agreement (including associated License Information) accompanying IBM Lotus Workplace Collaborative Learning.

THE INFORMATION CONTAINED IN THIS DOCUMENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS DOCUMENTATION, IT IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE. IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS DOCUMENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS DOCUMENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT OF, CREATING ANY WARRANTIES OR REPRESENTATIONS FROM IBM (OR ITS SUPPLIERS OR LICENSORS), OR ALTERING THE TERMS AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT GOVERNING THE USE OF IBM SOFTWARE.

Licensed Materials - Property of IBM

©Copyright IBM Corporation 1998 - 2004. All rights reserved.

US Government Users Restricted Rights - Use, duplication or disclosure restricted by GS ADP Schedule Contract with IBM Corp.

Lotus Software IBM Software Group One Rogers Street Cambridge, MA 02142

List of Trademarks

IBM, the IBM logo, AIX, AS/400, DB2, LearningSpace, LearningSpace Forum, IBM Directory Server, RS/6000, iSeries, xSeries, MQSeries, Cloudscape, Netfinity, OfficeVision, OS/2, OS/390, OS/400, S/390, Tivoli, WebSphere, 1-2-3, cc:Mail, Domino, Domino Designer, Freelance Graphics, iNotes, Lotus, Lotus Discovery Server, Lotus EnterpriseIntegrator, Lotus Mobile Notes, Lotus Notes, Lotus Organizer, LotusScript, Notes, QuickPlace, Sametime, SmartSuite, and Word Pro are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both.

Crystal Reports is a registered trademark of Crystal Decisions Corporation in the United States, other countries, or both.

Pentium is a trademark of Intel Corporation in the United States, other countries, or both.

Java, JavaServer Pages, JavaBeans, JavaScript, J2EE, JDBC, Sun Enterprise, and Sun Solaris are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

JReport and JReport Designer are trademarks of Jinfonet Software, Inc. in the United States, other countries, or both.

Macromedia, Pathware, and Dreamweaver are registered trademarks of Macromedia, Inc. in the United States, other countries, or both.

Netscape and Netscape Navigator are registered trademarks of Netscape Communications Corporation in the United States and other countries.

Oracle is a registered trademark of Oracle Corporation in the United States, other countries, or both.

PKZIP is a registered trademark of PKWARE, Inc. in the United States, other countries, or both.

SmartForce is a trademark of SkillSoft Corporation in the United States, other countries, or both.

SQL Server and Internet Explorer are trademarks of Microsoft Corporation in the United States, other countries, or both. Windows, Windows NT, Active Directory, and Outlook are registered trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries.

Other product, company, and service names mentioned herein may be the trademarks, registered trademarks, or service marks of their marks of their respective owners.

Contents Overview ......................................................................................................................................................................................... 1

Learning Server Database Architecture ...................................................................................................................................... 3

Key Summary Report ............................................................................................................................................................... 3

acl.............................................................................................................................................................................................. 8

aclcriteria .................................................................................................................................................................................. 9

announcement ........................................................................................................................................................................... 9

application_server ................................................................................................................................................................... 10

application_setting .................................................................................................................................................................. 11

approvalrequest ....................................................................................................................................................................... 12

attempt .................................................................................................................................................................................... 13

attempt_a................................................................................................................................................................................. 14

attribute ................................................................................................................................................................................... 16

attribute_category ................................................................................................................................................................... 16

auditaction............................................................................................................................................................................... 17

auditlog ................................................................................................................................................................................... 18

auditstream.............................................................................................................................................................................. 18

automatic_role ........................................................................................................................................................................ 19

autoroster_criteria ................................................................................................................................................................... 20

booking ................................................................................................................................................................................... 21

booking_requirement .............................................................................................................................................................. 21

calendar_element .................................................................................................................................................................... 22

calendar_element_reference ................................................................................................................................................... 23

cascaded_permission .............................................................................................................................................................. 23

Contents iii

catalogentry............................................................................................................................................................................. 24

catalogentry_attribute ............................................................................................................................................................. 26

catalogentry_keyword............................................................................................................................................................. 27

catalogentry_language ............................................................................................................................................................ 27

catalogentry_text..................................................................................................................................................................... 28

category................................................................................................................................................................................... 28

certificate ................................................................................................................................................................................ 29

certificate_master.................................................................................................................................................................... 30

cm_package ............................................................................................................................................................................ 31

cm_webserver ......................................................................................................................................................................... 32

collaboration ........................................................................................................................................................................... 32

customfield ............................................................................................................................................................................. 33

customfield_option ................................................................................................................................................................. 35

customfield_value ................................................................................................................................................................... 35

customization_set.................................................................................................................................................................... 36

enrollable_approver ................................................................................................................................................................ 37

enrollable_attendee ................................................................................................................................................................. 37

enrollablehelper ...................................................................................................................................................................... 38

enrollableofferinghelper.......................................................................................................................................................... 38

enrollment ............................................................................................................................................................................... 39

equipment_request .................................................................................................................................................................. 41

instructor ................................................................................................................................................................................. 41

instructor_assignment ............................................................................................................................................................. 42

instructor_booking .................................................................................................................................................................. 43

instructor_group...................................................................................................................................................................... 43

iv Workplace Collaborative Learning Database Architecture

instructor_skill ........................................................................................................................................................................ 44

instructor_zone........................................................................................................................................................................ 44

interaction ............................................................................................................................................................................... 45

interaction_a............................................................................................................................................................................ 46

item_access ............................................................................................................................................................................. 47

kmap_keyword........................................................................................................................................................................ 48

location ................................................................................................................................................................................... 48

lrnfolder .................................................................................................................................................................................. 49

lrnfolder_lom .......................................................................................................................................................................... 50

lrnpartition .............................................................................................................................................................................. 50

lrnplan ..................................................................................................................................................................................... 51

lrnplan_item ............................................................................................................................................................................ 51

lrnuser_partition...................................................................................................................................................................... 52

lrnversioninfo.......................................................................................................................................................................... 53

lsrole ....................................................................................................................................................................................... 53

lvc_requirement ...................................................................................................................................................................... 54

lvc_session .............................................................................................................................................................................. 55

master...................................................................................................................................................................................... 57

master_keyword...................................................................................................................................................................... 60

master_language ..................................................................................................................................................................... 60

master_text.............................................................................................................................................................................. 61

master_tree.............................................................................................................................................................................. 62

metadata .................................................................................................................................................................................. 62

metadata_annotation ............................................................................................................................................................... 66

metadata_contributor .............................................................................................................................................................. 67

Contents v

metadata_keyword .................................................................................................................................................................. 68

metadata_language.................................................................................................................................................................. 68

metadata_text .......................................................................................................................................................................... 69

metadata_tree .......................................................................................................................................................................... 70

metadata_xml.......................................................................................................................................................................... 70

objective.................................................................................................................................................................................. 71

objective_map ......................................................................................................................................................................... 72

objective_text.......................................................................................................................................................................... 72

offering ................................................................................................................................................................................... 73

offering_tree............................................................................................................................................................................ 75

oidbatch................................................................................................................................................................................... 75

oidseed .................................................................................................................................................................................... 76

permission............................................................................................................................................................................... 76

prerequisite ............................................................................................................................................................................. 77

prof_level ................................................................................................................................................................................ 77

prof_set ................................................................................................................................................................................... 78

progress................................................................................................................................................................................... 79

progress_a ............................................................................................................................................................................... 80

repeating_calendar_element ................................................................................................................................................... 80

report_file ............................................................................................................................................................................... 81

report_recipient ....................................................................................................................................................................... 82

reportselection......................................................................................................................................................................... 82

reportselection_item................................................................................................................................................................ 83

role_permission....................................................................................................................................................................... 83

rollup_rule............................................................................................................................................................................... 84

vi Workplace Collaborative Learning Database Architecture

rollup_rule_condition.............................................................................................................................................................. 85

room........................................................................................................................................................................................ 85

scheduledemail........................................................................................................................................................................ 86

scheduledreport ....................................................................................................................................................................... 87

search_index_result ................................................................................................................................................................ 88

send_cmd_queue..................................................................................................................................................................... 88

sequencing .............................................................................................................................................................................. 89

sequencing_rule ...................................................................................................................................................................... 90

sequencing_rule_condition ..................................................................................................................................................... 91

skill ......................................................................................................................................................................................... 92

system_setting......................................................................................................................................................................... 93

systemobject............................................................................................................................................................................ 93

technicalrequirement............................................................................................................................................................... 94

temp_usrgrp ............................................................................................................................................................................ 95

tracking_remark ...................................................................................................................................................................... 95

tracking_remark_a .................................................................................................................................................................. 96

transaction_info ...................................................................................................................................................................... 97

trusted_ip ................................................................................................................................................................................ 97

user_attribute .......................................................................................................................................................................... 97

user_category .......................................................................................................................................................................... 98

user_course ............................................................................................................................................................................. 99

user_notification ..................................................................................................................................................................... 99

user_objective ....................................................................................................................................................................... 100

user_role ............................................................................................................................................................................... 101

usr ......................................................................................................................................................................................... 101

Contents vii

usr_xref ................................................................................................................................................................................. 104

vendor ................................................................................................................................................................................... 104

waitlisteduser ........................................................................................................................................................................ 105

zone_preference .................................................................................................................................................................... 106

Learning Server Database Schema ....................................................................................................................................... 107

viii Workplace Collaborative Learning Database Architecture

Contents ix

Overview The Workplace Collaborative Learning Server database stores information about users, courses, the catalog, and other settings needed to run Workplace Collaborative Learning. In addition, it contains auditing information that provides a record of events, such as a course being removed from the course catalog or a student being registered for a course.

Collaborative Learning entities and their relationships are stored in tables in these databases. This guide presents lists and diagrams to summarize the schema for the Learning Server database.

Workplace Collaborative Learning Database Architecture 1

2 Workplace Collaborative Learning Database Architecture

Learning Server Database Architecture This chapter summarizes the entities and relationships stored in the Learning Server database. The tables in this chapter contain updated Release 2.0 information. The diagram at the end of the chapter illustrates the schema.

Key Summary Report Learning Server Database entities Entity Name Key Name Key Type Unique acl acl_pk PrimaryKey YES acl aclupdtime_i Inversion Entry NO aclcriteria aclcriteria_pk PrimaryKey YES aclcriteria aclc_acl_i Inversion Entry NO announcement announce_pk PrimaryKey YES application_server appserv_pk PrimaryKey YES application_server appserv_utime Inversion Entry NO application_server appserv_ak Alternate Key YES application_setting appset_pk PrimaryKey YES application_setting appset_upindex Inversion Entry NO approvalrequest ar_pk PrimaryKey YES approvalrequest ar_uoidceoidooid_i Inversion Entry NO approvalrequest ar_ceoid_i Inversion Entry NO approvalrequest ar_eoid_i Inversion Entry NO attempt attempt_pk PrimaryKey YES attempt attempt_ak Alternate Key YES attempt_a attempta_pk PrimaryKey YES attempt_a attempta_ak Alternate Key YES attribute attribute_pk PrimaryKey YES attribute attribute_s_i Inversion Entry NO attribute attribute_dl_i Inversion Entry NO attribute_category ac_pk PrimaryKey YES attribute_category ac_ak Alternate Key YES auditaction aa_pk PrimaryKey YES auditaction aa_ai_u Alternate Key YES auditlog al_pk PrimaryKey YES auditstream as_pk PrimaryKey YES auditstream as_mscode_u Alternate Key YES automatic_role autorole_pk PrimaryKey YES automatic_role autorole_uptime Inversion Entry NO automatic_role autorole_roid_i Inversion Entry NO autoroster_criteria arcriteria_pk PrimaryKey YES booking book_pk PrimaryKey YES booking book_offeroid_i Inversion Entry NO booking book_room_i Inversion Entry NO booking_requirement bookreq_pk PrimaryKey YES calendar_element calelemnt_pk PrimaryKey YES calendar_element calelemnt_sro_i Inversion Entry NO calendar_element calelemnt_sero_i Inversion Entry NO calendar_element calelemnt_setime_i Inversion Entry NO calendar_element_reference calelemtref_pk PrimaryKey YES cascaded_permission cascperm_pk PrimaryKey YES catalogentry ce_pk PrimaryKey YES catalogentry ce_lcode_u Inversion Entry NO catalogentry ce_master_i Inversion Entry NO

Workplace Collaborative Learning Database Architecture 3

catalogentry_attribute catattrib_pk PrimaryKey YES catalogentry_attribute catattrib_ak Alternate Key YES catalogentry_keyword cek_pk PrimaryKey YES catalogentry_keyword cek_keywordname_i Inversion Entry NO catalogentry_keyword cek_cl_i Inversion Entry NO catalogentry_language cel_pk PrimaryKey YES catalogentry_language cel_ak Alternate Key YES catalogentry_language cel_ceoid Inversion Entry NO catalogentry_text catenttext_pk PrimaryKey YES catalogentry_text catentry_ak Alternate Key YES catalogentry_text ce_ltitle_i Inversion Entry NO catalogentry_text ce_ldesc_i Inversion Entry NO category cat_pk PrimaryKey YES category cat_ak Alternate Key YES category cat_dl_i Inversion Entry NO certificate cert_pk PrimaryKey YES certificate_master cert_master_pk PrimaryKey YES certificate_master cert_master_ak Alternate Key YES cm_package cmpkg_pk PrimaryKey YES cm_package cmpkg_ak Alternate Key YES cm_package cmpack_pid_i Inversion Entry NO cm_webserver cmweb_pk PrimaryKey YES collaboration collab_pk PrimaryKey YES customfield customfield_pk PrimaryKey YES customfield customfield_ak Alternate Key YES customfield_option custfldopt_pk PrimaryKey YES customfield_value cfvalue_pk PrimaryKey YES customfield_value cfvalue_ak Alternate Key YES customfield_value cfvalue_val_i Inversion Entry NO customization_set custset_pk PrimaryKey YES customization_set custset_updatetime Inversion Entry NO enrollable_approver eapp_pk PrimaryKey YES enrollable_approver eapp_ak Alternate Key YES enrollable_attendee ea_pk PrimaryKey YES enrollable_attendee ea_ak Alternate Key YES enrollablehelper eh_pk PrimaryKey YES enrollablehelper eh_ceoid_u Alternate Key YES enrollableofferinghelper eoh_pk PrimaryKey YES enrollableofferinghelper eoh_ooid_u Alternate Key YES enrollment enrollment_pk PrimaryKey YES enrollment enroll_user_i Inversion Entry NO enrollment enroll_offer_i Inversion Entry NO enrollment enroll_ceoid_i Inversion Entry NO equipment_request equipreq_pk PrimaryKey YES instructor inst_pk PrimaryKey YES instructor inst_user_i Inversion Entry NO instructor inst_vendor_i Inversion Entry NO instructor inst_group_i Inversion Entry NO instructor inst_lnl_i Inversion Entry NO instructor inst_fnl_i Inversion Entry NO instructor_assignment instassign_pk PrimaryKey YES instructor_assignment instassign_ak Alternate Key YES instructor_booking instbook_pk PrimaryKey YES instructor_group inst_group_pk PrimaryKey YES instructor_group inst_group_ak Alternate Key YES instructor_skill instskill_pk PrimaryKey YES instructor_zone instzone_pk PrimaryKey YES interaction interact_pk PrimaryKey YES

4 Workplace Collaborative Learning Database Architecture

interaction interact_attmpt_i Inversion Entry NO interaction_a interacta_pk PrimaryKey YES interaction_a intract_atmpta_i Inversion Entry NO item_access itemacc_pk PrimaryKey YES kmap_keyword kmap_pk PrimaryKey YES kmap_keyword kmap_md_i Inversion Entry NO location loc_pk PrimaryKey YES location loc_namel_i Inversion Entry NO lrnfolder folder_pk PrimaryKey YES lrnfolder folder_ak Alternate Key YES lrnfolder_lom folderlom_pk PrimaryKey YES lrnfolder_lom folderlom_ak Alternate Key YES lrnpartition partition_pk PrimaryKey YES lrnplan plan_pk PrimaryKey YES lrnplan plan_uoid_i Inversion Entry NO lrnplan_item planitem_pk PrimaryKey YES lrnplan_item planitem_po_i Inversion Entry NO lrnuser_partition usr_part_pk PrimaryKey YES lrnuser_partition usr_part_ak Alternate Key YES lrnuser_partition usr_part_p_i Inversion Entry NO lrnversioninfo lrnversion_pk PrimaryKey YES lsrole lsrole_pk PrimaryKey YES lsrole lsr_updatetime_i Inversion Entry NO lvc_requirement lvcreq_pk PrimaryKey YES lvc_session lvcsess_pk PrimaryKey YES master master_pk PrimaryKey YES master m_code_i Inversion Entry NO master m_lang_i Inversion Entry NO master m_type_i Inversion Entry NO master m_mdtree_i Inversion Entry NO master_keyword masterkw_pk PrimaryKey YES master_keyword masterkw_kwn_i Inversion Entry NO master_keyword masterkw_ml_i Inversion Entry NO master_language ml_pk PrimaryKey YES master_language ml_ak Alternate Key YES master_language ml_moid_i Inversion Entry NO master_text mtext_pk PrimaryKey YES master_text mtext_ltitle_i Inversion Entry NO master_text mtext_ldesc_i Inversion Entry NO master_text mtext_ak Alternate Key YES master_tree mastertree_pk PrimaryKey YES master_tree mt_position_ak Alternate Key YES master_tree mt_refoid_i Inversion Entry NO metadata metadata_pk PrimaryKey YES metadata_annotation mdannotation_pk PrimaryKey YES metadata_contributor mdcontributor_pk PrimaryKey YES metadata_keyword mdk_pk PrimaryKey YES metadata_keyword mdk_ml_i Inversion Entry NO metadata_language mdl_pk PrimaryKey YES metadata_language mdl_ak Alternate Key YES metadata_text mt_pk PrimaryKey YES metadata_text mt_ak Alternate Key YES metadata_tree metadatatree_pk PrimaryKey YES metadata_tree metadatatree_ak Alternate Key YES metadata_xml mdx_pk PrimaryKey YES objective obj_pk PrimaryKey YES objective obj_ak Alternate Key YES objective_map objmap_pk PrimaryKey YES

Workplace Collaborative Learning Database Architecture 5

objective_map objmap_ak Alternate Key YES objective_text ot_pk PrimaryKey YES objective_text ot_ak Alternate Key YES offering offer_pk PrimaryKey YES offering offer_city_i Inversion Entry NO offering offer_state_i Inversion Entry NO offering offer_country_i Inversion Entry NO offering offer_ce_i Inversion Entry NO offering_tree offeringtree_pk PrimaryKey YES offering_tree ot_position_u Alternate Key YES offering_tree ot_refoid_i Inversion Entry NO permission permission_pk PrimaryKey YES permission p_updatetime_i Inversion Entry NO prerequisite prereq_pk PrimaryKey YES prof_level pto_pk PrimaryKey YES prof_level pto_ak Alternate Key YES prof_set profset_pk PrimaryKey YES progress progress_pk PrimaryKey YES progress progress_ak Alternate Key YES progress progress_mdt_i Inversion Entry NO progress_a progressa_pk PrimaryKey YES repeating_calendar_element rce_pk PrimaryKey YES repeating_calendar_element rce_sro_i Inversion Entry NO repeating_calendar_element rce_sero_i Inversion Entry NO repeating_calendar_element rce_sed_i Inversion Entry NO report_file repfile_pk PrimaryKey YES report_recipient reprecip_pk PrimaryKey YES reportselection repsel_pk PrimaryKey YES reportselection_item repselitem_pk PrimaryKey YES role_permission rolepermission_pk PrimaryKey YES rollup_rule rr_pk PrimaryKey YES rollup_rule rr_seqoid_i Inversion Entry NO rollup_rule_condition pk_rrc PrimaryKey YES rollup_rule_condition rrc_rro_i Inversion Entry NO room room_pk PrimaryKey YES room room_loc_i Inversion Entry NO room room_namel_i Inversion Entry NO scheduledemail schedemail_pk PrimaryKey YES scheduledreport schedrep_pk PrimaryKey YES scheduledreport schedrep_own_i Inversion Entry NO search_index_result sir_pk PrimaryKey YES send_cmd_queue scque_pk PrimaryKey YES send_cmd_queue scque_seqid Alternate Key YES sequencing seq_pk PrimaryKey YES sequencing seq_ref_i Inversion Entry NO sequencing_rule sr_pk PrimaryKey YES sequencing_rule sr_seqoid_i Inversion Entry NO sequencing_rule_condition src_pk PrimaryKey YES skill skill_pk PrimaryKey YES skill skill_ak Alternate Key YES system_setting sysset_pk PrimaryKey YES systemobject sysobj_pk PrimaryKey YES technicalrequirement techreq_pk PrimaryKey YES technicalrequirement mdtr_metadataoid_i Inversion Entry NO temp_usrgrp tmpusrgrp_pk PrimaryKey YES tracking_remark trackrem_pk PrimaryKey YES tracking_remark trackrem_prog_i Inversion Entry NO tracking_remark_a trackrema_pk PrimaryKey YES

6 Workplace Collaborative Learning Database Architecture

tracking_remark_a trackrem_proga_i Inversion Entry NO transaction_info transinfo_pk PrimaryKey YES trusted_ip trustip_pk PrimaryKey YES user_attribute uattrib_pk PrimaryKey YES user_attribute uattrib_ak Alternate Key YES user_category ucategory_pk PrimaryKey YES user_category ucategory_ak Alternate Key YES user_course ucourse_pk PrimaryKey YES user_notification unotify_pk PrimaryKey YES user_notification un_uoid_i Inversion Entry NO user_objective uobj_pk PrimaryKey YES user_objective uobj_ak Alternate Key YES user_role userrole_pk PrimaryKey YES user_role ur_useroid_i Inversion Entry NO usr user_pk PrimaryKey YES usr usr_ak Alternate Key YES usr usr_fn_i Inversion Entry NO usr usr_ln_i Inversion Entry NO usr usr_sln_i Inversion Entry NO usr usr_sn_i Inversion Entry NO usr_xref usrxref_pk PrimaryKey YES usr_xref usrxref_ak Alternate Key YES vendor vend_pk PrimaryKey YES vendor vend_ak Alternate Key YES waitlisteduser wlu_pk PrimaryKey YES waitlisteduser wlu_uoidoffoid_u Alternate Key YES zone_preference zone_pk PrimaryKey YES zone_preference zone_ak Alternate Key YES

Workplace Collaborative Learning Database Architecture 7

acl

Summary

Entity Name acl Primary Keys oid Definition Access control entries. Multiple entries for the same item is a logical OR. You

get the highest ACL access you are permitted from all ACLs. This table is cached by the application. The application poll the DB to find changed records based on updatetime.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N pkey node_oid CHAR(20) N fkey to tree table ­

usually catalogentry Domain_id CHAR(4) N 4 char id of the table

ACL is controlling access to.

accesslevel INTN Y 100=read 200=write 300=manage

scope INTN Y 1=Access to this node and all children 2=Access to this node and immediate children 3=Access to this node only

status CHAR(1) Y A = active, I = inactive, D = delete

updatetime DATETIME Y Time record was last modified. Local DB time, not GMT. Updated by DB trigger.

node_position VARCHAR(255) Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction status Rule status_Domain @var in ('A','I','D') accesslevel Check chk_ack_al @var in (100,200,300) scope Check chk_acl_sc @var between 1 and 3

Relationships

Parent Entity Child Entity Type Relationship Name acl aclcriteria Non-Identifying ref_acl_aclc

8 Workplace Collaborative Learning Database Architecture

aclcriteria

Summary

Entity Name aclcriteria Primary Keys oid Definition Sets which ACLs apply to which users based on LDAP style matching criteria.

Multiple criteria are a logical AND, you must match all criteria entries in order for ACL to be used.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N acl_oid CHAR(20) N match_type INTN Y see interface

com.lotus.elearn.user .matchable 0 Match Name 1 Match Group 2 Match Attribute

match_string NVARCHAR(10 N 256 N char 25) if individual - match

on userid like *CAM* if group - match on group if attribute - example would be ismanager. match_value is then used.

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction match_type Rule match_type_Domain @var between 0 and 2

Relationships

Parent Entity Child Entity Type Relationship Name acl aclcriteria Non-Identifying ref_acl_aclc

announcement

Summary

Entity Name announcement Primary Keys oid Definition Table cached by application. Displayed to users based on LDAP attributes etc

found in match_string, similar to aclcriteria. This table can grow very large.

Workplace Collaborative Learning Database Architecture 9

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N createdate DATETIME Y timestamp when

created match_type INTN Y see interface

com.lotus.elearn.user .matchable 0 Match Name 1 Match Group 2 Match Attribute 3 Match Neg Attribute

status CHAR(1) Y A = active, I = inactive, D = delete

updatetime DATETIME Y Local DB systemtime, not GMT. Updated by DBtrigger.

lang VARCHAR(10) Y * means display for all languages

match_string NVARCHAR(10 Y 256 N char 25) similar to

ACLcriteria matching announcement_text NTEXT/LONG Y Code says maximum

NVARCHAR size is 4000 bytes. DB allows for more.

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction status Rule status_Domain @var in ('A','I','D') match_type Check chk_ann_mt @var between 0 and 3

application_server

Summary

Entity Name application_server Primary Keys oid Definition One record for each DS, LVC, chat, discussion, KM servers.

This table will be small.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N server_type INTN Y (serverlocator.java)

SELF_SERVER_TYPE = 1 LMM_SERVER_TYP

10 Workplace Collaborative Learning Database Architecture

E = 2 DS_SERVER_TYPE = 3 LVC_SERVER_TYPE = 4 CM_SERVER_TYPE = 5 DISC_SERVER_TYP E = 6 CHAT_SERVER_TYP E = 7

is_services_secure BIT Y server_id NVARCHAR(25 N 64 N chars

7) description NVARCHAR(40 Y 1000 N chars

01) base_url VARCHAR(4001 Y 1000 N chars

) username NVARCHAR(25 Y 64 N chars

7) password NVARCHAR(25 Y 64 N chars

7) status CHAR(1) Y A = active, I =

inactive, D = delete updatetime DATETIME Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction is_services_secure Default 0 status Rule status_Domain @var in ('A','I','D') server_type Check chk_appsrv_st @var between 1 and 7

application_setting

Summary

Entity Name application_setting Primary Keys oid Definition Each record overrides an application setting found in settings.xml. This table

is cached by the application. Changes should be picked up when next polled by the application. If the LMM DB is moved to another deployment for testing, make sure the data in this table is cleared.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N tag VARCHAR(2000 N

) encoded_attributes VARCHAR(2000 Y

) char_data VARCHAR(2000 Y

)

Workplace Collaborative Learning Database Architecture 11

update_index BIGINT Y

approvalrequest

Summary

Entity Name approvalrequest Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N user_oid CHAR(20) N catalogentry_oid CHAR(20) N Internal unique key. offering_oid CHAR(20) Y manager_oid CHAR(20) Y approved_by_oid CHAR(20) Y enrollment_oid CHAR(20) Y datesent DATETIME N state INTN N (approvalmodule.jav

a) STATUS_PENDING_ APPROVAL= 1 STATUS_APPROVE D= 2 STATUS_DENIED= 3

action_type INTN Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction state Check chk_appreq_s @var between 1 and 3

Relationships

Parent Entity Child Entity Type Relationship Name usr approvalrequest Non-Identifying ref_appreq_usr catalogentry approvalrequest Non-Identifying ref_ce_appreq enrollment approvalrequest Non-Identifying ref_enroll_ar offering approvalrequest Non-Identifying ref_off_appreq usr approvalrequest Non-Identifying ref_usr_ar_ab usr approvalrequest Non-Identifying ref_usr_ar_m

12 Workplace Collaborative Learning Database Architecture

attempt

Summary

Entity Name attempt Primary Keys oid Definition A tracked interaction of a learner with an activity. The storage requirements

for this table can become large.

Attributes

Attribute/Logical Domain Datatype Rolename oid CHAR(44) modified_state INTN

progress_oid CHAR(44) attempt_count INTN starttime DATETIMEendtime DATETIMEsession_time NUMERIC(10, 2)

session_start DATETIMEduration NUMERIC(10, 2) completion_amount NUMERIC(6, 5)is_satisfied BIT raw_score NUMERIC(8, 2)max_score NUMERIC(8, 2)min_score NUMERIC(8, 2)runtime_status INTN

entry_status INTN

exit_status INTN

location NVARCHAR(10 25)

Null

N Y

N N N Y Y

Y Y Y Y Y Y Y N

N

Y

Y

Definition

NOT_MODIFIED= 0 DS_MODIFIED_CRE ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

Holds cmi.core.session_time .

0 = not attempted 1 = incomplete 2 = completed 3 = passed 4 = failed 5 = browsed 0 = ab initio 1 = resume 2 = other 0 = normal 1 = suspend 2 = timeout 3 = logout 255 N chars

Workplace Collaborative Learning Database Architecture 13

is_suspended BIT N Suspended state of a node's latest attempt. Applies to course, topic, and activity nodes.

suspend_data NTEXT/LONG Y NVARCHAR

Defaults, Rules, and Check Constraints

Attribute attempt_count is_suspendedmodified_state

Type Default

Default Rule

Name

modified_state_Domain

Restriction 0 0 @var between 0 and 6

attempt_count Rule nonneg_int_Domain @var between 0 and 2147483647

session_timeduration completion_amount

Rule Rule Check

nonneg_Domain nonneg_Domain chk_att_ca

@var >= 0 @var >= 0 completion_amount between 0 and 1

runtime_status Check chk_att_rs runtime_status between 0 and 5

entry_status Check chk_att_ens entry_status between 0 and 2

exit_status Check chk_att_exs exit_status between 0 and 3

Relationships

Parent Entity Child Entity Type Relationship Name progress attempt Non-Identifying ref_prog_att attempt interaction Non-Identifying ref_att_interact

attempt_a

Summary

Entity Name attempt_a Primary Keys oid Definition This table will contain archived attempt records. If these records are not

required online, the table can be truncated. Use the archive utility to restore records that are removed. A tracked interaction of a learner with an activity. The storage requirements for this table can become large.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(44) N modified_state INTN Y NOT_MODIFIED= 0

DS_MODIFIED_CRE ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE

14 Workplace Collaborative Learning Database Architecture

progress_oid attempt_count starttime endtime session_time

session_start duration completion_amount is_satisfied raw_score max_score min_score runtime_status

entry_status

exit_status

location

is_suspended

suspend_data

Defaults, Rules, and Check Constraints

ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

CHAR(44) N INTN N DATETIME N DATETIME Y NUMERIC(10, 2) Y Holds

cmi.core.session_time .

DATETIME Y NUMERIC(10, 2) Y NUMERIC(6, 5) Y BIT Y NUMERIC(8, 2) Y NUMERIC(8, 2) Y NUMERIC(8, 2) Y INTN N 0 = not attempted

1 = incomplete 2 = completed 3 = passed 4 = failed 5 = browsed

INTN N 0 = ab initio 1 = resume 2 = other

INTN Y 0 = normal 1 = suspend 2 = timeout 3 = logout

NVARCHAR(10 Y 255 N chars 25) BIT N Suspended state of a

node's latest attempt. Applies to course, topic, and activity nodes.

NTEXT/LONG Y NVARCHAR

Attribute Type Name Restriction attempt_count Default 0 is_suspended Default 0 modified_state Rule modified_state_Domain @var between 0 and 6 attempt_count Rule nonneg_int_Domain @var between 0 and

2147483647 session_time Rule nonneg_Domain @var >= 0 duration Rule nonneg_Domain @var >= 0

Workplace Collaborative Learning Database Architecture 15

attribute

Summary

Entity Name attribute Primary Keys oid Definition Roughly corresponds to LS5 UPROFS table. User profiles.

2.0 Being used as SKILL table.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N prof_set_oid CHAR(20) Y is_system BIT Y vendor_id VARCHAR(20) Y skill_id VARCHAR(20) Y name NVARCHAR(80 Y 200 N chars

0) LS5:UPROFS.UP_NA ME

description NVARCHAR(40 Y 1000 N chars 01) LS5:UPROFS.UP_DE

SC description_lower NVARCHAR(25 Y

5)

Relationships

Parent Entity Child Entity Type Relationship Name prof_set attribute Non-Identifying attribute lrnplan_item Non-Identifying attribute catalogentry_attribute Non-Identifying ref_att_cea attribute attribute_category Non-Identifying ref_attcat_att attribute user_attribute Non-Identifying ref_usratt_att

attribute_category

Summary

Entity Name attribute_category Primary Keys oid Definition Roughly corresponds to LS5 UPCATS. User profile categories.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N category_oid CHAR(20) N attribute_oid CHAR(20) N prof_level_oid CHAR(20) Y Baseline value

16 Workplace Collaborative Learning Database Architecture

weight INTN Y prof_level_info NVARCHAR(40 Y

00) description NVARCHAR(80 Y

0)

Relationships

Parent Entity Child Entity Type Relationship Name prof_level attribute_category Non-Identifying category attribute_category Non-Identifying ref_acat_cat attribute attribute_category Non-Identifying ref_attcat_att

auditaction

Summary

Entity Name auditaction Primary Keys oid Definition All auditable actions that can trigger an audit event

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N action_id VARCHAR(30) N same across any db

or schema description_templat NVARCHAR(20 Y e.g. student 0 e 00) enrolled in course 1 module_name VARCHAR(30) Y e.g. enrollment status CHAR(1) Y A = active, I =

inactive, D = delete updatetime DATETIME Y This column is

queried many times. If this table can get big, this should be indexed.

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction status Default 'A'

Relationships

Parent Entity Child Entity Type Relationship Name auditaction auditlog Non-Identifying ref_aa_al

Workplace Collaborative Learning Database Architecture 17

auditlog

Summary

Entity Name auditlog Primary Keys oid Definition AuditEntry objects. Each record represents a single audit event.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N auditaction_oid CHAR(20) N auditstream_oid CHAR(20) N actiontime DATETIME Y time of the auditable

action action_description NVARCHAR(20 Y description_template

48) string from auditaction table with placeholders replaced with actual data.

subject_type CHAR(1) Y P=person, G=group, I=inanimate

subject_id VARCHAR(255) Y from usr.remote_id when subject is a person

subject_first_name NVARCHAR(12 Y from usr.first_name 8) when subject is a

person subject_last_name NVARCHAR(12 Y from usr.last_name

8) when subject is a person

user_id VARCHAR(255) Y from usr.remote_id user_first_name NVARCHAR(12 Y from usr.first_name

8) user_last_name NVARCHAR(12 Y from usr.last_name

8)

Relationships

Parent Entity Child Entity Type Relationship Name auditaction auditlog Non-Identifying ref_aa_al auditstream auditlog Non-Identifying ref_as_al

auditstream

Summary

Entity Name auditstream Primary Keys oid

18 Workplace Collaborative Learning Database Architecture

Definition matching strings that will determine if an audit actions generates an auditentry row in the AUDITLOG table

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N match_string NVARCHAR(10 Y LDAP type matching

25) string used by the ACL/Matching engine. e.g. *Westford/IBM. 255 for DB2 (index)

match_type INTN Y match_value NVARCHAR(10 Y

25) code VARCHAR(30) Y group code name to

which the matching strings belong e.g. IBM

status CHAR(1) Y A = active, I = inactive, D = delete

updatetime DATETIME Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction status Default 'A'

Relationships

Parent Entity Child Entity Type Relationship Name auditstream auditlog Non-Identifying ref_as_al

automatic_role

Summary

Entity Name automatic_role Primary Keys oid Definition Multiple records in this table are a logical AND (union)

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N role_oid CHAR(20) Y matching_string NVARCHAR(10 Y 256 N char

25) match_type INTN Y see interface

com.lotus.elearn.user .matchable

Workplace Collaborative Learning Database Architecture 19

0 Match Name 1 Match Group 2 Match Attribute 3 Match Neg Attribute

status CHAR(1) Y A = active, I = inactive, D = delete

updatetime DATETIME Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction status Rule status_Domain @var in ('A','I','D') match_type Check chk_ar_mt @var between 0 and 3

Relationships

Parent Entity Child Entity Type Relationship Name lsrole automatic_role Non-Identifying ref_role_ar

autoroster_criteria

Summary

Entity Name autoroster_criteria Primary Keys oid Definition LDAP search for new students to be rostered.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N match_string NVARCHAR(10 Y 256 N char

25) match_type INTN Y see interface

com.lotus.elearn.user .matchable 0 Match Name 1 Match Group 2 Match Attribute

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction match_type Rule match_type_Domain @var between 0 and 2

20 Workplace Collaborative Learning Database Architecture

booking

Summary

Entity Name booking Primary Keys oid Definition For a specific offering, this schedules resources that are needed.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N booking_requiremen CHAR(20) N t_oid offering_oid CHAR(20) N room_oid CHAR(20) Y blocktype VARCHAR(32) Y calendar_description NVARCHAR(40 Y 1000 N chars

01) calendar_title NVARCHAR(80 Y 200 N chars

0) ical_id_instructor VARCHAR(256) Y ical_id_student VARCHAR(256) Y ical_recurrence_id DATETIME Y ical_index INTN Y

Relationships

Parent Entity Child Entity Type Relationship Name booking_requirement booking offering booking room booking booking equipment_request

Non-Identifying ref_br_book Non-Identifying ref_off_book Non-Identifying ref_room_book Non-Identifying ref_book_er

booking_requirement

Summary

Entity Name booking_requirement Primary Keys oid Definition For specific course - when an offering is created, what resources will need to

be booked. Instructors, rooms, etc.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N metadatatree_oid CHAR(20) Y master_oid CHAR(20) Y disp_order INTN Y

Workplace Collaborative Learning Database Architecture 21

blocktype VARCHAR(62) Y activitytype VARCHAR(64) Y days DECIMAL(18, 2) Y hoursperday DECIMAL(18, 2) Y instructor_count INTN Y roomtype VARCHAR(64) Y comments NTEXT/LONG Y

NVARCHAR schedule_on_day INTN Y

status INTN Y

Defaults, Rules, and Check Constraints

Used by author to request that a scheduled activity be scheduled on n day of the course. Actual schedule not determined until offering is created. 1=deleted 0=active

Attribute Type Name Restriction status Default 0 disp_order Rule integer_Domain @var between ­

2147483648 and 2147483647

instructor_count Check chk_bookreq_ic @var between 0 and 32767

schedule_on_day Check chk_bookreq_sod @var between 0 and 127 status Check chk_br_status @var between 0 and 1

Relationships

Parent Entity Child Entity Type Relationship Name master booking_requirement Non-Identifying ref_mast_bookreq metadata_tree booking_requirement Non-Identifying ref_mt_bookreq booking_requirement booking Non-Identifying ref_br_book

calendar_element

Summary

Entity Name calendar_element Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N title NVARCHAR(80 Y 200 N chars

0) description NVARCHAR(40 Y 1000 N chars

01)

22 Workplace Collaborative Learning Database Architecture

schedulable_type VARCHAR(20) Y schedulable_event_t VARCHAR(20) Y ype start_time DATETIME Y end_time DATETIME Y schedulable_ref_oid CHAR(20) Y schedulable_event_r CHAR(20) Y ef_oid

calendar_element_reference

Summary

Entity Name calendar_element_reference Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Rolename oid CHAR(20) title NVARCHAR(80

0) description NVARCHAR(40

01) schedulable_type VARCHAR(20) schedulable_event_t VARCHAR(20) ype refers_to_ref_oid CHAR(20) refers_to_type VARCHAR(20) schedulable_ref_oid CHAR(20) schedulable_event_o CHAR(20) id

cascaded_permission

Summary

Entity Name cascaded_permission Primary Keys child_oid,parent_oid Definition

Attributes

Null Definition

N Y 200 N chars

Y 1000 N chars

Y Y

Y Y Y Y

Attribute/Logical Domain Datatype Null Definition Rolename child_oid CHAR(20) N parent_oid CHAR(20) N

Workplace Collaborative Learning Database Architecture 23

Relationships

Parent Entity Child Entity Type Relationship Name permission cascaded_permission Identifying ref_perm_cpc permission cascaded_permission Identifying ref_perm_cpp

catalogentry

Summary

Entity Name catalogentry Primary Keys oid Definition Course as viewed by student in course catalog. Copied from master, data

from master can be modified. Can have multiple catalogentries for a master. If course structure is changed, master_oid is updated.

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid owner_oid master_oid code

code_lower lang display_lang

CHAR(20) CHAR(20) CHAR(20) NVARCHAR(80)

NVARCHAR(80) VARCHAR(10) VARCHAR(100)

N Y Y N

Y Y Y

Internal unique key.

20 NLS chars Displayed to users.

list of all languages course is available in

server_id

status

NVARCHAR(25 7) INTN

Y

N

langstring format. UI parses this to come up with list to display. 64 N char

(catalogconst.java) STATUS_DRAFT= 1 STATUS_AVAILABL E= 2 STATUS_INACTIVE = 3 STATUS_IN_PROGR ESS= 4 STATUS_INCOMPL ETE= 5 STATUS_CANCELL ED= 6 STATUS_COMPLET E= 7 STATUS_PENDING_ USER_UPDATE= 8 STATUS_REJECTED = 9 STATUS_SUPERCEE DED= 10

24 Workplace Collaborative Learning Database Architecture

STATUS_DELETED= 11

type INTN Y (catalogconst.java) TYPE_FOLDER = 0 TYPE_COURSE = 1 TYPE_CURRICULU M = 2 TYPE_CERTIFICATE = 3

createdate DATETIME Y expiredate DATETIME Y creator_oid CHAR(20) Y previewable BIT N registered BIT N 1=yes,0=no is_schedulable BIT N If there is an LVC

session or booking requirement, then TRUE otherwise FALSE

is_for_credit BIT N delivery_medium INTN Y How course is

delivered, e.g. virtual, physical, blended. (catalogconst.java) DELIVERY_VIRTUA L= 1 (online) DELIVERY_PHYSIC AL= 2 (classroom) DELIVERY_BLENDE D= 3

allow_anon_enrollm BIT Y ent allow_discon_use BIT Y allow_discon_force_ BIT Y online ds_deployment_stat INTN Y (catalogconst.java) us NOT_DEPLOYED= 0

DEPLOYING= 1 SUCCEEDED= 2 FAILED= 3 NOT_APPLICABLE= 4

deployment_status INTN Y (catalogconst.java) NOT_DEPLOYED= 0 DEPLOYING= 1 SUCCEEDED= 2 FAILED= 3 NOT_APPLICABLE= 4

ds_send_trans_id INTN Y email_contact_oid CHAR(20) Y email_contact_email NVARCHAR(10 Y 256 N char _addr 25) has_content BIT Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction previewable Default 0

Workplace Collaborative Learning Database Architecture 25

registered is_for_credit allow_anon_enrollment allow_discon_use allow_discon_force_online ds_deployment_status deployment_status ds_send_trans_id has_content status type delivery_medium ds_deployment_status deployment_status

Relationships

Default Default Default Default Default Default Default Default Default Check Check Check Check Check

chk_ce_status chk_ce_type chk_ce_dm chk_ce_dds chk_cd_ds

0 1 0 0 0 0 0 0 0 @var between 1 and 11 @var between 0 and 3 @var between 1 and 3 @var between 0 and 4 @var between 0 and 4

Parent Entity Child Entity Type Relationship Name master catalogentry Non-Identifying ref_mast_ce usr catalogentry Non-Identifying ref_usr_ce catalogentry approvalrequest Non-Identifying ref_ce_appreq catalogentry catalogentry_keywor Non-Identifying ref_ce_cek

d catalogentry catalogentry_languag Non-Identifying ref_ce_cel

e catalogentry catalogentry_text Non-Identifying ref_ce_cet catalogentry enrollment Non-Identifying ref_ce_e catalogentry enrollableofferinghelp Non-Identifying ref_ce_eoh

er catalogentry enrollablehelper Non-Identifying ref_ce_erh catalogentry instructor_assignment Non-Identifying ref_ce_ia catalogentry offering Non-Identifying ref_ce_off catalogentry catalogentry_attribute Non-Identifying ref_cea_ce

catalogentry_attribute

Summary

Entity Name catalogentry_attribute Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N catalogentry_oid CHAR(20) N Internal unique key. attribute_oid CHAR(20) N prof_level_oid CHAR(20) N skills mgmt

proficiency level. is_required BIT Y requirement_level INTN Y

Defaults, Rules, and Check Constraints

26 Workplace Collaborative Learning Database Architecture

Attribute Type Name Restriction is_required Default 0 requirement_level Check @var between 0 and 2

Relationships

Parent Entity Child Entity Type Relationship Name prof_level catalogentry_attribute Non-Identifying attribute catalogentry_attribute Non-Identifying ref_att_cea catalogentry catalogentry_attribute Non-Identifying ref_cea_ce

catalogentry_keyword

Summary

Entity Name catalogentry_keyword Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N catalogentry_oid CHAR(20) N lang VARCHAR(10) Y keyword NVARCHAR(40 N

01) keyword_lower NVARCHAR(25 Y

5)

Relationships

Parent Entity Child Entity Type Relationship Name catalogentry catalogentry_keywor Non-Identifying ref_ce_cek

d

catalogentry_language

Summary

Entity Name catalogentry_language Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename

Workplace Collaborative Learning Database Architecture 27

oid CHAR(20) N catalogentry_oid CHAR(20) N Internal unique key. lang VARCHAR(100) N

Relationships

Parent Entity Child Entity Type Relationship Name catalogentry catalogentry_languag Non-Identifying ref_ce_cel

e

catalogentry_text

Summary

Entity Name catalogentry_text Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N catalogentry_oid CHAR(20) N Internal unique key. lang VARCHAR(10) Y title NVARCHAR(40 Y 1000 N chars

01) description NVARCHAR(40 Y 2000 N chars

02) title_lower NVARCHAR(25 Y

5) description_lower NVARCHAR(25 Y

5)

Relationships

Parent Entity Child Entity Type Relationship Name catalogentry catalogentry_text Non-Identifying ref_ce_cet

category

Summary

Entity Name category Primary Keys oid Definition Roughly corresponds to LS5 UPCATS table

2.0 being used as JOB table

28 Workplace Collaborative Learning Database Architecture

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N is_system BIT Y vendor_id VARCHAR(20) Y foreign key to

external system ­source of skills management job Definition

job_id VARCHAR(20) Y foreign key to external system. job identifier

name NVARCHAR(25 Y 63 N chars 7) LS5:UPCATS.UC_N

AME description NVARCHAR(40 Y 1000 N chars

01) LS5:UPCATS.UC_DE SC

description_lower NVARCHAR(25 Y 5)

Relationships

Parent Entity Child Entity Type Relationship Name category lrnplan_item Non-Identifying category attribute_category Non-Identifying ref_acat_cat category user_category Non-Identifying ref_cat_ucat

certificate

Summary

Entity Name certificate Primary Keys oid Definition

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid CHAR(20) N master_oid

user_oid

CHAR(20)

CHAR(20)

N

N

Internal Unique ID (PK). Generated on package import. the oid of the student to whom this

state INTN Y certificate belongs the current status of the certificate (certificatebean.java) 1=active 2=expired 3=renewal

Workplace Collaborative Learning Database Architecture 29

awarded_on DATETIME Y date awarded expires_on DATETIME Y date certificate

expires warning_mail_sent INTN Y renewal_started_on DATETIME Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction warning_mail_sent Rule nonneg_int_Domain @var between 0 and

2147483647 state Check chk_cert_state state between 1 and 3

Relationships

Parent Entity Child Entity Type Relationship Name master certificate Non-Identifying ref_mast_cert usr certificate Non-Identifying ref_u_cert

certificate_master

Summary

Entity Name certificate_master Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N master_oid CHAR(20) N Internal Unique ID

(PK). Generated on package import.

renew_tree_root_oid CHAR(20) Y certificate_validity_p INTN Y eriod max_time_to_compl INTN Y ete completion INTN Y 1=autocomplete -

automatically receive certificate when courses completed 2=manualcomplete ­admin must approve granting of certificate

is_renewable BIT N

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction certificate_validity_period Rule nonneg_int_Domain @var between 0 and

2147483647

30 Workplace Collaborative Learning Database Architecture

max_time_to_complete Rule nonneg_int_Domain @var between 0 and 2147483647

completion Check chk_cm_c @var between 1 and 2

Relationships

Parent Entity Child Entity Type Relationship Name master certificate_master Non-Identifying ref_mast_cm

cm_package

Summary

Entity Name cm_package Primary Keys oid Definition content management - each imported package has a record here.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N package_id VARCHAR(150) Y package_version VARCHAR(50) Y structure_version VARCHAR(50) Y content_version VARCHAR(50) Y locale VARCHAR(20) Y course_id VARCHAR(254) Y Basically a

concatenation of package_id and structure_version. Uniquely identifies a package.

course_structure_id VARCHAR(254) Y course_content_id VARCHAR(254) Y directory NVARCHAR(20 Y 512 N chars

49) pkg_name NVARCHAR(10 Y

00) pkg_size NUMERIC(10, 1) Y download_pkg_nam NVARCHAR(10 Y e 00) email_recipients NTEXT/LONG Y

NVARCHAR deployment_status INTN Y INACTIVE = -1

ACTIVE = 0 SUCCESS = 1 FAIL = 2 UNDEPLOYED = 3

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction deployment_status Check chk_cmp_ds @var between -1 and 3

Workplace Collaborative Learning Database Architecture 31

Relationships

Parent Entity Child Entity Type Relationship Name cm_package cm_webserver Non-Identifying ref_cmp_cmw

cm_webserver

Summary

Entity Name cm_webserver Primary Keys oid Definition content management -

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N cm_package_oid CHAR(20) N server_url VARCHAR(4001 Y 1000 N chars

) filepath NVARCHAR(20 Y 512 N chars

49) content_version VARCHAR(50) Y deployment_status INTN Y INACTIVE = -1

ACTIVE = 0 SUCCESS = 1 FAIL = 2 UNDEPLOYED = 3

ftp_username NVARCHAR(25 Y 7)

ftp_password NVARCHAR(25 Y 7)

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction deployment_status Check chk_cmw_ds @var between -1 and 3

Relationships

Parent Entity Child Entity Type Relationship Name cm_package cm_webserver Non-Identifying ref_cmp_cmw

collaboration

Summary

Entity Name collaboration Primary Keys oid

32 Workplace Collaborative Learning Database Architecture

Definition Discussion DB associated with a course. Ref_oid refers to ...

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N ref_oid CHAR(20) Y chat_server_id NVARCHAR(25 Y 63 N chars

7) discussion_server_id NVARCHAR(25 Y 63 N chars

7) discussion_file_nam NVARCHAR(20 Y 512 N chars e 49) discussion_db_title NVARCHAR(20 Y 512 N chars

49) discussion_template NVARCHAR(20 Y 512 N chars

49) discussion_type INTN Y (catalogconst.java)

NONE DDBFORALL DDBFOREACH URLFORALL URLFOREACH TEAMSPACEFORAL L = 5 TEAMSPACEFOREA CH = 6

discussion_url NVARCHAR(40 Y 1000 N chars 01)

full_text_indexing BIT N allow_email BIT N allow_student_email BIT N is_discussion_ncs BIT N discussion_ncs_insta VARCHAR(40) Y nce_id discussion_ncs_tem VARCHAR(40) Y plate_guid

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction full_text_indexing Default allow_email Default allow_student_email Default is_discussion_ncs Default discussion_type Check

0 0 0 0

chk_collab_dt @var between 0 and 6

customfield

Summary

Entity Name customfield Primary Keys oid Definition Custom fields added to a catalog entry. Can be extended to be for more than

Workplace Collaborative Learning Database Architecture 33

catalogentry in the future.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N name NVARCHAR(25 N 63 N char

7) Domain_id INTN N Indicates the Domain

to which this field applies, e.g. master, catalogentry, ALL, etc. The values are defined in the application (customfieldconst.ja va) DOMAIN_ALL= 1 DOMAIN_CATALO GENTYRY = 2 DOMAIN_MASTER = 3

createdate DATETIME Y type INTN N examples: text, drop-

down (customfieldconst.jav a) TYPE_TEXTBOX TYPE_DROP_DOW N = 2

default_value NVARCHAR(10 Y 256 N chars 25)

required BIT N required if active? searchable BIT N Shows up on search

page? active BIT N

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction required Default 0 searchable Default 0 active Default 0 Domain_id Check chk_cf_di @var between 1 and 3 type Check chk_cf_t @var between 1 and 2

Relationships

Parent Entity Child Entity Type Relationship Name customfield customfield_option Identifying ref_cf_cfo customfield customfield_value Non-Identifying ref_cf_cfv

34 Workplace Collaborative Learning Database Architecture

customfield_option

Summary

Entity Name customfield_option Primary Keys customfield_oid,val Definition Stores option values of catentry custom attributes for example for drop down

menus.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename customfield_oid CHAR(20) N val NVARCHAR(25 N 63 N char

7) oid CHAR(20) N display_order INTN Y

Relationships

Parent Entity Child Entity Type Relationship Name customfield customfield_option Identifying ref_cf_cfo

customfield_value

Summary

Entity Name customfield_value Primary Keys oid Definition Ties to record in catalogentry (or other entity) via ref_oid. Description (name,

etc) for field is found in customfield. Possible values can be found in customfield_option.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N customfield_oid CHAR(20) N ref_oid CHAR(20) N FK to item using the

foreign key. for example, a catalogentry_oid

val NVARCHAR(25 Y 63 Nchar 7)

val_lower NVARCHAR(25 Y 63 N char lowercase 7) for searching

Relationships

Parent Entity Child Entity Type Relationship Name

Workplace Collaborative Learning Database Architecture 35

customfield customfield_value Non-Identifying ref_cf_cfv

customization_set

Summary

Entity Name customization_set Primary Keys oid Definition Application can be customized for specific users based on LDAP attributes.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N name NVARCHAR(60) Y match_type INTN Y see interface

com.lotus.elearn.user .matchable 0 Match Name 1 Match Group 2 Match Attribute

match_value NVARCHAR(10 Y 256 N chars 25)

match_string NVARCHAR(10 Y 256 N char 25)

lmm_web_dir NVARCHAR(20 Y 512 n char 49)

lmm_resource_dir NVARCHAR(20 Y 512 n char 49)

ds_web_dir NVARCHAR(20 Y 512 n char 49)

ds_resource_dir NVARCHAR(20 Y 512 n char 49)

logo_url NVARCHAR(20 Y 1000 n char 49)

logoff_url NVARCHAR(20 Y 1000 n char 49)

use_images BIT N use_help BIT N use_css BIT N use_jsp BIT N use_templates BIT N use_text BIT N status CHAR(1) Y A = active, I =

inactive, D = delete updatetime DATETIME Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction use_images Default 0 use_help Default 0 use_css Default 0 use_jsp Default 0

36 Workplace Collaborative Learning Database Architecture

use_templates Default 0 use_text Default 0 match_type Rule match_type_Domain @var between 0 and 2 status Rule status_Domain @var in ('A','I','D')

enrollable_approver

Summary

Entity Name enrollable_approver Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N user_oid CHAR(20) N enrollablehelper_oid CHAR(20) N

Relationships

Parent Entity Child Entity Type Relationship Name usr enrollable_approver Non-Identifying ref_eapp_usr enrollablehelper enrollable_approver Non-Identifying ref_eh_eapp

enrollable_attendee

Summary

Entity Name enrollable_attendee Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N user_oid CHAR(20) N PK - Unique ID for

table enrollablehelper_oid CHAR(20) N

Relationships

Parent Entity Child Entity Type Relationship Name usr enrollable_attendee Non-Identifying ref_eatt_usr enrollablehelper enrollable_attendee Non-Identifying ref_eh_eatt

Workplace Collaborative Learning Database Architecture 37

enrollablehelper

Summary

Entity Name enrollablehelper Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N catalogentry_oid CHAR(20) N Internal unique key. enrollmin INTN Y -1 means no

minimum enrollmax INTN Y -1 means no

maximum haswaitlist BIT N 1=allowed to have a

waitlist allowselfenrollment BIT N allowselfunenrollme BIT N nt requiresmanagerapp BIT N roval requiresapproverap BIT N proval requirespayment BIT N requiresstudentonca BIT N nattendlist

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction haswaitlist Default 0 allowselfenrollment Default 0 allowselfunenrollment Default 0 requiresmanagerapproval Default 0 requiresapproverapproval Default 0 requirespayment Default 0 requiresstudentoncanattend Default 0 list enrollmin Check chk_eh_emin @var between -1 and

2147483647 enrollmax Check chk_eh_emax @var between -1 and

2147483647

Relationships

Parent Entity Child Entity Type Relationship Name catalogentry enrollablehelper Non-Identifying ref_ce_erh enrollablehelper enrollable_approver Non-Identifying ref_eh_eapp enrollablehelper enrollable_attendee Non-Identifying ref_eh_eatt

enrollableofferinghelper

38 Workplace Collaborative Learning Database Architecture

Summary

Entity Name enrollableofferinghelper Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N offering_oid CHAR(20) N catalogentry_oid CHAR(20) Y Internal unique key. start_reg_period DATETIME Y end_reg_period DATETIME Y enrollmin INTN Y enrollmax INTN Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction enrollmin Check chk_eoh_emin @var between -1 and

2147483674 enrollmax Check chk_eoh_emax @var between -1 and

2147483674

Relationships

Parent Entity Child Entity Type Relationship Name catalogentry enrollableofferinghelp Non-Identifying ref_ce_eoh

er offering enrollableofferinghelp Non-Identifying ref_o_eoh

er

enrollment

Summary

Entity Name enrollment Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N catalogentry_oid CHAR(20) N Internal unique key. offering_oid CHAR(20) Y user_oid CHAR(20) N PK - Unique ID for

table enrolldate DATETIME Y completed_on DATETIME Y

Workplace Collaborative Learning Database Architecture 39

state

onlinestate

is_for_credit source

archive_state

INTN Y (enrollmentbean.java ) UNKNOWN PENDING_APPROV AL APPROVED DENIED NOSHOW UNENROLLED ENROLLED ENROLLING = 101 COMPLETED INCOMPLETE

INTN Y (enrollmentbean.java ) STATE_ONLINE STATE_OFFLINE ? = 2

BIT N INTN Y 0 --- adminEnroll

1 --- selfEnroll 2 --- autoEnroll

INTN Y 10 -- migrateEnroll

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction is_for_credit Default 1 archive_state Default 0 state Check chk_enroll_s @var in

(0,1,2,3,10,90,100,101,11 0,111)

onlinestate Check chk_enroll_ols @var between 0 and 2 source Check @var in (0,1,2,10)

Relationships

Parent Entity Child Entity Type Relationship Name catalogentry enrollment Non-Identifying ref_ce_e offering enrollment Non-Identifying ref_off_enroll usr enrollment Non-Identifying ref_usr_enroll enrollment approvalrequest Non-Identifying ref_enroll_ar enrollment progress Non-Identifying ref_enroll_prog enrollment user_objective Non-Identifying ref_enroll_uobj

40 Workplace Collaborative Learning Database Architecture

equipment_request

Summary

Entity Name equipment_request Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N booking_oid CHAR(20) Y requestor_oid CHAR(20) Y User OID for

requestor requestor_comment NTEXT/LONG Y

NVARCHAR setup_comment NTEXT/LONG Y

NVARCHAR completed BIT Y 1 = yes

0 = no

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction completed Default 0

Relationships

Parent Entity Child Entity Type Relationship Name booking equipment_request Non-Identifying ref_book_er usr equipment_request Non-Identifying ref_usr_equipreq

instructor

Summary

Entity Name instructor Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N instructor_group_oi CHAR(20) Y d user_oid CHAR(20) Y PK - Unique ID for

table vendor_oid CHAR(20) Y

Workplace Collaborative Learning Database Architecture 41

first_name NVARCHAR(51 Y 128 N char 3)

first_name_lower NVARCHAR(25 Y 5)

last_name NVARCHAR(51 Y 128 N char 3)

last_name_lower NVARCHAR(25 Y 5)

second_name NVARCHAR(51 Y 128 N chars 3)

second_name_lower NVARCHAR(25 Y 5)

display_name NVARCHAR(51 Y 128 N chars 3)

second_last_name NVARCHAR(51 Y 128 N char 3)

second_last_name_l NVARCHAR(25 Y ower 5) instructor_phone NVARCHAR(51 Y 128 N chars

3) instructor_email NVARCHAR(10 Y 256 N chars

25) state_type BIT N yes = active

(available) no = not active (not available)

status INTN Y 0=active 1=deleted

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction state_type Default 1 status Default 0 status Check chk_inst_status @var between 0 and 1

Relationships

Parent Entity Child Entity Type Relationship Name instructor_group instructor Non-Identifying ref_ig_inst usr instructor Non-Identifying ref_usr_inst vendor instructor Non-Identifying ref_vend_inst instructor instructor_assignment Non-Identifying ref_inst_ia instructor instructor_booking Identifying ref_inst_ib instructor instructor_skill Identifying ref_inst_is instructor instructor_zone Identifying ref_inst_iz

instructor_assignment

Summary

Entity Name instructor_assignment Primary Keys oid Definition

42 Workplace Collaborative Learning Database Architecture

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N instructor_oid CHAR(20) N offering_oid CHAR(20) Y catalogentry_oid CHAR(20) Y Internal unique key.

Relationships

Parent Entity Child Entity Type Relationship Name catalogentry instructor_assignment Non-Identifying ref_ce_ia instructor instructor_assignment Non-Identifying ref_inst_ia offering instructor_assignment Non-Identifying ref_o_instassign

instructor_booking

Summary

Entity Name instructor_booking Primary Keys instructor_oid,booking_oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename instructor_oid CHAR(20) N booking_oid CHAR(20) N oid CHAR(20) Y is_primary_instructo BIT N r

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction is_primary_instructor Default 0

Relationships

Parent Entity Child Entity Type Relationship Name instructor instructor_booking Identifying ref_inst_ib

instructor_group

Summary

Entity Name instructor_group Primary Keys oid

Workplace Collaborative Learning Database Architecture 43

Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N lang VARCHAR(10) Y name NVARCHAR(25 Y 200 n chars

7) description NVARCHAR(40 Y 1000 n chars

01)

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction

Relationships

Parent Entity Child Entity Type Relationship Name instructor_group instructor Non-Identifying ref_ig_inst

instructor_skill

Summary

Entity Name instructor_skill Primary Keys instructor_oid,skill_oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename instructor_oid CHAR(20) N skill_oid CHAR(20) N oid CHAR(20) Y

Relationships

Parent Entity Child Entity Type Relationship Name instructor instructor_skill Identifying ref_inst_is skill instructor_skill Identifying ref_skill_is

instructor_zone

Summary

Entity Name instructor_zone Primary Keys instructor_oid,zone_oid

44 Workplace Collaborative Learning Database Architecture

Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename instructor_oid CHAR(20) N zone_oid CHAR(20) N oid CHAR(20) N

Relationships

Parent Entity Child Entity Type Relationship Name instructor instructor_zone Identifying ref_inst_iz zone_preference instructor_zone Identifying ref_zp_iz

interaction

Summary

Entity Name interaction Primary Keys oid Definition Responses from assessments. The storage requirements for this table can

become large.

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid attempt_oid modified_state

CHAR(44) CHAR(44) INTN

N N N DS_MODIFIED_CRE

ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

interaction_id objective_id

VARCHAR(255) VARCHAR(255)

N Y Not required to be in

OBJECTIVE table. interaction_time DATETIME Y type correct_response

student_response

weighting result

VARCHAR(20) NVARCHAR(10 25) NVARCHAR(10 25) NUMERIC(8, 2) VARCHAR(20)

Y Y

Y

Y Y

255 N chars

255 N chars

Workplace Collaborative Learning Database Architecture 45

latency NUMERIC(10, 2) Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction modified_state Rule modified_state_Domain @var between 0 and 6 latency Rule nonneg_Domain @var >= 0

Relationships

Parent Entity Child Entity Type Relationship Name attempt interaction Non-Identifying ref_att_interact

interaction_a

Summary

Entity Name interaction_a Primary Keys oid Definition This table contains archived interaction records. The table can be truncated.

Records can be restored using the archive utility.Responses from assessments. The storage requirements for this table can become large.

Attributes

Attribute/Logical Domain Datatype Rolename oid CHAR(44) attempt_oid CHAR(44) modified_state INTN

interaction_id VARCHAR(255) objective_id VARCHAR(255)

interaction_time DATETIMEtype VARCHAR(20) correct_response NVARCHAR(10

25) student_response NVARCHAR(10

25) weighting NUMERIC(8, 2) result VARCHAR(20) latency NUMERIC(10, 2)

Null

N Y N

N Y

Y Y Y

Y

Y Y Y

Definition

DS_MODIFIED_CRE ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

Not required to be in OBJECTIVE table.

255 N chars

255 N chars

46 Workplace Collaborative Learning Database Architecture

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction modified_state Rule modified_state_Domain @var between 0 and 6 latency Rule nonneg_Domain @var >= 0

item_access

Summary

Entity Name item_access Primary Keys oid Definition Records user match strings of users who have explicit access to particular

items.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N ref_oid CHAR(20) Y accesslevel INTN Y match_type INTN Y see interface

com.lotus.elearn.user .matchable 0 Match Name 1 Match Group 2 Match Attribute

match_string NVARCHAR(10 Y 256 N char 25) if individual - match

on userid like *CAM* if group - match on group if attribute - example would be ismanager. match_value is then userid.

match_value NVARCHAR(10 Y 256 N char 25)

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction accesslevel Rule integer_Domain @var between ­

2147483648 and 2147483647

match_type Rule match_type_Domain @var between 0 and 2

Relationships

Parent Entity Child Entity Type Relationship Name

Workplace Collaborative Learning Database Architecture 47

kmap_keyword

Summary

Entity Name Primary Keys Definition

Attributes

kmap_keyword oid Knowledge management keywords.

Attribute/Logical Rolename oid metadata_oid lang keyword

Relationships

Domain Datatype

CHAR(20) CHAR(20) VARCHAR(10) NVARCHAR(40 01)

Null

N N Y N

Definition

1000 N chars

Parent Entity metadata

Child Entity kmap_keyword

Type Non-Identifying

Relationship Name ref_md_kmk

location

Summary

Entity Name Primary Keys Definition

location oid

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid CHAR(20) N name

name_lower

addr_line1

addr_line2

city

city_lower

state

state_lower

NVARCHAR(80 0) NVARCHAR(25 5) NVARCHAR(10 25) NVARCHAR(10 25) NVARCHAR(10 25) NVARCHAR(25 5) NVARCHAR(51 3) NVARCHAR(25 5)

Y

Y

Y

Y

Y

Y

Y

Y

200 n chars

256 n chars

256 n chars

256 n chars

128 n chars

48 Workplace Collaborative Learning Database Architecture

country

country_lower

zipcode

driving_directions

NVARCHAR(51 3) NVARCHAR(25 5) NVARCHAR(12 0) NTEXT/LONG NVARCHAR

Y

Y

Y

Y

contact_user_oid contact_name

contact_phone

contact_email

contact_comment

CHAR(20) NVARCHAR(51 3) NVARCHAR(20 1) NVARCHAR(10 25) NTEXT/LONG NVARCHAR

Y Y

Y

Y

Y

status INTN Y

Defaults, Rules, and Check Constraints

128 n chars

30 n chars

User OID for contact 128 n chars

50 n chars

256 n chars

0=active 1=deleted

Attribute Type Name Restriction status Default 0 status Check chk_loc_status @var between 0 and 1

Relationships

Parent Entity Child Entity Type Relationship Name usr location Non-Identifying ref_usr_loc location room Non-Identifying ref_room_loc

lrnfolder

Summary

Entity Name lrnfolder Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N user_oid CHAR(20) N name NVARCHAR(25 Y

5) description NVARCHAR(10 Y

00)

Relationships

Parent Entity Child Entity Type Relationship Name usr lrnfolder Non-Identifying ref_usr_folder

Workplace Collaborative Learning Database Architecture 49

lrnfolder lrnfolder_lom Non-Identifying ref_folder_flom

lrnfolder_lom

Summary

Entity Name lrnfolder_lom Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N folder_oid CHAR(20) N ref_oid CHAR(20) N object_type INTN Y

Relationships

Parent Entity Child Entity Type Relationship Name lrnfolder lrnfolder_lom Non-Identifying ref_folder_flom

lrnpartition

Summary

Entity Name lrnpartition Primary Keys oid Definition

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid CHAR(20) N partition_type INTN Y attribute_name

attribute_operator

NVARCHAR(10 25) VARCHAR(2)

Y

Y

256 chars

attribute_value

search_context

description

NVARCHAR(10 25) NVARCHAR(10 25) NVARCHAR(10 25)

Y

Y

Y

50 Workplace Collaborative Learning Database Architecture

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction partition_type Default 0 partition_type Check @var between 0 and 1 attribute_operator Check @var in

('=','!=','>','<','>=','<=')

Relationships

Parent Entity Child Entity Type Relationship Name lrnpartition lrnuser_partition Non-Identifying ref_part_upart

lrnplan

Summary

Entity Name lrnplan Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N user_oid CHAR(20) N name NVARCHAR(80 Y

0) is_active BIT N

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction is_active Default 1

Relationships

Parent Entity Child Entity Type Relationship Name usr lrnplan Non-Identifying ref_usr_plan lrnplan lrnplan_item Non-Identifying ref_plan_planitem

lrnplan_item

Summary

Entity Name lrnplan_item Primary Keys oid Definition

Workplace Collaborative Learning Database Architecture 51

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N plan_oid CHAR(20) N ref_oid CHAR(20) Y pointer to

catalogentry, curriculum, certificate. outside learning event has Null ref_oid

item_info NVARCHAR(40 Y 00)

name NVARCHAR(80 Y Used for outside 0) learning event. If

ref_oid points to internal object, this is Null. Only used if ref_oid is null.

status INTN Y only used for outside learning events

attribute_oid CHAR(20) N category_oid CHAR(20) Y description NVARCHAR(40 Y

00)

Relationships

Parent Entity Child Entity Type Relationship Name attribute lrnplan_item Non-Identifying category lrnplan_item Non-Identifying lrnplan lrnplan_item Non-Identifying ref_plan_planitem

lrnuser_partition

Summary

Entity Name Primary Keys Definition

lrnuser_partition oid

Attributes

Attribute/Logical Rolename oid user_oid partition_oid

Relationships

Domain Datatype

CHAR(20) CHAR(20) CHAR(20)

Null

N N N

Definition

Parent Entity lrnpartition

Child Entity lrnuser_partition

Type Non-Identifying

Relationship Name ref_part_upart

52 Workplace Collaborative Learning Database Architecture

usr lrnuser_partition Non-Identifying ref_usr_upart

lrnversioninfo

Summary

Entity Name lrnversioninfo Primary Keys comp_key Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename comp_key CHAR(20) N Identifies specific

components version_major INTN N version_minor INTN N version_dev INTN N version_date VARCHAR(10) N date version first

appeared descr VARCHAR(256) Y non-localized

Relationships

Parent Entity Child Entity Type Relationship Name

lsrole

Summary

Entity Name Primary Keys Definition

Attributes

lsrole oid

Attribute/Logical Rolename oid name

description

status

updatetime

Domain Datatype

CHAR(20) NVARCHAR(51 3) NVARCHAR(10 25) CHAR(1)

DATETIME

Null

N N

Y

N

Y

Definition

128 N chars

256 N chars

A = active, I = inactive, D = delete

Workplace Collaborative Learning Database Architecture 53

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction status Rule status_Domain @var in ('A','I','D')

Relationships

Parent Entity lsrole lsrole lsrole

lvc_requirement

Summary

Child Entity automatic_role role_permission user_role

Type Non-Identifying Identifying Identifying

Relationship Name ref_role_ar ref_role_rp ref_role_urole

Entity Name lvc_requirement Primary Keys oid Definition

Attributes

Attribute/Logical Rolename

Domain Datatype

oid CHAR(20) master_oid CHAR(20)

metadatatree_oid CHAR(20) disp_order INTN session_duration INTN instructor_count INTN is_recorded BIT is_moderated BIT is_broadcast BIT uses_chat BIT uses_whiteboard BIT uses_followme BIT uses_screenshare BIT uses_polling BIT uses_breakoutsessio ns

BIT

schedule_on_day INTN

status INTN audio_video_type INTN

Null

N Y

N Y N Y N N N N N N N N N

Y

Y Y

Definition

Internal Unique ID (PK). Generated on package import.

Used by author to request that a scheduled activity be scheduled on n day of the course. Actual schedule not determined until offering is created.

54 Workplace Collaborative Learning Database Architecture

Defaults, Rules, and Check Constraints

Attribute Type is_recorded Default is_moderated Default is_broadcast Default uses_chat Default uses_whiteboard Default uses_followme Default uses_screenshare Default uses_polling Default uses_breakoutsessions Default status Default audio_video_type Default disp_order Rule

session_duration Check

instructor_count Check schedule_on_day Check status Check audio_video_type Check

Relationships

Name

integer_Domain

chk_lvcr_sd

chk_lvcr_ic chk_lvcr_sod chk_lvcr_status chk_lvcr_avt

Restriction 0 0 0 0 0 0 0 0 0 0 0 @var between ­2147483648 and 2147483647 @var between 0 and 32767 @var between 0 and 127 @var between 0 and 127 @var between 0 and 1 @var between 0 and 2

Parent Entity Child Entity Type Relationship Name master lvc_requirement Non-Identifying ref_mast_lvcreq metadata_tree lvc_requirement Non-Identifying ref_mt_lvcreq lvc_requirement lvc_session Non-Identifying ref_lvcreq_lvcsess

lvc_session

Summary

Entity Name lvc_session Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N owner_oid CHAR(20) Y PK - Unique ID for

table creator_oid CHAR(20) Y PK - Unique ID for

table lvc_requirement_oid CHAR(20) N offering_oid CHAR(20) N lvc_session_id VARCHAR(100) Y lvc_course_id VARCHAR(100) Y state INTN Y (lvcsessionbean.java)

STATE_INITIAL = 0

Workplace Collaborative Learning Database Architecture 55

STATE_DEPLOYING = 1 STATE_COMPLETE = 2 STATE_FAILED = 3 200 N chars

1000 n chars

1000 n chars

200 n chars

64 N chars

1000 n chars

1000 n chars

1000 n chars

name NVARCHAR(80 Y 0)

description NVARCHAR(40 Y 01)

calendar_description NVARCHAR(20 Y 49)

calendar_title NVARCHAR(80 Y 0)

lvc_server_id NVARCHAR(25 Y 7)

maintenance_url NVARCHAR(20 Y 49)

student_url NVARCHAR(20 Y 49)

instructor_url NVARCHAR(20 Y 49)

is_recorded BIT N is_previewable BIT N is_moderated BIT N is_broadcast BIT N uses_chat BIT N uses_whiteboard BIT N uses_followme BIT N uses_screenshare BIT N uses_polling BIT N uses_breakoutsessio BIT N ns ical_id_instructor VARCHAR(256) Y ical_id_student VARCHAR(256) Y ical_recurrence_id DATETIME Y ical_index INTN Y audio_video_type INTN Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction is_recorded Default 0 is_previewable Default 0 is_moderated Default 0 is_broadcast Default 0 uses_chat Default 0 uses_whiteboard Default 0 uses_followme Default 0 uses_screenshare Default 0 uses_polling Default 0 uses_breakoutsessions Default 0 audio_video_type Default 0 state Check chk_lvcsess_state @var between 0 and 3 audio_video_type Check chk_lvcs_avt @var between 0 and 2

Relationships

Parent Entity Child Entity Type Relationship Name lvc_requirement lvc_session Non-Identifying ref_lvcreq_lvcsess

56 Workplace Collaborative Learning Database Architecture

offering lvc_session usr lvc_session usr lvc_session

Non-Identifying ref_off_lvcsess Non-Identifying ref_usr_lvc_c Non-Identifying ref_usr_lvc_o

master

Summary

Entity Name master Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N Internal Unique ID

(PK). Generated on package import.

metadata_tree_oid CHAR(20) Y oid of root node in content_tree for course content

owner_oid CHAR(20) Y packageid VARCHAR(150) Y Read in during

import process. Externally generated ID. Used to decide if imported package is an update or a new master. Cannot be modified on the LMM. Only unique when combined with the version. //imscp:manifest/@i bmls:packageid

code NVARCHAR(80) Y 20 NLS chars User defined unique identifier for the course. Uniqueness not enforced by the DB. Passed from authoring tool to LMM. Editable in Authoring tool and LMM. //imscp:manifest/@i bmls:code

code_lower NVARCHAR(80) Y Used for searching and sorting

lang VARCHAR(10) Y The language the course is offered in. SCORM Meta Data 1.4 language Source ambiguous //lom/general/lang

Workplace Collaborative Learning Database Architecture 57

uage structure_version VARCHAR(30) Y Version of the

structure in the master. Imported from authoring tool. Cannot be changed on the LMM. Optional field. //imscp:organizatio ns/@ibmls:structurev ersion

type INTN Y (catalogconst.java) TYPE_FOLDER = 0 TYPE_COURSE = 1 TYPE_CURRICULU M = 2 TYPE_CERTIFICATE = 3

status INTN N mapped to internal values based on external values from SCORM. //lom/lifecycle/stat us/value/langstring /text() (catalogconst.java) DRAFT= 1 AVAILABLE= 2 INACTIVE= 3 IN_PROGRESS= 4 INCOMPLETE= 5 CANCELLED= 6 COMPLETE= 7 PENDING_USER_U PDATE= 8 REJECTED= 9 SUPERCEEDED= 10 DELETED=11

delivery_medium INTN Y How course is delivered, e.g. virtual, physical, blended. (catalogconst.java) DELIVERY_VIRTUA L= 1 (online) DELIVERY_PHYSIC AL= 2 (classroom) DELIVERY_BLENDE D= 3

version VARCHAR(201) Y Version of the Master. Increases with each edit. Imported from authoring tool. Cannot be changed on the LMM. //lom/lifecycle/vers ion[last()]/langstring /text()

createdate DATETIME Y Timestamped at insert time and never

58 Workplace Collaborative Learning Database Architecture

modified. expiredate DATETIME Y Date the master/

catalog entry expires. No course based on this master can be scheduled for after this date, and students cannot enroll in self paced courses after this date.

registered BIT N Has master been put into a folder yet? 1=yes 0=no

is_schedulable BIT N True if master contains schedulable activities. (LVC or classroom (booking) requirements). Can be modified if course does not contain schedulable activities.

requires_discussion BIT Y is a discussion DB required? if true, then if is_schedulable is true, an offering cannot be scheduled unless a discussion db is specified. If is_schedulable is false, a catalog entry cannot be specified unless a discussion db is specified. A discussion db can be associated w/ curriculums, certificates, and all course types.

requires_chat BIT Y content_update_avai BIT Y l has_content BIT Y structure_update_av BIT N ail

Defaults, Rules, and Check Constraints

Attribute registered requires_discussion requires_chat content_update_avail has_content structure_update_availtype status delivery_medium

Type Default Default Default Default Default

Default Check Check Check

Name

chk_mast_type chk_mast_status chk_mast_dm

Restriction 0 0 0 0 0 0 @var between 0 and 3 @var between 1 and 11 @var between 1 and 3

Workplace Collaborative Learning Database Architecture 59

Relationships

Parent Entity metadata_tree usr master master master master master master master master master

master_keyword

Summary

Child Entity master master booking_requirement catalogentry certificate certificate_master lvc_requirement master_keyword master_language master_text prerequisite

Type Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying

Relationship Name ref_mdt_m ref_usr_m ref_mast_bookreq ref_mast_ce ref_mast_cert ref_mast_cm ref_mast_lvcreq ref_mast_mk ref_mast_mlang ref_mast_mtext ref_mast_prereq

Entity Name master_keyword Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N master_oid CHAR(20) N lang VARCHAR(10) Y //lom/general/key

word/langstring/@x ml:lang

keyword NVARCHAR(40 N 1000 N chars 01) //lom/general/key

word/langstring/tex t()

keyword_lower NVARCHAR(25 Y 5)

Relationships

Parent Entity Child Entity Type Relationship Name master master_keyword Non-Identifying ref_mast_mk

master_language

Summary

Entity Name master_language Primary Keys oid

60 Workplace Collaborative Learning Database Architecture

Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N master_oid CHAR(20) N Internal Unique ID

(PK). Generated on package import.

lang VARCHAR(100) N

Relationships

Parent Entity Child Entity Type Relationship Name master master_language Non-Identifying ref_mast_mlang

master_text

Summary

Entity Name master_text Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N master_oid CHAR(20) N Internal Unique ID

(PK). Generated on package import.

lang VARCHAR(10) Y title NVARCHAR(40 Y 1000 N chars

01) description NVARCHAR(40 Y 2000 N chars

02) title_lower NVARCHAR(25 Y

5) description_lower NVARCHAR(25 Y

5)

Relationships

Parent Entity Child Entity Type Relationship Name master master_text Non-Identifying ref_mast_mtext

Workplace Collaborative Learning Database Architecture 61

master_tree

Summary

Entity Name master_tree Primary Keys oid Definition

Attributes

Attribute/Logical Rolename

Domain

oid position ref_oid

type

display_order title

description

Defaults, Rules, and Check Constraints

Datatype Null Definition

CHAR(20) N VARCHAR(255) Y CHAR(20) Y Foreign key can point

to any object/table. Usually points to record in MASTER.

INTN Y (catalogconst.java) TYPE_FOLDER= 0 TYPE_COURSE= 1 TYPE_CURRICULU M= 2 TYPE_CERTIFICATE = 3

INTN Y NVARCHAR(80 0)

Y 200 N char

NVARCHAR(40 01)

Y 1000 N text

Attribute Type Name Restriction display_order Rule integer_Domain @var between ­

2147483648 and 2147483647

type Check chk_mtree_type @var between 0 and 3

metadata

Summary

Entity Name metadata Primary Keys oid Definition Trackable unit of a course. Primarily used by DS for display of courses.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N

62 Workplace Collaborative Learning Database Architecture

tech_format NTEXT/LONG Y Scorm 2.2.3.1.4.1 NVARCHAR Multivalued MIME

types or NON­DIGITAL. Comma delimited. SCORM technical: 4.1 //lom/technical/for mat/text() //lom[ancestor::item or ancestor::organizatio n]/technical/format /text()

tech_location NTEXT/LONG Y Multi-valued. NVARCHAR Preferred location

first. SCORM 2.2.3.1.4.3 //lom/technical/loc ation/text()

tech_location_type INTN Y 0=text 1=uri SCORM 2.2.3.1.4.3 First value found is stored (preferred location) //lom/technical/loc ation/@type

tech_duration VARCHAR(20) Y time continuous resource takes when played at intended speed. SCORM 2.2.3.1.4.7 //lom/technical/du ration/datetime/text ()

ed_resource_type VARCHAR(170) Y SCORM 2.2.3.1.5.2 store as many as we can delimited by commas //lom/educational/l earningresourcetype /value/langstring/te xt()

ed_interactivity_typ VARCHAR(30) Y SCORM 2.2.3.1.5.1 e //lom/educational/i

nteractivitytype/valu e/langstring/text()

ed_interactivity_leve VARCHAR(30) Y 2.2.3.1.5.3 l //lom/educational/i

nteractivitylevel/val ue/langstring/text()

ed_semantic_density VARCHAR(30) Y 2.2.3.1.5.4 //lom/educational/ semanticdensity/val ue/langstring/text()

ed_end_user_role VARCHAR(70) Y comma delimited list 2.2.3.1.5.5 //lom/educational/i ntendedenduserrole/ value/langstring/tex t()

Workplace Collaborative Learning Database Architecture 63

(1000 chars) ed_context VARCHAR(300) Y 2.2.3.1.5.6

coma delimited list //lom/educational/ context/value/langst ring/text()

ed_age_range NTEXT/LONG Y comma delimited list NVARCHAR 2.2.3.1.5.7

//lom/educational/ typicalagerange/lang string/text()

ed_difficulty VARCHAR(30) Y 2.2.3.1.5.8 //lom/educational/ difficulty/value/lan gstring/text()

ed_learning_time VARCHAR(30) Y 2.2.3.1.5.9 //lom/educational/ typicallearningtime/ datetime/text()

ed_default_language VARCHAR(100) Y comma delimited list 2.2.3.1.5.11 //lom/educational/l anguage/text()

rgts_cost BIT N 0=no 1=yes 2.2.3.1.6.1 //lom/rights/cost/v alue/langstring/text( )

rgts_copyright BIT N 1=yes 0=no 2.2.3.1.6.2 //lom/rights/copyri ghtandotherrestrictio ns/value/langstring /text()

rgts_conditions_of_u NTEXT/LONG Y Description - se NVARCHAR condition of use.

comma delimited list? 2.2.3.1.6.3 //lom/rights/descri ption/langstring/tex t()

item_is_visible BIT Y 0=no 1=yes 2.3.5.3.1.2 //item/@isvisible

item_parameters NVARCHAR(40 Y 1000 N chars 01) 2.3.5.3.1.2

//item/@parameters adl_max_time_allow NUMERIC(10, 2) Y 2.3.5.3.1.2.5 ed //item/adlcp:maxti

meallowed/text() adl_time_limit_actio INTN Y 0=exit,message n 1=exit, no message

2=continue, message 3=continue, no message 2.3.5.3.1.2.6 //item:adlcp:timelim

64 Workplace Collaborative Learning Database Architecture

itaction/text() adl_data_from_lms NTEXT/LONG Y 4096 N chars

NVARCHAR 2.3.5.3.1.2.7 //item/adlcp:datafr omlms/text()

adl_mastery_score NUMERIC(8, 2) Y 2.3.5.3.1.2.8 //item/adlcp:master yscore/text()

lifecycle_status INTN Y 0 Draft 1 Final 2 Revised 3 Unavailable

metadata_lang VARCHAR(100) Y item_title NVARCHAR(80 Y 200 N chars

0) item_identifier NVARCHAR(40 Y

01) item_content_href NTEXT/LONG Y 2000 N chars

NVARCHAR ibm_previewable BIT N ibm_allow_offline BIT N ibm_incomplete_unt BIT Y il_passed ibm_activity_type INTN Y 0

1 Topic 2 Authored Assessment 3 Content (Authored SCO) 4 Activity 5 Face to Face Meeting 6 LVC 7 PreRecorded Session 8 File Activity 9 Course

ibm_launch_new_wi BIT N ndow ibm_remote_trackin NTEXT/LONG Y 2000 N chars g_url NVARCHAR ibm_au_password NVARCHAR(80 Y 200 N chars

0) ibm_cmi_volume_la NTEXT/LONG Y bel NVARCHAR ibm_cmi_work_dir NTEXT/LONG Y

NVARCHAR ibm_cmi_subst_para NTEXT/LONG Y ms NVARCHAR ibm_announcement_ NTEXT/LONG Y 2000 N chars page NVARCHAR learningspace ibm_comments_fro NTEXT/LONG Y m_lms NVARCHAR ibm_tracking INTN Y 0

1 standard 2 usersetscompletion 3 completeonlaunch 4 disabled

ibm_max_score NUMERIC(8, 2) Y

Workplace Collaborative Learning Database Architecture 65

Defaults, Rules, and Check Constraints

Attribute rgts_cost rgts_copyrightitem_is_visibleibm_previewable ibm_allow_offline ibm_activity_type ibm_launch_new_window adl_mastery_score

tech_location_type adl_time_limit_action

lifecycle_status ibm_activity_type ibm_tracking

Relationships

Type Default Default

Default Default Default Default Default Rule

Check Check

Check Check Check

Name Restriction 0 0 1 0 0 4 0

smallint_Domain @var between -32768 and 32767

chk_md_tlt chk_md_atla

@var between 0 and 1 adl_time_limit_action between 0 and 3

chk_md_ls chk_md_iat chk_md_it

@var between 0 and 3 @var between 0 and 9 @var between 0 and 4

Parent Entity Child Entity Type Relationship Name metadata kmap_keyword Non-Identifying ref_md_kmk metadata metadata_annotation Non-Identifying ref_md_mda metadata metadata_contributor Non-Identifying ref_md_mdc metadata metadata_keyword Non-Identifying ref_md_mdk metadata metadata_language Non-Identifying ref_md_mdl metadata metadata_text Non-Identifying ref_md_mdt metadata metadata_xml Non-Identifying ref_md_mdx metadata technicalrequirement Non-Identifying ref_md_techreq

metadata_annotation

Summary

Entity Name metadata_annotation Primary Keys oid Definition SCORM 8

This category provides comments on the educational use of the resource, who created the annotation and when. When multiple annotations are needed, multiple instances may be used.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N metadata_oid CHAR(20) N ann_person NVARCHAR(40 Y 1000 N chars

01) The person who created the annotation. SCORM 8.1 (Name part of vcard element)

66 Workplace Collaborative Learning Database Architecture

//lom/annotation/p erson/vcard/text()

ann_date DATETIME Y Date the annotation was created SCORM 8.2 //lom/annotation/d ate/datetime/text()

ann_description NVARCHAR(40 Y 1000 N chars 01) Content of the

annotation. SCORM 8.3 //lom/annotation/d escription/langstring /text()

Relationships

Parent Entity Child Entity Type Relationship Name metadata metadata_annotation Non-Identifying ref_md_mda

metadata_contributor

Summary

Entity Name metadata_contributor Primary Keys oid Definition People or orgs that have contributed to the state of the resource during its

evolution. From SCORM 2.3 Life Cycle Contribute.

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid CHAR(20) N metadata_oid CHAR(20) N lang

contrib_role

VARCHAR(10)

VARCHAR(60)

Y

Y

//lom/lifecycle/con tribute/role/value/l angstring/@xml:lang Author, Publisher, Editor, etc

contrib_date

contrib_c_entity

DATETIME

NVARCHAR(40 01)

Y

Y

//lom/lifecycle/con tribute/role/value/l angstring/text() //lom/lifecycle/con tribute/date/datetim e/text() 1000 N chars xml vcard entry //lom/lifecycle/con tribute/centity/vcar d/text()

Workplace Collaborative Learning Database Architecture 67

Relationships

Parent Entity Child Entity Type Relationship Name metadata metadata_contributor Non-Identifying ref_md_mdc

metadata_keyword

Summary

Entity Name metadata_keyword Primary Keys oid Definition SCORM 1.6 General section - keyword.

Keywords or phrases describing this resource.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N metadata_oid CHAR(20) N lang VARCHAR(10) Y //lom/general/key

word/langstring/@x ml:lang

keyword NVARCHAR(40 N 1000 N chars 01) SCORM 1.6

//lom/general/key word/langstring/tex t()

Relationships

Parent Entity Child Entity Type Relationship Name metadata metadata_keyword Non-Identifying ref_md_mdk

metadata_language

Summary

Entity Name metadata_language Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N metadata_oid CHAR(20) N lang VARCHAR(100) N

68 Workplace Collaborative Learning Database Architecture

Relationships

Parent Entity Child Entity Type Relationship Name metadata metadata_language Non-Identifying ref_md_mdl

metadata_text

Summary

Entity Name metadata_text Primary Keys oid Definition One record for each language a material (course or activity) is in.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N metadata_oid CHAR(20) N lang VARCHAR(10) Y (

//lom/general/title /langstring/@xml:la ng or //lom/general/desc ription/langstring/@ xml:lang ) or //lom/general/lang uage/text()

title NVARCHAR(40 Y 1000 N chars 01) //lom/general/title

/langstring/text() description NTEXT/LONG Y 4096 N chars

NVARCHAR //lom/general/desc ription/langstring/te xt()

tech_install_remarks NTEXT/LONG Y //lom/technical/ins NVARCHAR tallationremarks/lan

gstring/text()

tech_otherplatform_ NTEXT/LONG Y reqs NVARCHAR

Relationships

Parent Entity Child Entity Type Relationship Name metadata metadata_text Non-Identifying ref_md_mdt

Workplace Collaborative Learning Database Architecture 69

metadata_tree

Summary

Entity Name metadata_tree Primary Keys oid Definition Courses have a tree, with ref_oids that point to metadata.

Curriculum has a tree, with ref_oids that point to masters. The ref_oid is the foreign key to the oid in the other table. The ref_oid could potentially point to any table/object.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N position VARCHAR(255) Y Within a "level",

order is not important. Position defined parent/child relationships.

ref_oid CHAR(20) Y Foreign key can point to any object/table. Usually points to record in METADATA. If part of a curriculum or certificate may point to a record in MASTER.

display_order INTN Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction display_order Rule integer_Domain @var between ­

2147483648 and 2147483647

Relationships

Parent Entity metadata_tree metadata_tree metadata_tree metadata_tree metadata_tree

metadata_xml

Summary

Child Entity master objective progress booking_requirement lvc_requirement

Type Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying

Relationship Name ref_mdt_m ref_mdt_obj ref_mdt_prog ref_mt_bookreq ref_mt_lvcreq

70 Workplace Collaborative Learning Database Architecture

Entity Name metadata_xml Primary Keys oid Definition Stores raw LOM metadata for imported courses. Used to populate index

when catalogentries are registered.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N metadata_oid CHAR(20) N metadata_xml NTEXT/LONG Y

NVARCHAR

Relationships

Parent Entity Child Entity Type Relationship Name metadata metadata_xml Non-Identifying ref_md_mdx

objective

Summary

Entity Name objective Primary Keys oid Definition A guide supplied by an author/instructional designer

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(44) N metadata_tree_oid CHAR(20) Y obj_id VARCHAR(255) N A "guide" supplied

by an author/designer

modified_state INTN N DS_MODIFIED_CRE ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

is_primary BIT N satisfied_by_measur BIT Y e min_satisfied_measu NUMERIC(6, 5) Y re

Workplace Collaborative Learning Database Architecture 71

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction is_primary Default 0 modified_state Rule modified_state_Domain @var between 0 and 6 min_satisfied_measure Rule one_Domain @var between -1 and 1

Relationships

Parent Entity metadata_tree objective objective objective objective

objective_map

Summary

Child Entity objective objective_map objective_map objective_text user_objective

Type Non-Identifying Non-Identifying Non-Identifying Non-Identifying Non-Identifying

Relationship Name ref_mdt_obj ref_obj_objmapg ref_obj_objmapl ref_obj_objt ref_obj_uobj

Entity Name objective_map Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N global_objective_oid CHAR(44) N local_objective_oid CHAR(44) N map_satisfied_status BIT Y map_normalized_m BIT Y easure

Relationships

Parent Entity Child Entity Type Relationship Name objective objective_map Non-Identifying ref_obj_objmapg objective objective_map Non-Identifying ref_obj_objmapl

objective_text

Summary

Entity Name objective_text Primary Keys oid Definition

72 Workplace Collaborative Learning Database Architecture

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N objective_oid CHAR(44) N lang VARCHAR(10) Y name NVARCHAR(20 Y 500 N chars

49) description NVARCHAR(40 Y 2000 n chars

02)

Relationships

Parent Entity Child Entity Type Relationship Name objective objective_text Non-Identifying ref_obj_objt

offering

Summary

Entity Name offering Primary Keys oid Definition Offerings are only created for courses with scheduled activities. If no

scheduled activity, only a catalogentry is created.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N owner_oid CHAR(20) Y catalogentry_oid CHAR(20) N status INTN Y (catalogconst.java)

STATUS_DRAFT= 1 STATUS_AVAILABL E= 2 STATUS_INACTIVE = 3 STATUS_IN_PROGR ESS= 4 STATUS_INCOMPL ETE= 5 STATUS_CANCELL ED= 6 STATUS_COMPLET E= 7 STATUS_PENDING_ USER_UPDATE = 8 STATUS_REJECTED = 9 STATUS_SUPERCEE DED= 10 STATUS_DELETED=

Workplace Collaborative Learning Database Architecture 73

createdate startdate enddate city

city_lower

state

state_lower

country

country_lower

ds_deployment_status

deployment_status

ds_send_trans_id

Defaults, Rules, and Check Constraints

DATETIME Y DATETIME Y DATETIME Y NVARCHAR(10 Y 25) NVARCHAR(25 Y 5) NVARCHAR(10 Y 25) NVARCHAR(25 Y 5) NVARCHAR(51 Y 3) NVARCHAR(25 Y 5) INTN Y

INTN Y

INTN Y

11 UTC. UTC. UTC. 255 Nchar

255 N char

128 N char

128 N char

(catalogconst.java) NOT_DEPLOYED= 0 DEPLOYING= 1 SUCCEEDED= 2 FAILED= 3 NOT_APPLICABLE= 4 (catalogconst.java) NOT_DEPLOYED= 0 DEPLOYING= 1 SUCCEEDED= 2 FAILED= 3 NOT_APPLICABLE= 4

Attribute Type Name Restriction ds_deployment_status Default 0 deployment_status Default 0 ds_send_trans_id Default 0 status Check o_stat @var between 1 and 11 ds_deployment_status Check o_ds_dep_stat @var between 0 and 4 deployment_status Check o_dep_stat deployment_status

between 0 and 4

Relationships

Parent Entity Child Entity Type Relationship Name catalogentry offering Non-Identifying ref_ce_off usr offering Non-Identifying ref_usr_off_o offering enrollableofferinghelp Non-Identifying ref_o_eoh

er offering instructor_assignment Non-Identifying ref_o_instassign offering approvalrequest Non-Identifying ref_off_appreq offering booking Non-Identifying ref_off_book offering enrollment Non-Identifying ref_off_enroll offering lvc_session Non-Identifying ref_off_lvcsess offering waitlisteduser Non-Identifying ref_off_wlu

74 Workplace Collaborative Learning Database Architecture

offering_tree

Summary

Entity Name offering_tree Primary Keys oid Definition ref_oids point to catalog entries _not_ offerings.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N position VARCHAR(255) Y ref_oid CHAR(20) Y Foreign key can point

to any object/table. Usually points to record in catalogentry.

type INTN Y (catalogconst.java) TYPE_FOLDER= 0 TYPE_COURSE= 1 TYPE_CURRICULU M= 2 TYPE_CERTIFICATE = 3

title NVARCHAR(80 Y 200 N char 0)

description NVARCHAR(40 Y 1000 N char 01)

displayorder INTN Y

Defaults, Rules, and Check Constraints

Attribute Type Name displayorder Rule integer_Domain

type Check chk_otree_type

oidbatch

Summary

Entity Name oidbatch Primary Keys Definition This table will only have 1 record in it.

Restriction @var between ­2147483648 and 2147483647 @var between 0 and 3

Workplace Collaborative Learning Database Architecture 75

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename item BIGINT N

oidseed

Summary

Entity Name Primary Keys Definition

Attributes

oidseed

This table will have 0 or 1 record in it.

Attribute/Logical Rolename nval tempnval updatecount

Domain Datatype

BIGINT BIGINT BIGINT

Null

Y Y Y

Definition

permission

Summary

Entity Name Primary Keys Definition

Attributes

permission oid

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N name VARCHAR(128) N not unicode perm_id INTN N maps to application

permission id. ?? what is range -int/long ??

description NVARCHAR(10 Y 256 N chars 25)

category INTN Y status CHAR(1) Y A = active, I =

inactive, D = delete updatetime DATETIME Y

76 Workplace Collaborative Learning Database Architecture

Defaults, Rules, and Check Constraints

Attribute status

Type Default

Name Restriction 'A'

perm_id Rule integer_Domain @var between ­2147483648 and 2147483647

category Rule integer_Domain @var between ­2147483648 and 2147483647

status Rule status_Domain @var in ('A','I','D')

Relationships

Parent Entity Child Entity Type Relationship Name permission cascaded_permission Identifying ref_perm_cpc permission cascaded_permission Identifying ref_perm_cpp permission role_permission Identifying ref_rolep_perm

prerequisite

Summary

Entity Name prerequisite Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N ref_oid CHAR(20) N As of now, this will

always be a master_oid

master_oid CHAR(20) N Internal Unique ID (PK). Generated on package import.

Relationships

Parent Entity Child Entity Type Relationship Name master prerequisite Non-Identifying ref_mast_prereq

prof_level

Summary

Entity Name prof_level

Workplace Collaborative Learning Database Architecture 77

Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N prof_set_oid CHAR(20) N prof_level INTN Y sort_order INTN Y prof_level_name NVARCHAR(80 Y values such as "high"

0) "low" etc description NVARCHAR(80 Y

0)

Relationships

Parent Entity Child Entity Type Relationship Name prof_set prof_level Non-Identifying prof_level attribute_category Non-Identifying prof_level user_attribute Non-Identifying prof_level catalogentry_attribute Non-Identifying prof_level user_attribute Non-Identifying ref_pl_ua_tplo

prof_set

Summary

Entity Name prof_set Primary Keys oid Definition static table. Names of templates for proficiency values.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N set_id VARCHAR(20) Y vendor_id VARCHAR(20) Y name NVARCHAR(80 Y

0)

Relationships

Parent Entity Child Entity Type Relationship Name prof_set prof_level Non-Identifying prof_set attribute Non-Identifying

78 Workplace Collaborative Learning Database Architecture

progress

Summary

Entity Name progress Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(44) N enrollment_oid CHAR(20) N metadata_tree_oid CHAR(20) N modified_state INTN N DS_MODIFIED_CRE

ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

attempt_count INTN N starttime DATETIME Y endtime DATETIME Y duration NUMERIC(10, 2) Y completion_amount NUMERIC(6, 5) Y times_accessed INTN Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction attempt_count Default 0 modified_state Rule modified_state_Domain @var between 0 and 6 attempt_count Rule nonneg_int_Domain @var between 0 and

2147483647 duration Rule nonneg_Domain @var >= 0 completion_amount Check chk_prog_ca @var between 0 and 1

Relationships

Parent Entity Child Entity Type Relationship Name enrollment progress Non-Identifying ref_enroll_prog metadata_tree progress Non-Identifying ref_mdt_prog progress attempt Non-Identifying ref_prog_att progress tracking_remark Non-Identifying ref_prog_tr

Workplace Collaborative Learning Database Architecture 79

progress_a

Summary

Entity Name progress_a Primary Keys oid Definition Archived records from progress. PROGRESS will contain the top level record

for a course, this table will contain all child records. Once progress records are no longer required for reporting, this table can be truncated. Records can be restored through the archiving utility.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(44) N enrollment_oid CHAR(20) N metadata_tree_oid CHAR(20) N modified_state INTN N DS_MODIFIED_CRE

ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

attempt_count INTN N starttime DATETIME Y endtime DATETIME Y duration NUMERIC(10, 2) Y completion_amount NUMERIC(6, 5) Y times_accessed INTN Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction attempt_count Default 0 modified_state Rule modified_state_Domain @var between 0 and 6 attempt_count Rule nonneg_int_Domain @var between 0 and

2147483647 duration Rule nonneg_Domain @var >= 0

repeating_calendar_element

Summary

Entity Name repeating_calendar_element Primary Keys oid

80 Workplace Collaborative Learning Database Architecture

Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N title NVARCHAR(80 Y 200 N char

0) description NVARCHAR(40 Y 1000 N char

01) schedulable_type VARCHAR(20) Y schedulable_event_t VARCHAR(20) Y ype start_date DATETIME Y end_date DATETIME Y duration INTN Y frequency INTN Y start_time DATETIME Y end_time DATETIME Y schedulable_ref_oid CHAR(20) Y schedulable_event_r CHAR(20) Y ef_oid

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction duration Check chk_rce_d @var between 0 and

32767 frequency Check chk_rce_f @var between 0 and

32767

report_file

Summary

Entity Name report_file Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N user_oid CHAR(20) N createdate DATETIME N host_ip VARCHAR(16) N filename NVARCHAR(51 N

2) content_type VARCHAR(128) Y

Workplace Collaborative Learning Database Architecture 81

report_recipient

Summary

Entity Name Primary Keys Definition

report_recipient oid

Attributes

Attribute/Logical Rolename oid scheduledreport_oid email_address

Relationships

Domain Datatype

CHAR(20) CHAR(20) NVARCHAR(10 25)

Null

N N N

Definition

256 N chars

Parent Entity scheduledreport

Child Entity report_recipient

Type Non-Identifying

Relationship Name ref_rr_sr

reportselection

Summary

Entity Name Primary Keys Definition

reportselection oid

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N scheduledreport_oid CHAR(20) N display_order INTN N parameter VARCHAR(512) Y selection_type VARCHAR(50) Y selection_type =

1=user start_date DATETIME Y end_date DATETIME Y offset INTN N unit VARCHAR(20) Y range VARCHAR(20) Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction offset Default 0 display_order Rule @var between -32768

and 32767

82 Workplace Collaborative Learning Database Architecture

offset Rule @var between ­2147483648 and 2147483647

Relationships

Parent Entity Child Entity Type Relationship Name scheduledreport reportselection Non-Identifying ref_sr_rs reportselection reportselection_item Non-Identifying ref_rs_rsi

reportselection_item

Summary

Entity Name reportselection_item Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N reportselection_oid CHAR(20) N ptr_oid CHAR(20) N oid of object required

in report. This oid could be for any entity.

Relationships

Parent Entity Child Entity Type Relationship Name reportselection reportselection_item Non-Identifying ref_rs_rsi

role_permission

Summary

Entity Name role_permission Primary Keys role_oid,perm_oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename role_oid CHAR(20) N perm_oid CHAR(20) N oid CHAR(20) Y

Workplace Collaborative Learning Database Architecture 83

Relationships

Parent Entity Child Entity Type Relationship Name lsrole role_permission Identifying ref_role_rp permission role_permission Identifying ref_rolep_perm

rollup_rule

Summary

Entity Name rollup_rule Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N sequencing_oid CHAR(20) N child_activity_set INTN Y 0

1 All 2 Any 3 None 4 At Least count 5 At Least Percent

minimum_count INTN Y minimum_percent NUMERIC(8, 5) Y condition_combinati INTN Y 0=undefined on 1=all

2=any rollup_action INTN N 0

1 Satisfied 2 Completed 3 Incomplete 4 Satisfied

Defaults, Rules, and Check Constraints

Attribute Type Name condition_combination Default minimum_count Rule nonneg_int_Domain

child_activity_set Check minimum_percent Check condition_combination Check rollup_action Check

Relationships

Restriction 2 @var between 0 and 2147483647 @var between 0 and 5 @var between 0 and 1 @var between 0 and 2 @var between 0 and 4

Parent Entity Child Entity Type Relationship Name sequencing rollup_rule Non-Identifying ref_seq_rr rollup_rule rollup_rule_condition Non-Identifying ref_rr_rrc

84 Workplace Collaborative Learning Database Architecture

rollup_rule_condition

Summary

Entity Name rollup_rule_condition Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N rollup_rule_oid CHAR(20) N operator BIT Y condition INTN Y 0

1 Satisfied 2 Objective Status Known 3 Objective Measure Known 4 Completed 5 Activity Progress Known 6 Attempted 7 Attempt Limit Exceeded 8 Time Limit Exceeded 9 Outside Available Time Range 10 Never

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction operator Default 0 condition Check @var between 0 and 10

Relationships

Parent Entity Child Entity Type Relationship Name rollup_rule rollup_rule_condition Non-Identifying ref_rr_rrc

room

Summary

Entity Name room Primary Keys oid Definition

Workplace Collaborative Learning Database Architecture 85

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N location_oid CHAR(20) N name NVARCHAR(80 Y 200 N char

0) name_lower NVARCHAR(25 Y

5) roomtype VARCHAR(64) Y capacity INTN Y num_pcs INTN Y equipment NTEXT/LONG Y

NVARCHAR roomcomment NTEXT/LONG Y

NVARCHAR contact_user_oid CHAR(20) Y contact_name NVARCHAR(51 Y 128 N char

3) contact_phone NVARCHAR(51 Y 128 N char

3) contact_email NVARCHAR(10 Y 256 N char

25) contact_comment NTEXT/LONG Y

NVARCHAR phone_num1 NVARCHAR(51 Y 128 N char

3) phone_num2 NVARCHAR(51 Y 128 N char

3) status INTN Y 0=Not deleted

1=Deleted

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction status Default 0 capacity Check @var between 0 and

32767 num_pcs Check @var between 0 and

32767 status Check chk_room_status @var between 0 and 1

Relationships

Parent Entity Child Entity Type Relationship Name location room Non-Identifying ref_room_loc usr room Non-Identifying ref_usr_room room booking Non-Identifying ref_room_book

scheduledemail

Summary

Entity Name scheduledemail

86 Workplace Collaborative Learning Database Architecture

Primary Keys oid Definition LMM - EmailScheduler module. Records with sent_date not Null can be

purged or archived.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N message NTEXT/LONG Y

NVARCHAR message_type VARCHAR(128) Y server_id NVARCHAR(25 Y 64 N chars

7) scheduled_date DATETIME Y expiration_date DATETIME Y sent_date DATETIME Y message_status CHAR(1) Y message_error VARCHAR(30) Y

scheduledreport

Summary

Entity Name scheduledreport Primary Keys oid Definition One record per report. Fairly static table.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N owner_oid CHAR(20) Y key to users table name NVARCHAR(51 Y

3) report_id VARCHAR(56) N key into the

reports.xml file format VARCHAR(10) Y PDF, HTML, CSV locale VARCHAR(20) Y start_date DATETIME Y end_date DATETIME Y repetitions INTN Y last_run DATETIME Y schedule_unit INTN Y 1. hourly

2. daily 3. weekly 4. monthly

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction repetitions Default -1 repetitions Rule smallint_Domain @var between -32768

Workplace Collaborative Learning Database Architecture 87

and 32767 schedule_unit Check @var between 1 and 4

Relationships

Parent Entity Child Entity Type Relationship Name usr scheduledreport scheduledreport report_recipient scheduledreport reportselection

Non-Identifying ref_u_sr Non-Identifying ref_rr_sr Non-Identifying ref_sr_rs

search_index_result

Summary

Entity Name search_index_result Primary Keys oid Definition Stores full text search results temporarily. Used to filter full text results

against access control and business logic. Records are deleted after 1 day.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N ref_oid CHAR(20) N Usually a

catalogentry_oid transaction_oid CHAR(20) N rank DECIMAL(5, 2) Y

Relationships

Parent Entity Child Entity Type Relationship Name transaction_info search_index_result Non-Identifying ref_ti_sir

send_cmd_queue

Summary

Entity Name send_cmd_queue Primary Keys oid Definition Queue for commands being sent to delivery servers.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N type VARCHAR(100) Y classname update_index BIGINT ID create_date DATETIME Y

88 Workplace Collaborative Learning Database Architecture

last_retry_date dest_server_id

serialized_obj

Defaults, Rules, and Check Constraints

DATETIMENVARCHAR(25 7) VARCHAR(4000 )

Y Y

Y

64 N chars

Attribute update_index

Type Rule

Name bigint_Domain

Restriction @var between ­9223372036854775808 and 9223372036854775807

sequencing

Summary

Entity Name Primary Keys Definition

sequencing oid

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N ref_oid CHAR(20) N points to node in tree control_mode INTN Y Bits toggled for 4

values: 1=choice 2=choose exit 4=flow 8=forward only

attempt_limit INTN Y attempt_elapsed_lim NUMERIC(10, 2) Y it attempt_experienced NUMERIC(10, 2) Y _limit activity_elapsed_lim NUMERIC(10, 2) Y it activity_experienced NUMERIC(10, 2) Y _limit begin_time_limit DATETIME Y end_time_limit DATETIME Y credit_incompletion INTN Y _limit duration_between_a NUMERIC(10, 2) Y ttempts rollup_objective_sati BIT N sfied objective_measure_ NUMERIC(6, 5) N weight rollup_progress_co BIT N mpletion

Workplace Collaborative Learning Database Architecture 89

is_tracked BIT N completion_set_by_c BIT N ontent objective_set_by_con BIT N tent

Defaults, Rules, and Check Constraints

Attribute Type rollup_objective_satisfied Default objective_measure_weight Default rollup_progress_completion Default is_tracked Default completion_set_by_content Default objective_set_by_content Default control_mode Rule attempt_limit Rule

attempt_elapsed_limit Rule attempt_experienced_limit Rule activity_elapsed_limit Rule activity_experienced_limit Rule credit_incompletion_limit Rule duration_between_attempts Rule objective_measure_weight Check

Relationships

Name Restriction 1 1 1 1 0 0 @var between 0 and 15 @var between 0 and 2147483647 @var >= 0 @var >= 0 @var >= 0 @var >= 0 @var between 0 and 100 @var >= 0 @var between 0 and 1

Parent Entity Child Entity Type Relationship Name sequencing rollup_rule Non-Identifying ref_seq_rr sequencing sequencing_rule Non-Identifying ref_seq_sr

sequencing_rule

Summary

Entity Name sequencing_rule Primary Keys oid Definition

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid CHAR(20) N sequencing_oid CHAR(20) N rule_type INTN N 0

preConditionSequenc ingRule 1 exitConditionSequen cingRule 2 postConditionSequen

90 Workplace Collaborative Learning Database Architecture

cingRule evaluation_order INTN N condition_combinati INTN N 0 undefined on 1 All

2 Any rule_action INTN N SKIP = 1

HIDDEN_FROM_C

STOP_FORWARD_T

DISABLED = 2

HOICE = 3

RANSVERSAL = 4 EXIT_PARENT = 5 EXIT_ALL = 6RETRY = 7 RETRY_ALL = 8 CONTINUE = 9 PREVIOUS = 10EXIT = 11

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction condition_combination Default 1 evaluation_order Rule nonneg_int_Domain @var between 0 and

rule_type Check rule_type between 0 2147483647

and 2 condition_combination Check @var between 0 and 2 rule_action Check @var between 0 and 11

Relationships

Parent Entity Child Entity Type Relationship Name sequencing sequencing_rule Non-Identifying ref_seq_sr sequencing_rule sequencing_rule_con Non-Identifying ref_sr_src

dition

sequencing_rule_condition

Summary

Entity Name sequencing_rule_condition Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N sequencing_rule_oid CHAR(20) N condition INTN Y 0

1 Satisfied 2 Objective Status Known

Workplace Collaborative Learning Database Architecture 91

3 Objective Measure Known 4 Objective Measure Less Than 5 Completed 6 Activity Progress Known 7 Activity Progress Known 8 Attempted 9 Attempt Limit Exceeded 10 Time Limit Exceeded 11 Outside Available Time Range 12 Always

operator BIT Y 0=no-op 1=not

measure_threshold NUMERIC(6, 5) Yobjective_oid CHAR(44) Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction operator Default 0 measure_threshold Rule one_Domain @var between -1 and 1 condition Check chk_src_c @var between 0 and 12

Relationships

Parent Entity Child Entity Type Relationship Name sequencing_rule sequencing_rule_con Non-Identifying ref_sr_src

dition

skill

Summary

Entity Name skill Primary Keys oid Definition Lists skills an instructor can have.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N lang VARCHAR(10) Y Currently only one

language per skill is supported. Lang pref of person creating skill is saved.

name NVARCHAR(25 Y 200 N chars ­

92 Workplace Collaborative Learning Database Architecture

5) changed to 64 N chars

description NVARCHAR(40 Y 1000 N chars 01)

Relationships

Parent Entity Child Entity Type Relationship Name skill instructor_skill Identifying ref_skill_is

system_setting

Summary

Entity Name system_setting Primary Keys oid Definition This table can be sized very small. Internal system settings.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N name NVARCHAR(51 Y 128 N chars (bbs)

3) char_value NVARCHAR(51 Y 128 N chars (bbs)

3) int_value INTN Y boolean_value BIT Y numeric_value NUMERIC(15, 5) Y

systemobject

Summary

Entity Name systemobject Primary Keys objname,objtype Definition Not used by application. Can be used to verify deployments.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename objname VARCHAR(40) N objtype CHAR(1) N T Table

V View I index R ref integrity G Trigger S sequence

Workplace Collaborative Learning Database Architecture 93

Domain_id VARCHAR(20) Y createdate DATETIME Y

technicalrequirement

Summary

Entity Name technicalrequirement Primary Keys oid Definition Technical capabilities required in order to use the resource. If multiple

requirements, then all are required (logical AND). From SCORM 4.4 Technical Requirement

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N metadata_oid CHAR(20) N req_type INTN Y 0=operating system

1=browser 2=other SCORM 4.4.1 //lom/technical/req uirement/type/sourc e/langstring/text()

req_name VARCHAR(128) Y if type=os - PC-DOS, MS-Windows, MacOS, Unix etc if type=browser - Any, Netscape, Explorer, Opera, etc //lom/technical/req uirement/type/nam e/langstring/text()

req_min_version NVARCHAR(12 Y 30 N chars 0) SCORM 4.4.3

//lom/technical/req uirement/minimumv ersion

req_max_version NVARCHAR(12 Y 30 N chars 0) 4.4.4

//lom/technical/req uirement/maximum version

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction req_type Check chk_tr_rt @var between 0 and 2

Relationships

Parent Entity Child Entity Type Relationship Name metadata technicalrequirement Non-Identifying ref_md_techreq

94 Workplace Collaborative Learning Database Architecture

temp_usrgrp

Summary

Entity Name temp_usrgrp Primary Keys oid Definition Used during LDAP searches. Can be cleaned out when transactions are

cleaned out of transaction_info.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N transaction_oid CHAR(20) N display_name NVARCHAR(25 Y

6) distinguished_name NVARCHAR(10 Y

00) ldap_id NVARCHAR(25 Y

5)

Relationships

Parent Entity Child Entity Type Relationship Name transaction_info temp_usrgrp Non-Identifying ref_ti_tusrgrp

tracking_remark

Summary

Entity Name tracking_remark Primary Keys oid Definition

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid progress_oid modified_state

CHAR(44) CHAR(44) INTN

N N N DS_MODIFIED_CRE

ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE=

Workplace Collaborative Learning Database Architecture 95

6 location NVARCHAR(10 Y 255 N chars

25) remark NTEXT/LONG N

NVARCHAR

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction modified_state Rule modified_state_Domain @var between 0 and 6

Relationships

Parent Entity Child Entity Type Relationship Name progress tracking_remark Non-Identifying ref_prog_tr

tracking_remark_a

Summary

Entity Name tracking_remark_a Primary Keys oid Definition Archived copy of the tracking_remark table. This table can be archived if the

records are no longer required. Currently, there are no reports that use this table, so it can be safely truncated.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(44) N progress_oid CHAR(44) N modified_state INTN N DS_MODIFIED_CRE

ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

location NVARCHAR(10 Y 255 N chars 25)

remark NTEXT/LONG N NVARCHAR

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction modified_state Rule modified_state_Domain @var between 0 and 6

96 Workplace Collaborative Learning Database Architecture

transaction_info

Summary

Entity Name transaction_info Primary Keys oid Definition Used during LDAP searches. Can safely be cleaned out, after records are

removed from temp_usrgrp.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N creation_date DATETIME Y expiration_date DATETIME Y table_name VARCHAR(128) Y description NVARCHAR(10 Y

00)

Relationships

Parent Entity Child Entity Type Relationship Name transaction_info search_index_result Non-Identifying ref_ti_sir transaction_info temp_usrgrp Non-Identifying ref_ti_tusrgrp

trusted_ip

Summary

Entity Name trusted_ip Primary Keys oid Definition Used by reporting system.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N ip_addr VARCHAR(16) N last_mod DATETIME N

user_attribute

Summary

Entity Name user_attribute Primary Keys oid

Workplace Collaborative Learning Database Architecture 97

Definition Roughly corresponds to LS5 UPINT table. Links user profile (attribute) records to user (usr) records.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N user_oid CHAR(20) N attribute_oid CHAR(20) N is_admin_assign BIT Y prof_level_oid CHAR(20) Y Actual proficiency

level for student weight INTN Y Actual weight for

student target_prof_level_oi CHAR(20) Y d

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction is_admin_assign Default 0 weight Check @ref between 0 and 100

Relationships

Parent Entity Child Entity Type Relationship Name prof_level user_attribute prof_level user_attribute usr user_attribute attribute user_attribute

Non-Identifying Non-Identifying ref_pl_ua_tplo Non-Identifying ref_usr_usratt Non-Identifying ref_usratt_att

user_category

Summary

Entity Name user_category Primary Keys oid Definition For skills management. CATEGORY=JOB, so this table lists which jobs a

person has. Many to many

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N user_oid CHAR(20) N category_oid CHAR(20) N

Relationships

Parent Entity Child Entity Type Relationship Name category user_category Non-Identifying ref_cat_ucat usr user_category Non-Identifying ref_usr_ucat

98 Workplace Collaborative Learning Database Architecture

user_course

Summary

Entity Name user_course Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N user_oid CHAR(20) N ref_oid CHAR(20) N type INTN N 0= Hidden

recommended courses

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction type Default 0

Relationships

Parent Entity Child Entity Type Relationship Name usr user_course Non-Identifying ref_usr_uc

user_notification

Summary

Entity Name user_notification Primary Keys oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N user_oid CHAR(20) N creation_date DATETIME Y msgtext NTEXT/LONG Y

NVARCHAR

Workplace Collaborative Learning Database Architecture 99

Relationships

Parent Entity Child Entity Type Relationship Name usr user_notification Non-Identifying ref_unotify_usr

user_objective

Summary

Entity Name user_objective Primary Keys oid Definition

Attributes

Attribute/Logical Rolename

Domain Datatype Null Definition

oid user_oid objective_oid enrollment_oid modified_state

CHAR(44) CHAR(20) CHAR(44) CHAR(20) INTN

N N N Y Y DS_MODIFIED_CRE

ATED= 1 DS_MODIFIED_UPD ATED= 2 DS_READY_TO_SE ND=5 LMM_RECEIVED_N OT_PROCESSED=3 LMM_PROCESSING _COMPLETE=4 LMM_INCOMPLET E_RECEIVE_STATE= 6

runtime_status INTN N 0 = not attempted 1 = incomplete 2 = completed 3 = passed 4 = failed 5 = browsed

is_satisfied BIT Y normalized_score raw_score max_score min_score

NUMERIC(6, 5) NUMERIC(8, 2) NUMERIC(8, 2) NUMERIC(8, 2)

Y Y Y Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction modified_state Rule modified_state_Domain @var between 0 and 6 runtime_status Check runtime_status between

0 and 5 normalized_score Check normalized_score

between -1 and 1

100 Workplace Collaborative Learning Database Architecture

Relationships

Parent Entity Child Entity Type Relationship Name enrollment user_objective Non-Identifying ref_enroll_uobj objective user_objective Non-Identifying ref_obj_uobj usr user_objective Non-Identifying ref_usr_uobj

user_role

Summary

Entity Name user_role Primary Keys role_oid,user_oid Definition

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename role_oid CHAR(20) N user_oid CHAR(20) N oid CHAR(20) N

Relationships

Parent Entity Child Entity Type Relationship Name lsrole user_role Identifying ref_role_urole usr user_role Identifying ref_usr_urole

usr

Summary

Entity Name usr Primary Keys oid Definition Cached info from LDAP. LDAP is used for authentication. Roughly

corresponds to LearningSpace 5 USERS table.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N distinguished_name NVARCHAR(10 Y

00) ldap_id VARCHAR(255) N Unique ID for record

in LDAP dir. Either distinguished name or user ID. LS5:USERS_UNAME

Workplace Collaborative Learning Database Architecture 101

user_id VARCHAR(255) Y LS5:USERS.U_NAM E

active BIT N LS5:USERS.U_ACTI VE

business_category NVARCHAR(12 Y 8)

common_name NVARCHAR(25 Y 6)

department_number NVARCHAR(12 Y 8)

description NTEXT/LONG Y NVARCHAR

display_name NVARCHAR(12 Y 8)

email_address VARCHAR(256) Y LS5:USERS.U_MAIL employee_number NVARCHAR(80) Y LS5:USERS.U_NUM

BER employee_type NVARCHAR(12 Y

8) first_name NVARCHAR(12 Y LS5:USERS.U_F_NA

8) ME first_name_lower NVARCHAR(12 Y

8) last_name NVARCHAR(12 Y LS5:USERS.U_L_NA

8) ME last_name_lower NVARCHAR(12 Y

8) initials NVARCHAR(20) Y manager NTEXT/LONG Y

NVARCHAR organization NVARCHAR(12 Y

8) organizational_unit NVARCHAR(12 Y

8) second_last_name NVARCHAR(12 Y

8) second_last_name_l NVARCHAR(12 Y ower 8) second_name NVARCHAR(12 Y

8) second_name_lower NVARCHAR(12 Y

8) title NVARCHAR(12 Y

8) language_preference VARCHAR(16) Y locale_preference VARCHAR(16) Y calendar_state_prefe VARCHAR(16) Y rence records_per_page_p INTN Y reference tooltips_preference BIT Y primary_calendar_p VARCHAR(16) Y reference secondary_calendar_ VARCHAR(16) Y preference datepicker_calendar VARCHAR(16) Y _preference start_day_preference CHAR(1) Y timezone_preference VARCHAR(32) Y email_type_preferen VARCHAR(64) Y

102 Workplace Collaborative Learning Database Architecture

ce disconnected_passw NVARCHAR(12 Y ord 8) is_manager BIT Y search_base VARCHAR(254) Y createdate DATETIME Y updatetime DATETIME Y number_of_logons INTN Y last_logon DATETIME Y

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction active Default 1 language_preference Default 'en' locale_preference Default 'en_US' calendar_state_preference Default 'viewMonth' records_per_page_preferenc Default 10 e tooltips_preference Default 1 primary_calendar_preferenc Default 'gregorian' e secondary_calendar_prefere Default 'gregorian' nce datepicker_calendar_prefere Default 'gregorian' nce start_day_preference Default '1' timezone_preference Default 'EST' is_manager Default 0 number_of_logons Default 0 records_per_page_preferenc Rule integer_Domain @var between ­e 2147483648 and

2147483647 number_of_logons Rule nonneg_int_Domain @var between 0 and

2147483647

Relationships

Parent Entity Child Entity Type Relationship Name usr approvalrequest Non-Identifying ref_appreq_usr usr enrollable_approver Non-Identifying ref_eapp_usr usr enrollable_attendee Non-Identifying ref_eatt_usr usr certificate Non-Identifying ref_u_cert usr scheduledreport Non-Identifying ref_u_sr usr user_notification Non-Identifying ref_unotify_usr usr approvalrequest Non-Identifying ref_usr_ar_ab usr approvalrequest Non-Identifying ref_usr_ar_m usr catalogentry Non-Identifying ref_usr_ce usr enrollment Non-Identifying ref_usr_enroll usr equipment_request Non-Identifying ref_usr_equipreq usr lrnfolder Non-Identifying ref_usr_folder usr instructor Non-Identifying ref_usr_inst usr location Non-Identifying ref_usr_loc usr lvc_session Non-Identifying ref_usr_lvc_c usr lvc_session Non-Identifying ref_usr_lvc_o usr master Non-Identifying ref_usr_m usr offering Non-Identifying ref_usr_off_o usr lrnplan Non-Identifying ref_usr_plan usr room Non-Identifying ref_usr_room

Workplace Collaborative Learning Database Architecture 103

usr user_course Non-Identifying ref_usr_uc usr user_category Non-Identifying ref_usr_ucat usr user_objective Non-Identifying ref_usr_uobj usr lrnuser_partition Non-Identifying ref_usr_upart usr user_role Identifying ref_usr_urole usr user_attribute Non-Identifying ref_usr_usratt usr waitlisteduser Non-Identifying ref_usr_wlu

usr_xref

Summary

Entity Name Primary Keys Definition

usr_xref oid This table is used during migration. Unless there is a record in this table matching LS4/5 userids to Workplace Collaborative Learning user oids, user progress cannot be migrated to Workplace Collaborative Learning. This table is not used outside of user and course migration, and can be sized small, or deleted if not needed.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N old_u_id VARCHAR(255) Y LS5:USERS.U_ID first_name NVARCHAR(12 Y LS5:USERS.U_F_NA

8) ME last_name NVARCHAR(12 Y LS5:USERS.U_L_NA

8) ME create_date DATETIME Y update_date DATETIME Y

vendor

Summary

Entity Name vendor Primary Keys oid Definition If this table becomes large, and there is a lot of searching on it, indexing the

_lower fields is recommended. This will not usually be the case, so they are not indexed by default. This is which vendor an instructor is contracted through.

Attributes

Attribute/Logical Domain Datatype Null Definition Rolename oid CHAR(20) N name NVARCHAR(80 N 200 N chars

0)

104 Workplace Collaborative Learning Database Architecture

name_lower NVARCHAR(25 Y 5)

addr_line1 NVARCHAR(10 Y 256 N char 25)

addr_line2 NVARCHAR(10 Y 256 N char 25)

city NVARCHAR(10 Y 256 N char 25)

city_lower NVARCHAR(25 Y 5)

state NVARCHAR(51 Y 128 N char 3)

state_lower NVARCHAR(25 Y 5)

country NVARCHAR(51 Y 128 N char 3)

country_lower NVARCHAR(25 Y 5)

zipcode NVARCHAR(12 Y 30 N char 0)

contact_name NVARCHAR(51 Y 128 N char 3)

contact_phone NVARCHAR(20 Y 50 n chars 1)

contact_fax NVARCHAR(20 Y 50 n chars 1)

contact_email NVARCHAR(10 Y 256 n chars 25)

company_billing_inf NVARCHAR(10 Y 255 n chars o 25)

Relationships

Parent Entity vendor

Child Entity instructor

Type Non-Identifying

Relationship Name ref_vend_inst

waitlisteduser

Summary

Entity Name Primary Keys Definition

Attributes

waitlisteduser oid Users who want to enroll in a course that is too full.

Attribute/Logical Rolename oid user_oid offering_oid listorder

Domain Datatype

CHAR(20) CHAR(20) CHAR(20) BIGINT

Null

N N N Y

Definition

Workplace Collaborative Learning Database Architecture 105

Defaults, Rules, and Check Constraints

Attribute Type Name Restriction listorder Rule bigint_Domain @var between ­

9223372036854775808 and 9223372036854775807

Relationships

Parent Entity Child Entity Type Relationship Name offering waitlisteduser Non-Identifying ref_off_wlu usr waitlisteduser Non-Identifying ref_usr_wlu

zone_preference

Summary

Entity Name zone_preference Primary Keys oid Definition Zone preference for instructor.

Attributes

Attribute/Logical Domain Datatype Null DefinitionRolenameoid CHAR(20) N lang VARCHAR(10) Y Currently, default

lang pref of user creating zone is saved. Multiple languages for a single zone not currently supported.

name NVARCHAR(25 Y 200 n chars 7)

description NVARCHAR(40 Y 1000 n chars 01)

Relationships

Parent Entity Child Entity Type Relationship Name zone_preference instructor_zone Identifying ref_zp_iz

106 Workplace Collaborative Learning Database Architecture

customfield_option

vali

oid

customf eld_oid (FK)

display_order

customfield

oid

namedomain_idcreatedatetypedefault_valuerequiredsearchableactive

cm_package usr_xref

oid

old_u_idfi

update_date

rst_namelast_namecreate_date

oid

package_id ion ion

ion locale

pkg_name

package_versstructure_verscontent_vers

course_id course_structure_id course_content_id directory

pkg_size download_pkg_name email_recipients deployment_status

collaboration

oid

iiion_db_title iiion_url

ion_ncs ii

ref_oid chat_server_id discuss on_server_id discuss on_file_name discussdiscuss on_template discuss on_type discussfull_text_indexing allow_email allow_student_email is_discussdiscuss on_ncs_instance_id discuss on_ncs_template_guid

calendar_element

send_cmd_queue

announcement

customfield_value

oid

i

val

customf eld_oid (FK) ref_oid

val_lower

oid

ilocation

progress_oid modif ed_state

remark

oid

lang

createdate match_type status updatetime

match_string announcement_text

oid

update_index

i

type

create_date last_retry_date dest_server_id ser alized_obj

oid

title description schedulable_type schedulable_event_type start_time end_time schedulable_ref_oid schedulable_event_ref_oid

calendar_element_reference tracking_remark_a

cm_webserver

oid

l

ion

cm_package_oid (FK) server_urfilepath content_versdeployment_status ftp_username ftp_password

system_setting application_setting

oid

tag

update_index

encoded_attributeschar_data

progress_a interaction_a

oid

i

lt latency

attempt_oid modif ed_state interaction_id objective_id interaction_time type correct_response student_response weighting resu

oid

i

endtime

ti

enrollment_oid metadata_tree_oid modif ed_state attempt_count starttime

duration completion_amount mes_accessed

oid

name char_value int_value boolean_value numeric_value

oid

title description schedulable_type schedulable_event_type refers_to_ref_oid refers_to_type schedulable_ref_oid schedulable_event_oid

application_server scheduledemail

oid

message message_type server_id scheduled_date expiration_date sent_date message_status message_error

repeating_calendar_element customization_set

attempt_a

oid

creation_date expiration_date table_name description

oid

action_id

oid

code

updatetime

oid

i

description_template module_name status updatetime

match_string match_type match_value

status

auditaction_oid (FK) auditstream_oid (FK) actiontime action_description subject_type subject_id subject_f rst_name subject_last_name user_id user_first_name user_last_name

oid

i

endtime ii

ied

mi

location

modif ed_state progress_oid attempt_count starttime

sess on_time sess on_start duration completion_amount is_satisfraw_score max_score

n_score runtime_status entry_status exit_status

is_suspended suspend_data

oid

ldap_id

transaction_oid (FK) display_name distinguished_name

updatecount

nval tempnval

oid

logo_url l

name match_type match_value match_string lmm_web_dir lmm_resource_dir ds_web_dir ds_resource_dir

logoff_uruse_images use_help use_css use_jsp use_templates use_text status updatetime

oid

i

l

updatetime

server_type s_services_secure server_id description base_urusername password status

temp_usrgrp oidseed

oid

title

end_date

description schedulable_type schedulable_event_type start_date

duration frequency start_time end_time schedulable_ref_oid schedulable_event_ref_oid

auditaction

oidbatch transaction_info

item auditlog

systemobject

domain_id

objname objtype

createdate

auditstream

search_index_result

oid

transaction_oid (FK) ref_oid

rank

����

Printed

in

USA

G210-1782-00