drop a table from rails c 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