update with changes from Production branch

This commit is contained in:
Lee Lawlor
2014-02-17 12:05:39 -05:00
parent 5b640cf9d8
commit a4937fb2e5
384 changed files with 14690 additions and 2242 deletions

View File

@ -0,0 +1,13 @@
class AddGeolocationToFeed < ActiveRecord::Migration
def self.up
add_column :feeds, :latitude, :decimal, :precision => 15, :scale => 10
add_column :feeds, :longitude, :decimal, :precision => 15, :scale => 10
add_column :feeds, :elevation, :string
end
def self.down
remove_column :feeds, :latitude
remove_column :feeds, :longitude
remove_column :feeds, :elevation
end
end