summaryrefslogtreecommitdiff
path: root/db/migrate/20130113090705_create_gateway_parameters.rb
blob: bbf5f542880ec051dd89fac9e13f0416064c0c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class CreateGatewayParameters < ActiveRecord::Migration
  def self.up
    create_table :gateway_parameters do |t|
      t.integer :gateway_id
      t.string :name
      t.string :value
      t.string :class_type
      t.string :description
      t.timestamps
    end
  end

  def self.down
    drop_table :gateway_parameters
  end
end