Index: openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql,v diff -u -r1.16 -r1.17 --- openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql 29 Mar 2002 19:14:44 -0000 1.16 +++ openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql 29 Mar 2002 19:59:46 -0000 1.17 @@ -33,7 +33,7 @@ -- Create the base community type foo := dotlrn_community_type.new ( community_type => 'dotlrn_community', - parent_type => NULL, + parent_type => null, pretty_name => 'Community', pretty_plural => 'Communities', description => 'Communities - the base community type' @@ -57,6 +57,10 @@ description => 'e.g. Alumni' ); + update acs_object_types set table_name = 'dotlrn_community', package_name = 'dotlrn_community' where object_type = 'dotlrn_community'; + update acs_object_types set table_name = 'dotlrn_class_instance', package_name = 'dotlrn_class_instance' where object_type = 'dotlrn_class_instance'; + update acs_object_types set table_name = 'dotlrn_club', package_name = 'dotlrn_club' where object_type = 'dotlrn_club'; + -- create roles acs_rel_type.create_role ('student', 'Student', 'Students'); acs_rel_type.create_role ('course_assistant', 'Course Assistant', 'Course Assistants'); Index: openacs-4/packages/dotlrn/sql/postgresql/dotlrn-init.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/postgresql/dotlrn-init.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/dotlrn/sql/postgresql/dotlrn-init.sql 29 Mar 2002 19:14:44 -0000 1.2 +++ openacs-4/packages/dotlrn/sql/postgresql/dotlrn-init.sql 29 Mar 2002 19:59:46 -0000 1.3 @@ -55,6 +55,10 @@ 'e.g. Alumni' ); + update acs_object_types set table_name = 'dotlrn_community', package_name = 'dotlrn_community' where object_type = 'dotlrn_community'; + update acs_object_types set table_name = 'dotlrn_class_instance', package_name = 'dotlrn_class_instance' where object_type = 'dotlrn_class_instance'; + update acs_object_types set table_name = 'dotlrn_club', package_name = 'dotlrn_club' where object_type = 'dotlrn_club'; + -- create roles acs_rel_type__create_role('student', 'Student', 'Students'); acs_rel_type__create_role('course_assistant', 'Course Assistant', 'Course Assistants');