15 lines
221 B
Ruby
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
|