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.4 -r1.5 --- openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql 8 Oct 2001 21:38:37 -0000 1.4 +++ openacs-4/packages/dotlrn/sql/oracle/dotlrn-init.sql 6 Nov 2001 21:46:48 -0000 1.5 @@ -43,7 +43,7 @@ pretty_plural => 'dotLRN Clubs', description => 'dotLRN Clubs - e.g. Alumni' ); - + -- year attribute year_attr_id:= acs_attribute.create_attribute ( object_type => 'dotlrn_class', @@ -167,3 +167,21 @@ / show errors + +-- One more object type + +declare +begin + acs_object_type.create_type ( + supertype => 'dotlrn_community', + object_type => 'dotlrn_class_instance', + pretty_name => 'dotLRN Class Instace', + pretty_plural => 'dotLRN Class Instances', + table_name => 'dotlrn_class_instances', + id_column => 'class_instance_id', + package_name => 'dotlrn_class_instance', + name_method => 'acs_object.name' + ); +end; +/ +show errors