summaryrefslogtreecommitdiff
path: root/db/migrate/20130113073323_create_gateway_settings.rb
blob: 0200ae727df93f953730745850de380e5ea78ad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class CreateGatewaySettings < ActiveRecord::Migration
  def self.up
    create_table :gateway_settings 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_settings
  end
end