thingspeak/db/migrate/20110217135144_create_headers.rb

15 lines
221 B
Ruby
Raw Permalink Normal View History

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