Permalink
Browse files

Yet more fixes. Damn CASCADE on the schema dumper.

Signed-off-by: mereghost <marcello.rocha@gmail.com>
  • Loading branch information...
1 parent df3478b commit 68e944aa7954ce779dc39aef4b49225e88e78f56 @mereghost committed Dec 5, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/rails_sql_views/connection_adapters/abstract/schema_statements.rb
@@ -58,9 +58,9 @@ def create_mapping_view(old_name, new_name, options = {})
execute view_sql
end
-# def drop_table_with_cascade(table_name, options = {})
-# execute "DROP TABLE #{quote_table_name(table_name)} CASCADE"
-# end
+ def drop_table_with_cascade(table_name, options = {})
+ execute "DROP TABLE #{quote_table_name(table_name)}"
+ end
# Drop a view.
# The +options+ hash can include the following keys:

0 comments on commit 68e944a

Please sign in to comment.