Index: openacs-4/packages/views/sql/postgresql/views-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/views/sql/postgresql/views-drop.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/views/sql/postgresql/views-drop.sql	20 May 2004 13:01:30 -0000	1.1
+++ openacs-4/packages/views/sql/postgresql/views-drop.sql	1 Aug 2007 08:59:56 -0000	1.2
@@ -11,8 +11,11 @@
 -- http://www.fsf.org/copyleft/gpl.html
 
 select drop_package('views');
+drop table view_aggregates_by_type;
+drop table views_by_type;
 drop table view_aggregates;
-drop table views;
-drop function views_upd_tr();
-drop function views_ins_tr();
-
+drop table views_views;
+drop function views_views_upd_tr() cascade;
+drop function views_views_ins_tr() cascade;
+drop function views_by_type_ins_tr() cascade;
+drop function views_by_type_upd_tr() cascade;
