summaryrefslogtreecommitdiff
path: root/db/migrate/20120218182205_create_api_rows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20120218182205_create_api_rows.rb')
-rw-r--r--db/migrate/20120218182205_create_api_rows.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/db/migrate/20120218182205_create_api_rows.rb b/db/migrate/20120218182205_create_api_rows.rb
new file mode 100644
index 0000000..d949b3f
--- /dev/null
+++ b/db/migrate/20120218182205_create_api_rows.rb
@@ -0,0 +1,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