Index: lams_common/db/model/lams_11.clay =================================================================== RCS file: /usr/local/cvsroot/lams_common/db/model/lams_11.clay,v diff -u -r1.11 -r1.12 --- lams_common/db/model/lams_11.clay 24 Jan 2005 23:24:41 -0000 1.11 +++ lams_common/db/model/lams_11.clay 31 Jan 2005 01:22:13 -0000 1.12 @@ -37,7 +37,7 @@ - + @@ -49,7 +49,12 @@ - + + + + + + @@ -2020,8 +2025,8 @@ - + @@ -2755,8 +2760,8 @@ - + Index: lams_common/db/sql/create_lams_11_tables.sql =================================================================== RCS file: /usr/local/cvsroot/lams_common/db/sql/create_lams_11_tables.sql,v diff -u -r1.14 -r1.15 --- lams_common/db/sql/create_lams_11_tables.sql 24 Jan 2005 23:24:30 -0000 1.14 +++ lams_common/db/sql/create_lams_11_tables.sql 31 Jan 2005 01:21:59 -0000 1.15 @@ -87,7 +87,8 @@ CREATE TABLE lams_authentication_method ( authentication_method_id BIGINT(20) NOT NULL DEFAULT 0 , authentication_method_type_id INT(3) NOT NULL DEFAULT 0 - , parameters_file_name VARCHAR(255) NOT NULL + , authentication_method_name VARCHAR(255) NOT NULL + , UNIQUE UQ_lams_authentication_method_1 (authentication_method_name) , PRIMARY KEY (authentication_method_id) , INDEX (authentication_method_type_id) , CONSTRAINT FK_lams_authorization_method_1 FOREIGN KEY (authentication_method_type_id) @@ -441,6 +442,17 @@ REFERENCES lams_learning_activity (activity_id) )TYPE=InnoDB; +CREATE TABLE lams_lesson_learner ( + lesson_id BIGINT(20) NOT NULL + , user_id BIGINT(20) NOT NULL DEFAULT 0 + , INDEX (lesson_id) + , CONSTRAINT FK_lams_lesson_learner_1 FOREIGN KEY (lesson_id) + REFERENCES lams_lesson (lesson_id) + , INDEX (user_id) + , CONSTRAINT FK_lams_lesson_learner_2 FOREIGN KEY (user_id) + REFERENCES lams_user (user_id) +)TYPE=InnoDB; + CREATE TABLE lams_learning_transition ( transition_id BIGINT(20) NOT NULL DEFAULT 0 AUTO_INCREMENT , id INT(11)