thingspeak/db/migrate/20110409071450_add_location_to_feeds.rb
2014-02-17 12:05:39 -05:00

10 lines
198 B
Ruby

class AddLocationToFeeds < ActiveRecord::Migration
def self.up
add_column :feeds, :location, :string, :after => :elevation
end
def self.down
remove_column :feeds, :location
end
end