thingspeak/db/migrate/20110406220648_add_fields_to_pipes.rb
2014-02-17 12:05:39 -05:00

12 lines
241 B
Ruby

class AddFieldsToPipes < ActiveRecord::Migration
def self.up
add_column :pipes, :parse, :string
add_column :pipes, :cache, :integer
end
def self.down
remove_column :pipes, :parse
remove_column :pipes, :cache
end
end