thingspeak/db/migrate/20110217135144_create_headers.rb
2014-02-17 12:05:39 -05:00

15 lines
221 B
Ruby

class CreateHeaders < ActiveRecord::Migration
def self.up
create_table :headers do |t|
t.string :name
t.string :value
t.timestamps
end
end
def self.down
drop_table :headers
end
end