respond to code review comment
[xtuple] / enyo-client / database / source / wipe_views.sql
index b921575..457f066 100644 (file)
@@ -4,7 +4,7 @@ do $$
 declare
   sqlstring text;
 begin
-  select string_agg('drop view ' || t.oid::regclass || ';', ' ') into sqlstring
+  select string_agg('drop view ' || t.oid::regclass || ' cascade;', ' ') into sqlstring
     from pg_class t
     join pg_namespace n on n.oid = relnamespace
    where relkind = 'v'