thingspeak/db/migrate/20110409071450_add_location_to_feeds.rb

10 lines
198 B
Ruby
Raw Permalink Normal View History

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