method
drop_table
v3.2.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
drop_table(table_name)public
Drops a table from the database.
1Note
use create table :force => true
if you want to drop a table before creating one in a migration, use the :force => true option of the create_table method