Index: openacs-4/packages/ams/sql/postgresql/ams-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/sql/postgresql/ams-drop.sql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/ams/sql/postgresql/ams-drop.sql 20 Oct 2004 21:40:04 -0000 1.1 +++ openacs-4/packages/ams/sql/postgresql/ams-drop.sql 21 Oct 2004 01:53:46 -0000 1.2 @@ -37,6 +37,14 @@ drop view ams_object_revisionsi; drop table ams_object_revisions cascade; drop table ams_objects cascade; + + + + +select acs_object__delete(address_id) from ams_attribute_values where address_id is not null; +select acs_object__delete(number_id) from ams_attribute_values where number_id is not null; + + drop table ams_attribute_values cascade; drop table ams_option_map cascade; drop table ams_option_map_ids cascade;