summaryrefslogtreecommitdiff
path: root/db/migrate/20130215112028_create_sim_cards.rb
blob: 8962a1fa65c940e827000e5b76cf780e52ae967c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class CreateSimCards < ActiveRecord::Migration
  def self.up
    create_table :sim_cards do |t|
      t.integer :sim_card_provider_id
      t.string :sim_number
      t.boolean :auto_order_card
      t.integer :sip_account_id
      t.string :auth_key
      t.string :state
      t.text :log
      t.timestamps
    end
  end

  def self.down
    drop_table :sim_cards
  end
end