Index: openacs-4/packages/tasks/sql/postgresql/tasks-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/tasks/sql/postgresql/tasks-drop.sql,v
diff -u -N -r1.1 -r1.2
--- openacs-4/packages/tasks/sql/postgresql/tasks-drop.sql	25 Sep 2005 23:49:23 -0000	1.1
+++ openacs-4/packages/tasks/sql/postgresql/tasks-drop.sql	1 Mar 2006 13:49:15 -0000	1.2
@@ -1,7 +1,18 @@
-drop table t_process_tasks;
 drop table t_tasks;
+drop table t_process_tasks;
 drop table t_task_status;
 drop table t_process_instances;
 drop table t_processes;
 
+select acs_object_type__drop_type('tasks_task','t');
+select acs_object_type__drop_type('tasks_process','t');
+select acs_object_type__drop_type('tasks_process_instance','t');
+select acs_object_type__drop_type('tasks_process_task','t');
+
+select drop_package('tasks');
+select drop_package('tasks_task');
+select drop_package('tasks_process');
+select drop_package('tasks_process_instance');
+select drop_package('tasks_process_task');
+
 drop sequence t_task_status_seq;
