Question : how to delete a table in rails
Answered by : bright-beaver
rails g migration DropProducts
class DropProducts < ActiveRecord::Migration def change drop_table :products end
end
Source : https://patrickperey.com/2014/03/13/rails-remove-a-table/ | Last Update : Fri, 21 Feb 20