summaryrefslogtreecommitdiff
path: root/db/migrate/20130802105300_create_gateway_headers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20130802105300_create_gateway_headers.rb')
-rw-r--r--db/migrate/20130802105300_create_gateway_headers.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/db/migrate/20130802105300_create_gateway_headers.rb b/db/migrate/20130802105300_create_gateway_headers.rb
new file mode 100644
index 0000000..52c74dc
--- /dev/null
+++ b/db/migrate/20130802105300_create_gateway_headers.rb
@@ -0,0 +1,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