038_add_lat_and_lng_to_products.rb 248 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 class AddLatAndLngToProducts < ActiveRecord::Migration def self.up add_column :products, :lat, :float add_column :products, :lng, :float end def self.down remove_column :products, :lat remove_column :products, :lng end end