Index: openacs-4/packages/dotlrn-homework/sql/postgresql/upgrade-2.0.2-2.0.3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-homework/sql/postgresql/upgrade-2.0.2-2.0.3.sql,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/dotlrn-homework/sql/postgresql/upgrade-2.0.2-2.0.3.sql 5 Apr 2004 19:39:04 -0000 1.1.2.1 @@ -0,0 +1 @@ +insert into cr_type_relations (content_type,target_type,relation_tag) select 'file_storage_object','file_storage_object','homework_correction' from dual where not exists (select 1 from cr_type_relations where relation_tag = 'homework_correction');