summaryrefslogtreecommitdiff
path: root/db/migrate/20130307122344_create_switchboard_entries.rb
blob: 1c7521e7f72349231ff2a2a3df64fbeac3917645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CreateSwitchboardEntries < ActiveRecord::Migration
  def self.up
    create_table :switchboard_entries do |t|
      t.integer :switchboard_id
      t.integer :sip_account_id
      t.string :name
      t.integer :position
      t.timestamps
    end
  end

  def self.down
    drop_table :switchboard_entries
  end
end