thingspeak/db/migrate/20120821145951_add_ranking_to_channel.rb

10 lines
182 B
Ruby
Raw Normal View History

class AddRankingToChannel < ActiveRecord::Migration
def self.up
add_column :channels, :ranking, :integer
end
def self.down
remove_column :channels, :ranking
end
end