Index: openacs-4/packages/acs-kernel/sql/postgresql/groups-body-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/groups-body-create.sql,v
diff -u -r1.16.2.6 -r1.16.2.7
--- openacs-4/packages/acs-kernel/sql/postgresql/groups-body-create.sql	2 Mar 2003 15:23:56 -0000	1.16.2.6
+++ openacs-4/packages/acs-kernel/sql/postgresql/groups-body-create.sql	12 Mar 2003 02:31:42 -0000	1.16.2.7
@@ -82,7 +82,7 @@
 
 end;' language 'plpgsql';
 
-create trigger membership_rels_in_tr after insert  on membership_rels
+create trigger membership_rels_in_tr after insert on membership_rels
 for each row execute procedure membership_rels_in_tr ();
 
 create or replace function membership_rels_up_tr () returns opaque as '
@@ -220,8 +220,11 @@
 
   return new;
 
-end;' language 'plpgsql';
+end;' language 'plpgsql';  
 
+create trigger composition_rels_in_tr after insert on composition_rels
+for each row execute procedure composition_rels_in_tr ();
+
 --
 -- TO DO: See if this can be optimized now that the member and component
 -- mapping tables have been combined
