summaryrefslogtreecommitdiff
path: root/db/migrate/20130307104654_create_switchboards.rb
blob: 222b168c6744db0d27cd2fca0062eb19e671e8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateSwitchboards < ActiveRecord::Migration
  def self.up
    create_table :switchboards do |t|
      t.string :name
      t.integer :user_id
      t.timestamps
    end
  end

  def self.down
    drop_table :switchboards
  end
end