Index: openacs.org-dev/packages/bug-tracker/sql/postgresql/bug-tracker-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs.org-dev/packages/bug-tracker/sql/postgresql/bug-tracker-drop.sql,v
diff -u -r1.1.1.1 -r1.1.1.2
--- openacs.org-dev/packages/bug-tracker/sql/postgresql/bug-tracker-drop.sql	9 Jul 2002 17:35:01 -0000	1.1.1.1
+++ openacs.org-dev/packages/bug-tracker/sql/postgresql/bug-tracker-drop.sql	8 Oct 2002 15:46:57 -0000	1.1.1.2
@@ -1,7 +1,5 @@
 /* Delete all bugs */
 
-drop function inline_0 ();
-
 create function inline_0 ()
 returns integer as '
 declare
@@ -46,3 +44,18 @@
 delete from acs_objects where object_type = 'bt_bug';
 
 select acs_object_type__drop_type('bt_bug', 't');
+
+drop table bt_patch_bug_map;
+drop function bt_patch__delete(integer);
+drop function bt_patch__name(integer);
+drop function bt_patch__new(integer,integer,integer,text,text,text,text,integer,integer,varchar);
+drop table bt_patch_actions;
+drop table bt_patches;
+drop sequence t_bt_patch_number_seq;
+drop view bt_patch_number_seq;
+
+delete from acs_objects where object_type = 'bt_patch';
+
+select acs_object_type__drop_type('bt_patch', 't');
+
+\i bug-tracker-notifications-drop.sql
