summaryrefslogtreecommitdiff
path: root/db/migrate/20130802105300_create_gateway_headers.rb
blob: 52c74dc4531239bbc0bd4da6079a258c5d330be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class CreateGatewayHeaders < ActiveRecord::Migration
  def self.up
    create_table :gateway_headers do |t|
      t.integer :gateway_id
      t.string :header_type
      t.string :constraint_source
      t.string :constraint_value
      t.string :name
      t.string :value
      t.string :description
      t.timestamps
    end
  end

  def self.down
    drop_table :gateway_headers
  end
end