как удалить таблицу в rails
rails g migration DropProducts
class DropProducts < ActiveRecord::Migration
def change
drop_table :products
end
end
миграция rails удалить колонну
rails g migration Remove..From.. col1:type col2:type col3:type
#Exemple :
rails g migration RemoveCountryFromSampleApps country:string