thingspeak/db/migrate/20110419173839_add_url_to_channel.rb

10 lines
172 B
Ruby
Raw Normal View History

class AddUrlToChannel < ActiveRecord::Migration
def self.up
add_column :channels, :url, :string
end
def self.down
remove_column :channels, :status
end
end