how to drop tables in active records code example
Example: how to delete a table in rails
rails g migration DropProducts
class DropProducts < ActiveRecord::Migration
def change
drop_table :products
end
end
rails g migration DropProducts
class DropProducts < ActiveRecord::Migration
def change
drop_table :products
end
end