cirandas.net

ref: master

db/migrate/20120329165742_remove_lat_lng_from_product.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
class RemoveLatLngFromProduct < ActiveRecord::Migration
  def self.up
    remove_column :products, :lat
    remove_column :products, :lng
  end

  def self.down
    say "this migration can't be reverted"
  end
end