summaryrefslogtreecommitdiff
path: root/db/migrate/20130113072126_create_gateways.rb
blob: e6c3f77cda9acfb1fa5768041d67a5c175a00690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class CreateGateways < ActiveRecord::Migration
  def self.up
    create_table :gateways do |t|
      t.string :name
      t.string :technology
      t.boolean :inbound
      t.boolean :outbound
      t.string :description
      t.timestamps
    end
  end

  def self.down
    drop_table :gateways
  end
end