summaryrefslogtreecommitdiff
path: root/db/migrate/20120218182205_create_api_rows.rb
blob: d949b3f535dc7ab28d6d688dede00fef11f62169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class CreateApiRows < ActiveRecord::Migration
  def change
    create_table :api_rows do |t|
      t.string :user_id
      t.string :user_name
      t.string :last_name
      t.string :middle_name
      t.string :first_name
      t.string :office_phone_number
      t.string :internal_extension
      t.string :mobile_phone_number
      t.string :fax_phone_number
      t.string :email
      t.string :pin
      t.datetime :pin_updated_at
      t.string :photo_file_name

      t.timestamps
    end
  end
end