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\")?
You could always run raw SQL in the migration.
MYSQL:
execute "DROP TABLE #{:table_name} CASCADE CONSTRAINTS PURGE"
PostgreSQL:
execute "DROP TABLE #{:table_name} CASCADE"
You can check the documentation of the built-in method drop_table here.
drop_table