Index: lams_common/db/model/lams_11.clay =================================================================== RCS file: /usr/local/cvsroot/lams_common/db/model/lams_11.clay,v diff -u -r1.35 -r1.36 --- lams_common/db/model/lams_11.clay 5 May 2005 03:24:55 -0000 1.35 +++ lams_common/db/model/lams_11.clay 17 Jun 2005 01:53:18 -0000 1.36 @@ -1,5 +1,5 @@ - + @@ -2018,19 +2018,19 @@ - + - + - + - + @@ -4216,8 +4216,8 @@ - + @@ -4229,8 +4229,8 @@ - + @@ -4268,8 +4268,8 @@ - + @@ -4281,8 +4281,8 @@ - + @@ -4294,8 +4294,8 @@ - + @@ -4342,8 +4342,8 @@ - + Index: lams_common/db/model/user_management.clay =================================================================== RCS file: /usr/local/cvsroot/lams_common/db/model/Attic/user_management.clay,v diff -u -r1.3 -r1.4 --- lams_common/db/model/user_management.clay 23 Nov 2004 05:32:21 -0000 1.3 +++ lams_common/db/model/user_management.clay 17 Jun 2005 01:53:18 -0000 1.4 @@ -1,5 +1,5 @@ - + @@ -435,19 +435,19 @@ - + - + - + - + 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.46 -r1.47 --- lams_common/db/sql/create_lams_11_tables.sql 5 May 2005 03:21:46 -0000 1.46 +++ lams_common/db/sql/create_lams_11_tables.sql 17 Jun 2005 01:53:18 -0000 1.47 @@ -292,12 +292,12 @@ , organisation_id BIGINT(20) NOT NULL , user_id BIGINT(20) NOT NULL , PRIMARY KEY (user_organisation_id) - , INDEX (user_id) - , CONSTRAINT u_user_organisation_ibfk_1 FOREIGN KEY (user_id) - REFERENCES lams_user (user_id) ON DELETE NO ACTION ON UPDATE NO ACTION , INDEX (organisation_id) - , CONSTRAINT u_user_organisation_ibfk_2 FOREIGN KEY (organisation_id) + , CONSTRAINT FK_lams_user_organisation_1 FOREIGN KEY (organisation_id) REFERENCES lams_organisation (organisation_id) ON DELETE NO ACTION ON UPDATE NO ACTION + , INDEX (user_id) + , CONSTRAINT FK_lams_user_organisation_2 FOREIGN KEY (user_id) + REFERENCES lams_user (user_id) ON DELETE NO ACTION ON UPDATE NO ACTION )TYPE=InnoDB; CREATE TABLE lams_lesson (