Index: openacs-4/packages/acs-subsite/sql/postgresql/application-groups-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/sql/postgresql/application-groups-create.sql,v
diff -u -r1.13 -r1.13.2.1
--- openacs-4/packages/acs-subsite/sql/postgresql/application-groups-create.sql	30 Mar 2013 18:04:20 -0000	1.13
+++ openacs-4/packages/acs-subsite/sql/postgresql/application-groups-create.sql	2 Jan 2015 09:00:13 -0000	1.13.2.1
@@ -27,7 +27,7 @@
 
 create table application_groups (
 	group_id		integer constraint application_groups_group_id_fk
-				references groups (group_id)
+				references groups (group_id) on delete cascade
 				constraint application_groups_group_id_pk
 				primary key,
         package_id              integer constraint application_groups_package_id_fk
