Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Yet more fixes. Damn CASCADE on the schema dumper.

Signed-off-by: mereghost <marcello.rocha@gmail.com>
  • Loading branch information...
commit 68e944aa7954ce779dc39aef4b49225e88e78f56 1 parent df3478b
@mereghost authored
View
6 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:
Please sign in to comment.
Something went wrong with that request. Please try again.