summaryrefslogtreecommitdiff
path: root/db/migrate/20111123141120_create_gemeinschaft_setups.rb
blob: cc17e7a478a39b2ae7ca7f309b71bd47d70bdb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class CreateGemeinschaftSetups < ActiveRecord::Migration
  def self.up
    create_table :gemeinschaft_setups do |t|
      t.integer :tenant_id
      t.integer :user_id
      t.integer :sip_domain_id
      t.integer :default_extension_length
      t.integer :country_id
      t.integer :language_id
      t.string :human_area_code
      t.integer :area_code_id
      t.timestamps
    end
  end

  def self.down
    drop_table :gemeinschaft_setups
  end
end