summaryrefslogtreecommitdiff
path: root/db/migrate/20130215111526_create_sim_card_providers.rb
blob: b4e0f0ef6848ad39f96a5a842c36daa3ab9d312c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class CreateSimCardProviders < ActiveRecord::Migration
  def self.up
    create_table :sim_card_providers do |t|
      t.string :name
      t.string :homepage_url
      t.string :docu_url
      t.string :api_server_url
      t.string :api_username
      t.string :api_password
      t.string :ref
      t.string :sip_server
      t.boolean :include_order_card_function
      t.timestamps
    end
  end

  def self.down
    drop_table :sim_card_providers
  end
end