Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d2-5.2.0d3.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d2-5.2.0d3.sql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0d2-5.2.0d3.sql 29 Apr 2004 15:37:11 -0000 1.1 @@ -0,0 +1,8 @@ +alter table cr_folder_type_map drop constraint cr_folder_type_map_fldr_fk; +alter table cr_folder_type_map add constraint cr_folder_type_map_fldr_fk + foreign key (folder_id) references cr_folders on delete cascade; + + +alter table cr_folder_type_map drop constraint cr_folder_type_map_typ_fk; +alter table cr_folder_type_map add constraint cr_folder_type_map_typ_fk + foreign key (content_type) references acs_object_types on delete cascade;