How do I force a DROP TABLE CASCADE in a Rails 3.2 migration?
Is there an option to pass to drop_table(\"table_name\")?
Put a file in your initializers directory called postgres.rb then did. This works for rails 4.1 anyway.
module ActiveRecord
module ConnectionAdapters # :nodoc:
module SchemaStatements
def drop_table(table_name, options = {})
execute "DROP TABLE #{quote_table_name(table_name)} CASCADE"
end
end
end
end