summaryrefslogtreecommitdiff
path: root/db/migrate/20111013173838_create_sip_domains.rb
blob: 1977c5cc9d1c896f6be4005fdede8f63cd86dce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateSipDomains < ActiveRecord::Migration
  def self.up
    create_table :sip_domains do |t|
      t.string :host
      t.string :realm
      t.timestamps
    end
  end

  def self.down
    drop_table :sip_domains
  end
end